X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fxnet.inc.php;h=98275a312139501d23291470aefeaa4235602130;hb=4e61caeab71faa3d6b0bd5e6d4ea3f0838a0c278;hp=8978ab0cda686a5efcdcc296d7660bdf7489f12a;hpb=801fcad813666310da1ca5b6f07f91cfed1abbee;p=platal.git diff --git a/include/xnet.inc.php b/include/xnet.inc.php index 8978ab0..98275a3 100644 --- a/include/xnet.inc.php +++ b/include/xnet.inc.php @@ -50,7 +50,6 @@ function new_group_page($tpl_name) new_page($tpl_name); - $page->doAuth(true); if (!is_member() && !S::has_perms()) { $page->kill("You have not sufficient credentials"); } @@ -97,24 +96,5 @@ function new_admin_page($tpl_name) } // }}} -// {{{ 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: ?>