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

@@ -2,7 +2,7 @@ $header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/traffic_big.png" alt="{\Froxlor\I18N\Lang::getAll()['admin']['traffic']}" />&nbsp;{\Froxlor\I18N\Lang::getAll()['admin']['traffic']} &nbsp;
<img src="templates/{$theme}/assets/img/icons/traffic_big.png" alt="{$lng['admin']['traffic']}" />&nbsp;{$lng['admin']['traffic']} &nbsp;
</h2>
</header>
{$stats_tables}

View File

@@ -1,21 +1,21 @@
<h3>{\Froxlor\I18N\Lang::getAll()['traffic']['trafficoverview']}&nbsp;{$overview['type']}&nbsp;{$overview['year']}</h3>
<h3>{$lng['traffic']['trafficoverview']}&nbsp;{$overview['type']}&nbsp;{$overview['year']}</h3>
<section>
<table class="full" id="stats{$overview['year']}" data-toggle="table">
<thead>
<tr>
<th>{$overview['type']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['traffic']['months']['jan']}</td>
<th>{\Froxlor\I18N\Lang::getAll()['traffic']['months']['feb']}</td>
<th>{\Froxlor\I18N\Lang::getAll()['traffic']['months']['mar']}</td>
<th>{\Froxlor\I18N\Lang::getAll()['traffic']['months']['apr']}</td>
<th>{\Froxlor\I18N\Lang::getAll()['traffic']['months']['may']}</td>
<th>{\Froxlor\I18N\Lang::getAll()['traffic']['months']['jun']}</td>
<th>{\Froxlor\I18N\Lang::getAll()['traffic']['months']['jul']}</td>
<th>{\Froxlor\I18N\Lang::getAll()['traffic']['months']['aug']}</td>
<th>{\Froxlor\I18N\Lang::getAll()['traffic']['months']['sep']}</td>
<th>{\Froxlor\I18N\Lang::getAll()['traffic']['months']['oct']}</td>
<th>{\Froxlor\I18N\Lang::getAll()['traffic']['months']['nov']}</td>
<th>{\Froxlor\I18N\Lang::getAll()['traffic']['months']['dec']}</td>
<th>{$lng['traffic']['months']['jan']}</td>
<th>{$lng['traffic']['months']['feb']}</td>
<th>{$lng['traffic']['months']['mar']}</td>
<th>{$lng['traffic']['months']['apr']}</td>
<th>{$lng['traffic']['months']['may']}</td>
<th>{$lng['traffic']['months']['jun']}</td>
<th>{$lng['traffic']['months']['jul']}</td>
<th>{$lng['traffic']['months']['aug']}</td>
<th>{$lng['traffic']['months']['sep']}</td>
<th>{$lng['traffic']['months']['oct']}</td>
<th>{$lng['traffic']['months']['nov']}</td>
<th>{$lng['traffic']['months']['dec']}</td>
</tr>
</thead>
<tbody>

View File

@@ -1,5 +1,5 @@
<tr>
<td>{$virtual_host['name']}<if $customerview == 1>&nbsp;<a href="{$linker->getLink(array('section' => 'customers', 'target' => 'traffic', 'page' => $page, 'action' => 'su', 'id' => $virtual_host['customerid']))}" rel="external">[{\Froxlor\I18N\Lang::getAll()['traffic']['details']}]</a></if></td>
<td>{$virtual_host['name']}<if $customerview == 1>&nbsp;<a href="{$linker->getLink(array('section' => 'customers', 'target' => 'traffic', 'page' => $page, 'action' => 'su', 'id' => $virtual_host['customerid']))}" rel="external">[{$lng['traffic']['details']}]</a></if></td>
<td><small>{$virtual_host['jan']}</small></td>
<td><small>{$virtual_host['feb']}</small></td>
<td><small>{$virtual_host['mar']}</small></td>