This commit is contained in:
2020-01-30 14:56:49 +01:00
parent 6f32d810c1
commit 0adc511d07
64 changed files with 587 additions and 829 deletions

View File

@@ -5,7 +5,10 @@
<tr>
</if>
<td>
<a href="http://{$row['domain']}" target="_blank">{$row['domain']}</a>
<a href="http://{$row['domain']}" target="_blank"><b>{$row['domain']}</b></a>
<if $row['registration_date'] != ''>
<br><small>{$lng['domains']['registration_date']}: {$row['registration_date']}</small>
</if>
<if $row['termination_date'] != ''>
<br><small><div class="red">({$lng['domains']['termination_date_overview']} {$row['termination_date']})</div></small>
</if>
@@ -20,12 +23,17 @@
<img src="templates/{$theme}/assets/img/icons/edit.png" alt="{$lng['panel']['edit']}" title="{$lng['panel']['edit']}" />
</a>&nbsp;
</if>
<if $userinfo['logviewenabled'] == '1'>
<a href="{$linker->getLink(array('section' => 'domains', 'page' => 'logfiles', 'domain_id' => $row['id']))}">
<img src="templates/{$theme}/assets/img/icons/view.png" alt="{$lng['panel']['viewlogs']}" title="{$lng['panel']['viewlogs']}" />
</a>
</if>
<if $row['parentdomainid'] != '0' && !(isset($row['domainaliasid']) && $row['domainaliasid'] != 0)>
<a href="{$linker->getLink(array('section' => 'domains', 'page' => 'domains', 'action' => 'delete', 'id' => $row['id']))}">
<img src="templates/{$theme}/assets/img/icons/delete.png" alt="{$lng['panel']['delete']}" title="{$lng['panel']['delete']}" />
</a>&nbsp;
</if>
<if $row['isbinddomain'] == '1' && $userinfo['dnsenabled'] == '1' && $row['caneditdomain'] == '1' && Settings::Get('system.bind_enable') == '1' && Settings::Get('system.dnsenabled') == '1'>
<if $row['isbinddomain'] == '1' && $userinfo['dnsenabled'] == '1' && $row['caneditdomain'] == '1' && \Froxlor\Settings::Get('system.bind_enable') == '1' && \Froxlor\Settings::Get('system.dnsenabled') == '1'>
<a href="{$linker->getLink(array('section' => 'domains', 'page' => 'domaindnseditor', 'domain_id' => $row['id']))}">
<img src="templates/{$theme}/assets/img/icons/dns_edit.png" alt="{$lng['dnseditor']['edit']}" title="{$lng['dnseditor']['edit']}" />
</a>&nbsp;
@@ -36,7 +44,7 @@
</a>&nbsp;
</if>
<if $row['letsencrypt'] == '1'>
<img width="16px" src="templates/{$theme}/assets/img/icons/ssl.svg" alt="{$lng['panel']['letsencrypt']}" title="{$lng['panel']['letsencrypt']}" />
<img src="templates/{$theme}/assets/img/icons/ssl_letsencrypt.png" alt="{$lng['panel']['letsencrypt']}" title="{$lng['panel']['letsencrypt']}" />
</if>
<if $row['parentdomainid'] == '0' && !(isset($row['domainaliasid']) && $row['domainaliasid'] != 0)>
({$lng['domains']['isassigneddomain']})&nbsp;

View File

@@ -4,7 +4,7 @@ $header
<h2>
<img src="templates/{$theme}/assets/img/icons/domain_edit_big.png" alt="{$title}" />&nbsp;
{$title}
<if $result['isbinddomain'] == '1' && $userinfo['dnsenabled'] == '1' && Settings::Get('system.bind_enable') == '1' && Settings::Get('system.dnsenabled') == '1'>
<if $result['isbinddomain'] == '1' && $userinfo['dnsenabled'] == '1' && \Froxlor\Settings::Get('system.bind_enable') == '1' && \Froxlor\Settings::Get('system.dnsenabled') == '1'>
&nbsp;(<small><a href="{$linker->getLink(array('section' => 'domains', 'page' => 'domaindnseditor', 'domain_id' => $id))}">{$lng['dnseditor']['edit']}</a></small>)
</if>
</h2>

