From 1fe46b8f16d9cc4762a387e3328a0db67574b25d Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Tue, 17 Nov 2009 22:08:39 +0100 Subject: [PATCH] Temporary removes all links to the planisphere. --- modules/carnet.php | 3 ++- modules/lists.php | 3 ++- modules/search.php | 6 ++++-- modules/xnetgrp.php | 3 ++- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/modules/carnet.php b/modules/carnet.php index 2b64a5f..aa51c29 100644 --- a/modules/carnet.php +++ b/modules/carnet.php @@ -306,7 +306,8 @@ class CarnetModule extends PLModule $view = new UserSet(new UFC_Contact($user)); $view->addMod('minifiche', 'Mini-fiches', true); $view->addMod('trombi', 'Trombinoscope', false, array('with_admin' => false, 'with_promo' => true)); - $view->addMod('geoloc', 'Planisphère', false, array('with_annu' => 'carnet/contacts/search')); + // TODO: Reactivate when the new map is completed. + // $view->addMod('geoloc', 'Planisphère', false, array('with_annu' => 'carnet/contacts/search')); $view->apply('carnet/contacts', $page, $action, $subaction); //if ($action != 'geoloc' || ($search && !$ssaction) || (!$search && !$subaction)) { $page->changeTpl('carnet/mescontacts.tpl'); diff --git a/modules/lists.php b/modules/lists.php index 8479060..300789f 100644 --- a/modules/lists.php +++ b/modules/lists.php @@ -395,7 +395,8 @@ class ListsModule extends PLModule if (empty($GLOBALS['IS_XNET_SITE'])) { $view->addMod('minifiche', 'Mini-fiches', false); } - $view->addMod('geoloc', 'Planisphère'); + // TODO: Reactivate when the new map is completed. + // $view->addMod('geoloc', 'Planisphère'); $view->apply("lists/annu/$liste", $page, $action, $subaction); if ($action == 'geoloc' && $subaction) { return; diff --git a/modules/search.php b/modules/search.php index c76c1b5..b2b0d78 100644 --- a/modules/search.php +++ b/modules/search.php @@ -126,7 +126,8 @@ class SearchModule extends PLModule $view->addMod('minifiche', 'Mini-fiches', true, array('with_score' => true)); if (S::logged() && !Env::i('nonins')) { $view->addMod('trombi', 'Trombinoscope', false, array('with_promo' => true, 'with_score' => true)); - $view->addMod('geoloc', 'Planisphère', false, array('with_annu' => 'search/adv')); + // TODO: Reactivate when the new map is completed. + // $view->addMod('geoloc', 'Planisphère', false, array('with_annu' => 'search/adv')); } $view->apply('search', $page, $action, $subaction); @@ -198,7 +199,8 @@ class SearchModule extends PLModule $view = new SearchSet(false, $action == 'geoloc' && substr($subaction, -3) == 'swf'); $view->addMod('minifiche', 'Mini-fiches', true); $view->addMod('trombi', 'Trombinoscope', false, array('with_promo' => true)); - //$view->addMod('geoloc', 'Planisphère', false, array('with_annu' => 'search/adv')); + // TODO: Reactivate when the new map is completed. + // $view->addMod('geoloc', 'Planisphère', false, array('with_annu' => 'search/adv')); $view->apply('search/adv', $page, $action, $subaction); if ($subaction) { diff --git a/modules/xnetgrp.php b/modules/xnetgrp.php index 3b43dd2..6c0a5da 100644 --- a/modules/xnetgrp.php +++ b/modules/xnetgrp.php @@ -296,7 +296,8 @@ class XnetGrpModule extends PLModule } else if ($action == 'geoloc' || $action == 'trombi') { $view = new UserSet(); $view->addMod('trombi', 'Trombinoscope'); - $view->addMod('geoloc', 'Planisphère', false, array('with_annu' => 'annuaire/search')); + // TODO: Reactivate when the new map is completed. + // $view->addMod('geoloc', 'Planisphère', false, array('with_annu' => 'annuaire/search')); $view->apply('annuaire', $page, $action, $subaction); if ($action == 'geoloc' && $subaction) { return; -- 2.1.4