Display priority of tips.
authorx2003augustin <x2003augustin@839d8a87-29fc-0310-9880-83ba4fa771e5>
Fri, 26 Jan 2007 23:21:06 +0000 (23:21 +0000)
committerx2003augustin <x2003augustin@839d8a87-29fc-0310-9880-83ba4fa771e5>
Fri, 26 Jan 2007 23:21:06 +0000 (23:21 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1406 839d8a87-29fc-0310-9880-83ba4fa771e5

modules/events.php

index 38244aa..3e0ff46 100644 (file)
@@ -246,7 +246,7 @@ class EventsModule extends PLModule
         $table_editor->describe('titre', 'titre', true);
         $table_editor->describe('state', 'actif', true);
         $table_editor->describe('text', 'texte (html) de l\'astuce', false);
-        $table_editor->describe('priorite', 'priorité (0=min, 256=max)', false);
+        $table_editor->describe('priorite', '0<=priorité<=255', true);
         $table_editor->apply($page, $action, $id);
         if ($action == 'edit' && !is_null($id)) {
             $page->changeTpl('events/admin_tips.tpl');