From 14f4068d03b9494b2b755e8aefe2cf1747a65aa7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Mon, 9 May 2011 01:24:04 +0200 Subject: [PATCH] Restore minifiche view for lists on X.org. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- modules/lists.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/lists.php b/modules/lists.php index 5b2b0db..8b417e0 100644 --- a/modules/lists.php +++ b/modules/lists.php @@ -396,6 +396,9 @@ class ListsModule extends PLModule $view = new UserArraySet($users); $view->addMod('trombi', 'Trombinoscope', false, array('with_promo' => true)); $view->addMod('listmember', 'Annuaire', true); + if (empty($GLOBALS['IS_XNET_SITE'])) { + $view->addMod('minifiche', 'Mini-fiches', false); + } // TODO: Reactivate when the new map is completed. // $view->addMod('geoloc', 'Planisphère'); $view->apply("lists/annu/$liste", $page, $action, $subaction); -- 2.1.4