Restore minifiche view for lists on X.org.
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Sun, 8 May 2011 23:24:04 +0000 (01:24 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Sun, 8 May 2011 23:24:04 +0000 (01:24 +0200)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
modules/lists.php

index 5b2b0db..8b417e0 100644 (file)
@@ -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);