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>
<h2>
<img src="templates/{$theme}/assets/img/icons/htaccess_big.png" alt="" />&nbsp;
{$lng['menue']['extras']['pathoptions']}
{\Froxlor\I18N\Lang::getAll()['menue']['extras']['pathoptions']}
</h2>
</header>
@@ -19,21 +19,21 @@
<div class="overviewadd">
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htaccess', 'action' => 'add'))}">{$lng['extras']['pathoptions_add']}</a>
<a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htaccess', 'action' => 'add'))}">{\Froxlor\I18N\Lang::getAll()['extras']['pathoptions_add']}</a>
</div>
<table class="full hl">
<thead>
<tr>
<th>{$lng['panel']['path']}&nbsp;{$arrowcode['path']}</th>
<th>{$lng['extras']['view_directory']}&nbsp;{$arrowcode['options_indexes']}</th>
<th>{$lng['extras']['error404path']}&nbsp;{$arrowcode['error404path']}</th>
<th>{$lng['extras']['error403path']}&nbsp;{$arrowcode['error403path']}</th>
<th>{$lng['extras']['error500path']}&nbsp;{$arrowcode['error500path']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['panel']['path']}&nbsp;{$arrowcode['path']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['extras']['view_directory']}&nbsp;{$arrowcode['options_indexes']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['extras']['error404path']}&nbsp;{$arrowcode['error404path']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['extras']['error403path']}&nbsp;{$arrowcode['error403path']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['extras']['error500path']}&nbsp;{$arrowcode['error500path']}</th>
<if $cperlenabled == 1 >
<th>{$lng['extras']['execute_perl']}&nbsp;{$arrowcode['options_cgi']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['extras']['execute_perl']}&nbsp;{$arrowcode['options_cgi']}</th>
</if>
<th>{$lng['panel']['options']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['panel']['options']}</th>
</tr>
</thead>
@@ -53,7 +53,7 @@
<if 15 < $count >
<div class="overviewadd">
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htaccess', 'action' => 'add'))}">{$lng['extras']['pathoptions_add']}</a>
<a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htaccess', 'action' => 'add'))}">{\Froxlor\I18N\Lang::getAll()['extras']['pathoptions_add']}</a>
</div>
</if>
</form>