diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-05-24 16:02:25 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-05-24 16:02:25 -0400 |
commit | eeac2329baab1fdae7cbf6c707ed2ffd8beb4c1b (patch) | |
tree | 511c2fe47f8fbb1ea90e59e7a7a7f5e3530aa9ed /app/Template/config/board.php | |
parent | 65e9e5d1bed9f88ecfd43eb2c1e780a7c22c151f (diff) |
Helpers refactoring
Diffstat (limited to 'app/Template/config/board.php')
-rw-r--r-- | app/Template/config/board.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/Template/config/board.php b/app/Template/config/board.php index c55003de..19a4bcd7 100644 --- a/app/Template/config/board.php +++ b/app/Template/config/board.php @@ -2,20 +2,20 @@ <h2><?= t('Board settings') ?></h2> </div> <section> -<form method="post" action="<?= $this->u('config', 'board') ?>" autocomplete="off"> +<form method="post" action="<?= $this->url->href('config', 'board') ?>" autocomplete="off"> - <?= $this->formCsrf() ?> + <?= $this->form->csrf() ?> - <?= $this->formLabel(t('Task highlight period'), 'board_highlight_period') ?> - <?= $this->formNumber('board_highlight_period', $values, $errors) ?><br/> + <?= $this->form->label(t('Task highlight period'), 'board_highlight_period') ?> + <?= $this->form->number('board_highlight_period', $values, $errors) ?><br/> <p class="form-help"><?= t('Period (in second) to consider a task was modified recently (0 to disable, 2 days by default)') ?></p> - <?= $this->formLabel(t('Refresh interval for public board'), 'board_public_refresh_interval') ?> - <?= $this->formNumber('board_public_refresh_interval', $values, $errors) ?><br/> + <?= $this->form->label(t('Refresh interval for public board'), 'board_public_refresh_interval') ?> + <?= $this->form->number('board_public_refresh_interval', $values, $errors) ?><br/> <p class="form-help"><?= t('Frequency in second (60 seconds by default)') ?></p> - <?= $this->formLabel(t('Refresh interval for private board'), 'board_private_refresh_interval') ?> - <?= $this->formNumber('board_private_refresh_interval', $values, $errors) ?><br/> + <?= $this->form->label(t('Refresh interval for private board'), 'board_private_refresh_interval') ?> + <?= $this->form->number('board_private_refresh_interval', $values, $errors) ?><br/> <p class="form-help"><?= t('Frequency in second (0 to disable this feature, 10 seconds by default)') ?></p> <div class="form-actions"> |