X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=inline;f=classes%2Fxnetpage.php;h=2a63e16853ce6d43b88c2e00614196ae590eb7ca;hb=4ad7b8ca262ce5badfff6d5f23deb091913f0606;hp=9ccdf371b6a14db56237dbbb10f7c93c39ebaade;hpb=d1e6167749fdad08c81e23d09e1bbbf76e3b989b;p=platal.git diff --git a/classes/xnetpage.php b/classes/xnetpage.php index 9ccdf37..2a63e16 100644 --- a/classes/xnetpage.php +++ b/classes/xnetpage.php @@ -1,6 +1,6 @@ assign('is_admin', may_update()); $this->assign('is_member', is_member()); } + $this->addJsLink('jquery.js'); + $this->addJsLink('overlib.js'); + $this->addJsLink('wiki.js'); $this->addJsLink('xorg.js'); $this->setTitle('Les associations polytechniciennes'); } @@ -52,6 +55,8 @@ class XnetPage extends PlPage { if (!$this->nomenu) { $this->useMenu(); + } else { + $this->assign('menu', false); } $this->_run('xnet/skin.tpl'); } @@ -139,8 +144,8 @@ function list_all_my_groups($params) return; } $res = XDB::iterRow('SELECT a.nom, a.diminutif - FROM groupex.asso AS a - INNER JOIN groupex.membres AS m ON m.asso_id = a.id + FROM groups AS a + INNER JOIN group_members AS m ON m.asso_id = a.id WHERE m.uid = {?}', S::i('uid')); $links = 'déconnexion'; $html = '