From b4a8f218afd8d3dfde7c45799a4d896f056de793 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/entries.tpl.php | 2 +- Theme/Backend/gl-list.tpl.php | 2 +- Theme/Backend/journal-list.tpl.php | 2 +- Theme/Backend/stack-archive-list.tpl.php | 2 +- Theme/Backend/stack-list.tpl.php | 2 +- Theme/Backend/stack-predefined-list.tpl.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Theme/Backend/entries.tpl.php b/Theme/Backend/entries.tpl.php index ed64d0e..f6bbc1e 100644 --- a/Theme/Backend/entries.tpl.php +++ b/Theme/Backend/entries.tpl.php @@ -14,7 +14,7 @@ declare(strict_types=1); //echo $this->getData('nav')->render(); -$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/gl-list.tpl.php b/Theme/Backend/gl-list.tpl.php index 843a906..a59a005 100644 --- a/Theme/Backend/gl-list.tpl.php +++ b/Theme/Backend/gl-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/journal-list.tpl.php b/Theme/Backend/journal-list.tpl.php index f9b1294..00950f0 100644 --- a/Theme/Backend/journal-list.tpl.php +++ b/Theme/Backend/journal-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/stack-archive-list.tpl.php b/Theme/Backend/stack-archive-list.tpl.php index 7be1871..ecc6643 100644 --- a/Theme/Backend/stack-archive-list.tpl.php +++ b/Theme/Backend/stack-archive-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/stack-list.tpl.php b/Theme/Backend/stack-list.tpl.php index 849ef7f..7ae7d94 100644 --- a/Theme/Backend/stack-list.tpl.php +++ b/Theme/Backend/stack-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/stack-predefined-list.tpl.php b/Theme/Backend/stack-predefined-list.tpl.php index 452a67c..4fe0ad7 100644 --- a/Theme/Backend/stack-predefined-list.tpl.php +++ b/Theme/Backend/stack-predefined-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);