migrated the themes to use the nice Settings-class
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
This commit is contained in:
4
templates/Sparkle/customer/email/emails.tpl
vendored
4
templates/Sparkle/customer/email/emails.tpl
vendored
@@ -29,8 +29,8 @@
|
||||
<th>{$lng['emails']['emailaddress']} {$arrowcode['m.email_full']}</th>
|
||||
<th>{$lng['emails']['forwarders']} {$arrowcode['m.destination']}</th>
|
||||
<th>{$lng['emails']['account']}</th>
|
||||
<if $settings['catchall']['catchall_enabled'] == '1'><th>{$lng['emails']['catchall']}</th></if>
|
||||
<if $settings['system']['mail_quota_enabled'] == '1'>
|
||||
<if Settings::Get('catchall.catchall_enabled') == '1'><th>{$lng['emails']['catchall']}</th></if>
|
||||
<if Settings::Get('system.mail_quota_enabled') == '1'>
|
||||
<th>{$lng['emails']['quota']}</th>
|
||||
</if>
|
||||
<th>{$lng['panel']['options']}</th>
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
<td>{$row['email_full']}</td>
|
||||
<td><if $row['destination'] == ''> <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['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['system']['mail_quota_enabled'] == '1'><td><if $row['quota'] == 0>{$lng['emails']['noquota']}<else>{$row['quota']} MiB</if></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>
|
||||
<td>
|
||||
<a href="{$linker->getLink(array('section' => 'email', 'page' => $page, 'action' => 'edit', 'id' => $row['id']))}" style="text-decoration:none;">
|
||||
<img src="templates/{$theme}/assets/img/icons/edit.png" alt="{$lng['panel']['edit']}" />
|
||||
|
||||
Reference in New Issue
Block a user