8
templates/Sparkle/api_keys/keys_key.tpl
vendored
8
templates/Sparkle/api_keys/keys_key.tpl
vendored
@@ -1,4 +1,4 @@
|
||||
<tr <if $isMyKey>class="primary-entry"</if> id="apikey-{$row['id']}" data-id="{$row['id']}" title="{\Froxlor\I18N\Lang::getAll()['apikeys']['clicktoview']}">
|
||||
<tr <if $isMyKey>class="primary-entry"</if> id="apikey-{$row['id']}" data-id="{$row['id']}" title="{$lng['apikeys']['clicktoview']}">
|
||||
<td>
|
||||
{$adminCustomerLink}
|
||||
</td>
|
||||
@@ -18,7 +18,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<a href="{$linker->getLink(array('section' => 'index', 'page' => $page, 'action' => 'delete', 'id' => $row['id']))}">
|
||||
<img src="templates/{$theme}/assets/img/icons/delete.png" alt="{\Froxlor\I18N\Lang::getAll()['panel']['delete']}" title="{\Froxlor\I18N\Lang::getAll()['panel']['delete']}" />
|
||||
<img src="templates/{$theme}/assets/img/icons/delete.png" alt="{$lng['panel']['delete']}" title="{$lng['panel']['delete']}" />
|
||||
</a>
|
||||
<div id="dialog-{$row['id']}" title="API-key / Secret" class="hidden api-dialog">
|
||||
<form action="{$linker->getLink(array('section' => 'apikeys'))}" method="post" enctype="application/x-www-form-urlencoded">
|
||||
@@ -32,10 +32,10 @@
|
||||
<th>Secret</th><td><input type="text" value="{$row['secret']}" readonly/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{\Froxlor\I18N\Lang::getAll()['apikeys']['allowed_from']}<br><small>{\Froxlor\I18N\Lang::getAll()['apikeys']['allowed_from_help']}</small></th><td><input type="text" name="allowed_from" value="{$row['allowed_from']}"/></td>
|
||||
<th>{$lng['apikeys']['allowed_from']}<br><small>{$lng['apikeys']['allowed_from_help']}</small></th><td><input type="text" name="allowed_from" value="{$row['allowed_from']}"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{\Froxlor\I18N\Lang::getAll()['apikeys']['valid_until']}<br><small>{\Froxlor\I18N\Lang::getAll()['apikeys']['valid_until_help']}</small></th><td><input type="text" name="valid_until" value="{$row['valid_until']}"/></td>
|
||||
<th>{$lng['apikeys']['valid_until']}<br><small>{$lng['apikeys']['valid_until_help']}</small></th><td><input type="text" name="valid_until" value="{$row['valid_until']}"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
16
templates/Sparkle/api_keys/keys_list.tpl
vendored
16
templates/Sparkle/api_keys/keys_list.tpl
vendored
@@ -3,13 +3,13 @@
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/lock_big.png" alt="" />
|
||||
{\Froxlor\I18N\Lang::getAll()['menue']['main']['apikeys']}
|
||||
{$lng['menue']['main']['apikeys']}
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
<if !empty($success_message)>
|
||||
<div class="successcontainer bradius">
|
||||
<div class="successtitle">{\Froxlor\I18N\Lang::getAll()['success']['success']}</div>
|
||||
<div class="successtitle">{$lng['success']['success']}</div>
|
||||
<div class="success">
|
||||
$success_message
|
||||
</div>
|
||||
@@ -28,18 +28,18 @@
|
||||
|
||||
<div class="overviewadd">
|
||||
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />
|
||||
<a href="{$linker->getLink(array('section' => 'index', 'page' => $page, 'action' => 'add'))}">{\Froxlor\I18N\Lang::getAll()['apikeys']['key_add']}</a>
|
||||
<a href="{$linker->getLink(array('section' => 'index', 'page' => $page, 'action' => 'add'))}">{$lng['apikeys']['key_add']}</a>
|
||||
</div>
|
||||
|
||||
<table class="full hl">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{\Froxlor\I18N\Lang::getAll()['login']['username']}</th>
|
||||
<th>{$lng['login']['username']}</th>
|
||||
<th>API-key</th>
|
||||
<th>Secret</th>
|
||||
<th>{\Froxlor\I18N\Lang::getAll()['apikeys']['allowed_from']}</th>
|
||||
<th>{\Froxlor\I18N\Lang::getAll()['apikeys']['valid_until']}</th>
|
||||
<th>{\Froxlor\I18N\Lang::getAll()['panel']['options']}</th>
|
||||
<th>{$lng['apikeys']['allowed_from']}</th>
|
||||
<th>{$lng['apikeys']['valid_until']}</th>
|
||||
<th>{$lng['panel']['options']}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
<if 15 < $count >
|
||||
<div class="overviewadd">
|
||||
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />
|
||||
<a href="{$linker->getLink(array('section' => 'index', 'page' => $page, 'action' => 'add'))}">{\Froxlor\I18N\Lang::getAll()['apikeys']['key_add']}</a>
|
||||
<a href="{$linker->getLink(array('section' => 'index', 'page' => $page, 'action' => 'add'))}">{$lng['apikeys']['key_add']}</a>
|
||||
</div>
|
||||
</if>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user