Files
Froxlor/templates/Sparkle/customer/extras/htpasswds.tpl
Michael Kaufmann 370ccbdb74 refactor global array
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
2018-12-21 20:51:44 +01:00

60 lines
1.7 KiB
Smarty

$header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/htpasswd_big.png" alt="" />&nbsp;
{\Froxlor\I18N\Lang::getAll()['menue']['extras']['directoryprotection']}
</h2>
</header>
<section>
<form action="{$linker->getLink(array('section' => 'extras'))}" method="post" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<div class="overviewsearch">
{$searchcode}
</div>
<div class="overviewadd">
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'extras', 'page' => 'htpasswds', 'action' => 'add'))}">{\Froxlor\I18N\Lang::getAll()['extras']['directoryprotection_add']}</a>
</div>
<table class="full hl">
<thead>
<tr>
<th>{\Froxlor\I18N\Lang::getAll()['login']['username']}&nbsp;{$arrowcode['username']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['panel']['path']}&nbsp;{$arrowcode['path']}</th>
<th>{\Froxlor\I18N\Lang::getAll()['panel']['options']}</th>
</tr>
</thead>
<if $pagingcode != ''>
<tfoot>
<tr>
<td colspan="3">{$pagingcode}</td>
</tr>
</tfoot>
</if>
<tbody>
{$htpasswds}
</tbody>
</table>
</form>
<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' => 'htpasswds', 'action' => 'add'))}">{\Froxlor\I18N\Lang::getAll()['extras']['directoryprotection_add']}</a>
</div>
</if>
</section>
</article>
$footer