summaryrefslogtreecommitdiff
path: root/app/Controller/CurrencyController.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-01-08 21:18:54 -0500
committerFrederic Guillot <fred@kanboard.net>2017-01-08 21:18:54 -0500
commit0960a4d0b00c9491b554cd49557b052414168e86 (patch)
tree5b5d58917b9eb7d3cbf23a4312be46a35d2b5fb4 /app/Controller/CurrencyController.php
parent47f4bceb1aea51bda9211a16d635b7a0f9664976 (diff)
Improve link labels pages navigation
Diffstat (limited to 'app/Controller/CurrencyController.php')
-rw-r--r--app/Controller/CurrencyController.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/app/Controller/CurrencyController.php b/app/Controller/CurrencyController.php
index 2b2275ac..155e229e 100644
--- a/app/Controller/CurrencyController.php
+++ b/app/Controller/CurrencyController.php
@@ -19,9 +19,9 @@ class CurrencyController extends BaseController
{
$this->response->html($this->helper->layout->config('currency/show', array(
'application_currency' => $this->configModel->get('application_currency'),
- 'rates' => $this->currencyModel->getAll(),
- 'currencies' => $this->currencyModel->getCurrencies(),
- 'title' => t('Settings').' &gt; '.t('Currency rates'),
+ 'rates' => $this->currencyModel->getAll(),
+ 'currencies' => $this->currencyModel->getCurrencies(),
+ 'title' => t('Settings') . ' &gt; ' . t('Currency rates'),
)));
}
@@ -34,9 +34,9 @@ class CurrencyController extends BaseController
*/
public function create(array $values = array(), array $errors = array())
{
- $this->response->html($this->helper->layout->config('currency/create', array(
- 'values' => $values,
- 'errors' => $errors,
+ $this->response->html($this->template->render('currency/create', array(
+ 'values' => $values,
+ 'errors' => $errors,
'currencies' => $this->currencyModel->getCurrencies(),
)));
}
@@ -77,9 +77,9 @@ class CurrencyController extends BaseController
$values['application_currency'] = $this->configModel->get('application_currency');
}
- $this->response->html($this->helper->layout->config('currency/change', array(
- 'values' => $values,
- 'errors' => $errors,
+ $this->response->html($this->template->render('currency/change', array(
+ 'values' => $values,
+ 'errors' => $errors,
'currencies' => $this->currencyModel->getCurrencies(),
)));
}