X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fxnet.php;h=fc4536599be10dd382662509972477dc1df9df50;hb=d3c52d3044db7080cb9226ee1bf55a1409b924e2;hp=165ccf1662622fd2ae6efde0644a843ef6b273c1;hpb=27455960d0d258d1b407c240f4aa07d0eda35486;p=platal.git diff --git a/modules/xnet.php b/modules/xnet.php index 165ccf1..fc45365 100644 --- a/modules/xnet.php +++ b/modules/xnet.php @@ -27,12 +27,6 @@ class XnetModule extends PLModule 'index' => $this->make_hook('index', AUTH_PUBLIC), 'exit' => $this->make_hook('exit', AUTH_PUBLIC), - 'about' => $this->make_hook('about', AUTH_PUBLIC), - 'article12' => $this->make_hook('article12', AUTH_PUBLIC), - 'article16' => $this->make_hook('article16', AUTH_PUBLIC), - 'creategpx' => $this->make_hook('creategpx', AUTH_PUBLIC), - 'services' => $this->make_hook('services', AUTH_PUBLIC), - 'admin' => $this->make_hook('admin', AUTH_MDP, 'admin'), 'groups' => $this->make_hook('groups', AUTH_PUBLIC), 'groupes.php' => $this->make_hook('groups2', AUTH_PUBLIC), @@ -52,36 +46,6 @@ class XnetModule extends PLModule $page->useMenu(); } - function handler_about(&$page) - { - $page->changeTpl('xnet/apropos.tpl'); - $page->useMenu(); - } - - function handler_article12(&$page) - { - $page->changeTpl('xnet/article12.tpl'); - $page->useMenu(); - } - - function handler_article16(&$page) - { - $page->changeTpl('xnet/article16.tpl'); - $page->useMenu(); - } - - function handler_creategpx(&$page) - { - $page->changeTpl('xnet/creation-groupex.tpl'); - $page->useMenu(); - } - - function handler_services(&$page) - { - $page->changeTpl('xnet/services.tpl'); - $page->useMenu(); - } - function handler_admin(&$page) { new_admin_page('xnet/admin.tpl');