welcome on board new 'Sparkle' theme and also welcome on board BNoiZe as theme maintainer (creater of Sparkle theme)

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-10-01 15:21:35 +02:00
parent ecdb9ddbdc
commit 38a53e49fd
390 changed files with 7923 additions and 0 deletions

View File

@@ -0,0 +1,67 @@
$header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/group_edit_big.png" alt="" />&nbsp;
{$lng['admin']['admins']}&nbsp;({$admincount})
</h2>
</header>
<section>
<form action="{$linker->getLink(array('section' => 'admins'))}" method="post" enctype="application/x-www-form-urlencoded">
<div class="overviewsearch">
{$searchcode}
</div>
<if 15 < $count >
<div class="overviewadd">
<img src="templates/{$theme}/assets/img/icons/user_add.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'admins', 'page' => $page, 'action' => 'add'))}">{$lng['admin']['admin_add']}</a>
</div>
</if>
<table class="bradiusodd">
<thead>
<tr>
<th>
{$lng['customer']['name']}&nbsp;&nbsp;{$arrowcode['name']}
</th>
<th>
{$lng['login']['username']}&nbsp;{$arrowcode['loginname']}
</th>
<th>{$lng['admin']['customers']}</th>
<th>&nbsp;</th>
<th>{$lng['panel']['options']}</th>
</tr>
</thead>
<if $pagingcode != ''>
<tfoot>
<tr>
<td colspan="5">{$pagingcode}</td>
</tr>
</tfoot>
</if>
<tbody>
$admins
</tbody>
</table>
<p style="display:none;">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
</p>
</form>
<div class="overviewadd">
<img src="templates/{$theme}/assets/img/icons/user_add.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'admins', 'page' => $page, 'action' => 'add'))}">{$lng['admin']['admin_add']}</a>
</div>
</section>
</article>
$footer

View File

@@ -0,0 +1,41 @@
$header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/user_add_big.png" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section class="fullform bradiusodd">
<form action="{$linker->getLink(array('section' => 'admins'))}" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable">
{$admin_add_form}
</table>
<p style="display: none;">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="send" value="send" />
</p>
</fieldset>
</form>
</section>
</article>
<br />
<article>
<section class="fullform bradiusodd">
<p style="margin-left:15px;">
<span style="color:#ff0000;">*</span>: {$lng['admin']['valuemandatory']}<br />
<span style="color:#ff0000;">**</span>: {$lng['admin']['valuemandatorycompany']}
</p>
</section>
</article>
$footer

View File

@@ -0,0 +1,64 @@
<tr>
<td>
{$row['name']}
</td>
<td>
<if $row['adminid'] != $userinfo['userid']>
<a href="{$linker->getLink(array('section' => 'admins', 'page' => $page, 'action' => 'su', 'id' => $row['adminid']))}" rel="external">{$row['loginname']}</a>
</if>
<if $row['adminid'] == $userinfo['userid']>
{$row['loginname']}
</if>
</td>
<td>
{$row['customers_used']}
</td>
<td>
<div>
<span class="overviewcustomerextras">
<span>Webspace:</span>
<if $row['diskspace'] != 'UL'>
<if (($row['diskspace']/100)*(int)$settings['system']['report_webmax']) < $row['diskspace_used']>
<div class="progress progress-danger progress-striped">
<div class="bar" style="width: {$disk_percent}%"></div>
</div>
<else>
<div class="progress progress-striped">
<div class="bar" style="width: {$disk_percent}%"></div>
</div>
</if>
<else>
<div class="progress progress-striped">
<div class="bar" style="width: 0%"></div>
</div>
</if>
</span>
<span class="overviewcustomerextras">
<span>Traffic:</span>
<if $row['traffic'] != 'UL'>
<if (($row['traffic']/100)*(int)$settings['system']['report_trafficmax']) < $row['traffic_used']>
<div class="progress progress-danger progress-striped">
<div class="bar" style="width: {$traffic_percent}%"></div>
</div>
<else>
<div class="progress progress-striped">
<div class="bar" style="width: {$traffic_percent}%"></div>
</div>
</if>
<else>
<div class="progress progress-striped">
<div class="bar" style="width: 0%"></div>
</div>
</if>
</span>
</div>
</td>
<td>
<a href="{$linker->getLink(array('section' => 'admins', 'page' => $page, 'action' => 'edit', 'id' => $row['adminid']))}" style="text-decoration:none;">
<img src="templates/{$theme}/assets/img/icons/edit.png" alt="{$lng['panel']['edit']}" />
</a>&nbsp;
<a href="{$linker->getLink(array('section' => 'admins', 'page' => $page, 'action' => 'delete', 'id' => $row['adminid']))}" style="text-decoration:none;">
<img src="templates/{$theme}/assets/img/icons/delete.png" alt="{$lng['panel']['delete']}" />
</a>
</td>
</tr>

View File

@@ -0,0 +1,48 @@
$header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/user_edit_big.png" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<if $result['adminid'] == $userinfo['userid']>
<div class="warningcontainer bradius">
<div class="warning">{$lng['error']['youcanteditallfieldsofyourself']}</div>
</div>
</if>
<section class="fullform bradiusodd">
<form action="{$linker->getLink(array('section' => 'admins'))}" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable">
{$admin_edit_form}
</table>
<p style="display: none;">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="id" value="$id" />
<input type="hidden" name="send" value="send" />
</p>
</fieldset>
</form>
</section>
</article>
<br />
<article>
<section class="fullform bradiusodd">
<p style="margin-left:15px;">
<span style="color:#ff0000;">*</span>: {$lng['admin']['valuemandatory']}
</p>
</section>
</article>
$footer