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/phpsettings_big.png" alt="" />&nbsp;
{$lng['menue']['phpsettings']['fpmdaemons']}
{\Froxlor\I18N\Lang::getAll()['menue']['phpsettings']['fpmdaemons']}
</h2>
</header>
@@ -11,18 +11,18 @@ $header
<div class="overviewadd">
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'phpsettings', 'page' => $page, 'action' => 'add'))}">{$lng['admin']['phpsettings']['addnew']}</a>
<a href="{$linker->getLink(array('section' => 'phpsettings', 'page' => $page, 'action' => 'add'))}">{\Froxlor\I18N\Lang::getAll()['admin']['phpsettings']['addnew']}</a>
</div>
<table class="full hl">
<thead>
<tr>
<th>{$lng['admin']['phpsettings']['description']}</th>
<th>{$lng['admin']['phpsettings']['activephpconfigs']}</th>
<th>{$lng['serversettings']['phpfpm_settings']['reload']}</th>
<th>{$lng['serversettings']['phpfpm_settings']['configdir']}</th>
<th>{$lng['serversettings']['phpfpm_settings']['pm']}</th>
<th>{$lng['panel']['options']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['admin']['phpsettings']['description']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['admin']['phpsettings']['activephpconfigs']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['serversettings']['phpfpm_settings']['reload']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['serversettings']['phpfpm_settings']['configdir']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['serversettings']['phpfpm_settings']['pm']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['panel']['options']}</th>
</thead>
<tbody>
$tablecontent
@@ -32,7 +32,7 @@ $header
<if 15 < $count>
<div class="overviewadd">
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'phpsettings', 'page' => $page, 'action' => 'add'))}">{$lng['admin']['phpsettings']['addnew']}</a>
<a href="{$linker->getLink(array('section' => 'phpsettings', 'page' => $page, 'action' => 'add'))}">{\Froxlor\I18N\Lang::getAll()['admin']['phpsettings']['addnew']}</a>
</div>
</if>