Maketank theme

This commit is contained in:
2016-12-16 13:23:16 +01:00
parent b4829b521b
commit 3542e85195
298 changed files with 8582 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
<tr>
<td colspan="2"><center><img class="responsive" src="{$img_src}"></center></td>
</tr>

View File

@@ -0,0 +1,4 @@
<tr>
<td>{$name}</td>
<td>{$value}</td>
</tr>

View File

@@ -0,0 +1,126 @@
$header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/res_recalculate_big.png" alt="" />&nbsp;
{$lng['admin']['apcuinfo']}
</h2>
</header>
<section>
<table class="full">
<tr class="section">
<th>{$lng['apcuinfo']['generaltitle']}</th>
<th class="right">
<a href="{$linker->getLink(array('section' => 'apcuinfo', 'page' => 'showinfo', 'action' => 'delete'))}">{$lng['apcuinfo']['clearcache']}</a>
&nbsp;
</th>
</tr>
<tr>
<td>{$lng['apcuinfo']['version']}</td>
<td>{$apcversion}</td>
</tr>
<tr>
<td>{$lng['apcuinfo']['phpversion']}</td>
<td>{$phpversion}</td>
</tr>
<tr>
<td>{$lng['apcuinfo']['sharedmem']}</td>
<td>{$sharedmem}</td>
</tr>
<tr>
<td>{$lng['apcuinfo']['start']}</td>
<td>{$starttime}</td>
</tr>
<tr>
<td>{$lng['apcuinfo']['uptime']}</td>
<td>{$uptime_duration}</td>
</tr>
<tr>
<td>{$lng['apcuinfo']['upload']}</td>
<td>{$cache['file_upload_progress']}</td>
</tr>
<tr class="section">
<th colspan="2">{$lng['apcuinfo']['cachetitle']}</th>
</tr>
<tr>
<td>{$lng['apcuinfo']['cvar']}</td>
<td>{$number_vars} ({$size_vars})</td>
</tr>
<tr>
<td>{$lng['apcuinfo']['hit']}</td>
<td>{$cache['num_hits']}</td>
</tr>
<tr>
<td>{$lng['apcuinfo']['miss']}</td>
<td>{$cache['num_misses']}</td>
</tr>
<tr>
<td>{$lng['apcuinfo']['reqrate']}</td>
<td>{$req_rate_user} {$lng['apcuinfo']['creqsec']}</td>
</tr>
<tr>
<td>{$lng['apcuinfo']['hitrate']}</td>
<td>{$hit_rate_user} {$lng['apcuinfo']['creqsec']}</td>
</tr>
<tr>
<td>{$lng['apcuinfo']['missrate']}</td>
<td>{$miss_rate_user} {$lng['apcuinfo']['creqsec']}</td>
</tr>
<tr>
<td>{$lng['apcuinfo']['insrate']}</td>
<td>{$insert_rate_user} {$lng['apcuinfo']['creqsec']}</td>
</tr>
<tr>
<td>{$lng['apcuinfo']['cachefull']}</td>
<td>{$cache['num_expunges']}</td>
</tr>
<tr class="section">
<th colspan="2">{$lng['apcuinfo']['memnote']}</th>
</tr>
{$img_src1}
<tr>
<td>{$lng['apcuinfo']['free']}</td>
<td>{$freemem}</td>
</tr>
<tr>
<td>{$lng['apcuinfo']['used']}</td>
<td>{$usedmem}</td>
</tr>
<tr class="section">
<th colspan="2">{$lng['apcuinfo']['hitmiss']}</th>
</tr>
{$img_src2}
<tr>
<td>{$lng['apcuinfo']['hit']}</td>
<td>{$hits}</td>
</tr>
<tr>
<td>{$lng['apcuinfo']['miss']}</td>
<td>{$misses}</td>
</tr>
<tr class="section">
<th colspan="2">{$lng['apcuinfo']['detailmem']}</th>
</tr>
{$img_src3}
<tr>
<td>{$lng['apcuinfo']['fragment']}</td>
<td>{$frag}</td>
</tr>
<tr class="section">
<th colspan="2">{$lng['apcuinfo']['runtime']}</th>
</tr>
{$runtimelines}
</table>
</section>
</article>
$footer

View File

