LoadAllPages())
{
foreach ($pages as $page)
{
if (!preg_match("/^Comment/", $page["tag"])) {
$firstChar = strtoupper($page["tag"][0]);
if (!preg_match("/[A-Z,a-z]/", $firstChar)) {
$firstChar = "#";
}
if ($firstChar != $curChar) {
if ($curChar) print("
\n");
print("$firstChar
\n");
$curChar = $firstChar;
}
print($this->ComposeLinkToPage($page["tag"])."
\n");
}
}
}
else
{
print("Aucune page trouvée.");
}
?>