View File

@@ -30,8 +30,8 @@
<th>{$lng['emails']['emailaddress']}&nbsp;{$arrowcode['m.email_full']}</th>
<th>{$lng['emails']['forwarders']}&nbsp;{$arrowcode['m.destination']}</th>
<th>{$lng['emails']['account']}</th>
<if Settings::Get('catchall.catchall_enabled') == '1'><th>{$lng['emails']['catchall']}</th></if>
<if Settings::Get('system.mail_quota_enabled') == '1'>
<if \Froxlor\Settings::Get('catchall.catchall_enabled') == '1'><th>{$lng['emails']['catchall']}</th></if>
<if \Froxlor\Settings::Get('system.mail_quota_enabled') == '1'>
<th>{$lng['emails']['quota']}</th>
</if>
<th>{$lng['panel']['options']}</th>

View File

@@ -2,8 +2,8 @@
<td>{$row['email_full']}</td>
<td><if $row['destination'] == ''>&nbsp;<else>{$row['destination']}</if></td>
<td><if $row['popaccountid'] != 0>{$lng['panel']['yes']} ({$row['mboxsize']})</if><if $row['popaccountid'] == 0>{$lng['panel']['no']}</if></td>
<if Settings::Get('catchall.catchall_enabled') == '1'><td><if $row['iscatchall'] != 0>{$lng['panel']['yes']}</if><if $row['iscatchall'] == 0>{$lng['panel']['no']}</if></td></if>
<if Settings::Get('system.mail_quota_enabled') == '1'><td><if $row['quota'] == 0>{$lng['emails']['noquota']}<else>{$row['quota']} MiB</if></if></td>
<if \Froxlor\Settings::Get('catchall.catchall_enabled') == '1'><td><if $row['iscatchall'] != 0>{$lng['panel']['yes']}</if><if $row['iscatchall'] == 0>{$lng['panel']['no']}</if></td></if>
<if \Froxlor\Settings::Get('system.mail_quota_enabled') == '1'><td><if $row['quota'] == 0>{$lng['emails']['noquota']}<else>{$row['quota']} MiB</if></if></td>
<td>
<a href="{$linker->getLink(array('section' => 'email', 'page' => $page, 'action' => 'edit', 'id' => $row['id']))}">
<img src="templates/{$theme}/assets/img/icons/edit.png" alt="{$lng['panel']['edit']}" title="{$lng['panel']['edit']}" />

View File

@@ -30,6 +30,9 @@
<th>{$lng['login']['username']}&nbsp;{$arrowcode['username']}</th>
<th>{$lng['panel']['ftpdesc']}&nbsp;{$arrowcode['description']}</th>
<th>{$lng['panel']['path']}&nbsp;{$arrowcode['homedir']}</th>
<if \Froxlor\Settings::Get('system.allow_customer_shell') == '1' >
<th>{$lng['panel']['shell']}</th>
</if>
<th>{$lng['panel']['options']}</th>
</tr>
</thead>
@@ -58,4 +61,3 @@
</section>
</article>
$footer

View File

@@ -2,6 +2,9 @@
<td>{$row['username']}</td>
<td>{$row['description']}</td>
<td>{$row['documentroot']}</td>
<if \Froxlor\Settings::Get('system.allow_customer_shell') == '1' >
<td>{$row['shell']}</td>
</if>
<td>
<a href="{$linker->getLink(array('section' => 'ftp', 'page' => 'accounts', 'action' => 'edit', 'id' => $row['id']))}">
<img src="templates/{$theme}/assets/img/icons/edit.png" alt="{$lng['panel']['edit']}" title="{$lng['panel']['edit']}" />

View File

@@ -36,8 +36,8 @@ $header
<tr>
<td>&nbsp;</td>
<td>
<input type="checkbox" name="change_webalizer" id="change_webalizer" value="true" />
<label for="change_webalizer">{$lng['changepassword']['also_change_webalizer']}</label>
<input type="checkbox" name="change_stats" id="change_stats" value="true" />
<label for="change_stats">{$lng['changepassword']['also_change_stats']}</label>
</td>
</tr>
<tfoot>

View File