@@ -0,0 +1,28 @@
$header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/res_recalculate_big.png" alt="" />&nbsp;
{$lng['admin']['integritycheck']}
</h2>
</header>
<section>
<table class="full">
<thead>
<tr>
<th>{$lng['admin']['integrityid']}</th>
<th>{$lng['admin']['integrityname']}</th>
<th>{$lng['admin']['integrityresult']}</th>
</tr>
</thead>
<tfoot>
<td colspan="3"><a href="{$linker->getLink(array('section' => 'settings', 'page' => $page, 'action' => 'fix'))}">{$lng['admin']['integrityfix']}</a></td>
</tfoot>
<tbody>
{$integritycheck}
</tbody>
</table>
</section>
</article>
$footer

View File

@@ -0,0 +1,11 @@
<tr>
<td>{$displayid}</td>
<td>{$checkdesc}</td>
<td>
<if $result == '1'>
<span class="green">OK</span>
<else>
<span class="red">FAIL</span>
</if>
</td>
</tr>

View File

@@ -0,0 +1,3 @@
<tr>
<td colspan="2">{$value}</td>
</tr>

View File

@@ -0,0 +1,4 @@
<tr>
<td><a href="http://php.net/manual/en/opcache.configuration.php#ini.{$linkname}" target="_blank">{$name}</a></td>
<td>{$value}</td>
</tr>

View File

@@ -0,0 +1,201 @@
$header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/res_recalculate_big.png" alt="" />&nbsp;
{$lng['admin']['opcacheinfo']}
</h2>
</header>
<section>
<div>
<if ($totalmem) >
<div class="canvasbox">
<input type="hidden" id="usedmem" class="circular" data-used="{$usedmem}" data-available="{$totalmem}">
<canvas id="usedmem-canvas" width="120" height="76"></canvas><br />
{$lng['opcacheinfo']['memusage']}<br />
<small>
{$lng['opcacheinfo']['used']}: {$usedmemstr} <br />
{$lng['opcacheinfo']['free']}: {$freememstr}
</small>
</div>
<div class="canvasbox">
<input type="hidden" id="wastedmem" class="circular" data-used="{$wastedmem}" data-available="{$totalmem}">
<canvas id="wastedmem-canvas" width="120" height="76"></canvas><br />
{$lng['opcacheinfo']['wastedmem']}<br />
<small>
{$wastedmemstr}
</small>
</div>
</if>
<if (isset($stringbuffer)) >
<div class="canvasbox">
<input type="hidden" id="stringused" class="circular" data-used="{$usedstring}" data-available="{$totalstring}">
<canvas id="stringused-canvas" width="120" height="76"></canvas><br />
{$lng['opcacheinfo']['strinterning']}<br />
<small>
{$lng['opcacheinfo']['used']}: {$usedstringstr} <br />
{$lng['opcacheinfo']['free']}: {$freestringstr}
</small>
</div>
</if>
<if ($totalkey) >
<div class="canvasbox">
<input type="hidden" id="usedkeystat" class="circular" data-used="{$usedkey}" data-available="{$totalkey}">
<canvas id="usedkeystat-canvas" width="120" height="76"></canvas><br />
{$lng['opcacheinfo']['usedkey']}<br />
<small>
{$usedkeystr}
</small>
</div>
</if>
<if ($cachetotal) >
<div class="canvasbox">
<input type="hidden" id="cachehit" class="circular" data-used="{$cachehits}" data-available="{$cachetotal}">
<canvas id="cachehit-canvas" width="120" height="76"></canvas><br />
{$lng['opcacheinfo']['hitsc']}
</div>
</if>
</div>
<table class="full">
<tr class="section">
<th>{$lng['opcacheinfo']['generaltitle']}</th>
<th class="right">
<a href="{$linker->getLink(array('section' => 'opcacheinfo', 'page' => 'showinfo', 'action' => 'reset'))}">{$lng['opcacheinfo']['resetcache']}</a>
&nbsp;
</th>
</tr>
<tr>
<td>{$lng['opcacheinfo']['version']}</td>
<td>{$general['version']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['phpversion']}</td>
<td>{$general['phpversion']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['start']}</td>
<td>{$general['start_time']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['lastreset']}</td>
<td>{$general['last_restart_time']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['oomrestarts']}</td>
<td>{$general['oom_restarts']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['hashrestarts']}</td>
<td>{$general['hash_restarts']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['manualrestarts']}</td>
<td>{$general['manual_restarts']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['status']}</td>
<td>{$general['status']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['cachedscripts']}</td>
<td>{$general['cachedscripts']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['hitsc']}</td>
<td>{$general['cachehits']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['missc']}</td>
<td>{$general['cachemiss']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['blmissc']}</td>
<td>{$general['blacklistmiss']}</td>
</tr>
<if ($totalmem) >
<tr>
<th colspan="2">{$lng['opcacheinfo']['memusage']}</th>
</tr>
<tr>
<td>{$lng['opcacheinfo']['totalmem']}</td>
<td>{$memory['total']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['usedmem']}</td>
<td>{$memory['used']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['freemem']}</td>
<td>{$memory['free']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['wastedmem']}</td>
<td>{$memory['wasted']}</td>
</tr>
</if>
<if (isset($stringbuffer)) >
<tr>
<th colspan="2">{$lng['opcacheinfo']['strinterning']}</th>
</tr>
<tr>
<td>{$lng['opcacheinfo']['totalmem']}</td>
<td>{$stringbuffer['total']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['usedmem']}</td>
<td>{$stringbuffer['used']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['freemem']}</td>
<td>{$stringbuffer['free']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['strcount']}</td>
<td>{$stringbuffer['strcount']}</td>
</tr>
</if>
<if (isset($keystat)) >
<tr>
<th colspan="2">{$lng['opcacheinfo']['keystat']}</th>
</tr>
<tr>
<td>{$lng['opcacheinfo']['maxkey']}</td>
<td>{$keystat['total']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['usedkey']}</td>
<td>{$keystat['used']}</td>
</tr>
<tr>
<td>{$lng['opcacheinfo']['wastedkey']}</td>
<td>{$keystat['wasted']}</td>
</tr>
</if>
<if $runtimelines >
<tr class="section">
<th colspan="2">{$lng['opcacheinfo']['runtimeconf']}</th>
</tr>
{$runtimelines}
</if>
<if $blacklistlines >
<tr class="section">
<th colspan="2">{$lng['opcacheinfo']['blacklist']}</th>
</tr>
{$blacklistlines}
</if>
</table>
</section>
</article>
$footer

