74 lines
2.5 KiB
Smarty
74 lines
2.5 KiB
Smarty
$header
|
|
<article>
|
|
<header>
|
|
<h2>
|
|
<img src="templates/{$theme}/assets/img/icons/domains_big.png" alt="" />
|
|
{$lng['admin']['domains']} ({$domainscount})
|
|
</h2>
|
|
</header>
|
|
|
|
<section>
|
|
|
|
<form action="{$linker->getLink(array('section' => 'domains'))}" 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>
|
|
|
|
<if (\Froxlor\User::getAll()['domains_used'] < \Froxlor\User::getAll()['domains'] || \Froxlor\User::getAll()['domains'] == '-1') && $countcustomers !=0 >
|
|
<div class="overviewadd">
|
|
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />
|
|
<a href="{$linker->getLink(array('section' => 'domains', 'page' => $page, 'action' => 'add'))}">{$lng['admin']['domain_add']}</a>
|
|
|
|
<img src="templates/{$theme}/assets/img/icons/archive.png" alt="" />
|
|
<a href="{$linker->getLink(array('section' => 'domains', 'page' => $page, 'action' => 'import'))}">{$lng['domains']['domain_import']}</a>
|
|
</div>
|
|
</if>
|
|
|
|
<table class="full hl">
|
|
<thead>
|
|
<tr>
|
|
<th>{$lng['domains']['domainname']} {$arrowcode['d.domain']}</th>
|
|
<th>{$lng['admin']['ipsandports']['ip']}</th>
|
|
<th>{$lng['admin']['customer']} {$arrowcode['c.loginname']}</th>
|
|
<th>{$lng['panel']['options']}</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
{$domains}
|
|
</tbody>
|
|
|
|
<if $pagingcode != ''>
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="4">{$pagingcode}</td>
|
|
</tr>
|
|
</tfoot>
|
|
</if>
|
|
</table>
|
|
|
|
</form>
|
|
|
|
<if $countcustomers == 0 >
|
|
<div class="warningcontainer bradius">
|
|
<div class="warningtitle">{$lng['admin']['warning']}</div>
|
|
<div class="warning">
|
|
<a href="{$linker->getLink(array('section' => 'customers', 'page' => 'customers', 'action' => 'add'))}">{$lng['admin']['domain_nocustomeraddingavailable']}</a>
|
|
</div>
|
|
</div>
|
|
</if>
|
|
|
|
<if (\Froxlor\User::getAll()['domains_used'] < \Froxlor\User::getAll()['domains'] || \Froxlor\User::getAll()['domains'] == '-1') && 15 < $count && 0 < $countcustomers >
|
|
<div class="overviewadd">
|
|
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />
|
|
<a href="{$linker->getLink(array('section' => 'domains', 'page' => $page, 'action' => 'add'))}">{$lng['admin']['domain_add']}</a>
|
|
</div>
|
|
</if>
|
|
|
|
</section>
|
|
</article>
|
|
$footer
|