new_page($tpl_name);
- $page->doAuth(true);
if (!is_member() && !S::has_perms()) {
$page->kill("You have not sufficient credentials");
}
}
// }}}
-// {{{ function new_nonhtml_page()
-
-function new_nonhtml_page($tpl_name)
-{
- global $page, $globals;
-
- new_page($tpl_name, NO_SKIN);
-
- $page->doAuth(true);
- if (!is_member() && !S::has_perms()) {
- $page->kill("You have not sufficient credentials");
- }
-
- $page->useMenu();
- $page->assign('asso', $globals->asso());
- $page->setType($globals->asso('cat'));
-}
-
-// }}}
// vim:set et sw=4 sts=4 sws=4 foldmethod=marker:
?>