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,7 +3,7 @@ $header
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/group_edit_big.png" alt="" />
{\Froxlor\I18N\Lang::getAll()['admin']['customers']} ({$customercount})
{$lng['admin']['customers']} ({$customercount})
</h2>
</header>
@@ -20,7 +20,7 @@ $header
<if \Froxlor\User::getAll()['customers_used'] < \Froxlor\User::getAll()['customers'] || \Froxlor\User::getAll()['customers'] == '-1'>
<div class="overviewadd">
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'customers', 'page' => $page, 'action' => 'add'))}">{\Froxlor\I18N\Lang::getAll()['admin']['customer_add']}</a>
<a href="{$linker->getLink(array('section' => 'customers', 'page' => $page, 'action' => 'add'))}">{$lng['admin']['customer_add']}</a>
</div>
</if>
@@ -28,18 +28,18 @@ $header
<thead>
<tr>
<th>
{\Froxlor\I18N\Lang::getAll()['customer']['name']},
{\Froxlor\I18N\Lang::getAll()['customer']['firstname']}&nbsp;{$arrowcode['c.name']}
{$lng['customer']['name']},
{$lng['customer']['firstname']}&nbsp;{$arrowcode['c.name']}
</th>
<th>
{\Froxlor\I18N\Lang::getAll()['login']['username']}&nbsp;{$arrowcode['c.loginname']}
{$lng['login']['username']}&nbsp;{$arrowcode['c.loginname']}
</th>
<th>
{\Froxlor\I18N\Lang::getAll()['admin']['admin']}&nbsp;{$arrowcode['a.loginname']}
{$lng['admin']['admin']}&nbsp;{$arrowcode['a.loginname']}
</th>
<th>{\Froxlor\I18N\Lang::getAll()['admin']['lastlogin_succ']}</th>
<th>{$lng['admin']['lastlogin_succ']}</th>
<th></th>
<th>{\Froxlor\I18N\Lang::getAll()['panel']['options']}</th>
<th>{$lng['panel']['options']}</th>
</tr>
</thead>
@@ -61,7 +61,7 @@ $header
<if (\Froxlor\User::getAll()['customers_used'] < \Froxlor\User::getAll()['customers'] || \Froxlor\User::getAll()['customers'] == '-1') && 15 < \Froxlor\User::getAll()['customers_used'] >
<div class="overviewadd">
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'customers', 'page' => $page, 'action' => 'add'))}">{\Froxlor\I18N\Lang::getAll()['admin']['customer_add']}</a>
<a href="{$linker->getLink(array('section' => 'customers', 'page' => $page, 'action' => 'add'))}">{$lng['admin']['customer_add']}</a>
</div>
</if>