refactor global array
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
16
templates/Sparkle/customer/ftp/accounts.tpl
vendored
16
templates/Sparkle/customer/ftp/accounts.tpl
vendored
@@ -3,7 +3,7 @@
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/group_edit_big.png" alt="" />
|
||||
{$lng['menue']['ftp']['accounts']} ({$ftps_count})
|
||||
{\Froxlor\I18N\Lang::getAll()['menue']['ftp']['accounts']} ({$ftps_count})
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
@@ -20,20 +20,20 @@
|
||||
<if (\Froxlor\User::getAll()['ftps_used'] < \Froxlor\User::getAll()['ftps'] || \Froxlor\User::getAll()['ftps'] == '-1') >
|
||||
<div class="overviewadd">
|
||||
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />
|
||||
<a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'add'))}">{$lng['ftp']['account_add']}</a>
|
||||
<a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'add'))}">{\Froxlor\I18N\Lang::getAll()['ftp']['account_add']}</a>
|
||||
</div>
|
||||
</if>
|
||||
|
||||
<table class="full hl">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{$lng['login']['username']} {$arrowcode['username']}</th>
|
||||
<th>{$lng['panel']['ftpdesc']} {$arrowcode['description']}</th>
|
||||
<th>{$lng['panel']['path']} {$arrowcode['homedir']}</th>
|
||||
<th>{\Froxlor\I18N\Lang::getAll()['login']['username']} {$arrowcode['username']}</th>
|
||||
<th>{\Froxlor\I18N\Lang::getAll()['panel']['ftpdesc']} {$arrowcode['description']}</th>
|
||||
<th>{\Froxlor\I18N\Lang::getAll()['panel']['path']} {$arrowcode['homedir']}</th>
|
||||
<if \Froxlor\Settings::Get('system.allow_customer_shell') == '1' >
|
||||
<th>{$lng['panel']['shell']}</th>
|
||||
<th>{\Froxlor\I18N\Lang::getAll()['panel']['shell']}</th>
|
||||
</if>
|
||||
<th>{$lng['panel']['options']}</th>
|
||||
<th>{\Froxlor\I18N\Lang::getAll()['panel']['options']}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
<if (\Froxlor\User::getAll()['ftps_used'] < \Froxlor\User::getAll()['ftps'] || \Froxlor\User::getAll()['ftps'] == '-1') && 15 < $ftps_count >
|
||||
<div class="overviewadd">
|
||||
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />
|
||||
<a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'add'))}">{$lng['ftp']['account_add']}</a>
|
||||
<a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'add'))}">{\Froxlor\I18N\Lang::getAll()['ftp']['account_add']}</a>
|
||||
</div>
|
||||
</if>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user