Fixes tips addition (Closes #1122).
authorStéphane Jacob <sj@m4x.org>
Fri, 10 Sep 2010 19:00:50 +0000 (21:00 +0200)
committerStéphane Jacob <sj@m4x.org>
Fri, 10 Sep 2010 19:01:00 +0000 (21:01 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/events.php

index 035f274..b8d1a60 100644 (file)
@@ -311,10 +311,10 @@ class EventsModule extends PLModule
         $table_editor->describe('expiration', 'date de péremption', true);
         $table_editor->describe('promo_min', 'promo. min (0 aucune)', false);
         $table_editor->describe('promo_max', 'promo. max (0 aucune)', false);
-        $table_editor->describe('titre', 'titre', true);
+        $table_editor->describe('title', 'titre', true);
         $table_editor->describe('state', 'actif', true);
         $table_editor->describe('text', 'texte (html) de l\'astuce', false);
-        $table_editor->describe('priorite', '0<=priorité<=255', true);
+        $table_editor->describe('priority', '0<=priorité<=255', true);
         $table_editor->list_on_edit(false);
         $table_editor->apply($page, $action, $id);
         if (($action == 'edit' && !is_null($id)) || $action == 'update') {