diff --git a/Theme/Backend/department-list.tpl.php b/Theme/Backend/department-list.tpl.php index e9be6d4..32dcc45 100644 --- a/Theme/Backend/department-list.tpl.php +++ b/Theme/Backend/department-list.tpl.php @@ -16,7 +16,7 @@ declare(strict_types=1); * @var \phpOMS\Views\View $this */ -$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(25); diff --git a/Theme/Backend/position-list.tpl.php b/Theme/Backend/position-list.tpl.php index e17041f..8a754d4 100644 --- a/Theme/Backend/position-list.tpl.php +++ b/Theme/Backend/position-list.tpl.php @@ -16,7 +16,7 @@ declare(strict_types=1); * @var \phpOMS\Views\View $this */ -$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(25); diff --git a/Theme/Backend/unit-list.tpl.php b/Theme/Backend/unit-list.tpl.php index 2b501e5..40730a0 100644 --- a/Theme/Backend/unit-list.tpl.php +++ b/Theme/Backend/unit-list.tpl.php @@ -16,7 +16,7 @@ declare(strict_types=1); * @var \phpOMS\Views\View $this */ -$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(25);