/tags/v2.0-narmer/client/integrateur_wikini/bibliotheque/wikini/tools/hello/handlers/page/__hello.php |
---|
New file |
0,0 → 1,19 |
<?php |
/* |
__hello.php |
Appelle AVANT le handler 'hello' |
*/ |
// Vérification de sécurité |
if (!defined("WIKINI_VERSION")) |
{ |
die ("accès direct interdit"); |
} |
echo $this->Header(); |
echo $this->Format("===== Je vais dire Bonjour !====="); |
?> |
<div class="page"> |
/tags/v2.0-narmer/client/integrateur_wikini/bibliotheque/wikini/tools/hello/handlers/page/hello__.php |
---|
New file |
0,0 → 1,21 |
</div> |
<?php |
/* |
hello__.php |
Appelle APRES le handler 'hello' |
*/ |
// Vérification de sécurité |
if (!defined("WIKINI_VERSION")) |
{ |
die ("accès direct interdit"); |
} |
echo $this->Format("===== J'ai dit Bonjour !====="); |
echo $this->Footer(); |
?> |
/tags/v2.0-narmer/client/integrateur_wikini/bibliotheque/wikini/tools/hello/handlers/page/hello.php |
---|
New file |
0,0 → 1,30 |
<?php |
/* |
hello.php |
Nouvel handler 'hello' ou remplace le handler hello si déjà présent |
*/ |
// Vérification de sécurité |
if (!defined("WIKINI_VERSION")) |
{ |
die ("accès direct interdit"); |
} |
echo $this->Format("===== Bonjour !====="); |
if ($this->HasAccess("read")) |
{ |
if (!$this->page) |
{ |
return; |
} |
else |
{ |
echo $this->Format($this->page["body"]); |
} |
} |
?> |