calendrier iCal des anniversaires
[platal.git] / plugins / pmwiki.config.php
1 <?php if (!defined('PmWiki')) exit();
2
3 $ScriptUrl = $globals->relurl;
4 $UploadUrlFmt = $ScriptUrl."/uploads";
5 $WorkDir = $globals->wiki->workdir;
6 $WikiDir = new PageStore('$FarmD/'.$WorkDir.'/$FullName');
7 $PubDirUrl = $globals->baseurl.'/wiki';
8 $InterMapFiles[] = $globals->spoolroot.'plugins/pmwiki.intermap.txt';
9
10 $EnablePathInfo = 1;
11
12 $Skin = 'empty';
13
14 XLSDV('en', array('EnterAttributes' =>
15 "Entre ici les différents droit pour la page. Les champs laissés en blanc ne seront pas modifiés.
16 Pour enlever une restriction ou une autorisation entre <strong>clear</strong>.
17 Les différentes restrictions possibles sont :
18 <ul>
19 <li><strong>public:</strong> (pour tout le monde)</li>
20 <li><strong>only_public:</strong> (pour les gens non connectés et non identifiés)</li>
21 <li><strong>logged:</strong> (pour ceux qui ont rentré leur mot de passe ou qui ont un cookie permanent)</li>
22 <li><strong>identified:</strong> (exige une identification par mot de passe)</li>
23 <li><strong>has_perms:</strong> (pour les administrateurs de la page)</li>
24 </ul>
25 Le <strong>:</strong> à la fin de chaque mot clef est important. Tu peux également combiner plusieurs mots clefs avec <strong>and:</strong>
26 ou des espaces (qui remplace le <em>ou</em> logique)<br/>"));
27
28 include_once($globals->spoolroot."/plugins/pmwiki.platalAuth.php");
29 include_once($globals->spoolroot."/plugins/pmwiki.platalSkin.php");
30 @include_once("$FarmD/cookbook/e-protect.php");
31
32 $DefaultPasswords['read'] = 'has_perms: and: identified:';
33 $DefaultPasswords['edit'] = 'has_perms: and: identified:';
34 $DefaultPasswords['attr'] = 'has_perms: and: identified:';
35 $DefaultPasswords['admin'] = 'has_perms: and: identified:';
36 $DefaultPasswords['upload'] = 'has_perms: and: identified:';
37
38 $EnableGUIButtons = 1;
39 $EnableUpload = 1;
40 $LinkWikiWords = 0; # disable WikiWord links
41 $EnableIMSCaching = 1; # allow browser caching
42
43 ## If you want to have to approve links to external sites before they
44 ## are turned into links, uncomment the line below. See PmWiki.UrlApprovals.
45 ## Also, setting $UnapprovedLinkCountMax limits the number of unapproved
46 ## links that are allowed in a page (useful to control wikispam).
47 # include_once('scripts/urlapprove.php');
48 # $UnapprovedLinkCountMax = 10;
49
50 ## The following lines make additional editing buttons appear in the
51 ## edit page for subheadings, lists, tables, etc.
52 $GUIButtons['h2'] = array(400, '\\n!! ', '\\n', '$[Heading]',
53 '$GUIButtonDirUrlFmt/h2.gif"$[Heading]"');
54 $GUIButtons['h3'] = array(402, '\\n!!! ', '\\n', '$[Subheading]',
55 '$GUIButtonDirUrlFmt/h3.gif"$[Subheading]"');
56 $GUIButtons['indent'] = array(500, '\\n->', '\\n', '$[Indented text]',
57 '$GUIButtonDirUrlFmt/indent.gif"$[Indented text]"');
58 $GUIButtons['outdent'] = array(510, '\\n-<', '\\n', '$[Hanging indent]',
59 '$GUIButtonDirUrlFmt/outdent.gif"$[Hanging indent]"');
60 $GUIButtons['ol'] = array(520, '\\n# ', '\\n', '$[Ordered list]',
61 '$GUIButtonDirUrlFmt/ol.gif"$[Ordered (numbered) list]"');
62 $GUIButtons['ul'] = array(530, '\\n* ', '\\n', '$[Unordered list]',
63 '$GUIButtonDirUrlFmt/ul.gif"$[Unordered (bullet) list]"');
64 $GUIButtons['hr'] = array(540, '\\n----\\n', '', '',
65 '$GUIButtonDirUrlFmt/hr.gif"$[Horizontal rule]"');
66 $GUIButtons['table'] = array(600,
67 '||border=1 width=80%\\n||!Hdr ||!Hdr ||!Hdr ||\\n|| || || ||\\n|| || || ||\\n', '', '',
68 '$GUIButtonDirUrlFmt/table.gif"$[Table]"');
69
70 if (function_exists('more_wiki_config'))
71 more_wiki_config();
72 ?>