-// {{{ 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'));
-}
-
-// }}}