openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 7d01fd0d7f2e0633d61ad8c16484250148a41c2d
parent 9e7194341914aff7df464901767955531474bfc7
Author: dankert <devnull@localhost>
Date:   Thu, 23 Nov 2006 22:44:43 +0100

Umstellung der Konfigurationsdateien auf einfaches Format.

Diffstat:
config/cache.ini.php | 6++++++
config/content.ini.php | 21+++++++++++++++++++++
config/countries.ini.php | 145+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
config/database.ini.php | 31+++++++++++++++++++++++++++++++
config/date-formats.ini.php | 26++++++++++++++++++++++++++
config/filename.ini.php | 14++++++++++++++
config/ftp.ini.php | 3+++
config/help.ini.php | 14++++++++++++++
config/html.ini.php | 10++++++++++
config/i18n.ini.php | 12++++++++++++
config/image.ini.php | 4++++
config/interface.ini.php | 36++++++++++++++++++++++++++++++++++++
config/ldap.ini.php | 8++++++++
config/log.ini.php | 7+++++++
config/login.ini.php | 8++++++++
config/mail.ini.php | 7+++++++
config/mime-types.ini.php | 271+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
config/openrat-cms/auth.ini.php | 11+++++++++++
config/openrat-cms/auth/prefs.ini.php | 6------
config/openrat-cms/cache/prefs.ini.php | 5-----
config/openrat-cms/content/prefs.ini.php | 2--
config/openrat-cms/content/revision/limit/prefs.ini.php | 9---------
config/openrat-cms/content/revision/prefs.ini.php | 2--
config/openrat-cms/countries/prefs.ini.php | 143-------------------------------------------------------------------------------
config/openrat-cms/database/db1/prefs.ini.php | 21---------------------
config/openrat-cms/database/prefs.ini.php | 3---
config/openrat-cms/date-formats/prefs.ini.php | 26--------------------------
config/openrat-cms/filename/prefs.ini.php | 13-------------
config/openrat-cms/ftp/prefs.ini.php | 2--
config/openrat-cms/help/prefs.ini.php | 12------------
config/openrat-cms/html/prefs.ini.php | 8--------
config/openrat-cms/i18n/prefs.ini.php | 10----------
config/openrat-cms/image/prefs.ini.php | 3---
config/openrat-cms/interface/prefs.ini.php | 13-------------
config/openrat-cms/interface/url/prefs.ini.php | 21---------------------
config/openrat-cms/ldap/prefs.ini.php | 5-----
config/openrat-cms/log/prefs.ini.php | 7-------
config/openrat-cms/login/prefs.ini.php | 8--------
config/openrat-cms/mail/prefs.ini.php | 6------
config/openrat-cms/mime-types/prefs.ini.php | 271-------------------------------------------------------------------------------
config/openrat-cms/prefs.ini.php | 1-
config/openrat-cms/publish/prefs.ini.php | 14--------------
config/openrat-cms/replace/prefs.ini.php | 12------------
config/openrat-cms/security/password/prefs.ini.php | 8--------
config/openrat-cms/security/prefs.ini.php | 10----------
config/openrat-cms/text-markup.ini.php | 38++++++++++++++++++++++++++++++++++++++
config/openrat-cms/text-markup/prefs.ini.php | 38--------------------------------------
config/openrat-cms/theme/compiler/prefs.ini.php | 5-----
config/openrat-cms/theme/prefs.ini.php | 1-
config/openrat-cms/wiki/prefs.ini.php | 15---------------
config/publish.ini.php | 16++++++++++++++++
config/replace.ini.php | 12++++++++++++
config/security.ini.php | 21+++++++++++++++++++++
config/theme.ini.php | 6++++++
config/wiki.ini.php | 15+++++++++++++++
serviceClasses/Preferences.class.php | 58+++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
56 files changed, 799 insertions(+), 701 deletions(-)

