From 5539ed86dc2cd16b9d59fd662ea9fdd42880d0ec Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 7 Feb 2020 21:06:17 +0100 Subject: [PATCH] fix view l11n --- Theme/Backend/event-list.tpl.php | 2 +- Theme/Backend/promotion-list.tpl.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Theme/Backend/event-list.tpl.php b/Theme/Backend/event-list.tpl.php index 61dc27e..a1d1582 100644 --- a/Theme/Backend/event-list.tpl.php +++ b/Theme/Backend/event-list.tpl.php @@ -13,7 +13,7 @@ declare(strict_types=1); -$footerView = new \phpOMS\Views\PaginationView($this->app, $this->request, $this->response); +$footerView = new \phpOMS\Views\PaginationView($this->l11nManager, $this->request, $this->response); $footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); $footerView->setPages(20); $footerView->setPage(1); diff --git a/Theme/Backend/promotion-list.tpl.php b/Theme/Backend/promotion-list.tpl.php index 3c4831f..842ff2c 100644 --- a/Theme/Backend/promotion-list.tpl.php +++ b/Theme/Backend/promotion-list.tpl.php @@ -13,7 +13,7 @@ declare(strict_types=1); -$footerView = new \phpOMS\Views\PaginationView($this->app, $this->request, $this->response); +$footerView = new \phpOMS\Views\PaginationView($this->l11nManager, $this->request, $this->response); $footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); $footerView->setPages(20); $footerView->setPage(1);