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-08-16 17:04:56 +02:00
|
|
|
<input type="text" class="auto-select" readonly="readonly" value="<?= $this->url->base().'jsonrpc.php' ?>">
|
2014-11-23 20:13:38 +01:00
|
|
|
</li>
|
|
|
|
<li>
|
2015-08-16 17:04:56 +02:00
|
|
|
<?= $this->url->link(t('Reset token'), 'config', 'token', array('type' => 'api'), true) ?>
|
2014-11-23 20:13:38 +01:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</section>
|