diff options
Diffstat (limited to 'app/Template/config/webhook.php')
-rw-r--r-- | app/Template/config/webhook.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app/Template/config/webhook.php b/app/Template/config/webhook.php index abd8da5f..d4f06d3f 100644 --- a/app/Template/config/webhook.php +++ b/app/Template/config/webhook.php @@ -2,15 +2,15 @@ <h2><?= t('Webhook settings') ?></h2> </div> <section> -<form method="post" action="<?= Helper\u('config', 'webhook') ?>" autocomplete="off"> +<form method="post" action="<?= $this->u('config', 'webhook') ?>" autocomplete="off"> - <?= Helper\form_csrf() ?> + <?= $this->formCsrf() ?> - <?= Helper\form_label(t('Webhook URL for task creation'), 'webhook_url_task_creation') ?> - <?= Helper\form_text('webhook_url_task_creation', $values, $errors) ?><br/> + <?= $this->formLabel(t('Webhook URL for task creation'), 'webhook_url_task_creation') ?> + <?= $this->formText('webhook_url_task_creation', $values, $errors) ?><br/> - <?= Helper\form_label(t('Webhook URL for task modification'), 'webhook_url_task_modification') ?> - <?= Helper\form_text('webhook_url_task_modification', $values, $errors) ?><br/> + <?= $this->formLabel(t('Webhook URL for task modification'), 'webhook_url_task_modification') ?> + <?= $this->formText('webhook_url_task_modification', $values, $errors) ?><br/> <div class="form-actions"> <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> @@ -25,14 +25,14 @@ <ul> <li> <?= t('Webhook token:') ?> - <strong><?= Helper\escape($values['webhook_token']) ?></strong> + <strong><?= $this->e($values['webhook_token']) ?></strong> </li> <li> <?= t('URL for task creation:') ?> - <input type="text" class="auto-select" readonly="readonly" value="<?= Helper\get_current_base_url().Helper\u('webhook', 'task', array('token' => $values['webhook_token'])) ?>"> + <input type="text" class="auto-select" readonly="readonly" value="<?= $this->getCurrentBaseUrl().$this->u('webhook', 'task', array('token' => $values['webhook_token'])) ?>"> </li> <li> - <?= Helper\a(t('Reset token'), 'config', 'token', array('type' => 'webhook'), true) ?> + <?= $this->a(t('Reset token'), 'config', 'token', array('type' => 'webhook'), true) ?> </li> </ul> </section>
\ No newline at end of file |