From eeac2329baab1fdae7cbf6c707ed2ffd8beb4c1b Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 24 May 2015 16:02:25 -0400 Subject: Helpers refactoring --- app/Core/Paginator.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/Core/Paginator.php') diff --git a/app/Core/Paginator.php b/app/Core/Paginator.php index 4d4364dd..12cc05a1 100644 --- a/app/Core/Paginator.php +++ b/app/Core/Paginator.php @@ -349,7 +349,7 @@ class Paginator $html = ''; if ($this->offset > 0) { - $html .= $this->container['helper']->a( + $html .= $this->container['helper']->url->link( '← '.t('Previous'), $this->controller, $this->action, @@ -376,7 +376,7 @@ class Paginator $html = ''; if (($this->total - $this->offset) > $this->limit) { - $html .= $this->container['helper']->a( + $html .= $this->container['helper']->url->link( t('Next').' →', $this->controller, $this->action, @@ -451,7 +451,7 @@ class Paginator $direction = $this->direction === 'DESC' ? 'ASC' : 'DESC'; } - return $prefix.$this->container['helper']->a( + return $prefix.$this->container['helper']->url->link( $label, $this->controller, $this->action, -- cgit v1.2.3