, Jam Warehouse (Pty) Ltd, South Africa * @package tests.session */ if (checkSession()) { echo "
";
echo "SiteMap::getPage(addUser) = " . $default->siteMap->getPage("addUser") . "
";
echo "SiteMap::getSectionName(" . $_SERVER['PHP_SELF'] . ") = " . $default->siteMap->getSectionName($_SERVER['PHP_SELF']) . "
";
echo "SiteMap::getSectionLinks(Administration) = ";
print_r($default->siteMap->getSectionLinks("Administration"));
echo "SiteMap::getDefaultAction(Manage Documents) = " . $default->siteMap->getDefaultAction("Manage Documents") . "
";
echo "";
} else {
// FIXME: redirect to no permission page
print "you do not have access to view this page! please go away, and come back when you do.