@@ -7,6 +7,20 @@ $header
<div class="grid-g">
<div class="grid-u-1-2" id="statsbox">
<if $userinfo['diskspace'] != '0'>
<div class="canvasbox">
<input type="hidden" id="totalspace" class="circular" data-used="{$userinfo['total_used']}" data-available="{$userinfo['diskspace']}">
<canvas id="totalspace-canvas" width="120" height="76"></canvas><br />
{$lng['customer']['total_diskspace']}<br />
<small>
{$userinfo['total_used']} {$lng['panel']['used']}<br />
<if $userinfo['diskspace'] != '∞'>
{$userinfo['diskspace']} {$lng['panel']['available']}
</if>
</small>
</div>
</if>
<if $userinfo['subdomains'] != '0'>
<div class="canvasbox">
<input type="hidden" id="subdomains" class="circular" data-used="{$userinfo['subdomains_used']}" data-available="{$userinfo['subdomains']}">
@@ -71,8 +85,9 @@ $header
<small>
{$userinfo['email_accounts_used']} {$lng['panel']['used']}<br />
<if $userinfo['email_accounts'] != '∞'>
{$userinfo['email_accounts']} {$lng['panel']['available']}
{$userinfo['email_accounts']} {$lng['panel']['available']}<br />
</if>
{$userinfo['mailspace_used']} {$lng['customer']['mib']}
</small>
</div>
</if>
@@ -91,7 +106,7 @@ $header
</div>
</if>
<if Settings::Get('system.mail_quota_enabled') == 1 && $userinfo['email_quota'] != '0'>
<if \Froxlor\Settings::Get('system.mail_quota_enabled') == 1 && $userinfo['email_quota'] != '0'>
<div class="canvasbox">
<input type="hidden" id="email_quota" class="circular" data-used="{$userinfo['email_quota_used']}" data-available="{$userinfo['email_quota']}">
<canvas id="email_quota-canvas" width="120" height="76"></canvas><br />
@@ -113,8 +128,9 @@ $header
<small>
{$userinfo['mysqls_used']} {$lng['panel']['used']}<br />
<if $userinfo['mysqls'] != '∞'>
{$userinfo['mysqls']} {$lng['panel']['available']}
{$userinfo['mysqls']} {$lng['panel']['available']}<br />
</if>
{$userinfo['dbspace_used']} {$lng['customer']['mib']}
</small>
</div>
</if>
@@ -132,24 +148,10 @@ $header
</small>
</div>
</if>
<if (int)Settings::Get('ticket.enabled') == 1 && $userinfo['tickets'] != '0'>
<div class="canvasbox">
<input type="hidden" id="tickets" class="circular" data-used="{$userinfo['tickets_used']}" data-available="{$userinfo['tickets']}">
<canvas id="tickets-canvas" width="120" height="76"></canvas><br />
{$lng['customer']['tickets']}<br />
<small>
{$userinfo['tickets_used']} {$lng['panel']['used']}<br />
<if $userinfo['tickets'] != '∞'>
{$userinfo['tickets']} {$lng['panel']['available']}
</if>
</small>
</div>
</if>
</div>
<div class="grid-u-1-2">
<if Settings::Get('customer.show_news_feed') == '1'>
<if \Froxlor\Settings::Get('customer.show_news_feed') == '1'>
<table class="dboarditem full" id="newsfeed" data-role="customer">
<thead>
<tr>
@@ -248,4 +250,3 @@ $header
</div>
</article>
$footer

View File

@@ -1,8 +0,0 @@
$header
<div class="messagewrapper">
<div class="neutralcontainer bradius">
<div class="neutraltitle">{$lng['menue']['ticket']['ticket']}</div>
<div class="neutral">{$lng['ticket']['description']}</div>
</div>
</div>
$footer

View File

