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