Blame | Last modification | View Log | RSS feed
<?php
if (!defined("WIKINI_VERSION"))
{
die ("accès direct interdit");
}
//si une page PageLogin existe, on l'affiche
if ($contenu = $this->LoadPage("PageLogin")) {
$plugin_output_new = str_replace ("<i>Vous n'êtes pas autorisé à lire cette page</i>", $this->Format($contenu["body"]), $plugin_output_new);
}
//sinon on affiche le formulaire d'identification minimal
else {
$plugin_output_new = str_replace ("<i>Vous n'êtes pas autorisé à lire cette page</i>",
'<div class="error_box">Vous n\'êtes pas autorisé à lire cette page, veuillez vous identifier.</div>'."\n".$this->Format('{{login template="minimal.tpl.html"}}'), $plugin_output_new);
}
?>