X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fxnet.inc.php;h=e9689e39ced2d4e45052f6ef3a4e0303d9597a77;hb=d0327f6de73e81c4bcc656471ca4161e4f1e1e1b;hp=e41b5f8b56bfc94df255293e9c9d876f61388c78;hpb=0337d704b62718d7c77106c0e4c4e26fb02beacf;p=platal.git diff --git a/include/xnet.inc.php b/include/xnet.inc.php index e41b5f8..e9689e3 100644 --- a/include/xnet.inc.php +++ b/include/xnet.inc.php @@ -1,6 +1,6 @@ changeTpl($tpl_name); } - $page->assign('xorg_tpl', $tpl_name); -} - -// }}} -// {{{ 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: ?>