Revert "refactor global array"

This reverts commit 370ccbdb74.
This commit is contained in:
Michael Kaufmann
2018-12-22 08:15:31 +01:00
parent c800e89414
commit 7e39a7bc60
220 changed files with 2244 additions and 2227 deletions

View File

@@ -3,13 +3,13 @@
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/lock_big.png" alt="" />&nbsp;
{\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>