Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/kontaktstellebasel.chALT/viavia.ch/maroc-de/cookbook/pagetoc.php:416) in /home/httpd/vhosts/kontaktstellebasel.chALT/viavia.ch/maroc-de/pmwiki.php on line 1337 Zagora - Mulhouse - Basel | PmWikiFr / Variables d'édition
Aktuelle Änderungen - Suchen:

En Français

En Anglais



<< Variables de liens | Variables | Variables pour le téléchargement >>

$EnableGUIButtons
Quand mis à '1', active les boutons dans la fenêtre d'édition.
        # active les boutons d'édition
        $EnableGUIButtons = 1;
$EnablePostAuthorRequired
Quand mis à '1', poster une page oblige l'auteur à donner un nom (voir Suivi d'auteur). Sinon, les auteurs peuvent poster sans donner de nom.
        # oblige les auteurs à fournir un nom
        $EnablePostAuthorRequired = 1; 
$DeleteKeyPattern
Syntaxe utilisée pour déterminer si une page doit être effacée. La syntaxe par défaut supprime les pages qui contiennent le mot "delete" (avec des espaces optionnels).
        # changer le mot delete en "effacer"
        $DeleteKeyPattern = "^\\s*effacer\\s*$";
        # effacer toute page sans texte visible, c.a.d. vide
        $DeleteKeyPattern = "^\\s*$";
$DefaultPageTextFmt
Le texte qui doit être affiché quand on édite ou qu'on visualise une page inexistante.
        $DefaultPageTextFmt = 'La page $Name n'existe pas';
$EditFunctions
This array contains all the function names that are called when you edit a page (in the same order). It could be used to perform some additional or own functions just by adding another (own) function name. Standard setting is (see pmwiki.php):
        $EditFunctions = array('RestorePage','ReplaceOnSave','SaveAttributes',
  'PostPage','PostRecentChanges','PreviewPage');
$ROSPatterns
With this array you can give a pattern as key and a text which should replace it when saving an edited text. The following example replaces every occurence of [[test:sometext with [[special:--sometext when you save an edited page.
        # Replace text on Save (add pattern and replacement to array $ROSPatterns)
        $ROSPatterns["/\\[\\[test:([^\\s$UrlExcludeChars]*)/"] = "[[special:--\$1";
$IsPagePosted
$PageEditFmt
$PagePreviewFmt
$HandleEditFmt

.
Traduction de PmWiki.EditVariables
Page originale sur PmWikiFr.EditVariables - Backlinks

Dernières modifications:
PmWikiFr.EditVariables: 01.04.2006 01:22 Uhr

PmWiki.EditVariables: 14.02.2009 20:41 Uhr

Bearbeiten - Versionen - Druckansicht - Aktuelle Änderungen - Suchen
Zuletzt geändert am 01.04.2006 01:22 Uhr