X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=classes%2Fxnetpage.php;h=f4d8e0033d7255152f0d1e03afe6a9951b9900d0;hb=28c20b86be8b40cecba0d83080879f81c49e07ad;hp=9ccdf371b6a14db56237dbbb10f7c93c39ebaade;hpb=5b516e6be17378ace0e375b9da14a46051bf0f4e;p=platal.git diff --git a/classes/xnetpage.php b/classes/xnetpage.php index 9ccdf37..f4d8e00 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'); } @@ -139,8 +142,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 = '