From bc003d659f3fab8aa00cd4a284dab9c9810be7f6 Mon Sep 17 00:00:00 2001 From: x2003augustin Date: Fri, 26 Jan 2007 23:21:06 +0000 Subject: [PATCH] Display priority of tips. git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1406 839d8a87-29fc-0310-9880-83ba4fa771e5 --- modules/events.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/events.php b/modules/events.php index 38244aa..3e0ff46 100644 --- a/modules/events.php +++ b/modules/events.php @@ -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'); -- 2.1.4