From 5fe6a210de529363a18ea6d5e187e155bab1ec2c Mon Sep 17 00:00:00 2001 From: Pierre-Lin Bonnemaison Date: Tue, 13 Oct 2015 19:28:45 +0200 Subject: [PATCH] Uniformisation des noms de fichiers templates pour events et smsstop --- controllers/events.php | 2 +- controllers/smsstop.php | 2 +- templates/events/{default.php => showAll.php} | 0 templates/smsstop/{default.php => showAll.php} | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename templates/events/{default.php => showAll.php} (100%) rename templates/smsstop/{default.php => showAll.php} (100%) diff --git a/controllers/events.php b/controllers/events.php index a07dc84..894b568 100755 --- a/controllers/events.php +++ b/controllers/events.php @@ -39,7 +39,7 @@ //Récupération des évènements triés par date, du plus récent au plus ancien, par paquets de $limit, en ignorant les $offset premiers $events = $db->getFromTableWhere('events', [], 'at', true, $limit, $offset); - $this->render('events/default', array( + $this->render('events/showAll', array( 'events' => $events, 'page' => $page, 'limit' => $limit, diff --git a/controllers/smsstop.php b/controllers/smsstop.php index 29933b6..ae1c300 100755 --- a/controllers/smsstop.php +++ b/controllers/smsstop.php @@ -39,7 +39,7 @@ //Récupération des sms-stop, par paquets de $limit, en ignorant les $offset premiers $smsStops = $db->getFromTableWhere('sms_stop', [], false, true, $limit, $offset); - $this->render('smsstop/default', array( + $this->render('smsstop/showAll', array( 'smsStops' => $smsStops, 'page' => $page, 'limit' => $limit, diff --git a/templates/events/default.php b/templates/events/showAll.php similarity index 100% rename from templates/events/default.php rename to templates/events/showAll.php diff --git a/templates/smsstop/default.php b/templates/smsstop/showAll.php similarity index 100% rename from templates/smsstop/default.php rename to templates/smsstop/showAll.php