24 lines
825 B
PHP
24 lines
825 B
PHP
<div class="page-header">
|
|
<h2><?= t('Webhook settings') ?></h2>
|
|
</div>
|
|
<form method="post" action="<?= $this->url->href('ConfigController', 'save', array('redirect' => 'webhook')) ?>" autocomplete="off">
|
|
<?= $this->form->csrf() ?>
|
|
|
|
<?= $this->form->label(t('Webhook URL'), 'webhook_url') ?>
|
|
<?= $this->form->text('webhook_url', $values, $errors) ?>
|
|
|
|
<div class="form-actions">
|
|
<button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
|
|
</div>
|
|
</form>
|
|
|
|
<div class="page-header margin-top">
|
|
<h2><?= t('Webhook token') ?></h2>
|
|
</div>
|
|
<div class="panel">
|
|
<?= t('Webhook token:') ?>
|
|
<strong><?= $this->text->e($values['webhook_token']) ?></strong>
|
|
</div>
|
|
|
|
<?= $this->url->link(t('Reset token'), 'ConfigController', 'token', array('type' => 'webhook'), true, 'btn btn-red') ?>
|