View File

@@ -0,0 +1,16 @@
$header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/res_recalculate_big.png" alt="" />&nbsp;
{$lng['admin']['phpinfo']}
</h2>
</header>
<section>
<table class="full">
{$phpinfo}
</table>
</section>
</article>
$footer

View File

@@ -0,0 +1,3 @@
<tr>
<td colspan="3" align="center">{$val}</td>
</tr>

View File

@@ -0,0 +1,4 @@
<tr>
<td width="180">{$key}</td>
<td colspan="2">{$val}</td>
</tr>

View File

@@ -0,0 +1,6 @@
<if $key != 'Directive'>
<tr>
<td width="180">{$key}</td>
<td colspan="2">{$val[0]}<br/><small>(Master: {$val[1]})</small></td>
</tr>
</if>

View File

@@ -0,0 +1,4 @@
<tr class="section">
<th colspan="3">{$name}</th>
</tr>
{$phpinfoentries}

View File

@@ -0,0 +1,22 @@
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/settings_big.png" alt="" />&nbsp;
{$lng['admin']['serversettings']} &nbsp;
[<a href="$filename?page=overview&amp;part=&amp;s=$s">{$lng['admin']['configfiles']['compactoverview']}</a>]
</h2>
</header>
<section>
<table class="full">
$fields
<tfoot>
<tr>
<td class="maintitle_apply_right" nowrap="nowrap" colspan="2" align="right">
<input class="bottom" type="reset" value="{$lng['panel']['reset']}" /><input class="bottom" type="submit" value="{$lng['panel']['save']}" />
</td>
</tr>
</tfoot>
</table>
</section>
</article>

View File

@@ -0,0 +1,6 @@
$header
<form method="post" action="$filename" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="send" value="send" />
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />

View File

@@ -0,0 +1,6 @@
<if $_part != ''>
<input type="hidden" name="part" value="{$_part}" />
</if>
</form>
<br />
$footer

View File

