2014-11-23 20:13:38 +01:00
|
|
|
<div class="page-header">
|
|
|
|
<h2><?= t('API') ?></h2>
|
|
|
|
</div>
|
|
|
|
<section class="listing">
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
<?= t('API token:') ?>
|
2015-01-16 14:23:05 +01:00
|
|
|
<strong><?= $this->e($values['api_token']) ?></strong>
|
2014-11-23 20:13:38 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<?= t('API endpoint:') ?>
|
2015-01-16 14:23:05 +01:00
|
|
|
<input type="text" class="auto-select" readonly="readonly" value="<?= $this->getCurrentBaseUrl().'jsonrpc.php' ?>">
|
2014-11-23 20:13:38 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
2015-01-16 14:23:05 +01:00
|
|
|
<?= $this->a(t('Reset token'), 'config', 'token', array('type' => 'api'), true) ?>
|
2014-11-23 20:13:38 +01:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</section>
|