small detail
[platal.git] / plugins / pmwiki.config.php
CommitLineData
121cdae0 1<?php if (!defined('PmWiki')) exit();
2
7da8ef90 3$ScriptUrl = $globals->baseurl;
8ac323de 4$UploadUrlFmt = $ScriptUrl."/uploads";
06a5e65b 5$WorkDir = '../spool/wiki.d';
2907d401 6$WikiDir = new PageStore('$FarmD/'.$WorkDir.'/$FullName');
8ac323de 7$PubDirUrl = $globals->baseurl.'/wiki';
121cdae0 8$InterMapFiles[] = $globals->spoolroot.'plugins/pmwiki.intermap.txt';
9
915d4fae 10# Authorize group name to start with a number (for promo groups)
11$GroupPattern = '[[:upper:]0-9][\\w]*(?:-\\w+)*';
12
121cdae0 13$EnablePathInfo = 1;
14
121cdae0 15$Skin = 'empty';
16
7fc1c340 17XLSDV('en', array('EnterAttributes' =>
18 "Entre ici les différents droit pour la page. Les champs laissés en blanc ne seront pas modifiés.
19 Pour enlever une restriction ou une autorisation entre <strong>clear</strong>.
20 Les différentes restrictions possibles sont :
21 <ul>
22 <li><strong>public:</strong> (pour tout le monde)</li>
7fc1c340 23 <li><strong>logged:</strong> (pour ceux qui ont rentré leur mot de passe ou qui ont un cookie permanent)</li>
24 <li><strong>identified:</strong> (exige une identification par mot de passe)</li>
25 <li><strong>has_perms:</strong> (pour les administrateurs de la page)</li>
26 </ul>
27 Le <strong>:</strong> à la fin de chaque mot clef est important. Tu peux également combiner plusieurs mots clefs avec <strong>and:</strong>
28 ou des espaces (qui remplace le <em>ou</em> logique)<br/>"));
06a5e65b 29
b6f31bab 30include_once($globals->spoolroot."/plugins/pmwiki.platalAuth.php");
31include_once($globals->spoolroot."/plugins/pmwiki.platalSkin.php");
121cdae0 32@include_once("$FarmD/cookbook/e-protect.php");
33
8ac323de 34$DefaultPasswords['read'] = 'has_perms: and: identified:';
35$DefaultPasswords['edit'] = 'has_perms: and: identified:';
36$DefaultPasswords['attr'] = 'has_perms: and: identified:';
37$DefaultPasswords['admin'] = 'has_perms: and: identified:';
d0adba41 38$DefaultPasswords['upload'] = 'has_perms: and: identified:';
121cdae0 39
121cdae0 40$EnableGUIButtons = 1;
06a5e65b 41$EnableUpload = 1;
42$LinkWikiWords = 0; # disable WikiWord links
43$EnableIMSCaching = 1; # allow browser caching
121cdae0 44
45## The following lines make additional editing buttons appear in the
46## edit page for subheadings, lists, tables, etc.
8ac323de 47$GUIButtons['h2'] = array(400, '\\n!! ', '\\n', '$[Heading]',
48 '$GUIButtonDirUrlFmt/h2.gif"$[Heading]"');
49$GUIButtons['h3'] = array(402, '\\n!!! ', '\\n', '$[Subheading]',
50 '$GUIButtonDirUrlFmt/h3.gif"$[Subheading]"');
51$GUIButtons['indent'] = array(500, '\\n->', '\\n', '$[Indented text]',
52 '$GUIButtonDirUrlFmt/indent.gif"$[Indented text]"');
53$GUIButtons['outdent'] = array(510, '\\n-<', '\\n', '$[Hanging indent]',
54 '$GUIButtonDirUrlFmt/outdent.gif"$[Hanging indent]"');
55$GUIButtons['ol'] = array(520, '\\n# ', '\\n', '$[Ordered list]',
56 '$GUIButtonDirUrlFmt/ol.gif"$[Ordered (numbered) list]"');
57$GUIButtons['ul'] = array(530, '\\n* ', '\\n', '$[Unordered list]',
58 '$GUIButtonDirUrlFmt/ul.gif"$[Unordered (bullet) list]"');
59$GUIButtons['hr'] = array(540, '\\n----\\n', '', '',
60 '$GUIButtonDirUrlFmt/hr.gif"$[Horizontal rule]"');
61$GUIButtons['table'] = array(600,
62 '||border=1 width=80%\\n||!Hdr ||!Hdr ||!Hdr ||\\n|| || || ||\\n|| || || ||\\n', '', '',
63 '$GUIButtonDirUrlFmt/table.gif"$[Table]"');
0df3edb9 64
8ac323de 65?>