X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fxnet.php;h=d592f5b020ee450d764aecd382aa006a17d492f6;hb=cace61cfd2f571d9741a6cfce72e91b5859c1047;hp=1f30778ebbd289bd551c7550e40addc2fc3f2e1c;hpb=8c5c6d646a25e0d90a00ea798d18e535533c4814;p=platal.git diff --git a/modules/xnet.php b/modules/xnet.php index 1f30778..d592f5b 100644 --- a/modules/xnet.php +++ b/modules/xnet.php @@ -1,6 +1,6 @@ nomenu = true; @@ -72,7 +72,7 @@ class XnetModule extends PLModule function handler_admin(&$page) { - new_admin_page('xnet/admin.tpl'); + $page->changeTpl('xnet/admin.tpl'); if (Get::has('del')) { $res = XDB::query('SELECT id, nom, mail_domain @@ -197,7 +197,7 @@ class XnetModule extends PLModule $page->setType($cat); } - + function handler_autologin(&$page) { $allkeys = func_get_args();