@@ -0,0 +1,8 @@
<tr class="section">
<th>
{$groupdetails['title']}
</th>
<th class="right nolbr">
<input type="reset" value="{$lng['panel']['reset']}" /><input type="submit" value="{$lng['panel']['save']}" />
</th>
</tr>

View File

@@ -0,0 +1,31 @@
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/settings_big.png" alt="" />&nbsp;
{$lng['admin']['serversettings']} &nbsp;
[<a href="$filename?page=overview&amp;part=all&amp;s=$s">{$lng['admin']['configfiles']['overview']}</a>]
</h2>
</header>
<section>
<table class="full">
<thead>
<tr>
<th colspan="3" class="right">
<input class="bottom" type="reset" value="{$lng['panel']['reset']}" /><input class="bottom" type="submit" value="{$lng['panel']['save']}" />
</th>
</tr>
</thead>
<tbody>
$fields
</tbody>
<tfoot>
<tr>
<td nowrap="nowrap" colspan="3" class="right">
<input class="bottom" type="reset" value="{$lng['panel']['reset']}" /><input class="bottom" type="submit" value="{$lng['panel']['save']}" />
</td>
</tr>
</tfoot>
</table>
</section>
</article>

View File

@@ -0,0 +1,11 @@
<tr>
<td class="formlabeltd">
<label for="name"><strong>{$title}&nbsp;</strong></label>
</td>
<td>{$option}</td>
<td>
<if $activated == 1>
<a href="$filename?page=overview&amp;part=$part&amp;s=$s">{$lng['admin']['serversettings']}</a>
</if>
</td>
</tr>

View File

@@ -0,0 +1,27 @@
$header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/res_recalculate_big.png" alt="" />&nbsp;
{$lng['admin']['updatecounters']}
</h2>
</header>
<section>
<table class="full">
<thead>
<tr>
<th colspan="3">{$lng['admin']['customers']}</th>
</tr>
</thead>
{$customers}
<thead>
<tr>
<th colspan="3">{$lng['admin']['admins']}</th>
</tr>
</thead>
{$admins}
</table>
</section>
</article>
$footer

View File

@@ -0,0 +1,25 @@
<tr class="top">
<td>
<b><if $admin['adminid'] != $userinfo['userid']><a href="{$linker->getLink(array('section' => 'admins', 'page' => 'admins', 'action' => 'su', 'id' => $admin['adminid']))}" target="_blank">{$admin['loginname']}</a></if><if $admin['adminid'] == $userinfo['userid']>{$admin['loginname']}</if></b>
</td>
<td>
{$lng['admin']['customers']}: <span <if $admin['customers_used'] == $admin['customers_used_new']>class="green"<else>class="red"</if>><b>{$admin['customers_used']} -&gt; {$admin['customers_used_new']}</b></span><br />
{$lng['customer']['domains']}: <span <if $admin['domains_used'] == $admin['domains_used_new']>class="green"<else>class="red"</if>><b>{$admin['domains_used']} -&gt; {$admin['domains_used_new']}</b></span><br />
{$lng['customer']['subdomains']}: <span <if $admin['subdomains_used'] == $admin['subdomains_used_new']>class="green"<else>class="red"</if>><b>{$admin['subdomains_used']} -&gt; {$admin['subdomains_used_new']}</b></span><br />
{$lng['customer']['diskspace']}: <span <if $admin['diskspace_used'] == $admin['diskspace_used_new']>class="green"<else>class="red"</if>><b>{$admin['diskspace_used']} -&gt; {$admin['diskspace_used_new']}</b></span><br />
{$lng['customer']['traffic']}: <span <if $admin['traffic_used'] == $admin['traffic_used_new']>class="green"<else>class="red"</if>><b>{$admin['traffic_used']} -&gt; {$admin['traffic_used_new']}</b></span><br />
{$lng['customer']['mysqls']}: <span <if $admin['mysqls_used'] == $admin['mysqls_used_new']>class="green"<else>class="red"</if>><b>{$admin['mysqls_used']} -&gt; {$admin['mysqls_used_new']}</b></span>
</td>
<td>
{$lng['customer']['emails']}: <span <if $admin['emails_used'] == $admin['emails_used_new']>class="green"<else>class="red"</if>><b>{$admin['emails_used']} -&gt; {$admin['emails_used_new']}</b></span><br />
{$lng['customer']['accounts']}: <span <if $admin['email_accounts_used'] == $admin['email_accounts_used_new']>class="green"<else>class="red"</if>><b>{$admin['email_accounts_used']} -&gt; {$admin['email_accounts_used_new']}</b></span><br />
{$lng['customer']['forwarders']}: <span <if $admin['email_forwarders_used'] == $admin['email_forwarders_used_new']>class="green"<else>class="red"</if>><b>{$admin['email_forwarders_used']} -&gt; {$admin['email_forwarders_used_new']}</b></span><br />
<if Settings::Get('system.mail_quota_enabled') == 1>
{$lng['customer']['email_quota']}: <span <if $admin['email_quota_used'] == $admin['email_quota_used_new']>class="green"<else>class="red"</if>><b>{$admin['email_quota_used']} -&gt; {$admin['email_quota_used_new']}</b></span><br />
</if>
{$lng['customer']['ftps']}: <span <if $admin['ftps_used'] == $admin['ftps_used_new']>class="green"<else>class="red"</if>><b>{$admin['ftps_used']} -&gt; {$admin['ftps_used_new']}</b></span><br />
<if Settings::Get('ticket.enabled') == '1'>
{$lng['customer']['tickets']}: <span <if $admin['tickets_used'] == $admin['tickets_used_new']>class="green"<else>class="red"</if>><b>{$admin['tickets_used']} -&gt; {$admin['tickets_used_new']}</b></span><br />
</if>
</td>
</tr>

