Template helpers refactoring
This commit is contained in:
@@ -5,14 +5,14 @@
|
||||
<ul>
|
||||
<li>
|
||||
<?= t('API token:') ?>
|
||||
<strong><?= Helper\escape($values['api_token']) ?></strong>
|
||||
<strong><?= $this->e($values['api_token']) ?></strong>
|
||||
</li>
|
||||
<li>
|
||||
<?= t('API endpoint:') ?>
|
||||
<input type="text" class="auto-select" readonly="readonly" value="<?= Helper\get_current_base_url().'jsonrpc.php' ?>">
|
||||
<input type="text" class="auto-select" readonly="readonly" value="<?= $this->getCurrentBaseUrl().'jsonrpc.php' ?>">
|
||||
</li>
|
||||
<li>
|
||||
<?= Helper\a(t('Reset token'), 'config', 'token', array('type' => 'api'), true) ?>
|
||||
<?= $this->a(t('Reset token'), 'config', 'token', array('type' => 'api'), true) ?>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
Reference in New Issue
Block a user