X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fxnet.php;h=f3cf0f9417ca5c4bb4ee5884b6fd672c9091757b;hb=1d10d3fd659fa8eb7c663d6bb599bc8bbc0feeb3;hp=e43cd55fe6246d4b877d223364c1f57b49b7eccc;hpb=a1d792172431297cb927aa3291ef132f372bd168;p=platal.git diff --git a/modules/xnet.php b/modules/xnet.php index e43cd55..f3cf0f9 100644 --- a/modules/xnet.php +++ b/modules/xnet.php @@ -32,9 +32,16 @@ class XnetModule extends PLModule 'groups' => $this->make_hook('groups', AUTH_PUBLIC), 'groupes.php' => $this->make_hook('groups2', AUTH_PUBLIC), 'plan' => $this->make_hook('plan', AUTH_PUBLIC), + 'send_bug' => $this->make_hook('bug', AUTH_MDP), ); } + function handler_bug(&$page) + { + $this->handler_index(&$page); + $page->assign('bug', 1); + } + function handler_index(&$page) { $page->nomenu = true;