View File

@@ -0,0 +1,21 @@
<tr class="top">
<td>
<b><if $customer['name'] != '' && $customer['firstname'] != ''>{$customer['name']}, {$customer['firstname']}</if><if $customer['name'] != '' && $customer['firstname'] != '' && $customer['company'] != ''> | </if><if $customer['company'] != ''>{$customer['company']}</if> (<a href="{$linker->getLink(array('section' => 'customers', 'page' => 'customers', 'action' => 'su', 'id' => $customer['customerid']))}" target="_blank">{$customer['loginname']}</a>)</b>
</td>
<td>
{$lng['customer']['subdomains']}: <span <if $customer['subdomains_used'] == $customer['subdomains_used_new']>class="green"<else>class="red"</if>><b>{$customer['subdomains_used']} -&gt; {$customer['subdomains_used_new']}</b></span><br />
{$lng['customer']['mysqls']}: <span <if $customer['mysqls_used'] == $customer['mysqls_used_new']>class="green"<else>class="red"</if>><b>{$customer['mysqls_used']} -&gt; {$customer['mysqls_used_new']}</b></span><br />
{$lng['customer']['emails']}: <span <if $customer['emails_used'] == $customer['emails_used_new']>class="green"<else>class="red"</if>><b>{$customer['emails_used']} -&gt; {$customer['emails_used_new']}</b></span><br />
{$lng['customer']['accounts']}: <span <if $customer['email_accounts_used'] == $customer['email_accounts_used_new']>class="green"<else>class="red"</if>><b>{$customer['email_accounts_used']} -&gt; {$customer['email_accounts_used_new']}</b></span><br />
</td>
<td>
{$lng['customer']['forwarders']}: <span <if $customer['email_forwarders_used'] == $customer['email_forwarders_used_new']>class="green"<else>class="red"</if>><b>{$customer['email_forwarders_used']} -&gt; {$customer['email_forwarders_used_new']}</b></span><br />
<if Settings::Get('system.mail_quota_enabled') == 1>
{$lng['customer']['email_quota']}: <span <if $customer['email_quota_used'] == $customer['email_quota_used_new']>class="green"<else>class="red"</if>><b>{$customer['email_quota_used']} -&gt; {$customer['email_quota_used_new']}</b></span><br />
</if>
{$lng['customer']['ftps']}: <span <if $customer['ftps_used'] == $customer['ftps_used_new']>class="green"<else>class="red"</if>><b>{$customer['ftps_used']} -&gt; {$customer['ftps_used_new']}</b></span><br />
<if Settings::Get('ticket.enabled') == '1'>
{$lng['customer']['tickets']}: <span <if $customer['tickets_used'] == $customer['tickets_used_new']>class="green"<else>class="red"</if>><b>{$customer['tickets_used']} -&gt; {$customer['tickets_used_new']}</b></span><br />
</if>
</td>
</tr>