diff --git a/config/cache.ini.php b/config/cache.ini.php @@ -0,0 +1,6 @@ +; <?php exit('direct access denied') ?> + +; Conditional-GET enables the "304 not modified" HTTP-Header +; This is much faster, but sometimes caching is unwanted +; if you have caching problems, set this to 'false'. Default: 'true' +conditional_get=true diff --git a/config/content.ini.php b/config/content.ini.php @@ -0,0 +1,21 @@ +; <?php exit('direct access denied') ?> + + + +[revision-limit] + +; This is your delete-strategy of old content. + +; Values are deleted, if +; a) max-age and min-revisions are reached OR +; b) max-revisions and min-age are reached + +; max age of values (days) +max-age = 120 +; min age of values (days) +min-age = 1 + +; number of revisions +max-revisions = 100 +min-revisions = 3 + diff --git a/config/countries.ini.php b/config/countries.ini.php @@ -0,0 +1,144 @@ +; <?php exit('direct access denied') ?> + +; These countries are used while inserting a new language model into a project. + +; ISO 639: 2-letter codes +; see http://www.w3.org/WAI/ER/IG/ert/iso639.htm +; +; $Id$ + +AA = Afar +AB = Abkhazian +AF = Afrikaans +AM = Amharic +AR = Arabic +AS = Assamese +AY = Aymara +AZ = Azerbaijani +BA = Bashkir +BE = Byelorussian +BG = Bulgarian +BH = Bihari +BI = Bislama +BN = Bengali +BO = Tibetan +BR = Breton +CA = Catalan +CO = Corsican +CS = Czech +CY = Welsh +DA = Danish +DE = German +DZ = Bhutani +EL = Greek +EN = English +EO = Esperanto +ES = Spanish +ET = Estonian +EU = Basque +FA = Persian +FI = Finnish +FJ = Fiji +FO = Faeroese +FR = French +FY = Frisian +GA = Irish +GD = Gaelic +GL = Galician +GN = Guarani +GU = Gujarati +HA = Hausa +HI = Hindi +HR = Croatian +HU = Hungarian +HY = Armenian +IA = Interlingua +IE = Interlingue +IK = Inupiak +IN = Indonesian +IS = Icelandic +IT = Italian +IW = Hebrew +JA = Japanese +JI = Yiddish +JW = Javanese +KA = Georgian +KK = Kazakh +KL = Greenlandic +KM = Cambodian +KN = Kannada +KO = Korean +KS = Kashmiri +KU = Kurdish +KY = Kirghiz +LA = Latin +LN = Lingala +LO = Laothian +LT = Lithuanian +LV = Latvian +MG = Malagasy +MI = Maori +MK = Macedonian +ML = Malayalam +MN = Mongolian +MO = Moldavian +MR = Marathi +MS = Malay +MT = Maltese +MY = Burmese +NA = Nauru +NE = Nepali +NL = Dutch +_NO = Norwegian +OC = Occitan +OM = Oromo +OR = Oriya +PA = Punjabi +PL = Polish +PS = Pashto +PT = Portuguese +QU = Quechua +RM = Rhaeto-Romance +RN = Kirundi +RO = Romanian +RU = Russian +RW = Kinyarwanda +SA = Sanskrit +SD = Sindhi +SG = Sangro +SH = Serbo-Croatian +SI = Singhalese +SK = Slovak +SL = Slovenian +SM = Samoan +SN = Shona +SO = Somali +SQ = Albanian +SR = Serbian +SS = Siswati +ST = Sesotho +SU = Sudanese +SV = Swedish +SW = Swahili +TA = Tamil +TE = Tegulu +TG = Tajik +TH = Thai +TI = Tigrinya +TK = Turkmen +TL = Tagalog +TN = Setswana +TO = Tonga +TR = Turkish +TS = Tsonga +TT = Tatar +TW = Twi +UK = Ukrainian +UR = Urdu +UZ = Uzbek +VI = Vietnamese +VO = Volapuk +WO = Wolof +XH = Xhosa +YO = Yoruba +ZH = Chinese+ \ No newline at end of file diff --git a/config/database.ini.php b/config/database.ini.php @@ -0,0 +1,30 @@ +; <?php exit('direct access denied') ?> + +; Database configuration + +; This database will be selected by default. +; There has to exist an section with this name. +default=db1 + +[db1] + +; Database configuration for connection 'db1 + +enabled = true +comment = "OpenRat DB" ; comment of this database + +type = mysql ; 'mysql' or 'postgresql' +user = dbuser ; database user +password = dbpass ; database password +host = localhost ; database hostname +;port ; database TCP/IP-Port (optional) +database = cms ; database name + +base64 = false ; store binary as BASE64 (in postgresql=true) +prefix = or_ ; table praefix +persistent = yes ; use persistent connections (try this, it's faster) + + +; Add here more sections with other database connections. +;[another_db] +;...+ \ No newline at end of file diff --git a/config/date-formats.ini.php b/config/date-formats.ini.php @@ -0,0 +1,25 @@ +; <?php die('no access'); ?> + +; date formats +; see http://www.php.net/manual/en/function.date.php for details +; +; any ideas of other useful date formates? please mail them to cms-df@jandankert.de +; +; $Id$ + +SHORT = "" +ISO8601SHORT = "Ymd" +ISO8601 = "Y-m-d" +ISO8601BAS = "Ymd\THis" +ISO8601EXT = "Y-m-d\TH:i:s" +ISO8601FULL = "Y-m-d\TH:i:sO" +ISO8601WEEK = "Y\WW" +GER1 = "d\.m\.Y" +GER2 = "d\.m\.Y\, H:i" +GER3 = "d\.m\.Y\, H:i:s" +GER4 = "d\. F Y\, H:i:s" +ENGLONG = "l dS of F Y h:i:s A" +GMDATE = "D, d M Y H:i:s \G\M\T" +RFC822 = "r" +UNIX = "U" +LONG = "F j, Y, g:i a"+ \ No newline at end of file diff --git a/config/filename.ini.php b/config/filename.ini.php @@ -0,0 +1,14 @@ +; <?php die('no access'); ?> + +edit = true ; Allow editing of filenames (true|false) +default = index ; filename of index file. Default: 'index'. + +;style = ss ; poor imitation of story server urls +;style = id ; simply use the object id for the url +;style = longid ; use a more longer id in the url +style = short ; use a url which is as short as possible +; hint: If edit=true, then the stored filename will be used. +; If no filename stored, or if edit=false, then the defined style is used. + +url=relative ; how the target url is referenced (relative|absolute), 'relative' is always a good choice. + diff --git a/config/ftp.ini.php b/config/ftp.ini.php @@ -0,0 +1,3 @@ +; <?php exit('direct access denied') ?> + +ascii = html,htm,php ; file extensions to use FTP ascii mode for diff --git a/config/help.ini.php b/config/help.ini.php @@ -0,0 +1,13 @@ +; <?php exit('direct access denied') ?> + +; *** available in a future version of OpenRat. *** + +; Enable online help +enabled=false + +; URL to the documents +url=doc/online/html/ +; url=http://help.openrat.de/ + +; file extension of the help documents +suffix=.html+ \ No newline at end of file diff --git a/config/html.ini.php b/config/html.ini.php @@ -0,0 +1,10 @@ +; <?php exit('direct access denied') ?> + +; *** this page is outdated and will be removed in a future version *** + +tag_teletype = tt +tag_emphatic = em +tag_strong = strong +tag_speech = cite +speech_open = "&bdquo;" +speech_close = "&rdquo;" diff --git a/config/i18n.ini.php b/config/i18n.ini.php @@ -0,0 +1,12 @@ +; <?php exit('direct access denied') ?> + +; Search for language in HTTP header +; This is a useful setting. The Browser says, which language will be taken. +use_http=true + +; Default language +default=de + +; Uncomplete words are taken from following language +; *** maybe outdated *** +complete_from=en diff --git a/config/image.ini.php b/config/image.ini.php @@ -0,0 +1,4 @@ +; <?php exit('direct access denied') ?> + +; Say 'true' if GD2 is available, otherwise 'false' +truecolor=true diff --git a/config/interface.ini.php b/config/interface.ini.php @@ -0,0 +1,36 @@ +; <?php exit('direct access denied') ?> + +tree_width = "25%" ; width of navigation frame (tree) (actually outdated!) +file_separator = " &raquo; " ; chars between directory names +nice_urls = false ; be aware: if 'true' you need special rewrite rules in a .htaccess file! +url_sessionid = false ; only needed if cookies and transid not available +theme = default ; +show_duration = false ; Show duration on every page. Only useful for developers. +timeout = ; Request timeout in seconds (blank=system default) +override_title = ; Replace the default title (Program name+version) with this text +min_width = 950 ; Minimal Width of the browser window. If smaller, then tree is initally disabled. + +redirect = false ; use redirects before going to view (actually in testing) + + +[url] + +; faking urls +; for faking urls you HAVE TO create a url rewriting rule! +; If unsure, set to "false" +fake_url = false + +; abc,xyz.1 +;url_format= "%s,%s.%i" + +; looks like Jakarta Struts: abc,xyz,1.do +url_format= "%s,%s,%d.do" + +; You can create funny urls which look like asp,jsp,jsf and other crap :) +; Hint: Hiding the PHP interpreter *can* increase security. +; But remember, Security by obscurity is lame :) + +; add the session ID as an URL-Parameter. +; useful, if you do not want cookies and trans_sid is not installed. +; if unsure, set to "false" +add_sessionid = false diff --git a/config/ldap.ini.php b/config/ldap.ini.php @@ -0,0 +1,7 @@ +; <?php exit('direct access denied') ?> + +; Openrat is able to check passwords against a LDAP-based directory. +; Every user checking against LDAP needs a LDAP dn in his properties. + +host= ; host of ldap server ( blank if not used ) +port= ; port of ldap server ( blank if not used )+ \ No newline at end of file diff --git a/config/log.ini.php b/config/log.ini.php @@ -0,0 +1,7 @@ +; <?php exit('direct access denied') ?> + +file = "" ; logfile ( blank if no logging ) +level = "trace" ; loglevel 'trace','debug','info','warn','error' +date_format = "M j H:i:s" ; date format +dns_lookup = false ; lookup hostname of client-IP +format = "%time %level %host %user %action %text" ; format diff --git a/config/login.ini.php b/config/login.ini.php @@ -0,0 +1,8 @@ +; <?php exit('direct access denied') ?> + +logo="./themes/default/images/logo.jpg" ; logo (url to image) in login mask +logo_url="http://www.openrat.de" ; linked url in login mask +motd="" ; Message of the day, shown in login mask +nologin=false ; Disable Login (for maintanance jobs) +register=false +send_password=false diff --git a/config/mail.ini.php b/config/mail.ini.php @@ -0,0 +1,7 @@ +; <?php exit('direct access denied') ?> + +[mail] + +enabled=true ; Enable sending E-Mails +from="OpenRat <user@example.com>" ; Sender Adress +signature="http://www.openrat.de" ; Signature (blank if unused) diff --git a/config/mime-types.ini.php b/config/mime-types.ini.php @@ -0,0 +1,270 @@ +; $Id$ + + +ez = application/andrew-inset +csm = application/cu-seeme +cu = application/cu-seeme +tsp = application/dsptype +spl = application/futuresplash +cpt = application/mac-compactpro +hqx = application/mac-binhex40 +nb = application/mathematica +mdb = application/msaccess +doc = application/msword +dot = application/msword +bin = application/octet-stream +oda = application/oda +pdf = application/pdf +pgp = application/pgp-signature +ps = application/postscript +ai = application/postscript +eps = application/postscript +rtf = application/rtf +smi = application/smil +smil = application/smil +xls = application/vnd.ms-excel +xlb = application/vnd.ms-excel +ppt = application/vnd.ms-powerpoint +pps = application/vnd.ms-powerpoint +pot = application/vnd.ms-powerpoint +sdw = application/vnd.stardivision.writer +sgl = application/vnd.stardivision.writer-global +vor = application/vnd.stardivision.writer +sdc = application/vnd.stardivision.calc +sda = application/vnd.stardivision.draw +sdd = application/vnd.stardivision.impress +sdp = application/vnd.stardivision.impress-packed +smf = application/vnd.stardivision.math +sds = application/vnd.stardivision.chart +smd = application/vnd.stardivision.mail +wbxml = application/vnd.wap.wbxml +wmlc = application/vnd.wap.wmlc +wmlsc = application/vnd.wap.wmlscriptc +wp5 = application/wordperfect5.1 +zip = application/zip +wk = application/x-123 +bcpio = application/x-bcpio +vcd = application/x-cdlink +pgn = application/x-chess-pgn +cpio = application/x-cpio +csh = application/x-csh +deb = application/x-debian-package +dcr = application/x-director +dir = application/x-director +dxr = application/x-director +wad = application/x-doom +dms = application/x-dms +dvi = application/x-dvi +pfa = application/x-font +pfb = application/x-font +gsf = application/x-font +pcf = application/x-font +pcf.Z = application/x-font +spl = application/x-futuresplash +gnumeric = application/x-gnumeric +gtar = application/x-gtar +tgz = application/x-gtar +taz = application/x-gtar +hdf = application/x-hdf +phtml = application/x-httpd-php +pht = application/x-httpd-php +php = application/x-httpd-php +phps = application/x-httpd-php-source +php3 = application/x-httpd-php3 +php3p = application/x-httpd-php3-preprocessed +php4 = application/x-httpd-php4 +ica = application/x-ica +jar = application/x-java-archive +jnlp = application/x-java-jnlp-file +ser = application/x-java-serialized-object +class = application/x-java-vm +js = application/x-javascript +chrt = application/x-kchart +kil = application/x-killustrator +kpr = application/x-kpresenter +kpt = application/x-kpresenter +skp = application/x-koan +skd = application/x-koan +skt = application/x-koan +skm = application/x-koan +ksp = application/x-kspread +kwd = application/x-kword + kwt = application/x-kword +latex = application/x-latex +lha = application/x-lha +lzh = application/x-lzh +lzx = application/x-lzx +frm = fbdocapplication/x-maker +maker = fbdocapplication/x-maker +frame = fbdocapplication/x-maker +fm = fbdocapplication/x-maker +fb = fbdocapplication/x-maker +book = fbdocapplication/x-maker +mif = application/x-mif +com = application/x-msdos-program +exe = application/x-msdos-program +bat = application/x-msdos-program +dll = application/x-msdos-program +msi = application/x-msi +nc = application/x-netcdf +cdf = application/x-netcdf +pac = application/x-ns-proxy-autoconfig +o = application/x-object +ogg = application/x-ogg +oza = application/x-oz-application +pl = application/x-perl +pm = application/x-perl +crl = application/x-pkcs7-crl +rpm = application/x-redhat-package-manager +shar = application/x-shar +swf = application/x-shockwave-flash +swfl = application/x-shockwave-flash +sh = application/x-sh +sit = application/x-stuffit +sv4cpio = application/x-sv4cpio +sv4crc = application/x-sv4crc +tar = application/x-tar +tcl = application/x-tcl +tex = application/x-tex +gf = application/x-tex-gf +pk = application/x-tex-pk +texinfo = application/x-texinfo +texi = application/x-texinfo +; "~" = application/x-trash +;"%" = application/x-trash +bak = application/x-trash +old = application/x-trash +sik = application/x-trash +t = application/x-troff +tr = application/x-troff +roff = application/x-troff +man = application/x-troff-man +me = application/x-troff-me +ms = application/x-troff-ms +ustar = application/x-ustar +src = application/x-wais-source +wz = application/x-wingz +crt = application/x-x509-ca-cert +fig = application/x-xfig +au = audio/basic +snd = audio/basic +mid = audio/midi +midi = audio/midi +kar = audio/midi +mpga = audio/mpeg +mpega = audio/mpeg +mp2 = audio/mpeg +mp3 = audio/mpeg +m3u = audio/mpegurl +sid = audio/prs.sid +aif = audio/x-aiff +aiff = audio/x-aiff +aifc = audio/x-aiff +gsm = audio/x-gsm +m3u = audio/x-mpegurl +rpm = audio/x-pn-realaudio-plugin +ra = audio/x-pn-realaudio +rm = audio/x-pn-realaudio +ram = audio/x-pn-realaudio +ra = audio/x-realaudio +pls = audio/x-scpls +wav = audio/x-wav +pdb = chemical/x-pdb +xyz = chemical/x-xyz +bmp = image/bmp +gif = image/gif +ief = image/ief +jpeg = image/jpeg +jpg = image/jpeg +jpe = image/jpeg +pcx = image/pcx +png = image/png +svg = image/svg+xml +svgz = image/svg+xml +tiff = image/tiff +tif = image/tiff +wbmp = image/vnd.wap.wbmp +ras = image/x-cmu-raster +cdr = image/x-coreldraw +pat = image/x-coreldrawpattern +cdt = image/x-coreldrawtemplate +cpt = image/x-corelphotopaint +djvu = image/x-djvu +djv = image/x-djvu +jng = image/x-jng +bmp = image/x-ms-bmp +pnm = image/x-portable-anymap +pbm = image/x-portable-bitmap +pgm = image/x-portable-graymap +ppm = image/x-portable-pixmap +rgb = image/x-rgb +xbm = image/x-xbitmap +xpm = image/x-xpixmap +xwd = image/x-xwindowdump +igs = model/iges +iges = model/iges +msh = model/mesh +mesh = model/mesh +silo = model/mesh +wrl = model/vrml +vrml = model/vrml +csv = text/comma-separated-values +css = text/css +htm = text/html +html = text/html +xhtml = text/html +mml = text/mathml +asc = text/plain +txt = text/plain +text = text/plain +diff = text/plain +rtx = text/richtext +rtf = text/rtf +tsv = text/tab-separated-values +wml = text/vnd.wap.wml +wmls = text/vnd.wap.wmlscript +xml = text/xml +xsl = text/xml +h++ = text/x-c++hdr +hpp = text/x-c++hdr +hxx = text/x-c++hdr +hh = text/x-c++hdr +c++ = text/x-c++src +cpp = text/x-c++src +cxx = text/x-c++src +cc = text/x-c++src +h = text/x-chdr +csh = text/x-csh +c = text/x-csrc +java = text/x-java +moc = text/x-moc +p = text/x-pascal +pas = text/x-pascal +etx = text/x-setext +sh = text/x-sh +tcl = text/x-tcl +tk = text/x-tcl +tex = text/x-tex +ltx = text/x-tex +sty = text/x-tex +cls = text/x-tex +vcs = text/x-vcalendar +vcf = text/x-vcard +dl = video/dl +fli = video/fli +gl = video/gl +mpeg = video/mpeg +mpg = video/mpeg +mpe = video/mpeg +qt = video/quicktime +mov = video/quicktime +mxu = video/vnd.mpegurl +mng = video/x-mng +asf = video/x-ms-asf +asx = video/x-ms-asf +avi = video/x-msvideo +movie = video/x-sgi-movie +ice = x-conference/x-cooltalk +vrm = x-world/x-vrml +vrml = x-world/x-vrml +wrl = x-world/x-vrml + \ No newline at end of file diff --git a/config/openrat-cms/auth.ini.php b/config/openrat-cms/auth.ini.php @@ -0,0 +1,11 @@ +; <?php exit('direct access denied') ?> + +; Type of authorization. +; 'http' uses the HTTP Basic Authrization. +; Only available if PHP is used in the module version. +; Not available, if PHP is used via the CGI way. +; Only the default database is available (because there is no way to select another one) +; 'form' shows a login form via a HTML page (default). + +type=form +;type=http diff --git a/config/openrat-cms/auth/prefs.ini.php b/config/openrat-cms/auth/prefs.ini.php @@ -1,6 +0,0 @@ -; <?php exit('direct access denied') ?> - -; Type of authorization. -; (http|form) 'form' is a good choice. if 'http' max. 1 database connection available. -type=form -;type=http diff --git a/config/openrat-cms/cache/prefs.ini.php b/config/openrat-cms/cache/prefs.ini.php @@ -1,5 +0,0 @@ -; <?php exit('direct access denied') ?> - -; Conditional-GET enables the "304 not modified" HTTP-Header -; This is much faster, but sometimes caching is unwanted -conditional_get=true diff --git a/config/openrat-cms/content/prefs.ini.php b/config/openrat-cms/content/prefs.ini.php @@ -1,2 +0,0 @@ -; <?php exit('direct access denied') ?> - diff --git a/config/openrat-cms/content/revision/limit/prefs.ini.php b/config/openrat-cms/content/revision/limit/prefs.ini.php @@ -1,9 +0,0 @@ -; <?php exit('direct access denied') ?> - -; max age of values (days) -max-age = 120 -min-age = 1 - -; number of revisions -max-revisions = 100 -min-revisions = 3 diff --git a/config/openrat-cms/content/revision/prefs.ini.php b/config/openrat-cms/content/revision/prefs.ini.php @@ -1,2 +0,0 @@ -; <?php exit('direct access denied') ?> - diff --git a/config/openrat-cms/countries/prefs.ini.php b/config/openrat-cms/countries/prefs.ini.php @@ -1,142 +0,0 @@ -; <?php exit('direct access denied') ?> - -; ISO 639: 2-letter codes -; see http://www.w3.org/WAI/ER/IG/ert/iso639.htm -; -; $Id$ - -AA = Afar -AB = Abkhazian -AF = Afrikaans -AM = Amharic -AR = Arabic -AS = Assamese -AY = Aymara -AZ = Azerbaijani -BA = Bashkir -BE = Byelorussian -BG = Bulgarian -BH = Bihari -BI = Bislama -BN = Bengali -BO = Tibetan -BR = Breton -CA = Catalan -CO = Corsican -CS = Czech -CY = Welsh -DA = Danish -DE = German -DZ = Bhutani -EL = Greek -EN = English -EO = Esperanto -ES = Spanish -ET = Estonian -EU = Basque -FA = Persian -FI = Finnish -FJ = Fiji -FO = Faeroese -FR = French -FY = Frisian -GA = Irish -GD = Gaelic -GL = Galician -GN = Guarani -GU = Gujarati -HA = Hausa -HI = Hindi -HR = Croatian -HU = Hungarian -HY = Armenian -IA = Interlingua -IE = Interlingue -IK = Inupiak -IN = Indonesian -IS = Icelandic -IT = Italian -IW = Hebrew -JA = Japanese -JI = Yiddish -JW = Javanese -KA = Georgian -KK = Kazakh -KL = Greenlandic -KM = Cambodian -KN = Kannada -KO = Korean -KS = Kashmiri -KU = Kurdish -KY = Kirghiz -LA = Latin -LN = Lingala -LO = Laothian -LT = Lithuanian -LV = Latvian -MG = Malagasy -MI = Maori -MK = Macedonian -ML = Malayalam -MN = Mongolian -MO = Moldavian -MR = Marathi -MS = Malay -MT = Maltese -MY = Burmese -NA = Nauru -NE = Nepali -NL = Dutch -_NO = Norwegian -OC = Occitan -OM = Oromo -OR = Oriya -PA = Punjabi -PL = Polish -PS = Pashto -PT = Portuguese -QU = Quechua -RM = Rhaeto-Romance -RN = Kirundi -RO = Romanian -RU = Russian -RW = Kinyarwanda -SA = Sanskrit -SD = Sindhi -SG = Sangro -SH = Serbo-Croatian -SI = Singhalese -SK = Slovak -SL = Slovenian -SM = Samoan -SN = Shona -SO = Somali -SQ = Albanian -SR = Serbian -SS = Siswati -ST = Sesotho -SU = Sudanese -SV = Swedish -SW = Swahili -TA = Tamil -TE = Tegulu -TG = Tajik -TH = Thai -TI = Tigrinya -TK = Turkmen -TL = Tagalog -TN = Setswana -TO = Tonga -TR = Turkish -TS = Tsonga -TT = Tatar -TW = Twi -UK = Ukrainian -UR = Urdu -UZ = Uzbek -VI = Vietnamese -VO = Volapuk -WO = Wolof -XH = Xhosa -YO = Yoruba -ZH = Chinese- \ No newline at end of file diff --git a/config/openrat-cms/database/db1/prefs.ini.php b/config/openrat-cms/database/db1/prefs.ini.php @@ -1,20 +0,0 @@ -; <!-- $Id$ --> -; <?php exit ?> - -; Database configuration - -enabled = true -comment = "OpenRat DB" ; comment of this database - -type = mysql ; 'mysql' or 'postgresql' -user = dbuser ; database user -password = dbpass ; database password -host = localhost ; database hostname -;port ; database TCP/IP-Port (optional) -database = cms ; database name - -base64 = false ; store binary as BASE64 (in postgresql=true) -prefix = or_ ; table praefix -persistent = yes ; use persistent connections - -; ................................ ;- \ No newline at end of file diff --git a/config/openrat-cms/database/prefs.ini.php b/config/openrat-cms/database/prefs.ini.php @@ -1,3 +0,0 @@ -; <?php exit('direct access denied') ?> - -default=db1 diff --git a/config/openrat-cms/date-formats/prefs.ini.php b/config/openrat-cms/date-formats/prefs.ini.php @@ -1,25 +0,0 @@ -; <?php die('no access'); ?> - -; date formats -; see http://www.php.net/manual/en/function.date.php for details -; -; any ideas of other useful date formates? please mail them to cms-df@jandankert.de -; -; $Id$ - -SHORT = "" -ISO8601SHORT = "Ymd" -ISO8601 = "Y-m-d" -ISO8601BAS = "Ymd\THis" -ISO8601EXT = "Y-m-d\TH:i:s" -ISO8601FULL = "Y-m-d\TH:i:sO" -ISO8601WEEK = "Y\WW" -GER1 = "d\.m\.Y" -GER2 = "d\.m\.Y\, H:i" -GER3 = "d\.m\.Y\, H:i:s" -GER4 = "d\. F Y\, H:i:s" -ENGLONG = "l dS of F Y h:i:s A" -GMDATE = "D, d M Y H:i:s \G\M\T" -RFC822 = "r" -UNIX = "U" -LONG = "F j, Y, g:i a"- \ No newline at end of file diff --git a/config/openrat-cms/filename/prefs.ini.php b/config/openrat-cms/filename/prefs.ini.php @@ -1,13 +0,0 @@ - -edit = true ; Allow editing of filenames (true|false) -default = index ; filename of index file. Default: 'index'. - -;style = ss ; poor imitation of story server urls -;style = id ; simply use the object id for the url -;style = longid ; use a more longer id in the url -style = short ; use a url which is as short as possible -; hint: If edit=true, then the stored filename will be used. -; If no filename stored, or if edit=false, then the defined style is used. - -url=relative ; how the target url is referenced (relative|absolute), 'relative' is always a good choice. - diff --git a/config/openrat-cms/ftp/prefs.ini.php b/config/openrat-cms/ftp/prefs.ini.php @@ -1,2 +0,0 @@ -; <?php exit('direct access denied') ?> -ascii = html,htm,php ; file extensions to use FTP ascii mode for diff --git a/config/openrat-cms/help/prefs.ini.php b/config/openrat-cms/help/prefs.ini.php @@ -1,11 +0,0 @@ -; <?php exit('direct access denied') ?> - -; Enable online help -enabled=true - -; URL to the documents -url=doc/online/html/ -; url=http://help.openrat.de/ - -; file extension of the help documents -suffix=.html- \ No newline at end of file diff --git a/config/openrat-cms/html/prefs.ini.php b/config/openrat-cms/html/prefs.ini.php @@ -1,8 +0,0 @@ -; <?php exit('direct access denied') ?> - -tag_teletype = tt -tag_emphatic = em -tag_strong = strong -tag_speech = cite -speech_open = "&bdquo;" -speech_close = "&rdquo;" diff --git a/config/openrat-cms/i18n/prefs.ini.php b/config/openrat-cms/i18n/prefs.ini.php @@ -1,10 +0,0 @@ -; <?php exit('direct access denied') ?> - -; Search for language in HTTP header -use_http=true - -; Default language -default=de - -; Uncomplete words are taken from following language -complete_from=en diff --git a/config/openrat-cms/image/prefs.ini.php b/config/openrat-cms/image/prefs.ini.php @@ -1,3 +0,0 @@ -; <?php exit('direct access denied') ?> - -truecolor=true ; 'true' if GD2 is available, otherwise 'false' diff --git a/config/openrat-cms/interface/prefs.ini.php b/config/openrat-cms/interface/prefs.ini.php @@ -1,13 +0,0 @@ -; <?php exit('direct access denied') ?> - -tree_width = "25%" ; width of navigation frame (tree) -file_separator = " &raquo; " ; chars between directory names -nice_urls = false ; if 'true' you need special rewrite rules in a .htaccess file! -url_sessionid = false ; only needed if cookies and transid not available -theme = default ; -show_duration = false ; Show duration on every page -timeout = ; Request timeout in seconds (blank=system default) -override_title = ; Replace the default title (Program name+version) with this text -min_width = 950 ; Minimal Width of the browser window. If smaller, then tree is initally disabled. - -redirect = false ; use redirects before going to view diff --git a/config/openrat-cms/interface/url/prefs.ini.php b/config/openrat-cms/interface/url/prefs.ini.php @@ -1,21 +0,0 @@ -; <?php exit() ?> - -; faking urls -; for faking urls you HAVE TO create a url rewriting rule! -; If unsure, set to "false" -fake_url = false - -; abc,xyz.1 -;url_format= "%s,%s.%i" - -; looks like Jakarta Struts: abc,xyz,1.do -url_format= "%s,%s,%d.do" - -; You can create funny urls which look like asp,jsp,jsf and other crap :) -; Hint: Hiding the PHP interpreter *can* increase security. -; But remember, Security by obscurity is lame :) - -; add the session ID as an URL-Parameter. -; useful, if you do not want cookies and trans_sid is not installed. -; if unsure, set to "false" -add_sessionid = false diff --git a/config/openrat-cms/ldap/prefs.ini.php b/config/openrat-cms/ldap/prefs.ini.php @@ -1,4 +0,0 @@ -; <?php exit('direct access denied') ?> - -host= ; host of ldap server ( blank if not used ) -port= ; port of ldap server ( blank if not used )- \ No newline at end of file diff --git a/config/openrat-cms/log/prefs.ini.php b/config/openrat-cms/log/prefs.ini.php @@ -1,7 +0,0 @@ -; <?php exit('direct access denied') ?> - -file = "" ; logfile ( blank if no logging ) -level = "trace" ; loglevel 'trace','debug','info','warn','error' -date_format = "M j H:i:s" ; date format -dns_lookup = false ; lookup hostname of client-IP -format = "%time %level %host %user %action %text" ; format diff --git a/config/openrat-cms/login/prefs.ini.php b/config/openrat-cms/login/prefs.ini.php @@ -1,8 +0,0 @@ -; <?php exit('direct access denied') ?> - -logo="./themes/default/images/logo.jpg" ; logo (url to image) in login mask -logo_url="http://www.openrat.de" ; linked url in login mask -motd="" ; Message of the day, shown in login mask -nologin=false ; Disable Login (for maintanance jobs) -register=false -send_password=false diff --git a/config/openrat-cms/mail/prefs.ini.php b/config/openrat-cms/mail/prefs.ini.php @@ -1,6 +0,0 @@ -; <?php exit('direct access denied') ?> - -[mail] -enabled=true ; Enable sending E-Mails -from="OpenRat <user@example.com>" ; Sender Adress -signature="http://www.openrat.de" ; Signature (blank if unused) diff --git a/config/openrat-cms/mime-types/prefs.ini.php b/config/openrat-cms/mime-types/prefs.ini.php @@ -1,270 +0,0 @@ -; $Id$ - - -ez = application/andrew-inset -csm = application/cu-seeme -cu = application/cu-seeme -tsp = application/dsptype -spl = application/futuresplash -cpt = application/mac-compactpro -hqx = application/mac-binhex40 -nb = application/mathematica -mdb = application/msaccess -doc = application/msword -dot = application/msword -bin = application/octet-stream -oda = application/oda -pdf = application/pdf -pgp = application/pgp-signature -ps = application/postscript -ai = application/postscript -eps = application/postscript -rtf = application/rtf -smi = application/smil -smil = application/smil -xls = application/vnd.ms-excel -xlb = application/vnd.ms-excel -ppt = application/vnd.ms-powerpoint -pps = application/vnd.ms-powerpoint -pot = application/vnd.ms-powerpoint -sdw = application/vnd.stardivision.writer -sgl = application/vnd.stardivision.writer-global -vor = application/vnd.stardivision.writer -sdc = application/vnd.stardivision.calc -sda = application/vnd.stardivision.draw -sdd = application/vnd.stardivision.impress -sdp = application/vnd.stardivision.impress-packed -smf = application/vnd.stardivision.math -sds = application/vnd.stardivision.chart -smd = application/vnd.stardivision.mail -wbxml = application/vnd.wap.wbxml -wmlc = application/vnd.wap.wmlc -wmlsc = application/vnd.wap.wmlscriptc -wp5 = application/wordperfect5.1 -zip = application/zip -wk = application/x-123 -bcpio = application/x-bcpio -vcd = application/x-cdlink -pgn = application/x-chess-pgn -cpio = application/x-cpio -csh = application/x-csh -deb = application/x-debian-package -dcr = application/x-director -dir = application/x-director -dxr = application/x-director -wad = application/x-doom -dms = application/x-dms -dvi = application/x-dvi -pfa = application/x-font -pfb = application/x-font -gsf = application/x-font -pcf = application/x-font -pcf.Z = application/x-font -spl = application/x-futuresplash -gnumeric = application/x-gnumeric -gtar = application/x-gtar -tgz = application/x-gtar -taz = application/x-gtar -hdf = application/x-hdf -phtml = application/x-httpd-php -pht = application/x-httpd-php -php = application/x-httpd-php -phps = application/x-httpd-php-source -php3 = application/x-httpd-php3 -php3p = application/x-httpd-php3-preprocessed -php4 = application/x-httpd-php4 -ica = application/x-ica -jar = application/x-java-archive -jnlp = application/x-java-jnlp-file -ser = application/x-java-serialized-object -class = application/x-java-vm -js = application/x-javascript -chrt = application/x-kchart -kil = application/x-killustrator -kpr = application/x-kpresenter -kpt = application/x-kpresenter -skp = application/x-koan -skd = application/x-koan -skt = application/x-koan -skm = application/x-koan -ksp = application/x-kspread -kwd = application/x-kword - kwt = application/x-kword -latex = application/x-latex -lha = application/x-lha -lzh = application/x-lzh -lzx = application/x-lzx -frm = fbdocapplication/x-maker -maker = fbdocapplication/x-maker -frame = fbdocapplication/x-maker -fm = fbdocapplication/x-maker -fb = fbdocapplication/x-maker -book = fbdocapplication/x-maker -mif = application/x-mif -com = application/x-msdos-program -exe = application/x-msdos-program -bat = application/x-msdos-program -dll = application/x-msdos-program -msi = application/x-msi -nc = application/x-netcdf -cdf = application/x-netcdf -pac = application/x-ns-proxy-autoconfig -o = application/x-object -ogg = application/x-ogg -oza = application/x-oz-application -pl = application/x-perl -pm = application/x-perl -crl = application/x-pkcs7-crl -rpm = application/x-redhat-package-manager -shar = application/x-shar -swf = application/x-shockwave-flash -swfl = application/x-shockwave-flash -sh = application/x-sh -sit = application/x-stuffit -sv4cpio = application/x-sv4cpio -sv4crc = application/x-sv4crc -tar = application/x-tar -tcl = application/x-tcl -tex = application/x-tex -gf = application/x-tex-gf -pk = application/x-tex-pk -texinfo = application/x-texinfo -texi = application/x-texinfo -; "~" = application/x-trash -;"%" = application/x-trash -bak = application/x-trash -old = application/x-trash -sik = application/x-trash -t = application/x-troff -tr = application/x-troff -roff = application/x-troff -man = application/x-troff-man -me = application/x-troff-me -ms = application/x-troff-ms -ustar = application/x-ustar -src = application/x-wais-source -wz = application/x-wingz -crt = application/x-x509-ca-cert -fig = application/x-xfig -au = audio/basic -snd = audio/basic -mid = audio/midi -midi = audio/midi -kar = audio/midi -mpga = audio/mpeg -mpega = audio/mpeg -mp2 = audio/mpeg -mp3 = audio/mpeg -m3u = audio/mpegurl -sid = audio/prs.sid -aif = audio/x-aiff -aiff = audio/x-aiff -aifc = audio/x-aiff -gsm = audio/x-gsm -m3u = audio/x-mpegurl -rpm = audio/x-pn-realaudio-plugin -ra = audio/x-pn-realaudio -rm = audio/x-pn-realaudio -ram = audio/x-pn-realaudio -ra = audio/x-realaudio -pls = audio/x-scpls -wav = audio/x-wav -pdb = chemical/x-pdb -xyz = chemical/x-xyz -bmp = image/bmp -gif = image/gif -ief = image/ief -jpeg = image/jpeg -jpg = image/jpeg -jpe = image/jpeg -pcx = image/pcx -png = image/png -svg = image/svg+xml -svgz = image/svg+xml -tiff = image/tiff -tif = image/tiff -wbmp = image/vnd.wap.wbmp -ras = image/x-cmu-raster -cdr = image/x-coreldraw -pat = image/x-coreldrawpattern -cdt = image/x-coreldrawtemplate -cpt = image/x-corelphotopaint -djvu = image/x-djvu -djv = image/x-djvu -jng = image/x-jng -bmp = image/x-ms-bmp -pnm = image/x-portable-anymap -pbm = image/x-portable-bitmap -pgm = image/x-portable-graymap -ppm = image/x-portable-pixmap -rgb = image/x-rgb -xbm = image/x-xbitmap -xpm = image/x-xpixmap -xwd = image/x-xwindowdump -igs = model/iges -iges = model/iges -msh = model/mesh -mesh = model/mesh -silo = model/mesh -wrl = model/vrml -vrml = model/vrml -csv = text/comma-separated-values -css = text/css -htm = text/html -html = text/html -xhtml = text/html -mml = text/mathml -asc = text/plain -txt = text/plain -text = text/plain -diff = text/plain -rtx = text/richtext -rtf = text/rtf -tsv = text/tab-separated-values -wml = text/vnd.wap.wml -wmls = text/vnd.wap.wmlscript -xml = text/xml -xsl = text/xml -h++ = text/x-c++hdr -hpp = text/x-c++hdr -hxx = text/x-c++hdr -hh = text/x-c++hdr -c++ = text/x-c++src -cpp = text/x-c++src -cxx = text/x-c++src -cc = text/x-c++src -h = text/x-chdr -csh = text/x-csh -c = text/x-csrc -java = text/x-java -moc = text/x-moc -p = text/x-pascal -pas = text/x-pascal -etx = text/x-setext -sh = text/x-sh -tcl = text/x-tcl -tk = text/x-tcl -tex = text/x-tex -ltx = text/x-tex -sty = text/x-tex -cls = text/x-tex -vcs = text/x-vcalendar -vcf = text/x-vcard -dl = video/dl -fli = video/fli -gl = video/gl -mpeg = video/mpeg -mpg = video/mpeg -mpe = video/mpeg -qt = video/quicktime -mov = video/quicktime -mxu = video/vnd.mpegurl -mng = video/x-mng -asf = video/x-ms-asf -asx = video/x-ms-asf -avi = video/x-msvideo -movie = video/x-sgi-movie -ice = x-conference/x-cooltalk -vrm = x-world/x-vrml -vrml = x-world/x-vrml -wrl = x-world/x-vrml - \ No newline at end of file diff --git a/config/openrat-cms/prefs.ini.php b/config/openrat-cms/prefs.ini.php @@ -1 +0,0 @@ -; <?php exit('direct access denied') ?> diff --git a/config/openrat-cms/publish/prefs.ini.php b/config/openrat-cms/publish/prefs.ini.php @@ -1,14 +0,0 @@ -; <?php exit('direct access denied') ?> - -edit=true -default=index - -; filename-mode 'ss','crc32','md5','edit' or 'id' -;style=ss -;style=id -;style=longid -style=short - -url=relative -;url=absolute - diff --git a/config/openrat-cms/replace/prefs.ini.php b/config/openrat-cms/replace/prefs.ini.php @@ -1,12 +0,0 @@ -; <!-- $Id$ --> -; <?php exit('direct access denied') ?> - -; *** This part is deprecated and will be moved/removed in one of the next versions. - -; HTML-Markup of the EUR-sign -euro = "EUR,&euro;" - -; HTML-Markup of copyright-char -copy = "(c),&copy;" - -; ... add useful replacements here diff --git a/config/openrat-cms/security/password/prefs.ini.php b/config/openrat-cms/security/password/prefs.ini.php @@ -1,8 +0,0 @@ -; <?php exit('direct access denied') ?> - -; length of automatic generated password -random_length=8 - -; minimum passwort length -min_length=5 - diff --git a/config/openrat-cms/security/prefs.ini.php b/config/openrat-cms/security/prefs.ini.php @@ -1,10 +0,0 @@ -; <?php exit('direct access denied') ?> - -; All is readonly (for maintanance jobs) -readonly=false - -; Disable publishing -nopublish=false - -; Unix-UMask for saved files -umask=0002 diff --git a/config/openrat-cms/text-markup.ini.php b/config/openrat-cms/text-markup.ini.php @@ -0,0 +1,37 @@ +; <?php exit('direct access denied') ?> + +strong-begin = * +strong-end = * + +emphatic-begin = _ +emphatic-end = _ + +image-begin = "{" +image-end = "}" + +speech-begin = "\"" +speech-end = "\"" + +code-begin = "=" +code-end = "=" + +pre-begin = "=" +pre-end = "=" + +insert-begin = ++ +insert-end = ++ + +remove-begin = -- +remove-end = -- + +definition-sep = ":" +headline = "+" + +list-unnumbered = "-" +list-numbered = "#" + +linkto="->" +table-cell-sep="|" + +style-begin = "'" +style-end = "'"+ \ No newline at end of file diff --git a/config/openrat-cms/text-markup/prefs.ini.php b/config/openrat-cms/text-markup/prefs.ini.php @@ -1,37 +0,0 @@ -; <?php exit('direct access denied') ?> - -strong-begin = * -strong-end = * - -emphatic-begin = _ -emphatic-end = _ - -image-begin = "{" -image-end = "}" - -speech-begin = "\"" -speech-end = "\"" - -code-begin = "=" -code-end = "=" - -pre-begin = "=" -pre-end = "=" - -insert-begin = ++ -insert-end = ++ - -remove-begin = -- -remove-end = -- - -definition-sep = ":" -headline = "+" - -list-unnumbered = "-" -list-numbered = "#" - -linkto="->" -table-cell-sep="|" - -style-begin = "'" -style-end = "'"- \ No newline at end of file diff --git a/config/openrat-cms/theme/compiler/prefs.ini.php b/config/openrat-cms/theme/compiler/prefs.ini.php @@ -1,4 +0,0 @@ -; <?php exit('direct access denied') ?> - -enable=false -cache=true- \ No newline at end of file diff --git a/config/openrat-cms/theme/prefs.ini.php b/config/openrat-cms/theme/prefs.ini.php @@ -1 +0,0 @@ -; <?php exit('direct access denied') ?> diff --git a/config/openrat-cms/wiki/prefs.ini.php b/config/openrat-cms/wiki/prefs.ini.php @@ -1,15 +0,0 @@ -; <?php exit('direct access denied') ?> - -; *** This part is deprecated and will be removed in one of the next versions. - -; convert simple HTML-tags to wiki-markup (if HTML is disabled) -convert_html = true - -; convert a few BB-code tags to wiki-markup -convert_bbcode = true - -; how strong text is marked -tag_strong = "*" - -; how emphatic text is marked -tag_emphatic = "_" diff --git a/config/publish.ini.php b/config/publish.ini.php @@ -0,0 +1,16 @@ +; <?php exit('direct access denied') ?> + +edit=true + +; filename for the first object in a folder. +default=index + +; filename-mode. Only used, if edit=false or no filename is set for an object. +; 'ss' : nice hack for lamers which like storyserver urls like '0,1513,453556,00.html' +; 'id' : simply use the object id. +; 'longid': use a unique and long number. +; 'short' : use a unique name which is as short as possible. +style=id + +url=relative +;url=absolute diff --git a/config/replace.ini.php b/config/replace.ini.php @@ -0,0 +1,12 @@ +; <!-- $Id$ --> +; <?php exit('direct access denied') ?> + +; *** This part is deprecated and will be moved/removed in one of the next versions. + +; HTML-Markup of the EUR-sign +euro = "EUR,&euro;" + +; HTML-Markup of copyright-char +copy = "(c),&copy;" + +; ... add useful replacements here diff --git a/config/security.ini.php b/config/security.ini.php @@ -0,0 +1,21 @@ +; <?php exit('direct access denied') ?> + +; All is readonly (for maintanance jobs) +; true|false, default:false +readonly=false + +; Disable publishing +nopublish=false + +; Unix-UMask for saved files +; Default: 0002 +umask=0002 + + +[password] + +; length of automatic generated password +random_length=8 + +; minimum passwort length +min_length=5 diff --git a/config/theme.ini.php b/config/theme.ini.php @@ -0,0 +1,5 @@ +; <?php exit('direct access denied') ?> + +[compiler] +enable=false +cache=true+ \ No newline at end of file diff --git a/config/wiki.ini.php b/config/wiki.ini.php @@ -0,0 +1,15 @@ +; <?php exit('direct access denied') ?> + +; *** This part is deprecated and will be removed in one of the next versions. + +; convert simple HTML-tags to wiki-markup (if HTML is disabled) +convert_html = true + +; convert a few BB-code tags to wiki-markup +convert_bbcode = true + +; how strong text is marked +tag_strong = "*" + +; how emphatic text is marked +tag_emphatic = "_" diff --git a/serviceClasses/Preferences.class.php b/serviceClasses/Preferences.class.php @@ -9,7 +9,9 @@ */ class Preferences { - function load( $dir='' ) + /* + + function loadOLDxxxxxxxxxxxxxxx( $dir='' ) { $values = array(); @@ -42,5 +44,59 @@ class Preferences } else die('not a folder: '.$dir); } + + */ + + + + function load( $dir='' ) + { +// echo "x:$dir<br>"; + $values = array(); + + // Bei erstem (nicht-rekursiven) Aufruf der Methoden das Konfigurationsverzeichnis voreinstellen + if ( empty($dir) ) + $dir = OR_PREFERENCES_DIR; + + if ( !is_dir($dir) ) + die('not a directory: '.$dir); + + if ( $dh = opendir($dir) ) + { + while( ($verzEintrag = readdir($dh)) !== false ) + { + $filename = $dir.$verzEintrag; + +// echo "....-$filename-....<br>"; +// if ( is_dir($filename) && substr($verzEintrag,0,1)!='.' && substr($verzEintrag,0,3)!='CVS' ) +// { +//// echo " ist ein DIR<br>"; +// if ( !isset($values[$verzEintrag]) ) +// $values[$verzEintrag] = array(); +// $values[$verzEintrag] += $this->load($filename.'/'); +// } +//else + if ( is_file($filename) && eregi('\.(ini.*|conf)$',$verzEintrag) ) + { +// echo " ist ein FILE<br>"; + $nameBestandteile = explode('.',$verzEintrag); +// if ( !isset($values[$nameBestandteile[0]]) ) +// $values[$nameBestandteile[0]] = array(); + + $values[$nameBestandteile[0]] = parse_ini_file( $filename,true ); + } +// else +// echo " ist GARNIX<br>"; + } + closedir($dh); + } + + ksort($values); + +//echo"<pre>"; +//print_r($values); +//echo"</pre>"; + return $values; + } } ?> \ No newline at end of file