@@ -1,80 +0,0 @@
$header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/tickets_big.png" alt="" />&nbsp;
{$lng['menue']['ticket']['ticket']}
</h2>
</header>
<section>
<form action="{$linker->getLink(array('section' => 'tickets'))}" method="post" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="send" value="send" />
<if 0 < $supportavailable >
<div class="successcontainer bradius">
<div class="successtitle">{$lng['ticket']['supportstatus']}</div>
<div class="success">{$lng['ticket']['supportavailable']}</div>
</div>
</if>
<if $supportavailable < 1 >
<div class="warningcontainer bradius">
<div class="warningtitle">{$lng['ticket']['supportstatus']}</div>
<div class="warning">{$lng['ticket']['supportnotavailable']}</div>
</div>
</if>
<div class="overviewsearch">
{$searchcode}
</div>
<if ($userinfo['tickets_used'] < $userinfo['tickets'] || $userinfo['tickets'] == '-1') && ($ticketsopen < Settings::Get('ticket.concurrently_open') || (Settings::Get('ticket.concurrently_open') == '-1' || Settings::Get('ticket.concurrently_open') == '')) >
<div class="overviewadd">
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'tickets', 'page' => 'tickets', 'action' => 'new'))}">{$lng['ticket']['ticket_new']}</a>
</div>
</if>
<table class="full hl">
<thead>
<tr>
<th>{$lng['ticket']['lastchange']}&nbsp;{$arrowcode['lastchange']}</th>
<th>{$lng['ticket']['ticket_answers']}</th>
<th>{$lng['ticket']['subject']}&nbsp;{$arrowcode['subject']}</th>
<th>{$lng['ticket']['status']}&nbsp;{$arrowcode['status']}</th>
<th>{$lng['ticket']['lastreplier']}&nbsp;{$arrowcode['lastreplier']}</th>
<th>{$lng['ticket']['priority']}</th>
<th>{$lng['panel']['options']}</th>
</tr>
</thead>
<if $pagingcode != ''>
<tfoot>
<tr>
<td colspan="7">{$pagingcode}</td>
</tr>
</tfoot>
</if>
<tbody>
{$tickets}
</tbody>
</table>
</form>
<if ($userinfo['tickets_used'] < $userinfo['tickets'] || $userinfo['tickets'] == '-1') && 15 < $tickets_count && ($ticketsopen < Settings::Get('ticket.concurrently_open') || (Settings::Get('ticket.concurrently_open') == '-1' || Settings::Get('ticket.concurrently_open') == '')) >
<div class="overviewadd">
<img src="templates/{$theme}/assets/img/icons/add.png" alt="" />&nbsp;
<a href="{$linker->getLink(array('section' => 'tickets', 'page' => 'tickets', 'action' => 'new'))}">{$lng['ticket']['ticket_new']}</a>
</div>
</if>
</section>
</article>
$footer

View File

@@ -1,25 +0,0 @@
$header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/ticket_add_big.png" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section>
<form action="{$linker->getLink(array('section' => 'tickets'))}" method="post" enctype="application/x-www-form-urlencoded">
<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" />
<table class="full">
{$ticket_add_form}
</table>
</form>
</section>
</article>
$footer

View File

@@ -1,36 +0,0 @@
$header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/ticket_reply_big.png" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<if 0 < $ticket_replies_count >
$ticket_replies
</if>
<section>
<form action="{$linker->getLink(array('section' => 'tickets'))}" method="post" enctype="application/x-www-form-urlencoded">
<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" />
<input type="hidden" name="id" value="$id" />
<if $isclosed < 1 >
<table class="full">
{$ticket_reply_form}
</table>
</if>
<if 0 < $isclosed >
<a href="{$linker->getLink(array('section' => 'tickets', 'page' => 'tickets', 'action' => 'reopen', 'id' => $id))}">{$lng['ticket']['ticket_reopen']}</a>
</if>
</form>
</section>
</article>
$footer

View File

