63 lines
1.7 KiB
Smarty
63 lines
1.7 KiB
Smarty
$header
|
|
<article>
|
|
<header>
|
|
<h2>
|
|
<img src="templates/{$theme}/assets/img/icons/group_edit_big.png" alt="" />
|
|
{$lng['menue']['ftp']['accounts']} ({$ftps_count})
|
|
</h2>
|
|
</header>
|
|
|
|
<section>
|
|
|
|
<form action="{$linker->getLink(array('section' => 'ftp'))}" method="post" enctype="application/x-www-form-urlencoded">
|
|
|
|
<div class="overviewsearch">
|
|
{$searchcode}
|
|
</div>
|
|
|
|
<if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') && 15 < $ftps_count >
|
|
<div class="overviewadd">
|
|
<img src="templates/{$theme}/assets/img/icons/user_add.png" alt="" />
|
|
<a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'add'))}">{$lng['ftp']['account_add']}</a>
|
|
</div>
|
|
</if>
|
|
|
|
<table class="bradius">
|
|
<thead>
|
|
<tr>
|
|
<th>{$lng['login']['username']} {$arrowcode['username']}</th>
|
|
<th>{$lng['panel']['path']} {$arrowcode['homedir']}</th>
|
|
<th>{$lng['panel']['options']}</th>
|
|
</tr>
|
|
</thead>
|
|
<if $pagingcode != ''>
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="3">{$pagingcode}</td>
|
|
</tr>
|
|
</tfoot>
|
|
</if>
|
|
<tbody>
|
|
{$accounts}
|
|
</tbody>
|
|
</table>
|
|
|
|
<p style="display:none;">
|
|
<input type="hidden" name="s" value="$s" />
|
|
<input type="hidden" name="page" value="$page" />
|
|
</p>
|
|
|
|
</form>
|
|
|
|
<if ($userinfo['ftps_used'] < $userinfo['ftps'] || $userinfo['ftps'] == '-1') >
|
|
<div class="overviewadd">
|
|
<img src="templates/{$theme}/assets/img/icons/user_add.png" alt="" />
|
|
<a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'add'))}">{$lng['ftp']['account_add']}</a>
|
|
</div>
|
|
</if>
|
|
|
|
</section>
|
|
</article>
|
|
$footer
|
|
|