X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fsearch.php;h=7c33bd54b616f58bce18bfd788cbdaa487859c34;hb=0a928a2f2d5ded38bb30237efa6037397538e049;hp=1dc226cdfb57ad1b404bc7c4f3e23691e8b10803;hpb=81f394686704902f95b31362fab8a88307b34c58;p=platal.git diff --git a/modules/search.php b/modules/search.php index 1dc226c..7c33bd5 100644 --- a/modules/search.php +++ b/modules/search.php @@ -123,8 +123,7 @@ class SearchModule extends PLModule $view->addMod('minifiche', 'Mini-fiches', true, array('with_score' => true, 'starts_with' => $byletter)); if (S::logged() && !Env::i('nonins')) { $view->addMod('trombi', 'Trombinoscope', false, array('with_promo' => true, 'with_score' => true)); - // TODO: Reactivate when the new map is completed. - // $view->addMod('geoloc', 'Planisphère', false, array('with_annu' => 'search/adv')); + $view->addMod('map', 'Planisphère'); } $view->apply('search', $page, $model); @@ -188,8 +187,7 @@ class SearchModule extends PLModule } else { $view->addMod('minifiche', 'Mini-fiches', true, array('starts_with' => $byletter)); $view->addMod('trombi', 'Trombinoscope', false, array('with_promo' => true)); - // TODO: Reactivate when the new map is completed. - // $view->addMod('geoloc', 'Planisphère', false, array('with_annu' => 'search/adv')); + $view->addMod('map', 'Planisphère'); if (S::user()->checkPerms(User::PERM_EDIT_DIRECTORY) || S::admin()) { $view->addMod('addresses', 'Adresses postales', false); }