From 6330400c63bd3731cd61f93904ec1550977bbc64 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sat, 4 Apr 2020 16:13:03 +0200 Subject: [PATCH] =?UTF-8?q?Libell=C3=A9s=20+=20optimisation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/class/template.class.php | 3 +-- module/gallery/gallery.php | 4 ++-- module/gallery/view/edit/edit.php | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/core/class/template.class.php b/core/class/template.class.php index 27370bf5..0cb422bc 100644 --- a/core/class/template.class.php +++ b/core/class/template.class.php @@ -638,8 +638,7 @@ class template { $j = 0; foreach($body as $tr) { // Id de ligne pour les tableaux drag and drop - $html .= ''; - $j++; + $html .= ''; $i = 0; foreach($tr as $td) { $html .= '' . $td . ''; diff --git a/module/gallery/gallery.php b/module/gallery/gallery.php index 458fb4cc..b9055b83 100644 --- a/module/gallery/gallery.php +++ b/module/gallery/gallery.php @@ -24,8 +24,8 @@ class gallery extends common { ]; public static $sort = [ - 'SORT_ASC' => 'Alphabétique naturel', - 'SORT_DSC' => 'Alphabétique naturel inverse', + 'SORT_ASC' => 'Alphabétique ', + 'SORT_DSC' => 'Alphabétique inversé', 'none' => 'Aucun tri', ]; diff --git a/module/gallery/view/edit/edit.php b/module/gallery/view/edit/edit.php index 60f7dff4..ad3eacb6 100644 --- a/module/gallery/view/edit/edit.php +++ b/module/gallery/view/edit/edit.php @@ -45,6 +45,6 @@ - + \ No newline at end of file