pending commit, finished during MQ/S download ...
[platal.git] / plugins / pmwiki.config.php
CommitLineData
121cdae0 1<?php if (!defined('PmWiki')) exit();
2
0df3edb9 3$ScriptUrl = $globals->relurl;
8ac323de 4$UploadUrlFmt = $ScriptUrl."/uploads";
2907d401 5$WorkDir = $globals->wiki->workdir;
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>
23 <li><strong>only_public:</strong> (pour les gens non connectés et non identifiés)</li>
24 <li><strong>logged:</strong> (pour ceux qui ont rentré leur mot de passe ou qui ont un cookie permanent)</li>
25 <li><strong>identified:</strong> (exige une identification par mot de passe)</li>
26 <li><strong>has_perms:</strong> (pour les administrateurs de la page)</li>
27 </ul>
28 Le <strong>:</strong> à la fin de chaque mot clef est important. Tu peux également combiner plusieurs mots clefs avec <strong>and:</strong>
29 ou des espaces (qui remplace le <em>ou</em> logique)<br/>"));
30
b6f31bab 31include_once($globals->spoolroot."/plugins/pmwiki.platalAuth.php");
32include_once($globals->spoolroot."/plugins/pmwiki.platalSkin.php");
121cdae0 33@include_once("$FarmD/cookbook/e-protect.php");
34
8ac323de 35$DefaultPasswords['read'] = 'has_perms: and: identified:';
36$DefaultPasswords['edit'] = 'has_perms: and: identified:';
37$DefaultPasswords['attr'] = 'has_perms: and: identified:';
38$DefaultPasswords['admin'] = 'has_perms: and: identified:';
d0adba41 39$DefaultPasswords['upload'] = 'has_perms: and: identified:';
121cdae0 40
121cdae0 41$EnableGUIButtons = 1;
121cdae0 42$EnableUpload = 1;
121cdae0 43$LinkWikiWords = 0; # disable WikiWord links
8ac323de 44$EnableIMSCaching = 1; # allow browser caching
121cdae0 45
46## If you want to have to approve links to external sites before they
47## are turned into links, uncomment the line below. See PmWiki.UrlApprovals.
48## Also, setting $UnapprovedLinkCountMax limits the number of unapproved
49## links that are allowed in a page (useful to control wikispam).
50# include_once('scripts/urlapprove.php');
51# $UnapprovedLinkCountMax = 10;
52
53## The following lines make additional editing buttons appear in the
54## edit page for subheadings, lists, tables, etc.
8ac323de 55$GUIButtons['h2'] = array(400, '\\n!! ', '\\n', '$[Heading]',
56 '$GUIButtonDirUrlFmt/h2.gif"$[Heading]"');
57$GUIButtons['h3'] = array(402, '\\n!!! ', '\\n', '$[Subheading]',
58 '$GUIButtonDirUrlFmt/h3.gif"$[Subheading]"');
59$GUIButtons['indent'] = array(500, '\\n->', '\\n', '$[Indented text]',
60 '$GUIButtonDirUrlFmt/indent.gif"$[Indented text]"');
61$GUIButtons['outdent'] = array(510, '\\n-<', '\\n', '$[Hanging indent]',
62 '$GUIButtonDirUrlFmt/outdent.gif"$[Hanging indent]"');
63$GUIButtons['ol'] = array(520, '\\n# ', '\\n', '$[Ordered list]',
64 '$GUIButtonDirUrlFmt/ol.gif"$[Ordered (numbered) list]"');
65$GUIButtons['ul'] = array(530, '\\n* ', '\\n', '$[Unordered list]',
66 '$GUIButtonDirUrlFmt/ul.gif"$[Unordered (bullet) list]"');
67$GUIButtons['hr'] = array(540, '\\n----\\n', '', '',
68 '$GUIButtonDirUrlFmt/hr.gif"$[Horizontal rule]"');
69$GUIButtons['table'] = array(600,
70 '||border=1 width=80%\\n||!Hdr ||!Hdr ||!Hdr ||\\n|| || || ||\\n|| || || ||\\n', '', '',
71 '$GUIButtonDirUrlFmt/table.gif"$[Table]"');
0df3edb9 72
73if (function_exists('more_wiki_config'))
74 more_wiki_config();
8ac323de 75?>