summaryrefslogtreecommitdiff
path: root/app/Template/config/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/config/api.php')
-rw-r--r--app/Template/config/api.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Template/config/api.php b/app/Template/config/api.php
index 20a02340..0df90835 100644
--- a/app/Template/config/api.php
+++ b/app/Template/config/api.php
@@ -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> \ No newline at end of file