@@ -1,28 +0,0 @@
<tr>
<td>{$row['lastchange']}</td>
<td>{$row['ticket_answers']}</td>
<td>{$row['subject']}</td>
<td>{$row['status']}</td>
<td>{$row['lastreplier']}</td>
<td>{$row['priority']}</td>
<td>
<a href="{$linker->getLink(array('section' => 'tickets', 'page' => 'tickets', 'action' => 'answer', 'id' => $row['id']))}">
<if $cananswer < 1 >
<img src="templates/{$theme}/assets/img/icons/view.png" alt="{$lng['ticket']['show']}" title="{$lng['ticket']['show']}" />
</if>
<if 0 < $cananswer >
<img src="templates/{$theme}/assets/img/icons/edit.png" alt="{$lng['ticket']['answer']}" title="{$lng['ticket']['answer']}" />
</if>
</a>
<if $reopen < 1 >
&nbsp;<a href="{$linker->getLink(array('section' => 'tickets', 'page' => 'tickets', 'action' => 'close', 'id' => $row['id']))}">
<img src="templates/{$theme}/assets/img/icons/lock.png" alt="{$lng['ticket']['close']}" title="{$lng['ticket']['close']}" />
</a>
</if>
<if 0 < $reopen >
&nbsp;<a href="{$linker->getLink(array('section' => 'tickets', 'page' => 'tickets', 'action' => 'reopen', 'id' => $row['id']))}">
<img src="templates/{$theme}/assets/img/icons/unlock.png" alt="{$lng['ticket']['reopen']}" title="{$lng['ticket']['reopen']}" />
</a>
</if>
</td>
</tr>

View File

@@ -1,15 +0,0 @@
<section>
<table class="full">
<tr>
<th><strong>{$lastchange}&nbsp;{$lng['ticket']['by']}&nbsp;{$by}</strong></th>
</tr>
<tr>
<td>{$subject}</td>
</tr>
<tr>
<td>{$message}</td>
</tr>
</table>
<br /><br />
</section>
<br />

View File

@@ -1,15 +0,0 @@
<section>
<table class="full">
<tr>
<th><strong>{$dt}&nbsp;{$lng['ticket']['by']}&nbsp;{$by}&nbsp;({$status})</strong></th>
</tr>
<tr>
<td>{$subject}</td>
</tr>
<tr>
<td>{$message}</td>
</tr>
</table>
<br />
</section>
<br />

View File

@@ -37,15 +37,15 @@ $header
</form>
<div id="charts" class="hidden">
<if !Settings::IsInList('panel.customer_hide_options','traffic.http')>
<if !\Froxlor\Settings::IsInList('panel.customer_hide_options','traffic.http')>
<h3>HTTP {$lng['admin']['traffic']} ({$lng['traffic']['months']['total']} {$traffic_complete['http']})</h3>
<div id="httpchart" class="trafficchart"></div>
</if>
<if !Settings::IsInList('panel.customer_hide_options','traffic.ftp')>
<if !\Froxlor\Settings::IsInList('panel.customer_hide_options','traffic.ftp')>
<h3>FTP {$lng['admin']['traffic']} ({$lng['traffic']['months']['total']} {$traffic_complete['ftp']})</h3>
<div id="ftpchart" class="trafficchart"></div>
</if>
<if !Settings::IsInList('panel.customer_hide_options','traffic.mail')>
<if !\Froxlor\Settings::IsInList('panel.customer_hide_options','traffic.mail')>
<h3>Mail {$lng['admin']['traffic']} ({$lng['traffic']['months']['total']} {$traffic_complete['mail']})</h3>
<div id="mailchart" class="trafficchart"></div>
</if>

View File

@@ -31,15 +31,15 @@ $header
</tbody>
</table>
<div id="charts" class="hidden">
<if !Settings::IsInList('panel.customer_hide_options','traffic.http')>
<if !\Froxlor\Settings::IsInList('panel.customer_hide_options','traffic.http')>
<h3>HTTP {$lng['admin']['traffic']} ({$lng['traffic']['months']['total']} {$traffic_complete['http']})</h3>
<div id="httpchart" class="trafficchart"></div>
</if>
<if !Settings::IsInList('panel.customer_hide_options','traffic.ftp')>
<if !\Froxlor\Settings::IsInList('panel.customer_hide_options','traffic.ftp')>
<h3>FTP {$lng['admin']['traffic']} ({$lng['traffic']['months']['total']} {$traffic_complete['ftp']})</h3>
<div id="ftpchart" class="trafficchart"></div>
</if>
<if !Settings::IsInList('panel.customer_hide_options','traffic.mail')>
<if !\Froxlor\Settings::IsInList('panel.customer_hide_options','traffic.mail')>
<h3>Mail {$lng['admin']['traffic']} ({$lng['traffic']['months']['total']} {$traffic_complete['mail']})</h3>
<div id="mailchart" class="trafficchart"></div>
</if>