X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fxnet.inc.php;h=d0d1aefbdcd6f89138b9e4113d62ca17d20bc3a3;hb=2553b7686e0678b8e27858a7c377e73ecb410aec;hp=93724d894851de73d73c8b1beb2ecf47d9c76c1b;hpb=bd4be95d998237aa41abcf544aaabf82b73fdce0;p=platal.git diff --git a/include/xnet.inc.php b/include/xnet.inc.php index 93724d8..d0d1aef 100644 --- a/include/xnet.inc.php +++ b/include/xnet.inc.php @@ -1,6 +1,6 @@ assign('xorg_tpl', $tpl_name); -} - -function new_skinned_page($tpl_name, $min_auth) -{ - return new_page($tpl_name, $min_auth); -} - -// }}} -function new_identification_page() -{ - new_page('', AUTH_MDP); - global $page; - $page->useMenu(); -} - -// {{{ function new_group_page() - -function new_group_page($tpl_name) -{ - global $page,$globals; - require_once("xnet/page.inc.php"); - $page = new XnetGroupPage($tpl_name); - $page->assign('xorg_tpl', $tpl_name); -} - -// }}} -// {{{ function new_groupadmin_page() - -function new_groupadmin_page($tpl_name) -{ - global $page,$globals; - require_once("xnet/page.inc.php"); - $page = new XnetGroupAdmin($tpl_name); - $page->assign('xorg_tpl', $tpl_name); -} - -// }}} -// {{{ function new_admin_page() - -function new_admin_page($tpl_name) -{ - global $page,$globals; - require_once("xnet/page.inc.php"); - $page = new XnetAdmin($tpl_name); - $page->assign('xorg_tpl', $tpl_name); -} - -// }}} -// {{{ function new_nonhtml_page() - -function new_nonhtml_page($tpl_name) -{ - global $page, $globals; - require_once("xnet/page.inc.php"); - $page = new XnetGroupPage($tpl_name, NO_SKIN); - $page->assign('xorg_tpl', $tpl_name); -} - -// }}} -// vim:set et sw=4 sts=4 sws=4 foldmethod=marker: +// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: ?>