X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fxorg.inc.php;h=cd6f6ff1077b061f7f50bec033bce59e7e13ad99;hb=bf52ec4e8de2e1c22020f7fffbf543ab4ee7f41a;hp=6b211ede0ce1d5c86e41b3aba006ab5db3cc3eab;hpb=50a40a33a496131e817df875607ea5542d096a64;p=platal.git diff --git a/include/xorg.inc.php b/include/xorg.inc.php index 6b211ed..cd6f6ff 100644 --- a/include/xorg.inc.php +++ b/include/xorg.inc.php @@ -1,6 +1,6 @@ assign('xorg_tpl', $tpl_name); -} - -// }}} -function new_identification_page() -{ - _new_page(SKINNED, '', AUTH_MDP); -} -// {{{ function new_skinned_page() - -function new_skinned_page($tpl_name, $min_auth) -{ - _new_page(SKINNED, $tpl_name, $min_auth); -} - -// }}} -// {{{ function new_simple_page() - -function new_simple_page($tpl_name, $min_auth) -{ - global $page; - _new_page(SKINNED, $tpl_name, $min_auth); - $page->assign('simple', true); -} - -// }}} -// {{{ function new_nonhtml_page() - -function new_nonhtml_page($tpl_name, $min_auth) -{ - _new_page(NO_SKIN, $tpl_name, $min_auth, false); -} - -// }}} -// {{{ function new_admin_page() - -function new_admin_page($tpl_name) -{ - _new_page(SKINNED, $tpl_name, AUTH_MDP, true); -} - -// }}} -// {{{ function new_admin_table_editor() - -function new_admin_table_editor($table, $idfield, $idedit=false) -{ - array_walk($_GET, 'unfix_gpc_magic'); - array_walk($_POST, 'unfix_gpc_magic'); - array_walk($_REQUEST, 'unfix_gpc_magic'); - - global $editor; - new_admin_page('table-editor.tpl'); - require_once('xorg.table-editor.inc.php'); - $editor = new XOrgAdminTableEditor($table,$idfield,$idedit); -} - -// }}} - -// 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: ?>