Add a permanent warning message in admin/account/types to explain what directory_ax is
authorNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Sat, 8 Mar 2014 15:48:49 +0000 (16:48 +0100)
committerNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Sat, 8 Mar 2014 15:48:49 +0000 (16:48 +0100)
modules/admin.php

index a541100..d4f1390 100644 (file)
@@ -1546,6 +1546,10 @@ class AdminModule extends PLModule
         $table_editor->describe('type', 'Catégorie', true);
         $table_editor->describe('perms', 'Permissions associées', true);
         $table_editor->apply($page, $action, $id);
+
+        $page->trigWarning(
+            'Le niveau de visibilité "ax", utilisé par la permission "directory_ax", ' .
+            'correspond à la visibilité dans l\'annuaire papier.');
     }
 
     function handler_wiki($page, $action = 'list', $wikipage = null, $wikipage2 = null)