refactor global array

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-21 20:51:44 +01:00
parent c5a58e3f36
commit 370ccbdb74
220 changed files with 2227 additions and 2244 deletions

View File

@@ -3,7 +3,7 @@ $header
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/syslog_big.png" alt="" />&nbsp;
{$lng['menue']['logger']['logger']}
{\Froxlor\I18N\Lang::getAll()['menue']['logger']['logger']}
</h2>
</header>
@@ -21,16 +21,16 @@ $header
<div class="overviewadd">
{$pagingcode}&nbsp;&nbsp;
<img src="templates/{$theme}/assets/img/icons/delete.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'logger', 'page' => 'log', 'action' => 'truncate'))}">{$lng['logger']['truncate']}</a>
<a href="{$linker->getLink(array('section' => 'logger', 'page' => 'log', 'action' => 'truncate'))}">{\Froxlor\I18N\Lang::getAll()['logger']['truncate']}</a>
</div>
<table class="full hl">
<thead>
<tr>
<th>{$lng['logger']['date']}&nbsp;{$arrowcode['date']}</th>
<th>{$lng['logger']['type']}&nbsp;{$arrowcode['type']}</th>
<th>{$lng['logger']['user']}&nbsp;{$arrowcode['user']}</th>
<th>{$lng['logger']['action']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['logger']['date']}&nbsp;{$arrowcode['date']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['logger']['type']}&nbsp;{$arrowcode['type']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['logger']['user']}&nbsp;{$arrowcode['user']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['logger']['action']}</th>
</tr>
</thead>
<tbody>
@@ -43,7 +43,7 @@ $header
<div class="overviewadd">
{$pagingcode}&nbsp;&nbsp;
<img src="templates/{$theme}/assets/img/icons/delete.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'logger', 'page' => 'log', 'action' => 'truncate'))}">{$lng['logger']['truncate']}</a>
<a href="{$linker->getLink(array('section' => 'logger', 'page' => 'log', 'action' => 'truncate'))}">{\Froxlor\I18N\Lang::getAll()['logger']['truncate']}</a>
</div>
</if>