Implemented linker - class for customer_[autoresponder|emails].php (templates automatic replace only)
Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
$header
|
||||
<form method="post" action="$filename">
|
||||
<form method="post" action="{$linker->getLink(array('section' => 'email'))}">
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
<input type="hidden" name="action" value="$action" />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$header
|
||||
<form method="post" action="$filename">
|
||||
<form method="post" action="{$linker->getLink(array('section' => 'email'))}">
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
<input type="hidden" name="action" value="$action" />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$header
|
||||
<form method="post" action="$filename">
|
||||
<form method="post" action="{$linker->getLink(array('section' => 'email'))}">
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
<input type="hidden" name="action" value="$action" />
|
||||
|
||||
@@ -13,10 +13,10 @@ $header
|
||||
$autoresponder
|
||||
<if ($userinfo['email_autoresponder_used'] < $userinfo['email_autoresponder'] || $userinfo['email_autoresponder'] == '-1') >
|
||||
<tr>
|
||||
<td class="field_display_border_left" colspan="5"><a href="$filename?&action=add&s=$s">{$lng['autoresponder']['autoresponder_add']}</a></td>
|
||||
<td class="field_display_border_left" colspan="5"><a href="{$linker->getLink(array('section' => 'autoresponder', 'action' => 'add'))}">{$lng['autoresponder']['autoresponder_add']}</a></td>
|
||||
</tr>
|
||||
</if>
|
||||
</table>
|
||||
<br />
|
||||
<br />
|
||||
$footer
|
||||
$footer
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$header
|
||||
<form method="post" action="$filename">
|
||||
<form method="post" action="{$linker->getLink(array('section' => 'autoresponder'))}">
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
<input type="hidden" name="action" value="$action" />
|
||||
@@ -13,4 +13,4 @@ $header
|
||||
</form>
|
||||
<br />
|
||||
<br />
|
||||
$footer
|
||||
$footer
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
<td class="field_name_border_left">{$row['email']}</td>
|
||||
<td class="field_name"><if $row['enabled'] != 0>{$lng['panel']['yes']}</if><if $row['enabled'] == 0>{$lng['panel']['no']}</if></td>
|
||||
<td class="field_name">$activated_date</td>
|
||||
<td class="field_name"><a href="$filename?&action=edit&email={$row['email']}&s=$s">{$lng['panel']['edit']}</a></td>
|
||||
<td class="field_name"><a href="$filename?&action=delete&email={$row['email']}&s=$s">{$lng['panel']['delete']}</a></td>
|
||||
</tr>
|
||||
<td class="field_name"><a href="{$linker->getLink(array('section' => 'autoresponder', 'action' => 'edit', 'email' => $row['email']))}">{$lng['panel']['edit']}</a></td>
|
||||
<td class="field_name"><a href="{$linker->getLink(array('section' => 'autoresponder', 'action' => 'delete', 'email' => $row['email']))}">{$lng['panel']['delete']}</a></td>
|
||||
</tr>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$header
|
||||
<form method="post" action="$filename">
|
||||
<form method="post" action="{$linker->getLink(array('section' => 'autoresponder'))}">
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
<input type="hidden" name="action" value="$action" />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$header
|
||||
<form action="$filename" method="post">
|
||||
<form action="{$linker->getLink(array('section' => 'email'))}" method="post">
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
<table cellpadding="5" cellspacing="0" border="0" align="center" class="maintable">
|
||||
@@ -9,7 +9,7 @@ $header
|
||||
</tr>
|
||||
<if ($userinfo['emails_used'] < $userinfo['emails'] || $userinfo['emails'] == '-1') && 15 < $emails_count && $emaildomains_count !=0 >
|
||||
<tr>
|
||||
<td class="field_display_border_left" colspan="7"><a href="$filename?page={$page}&action=add&s=$s">{$lng['emails']['emails_add']}</a></td>
|
||||
<td class="field_display_border_left" colspan="7"><a href="{$linker->getLink(array('section' => 'email', 'page' => $page, 'action' => 'add'))}">{$lng['emails']['emails_add']}</a></td>
|
||||
</tr>
|
||||
</if>
|
||||
<tr>
|
||||
@@ -28,7 +28,7 @@ $header
|
||||
</if>
|
||||
<if ($userinfo['emails_used'] < $userinfo['emails'] || $userinfo['emails'] == '-1') && $emaildomains_count !=0 >
|
||||
<tr>
|
||||
<td class="field_display_border_left" colspan="7"><a href="$filename?page={$page}&action=add&s=$s">{$lng['emails']['emails_add']}</a></td>
|
||||
<td class="field_display_border_left" colspan="7"><a href="{$linker->getLink(array('section' => 'email', 'page' => $page, 'action' => 'add'))}">{$lng['emails']['emails_add']}</a></td>
|
||||
</tr>
|
||||
</if>
|
||||
</table>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$header
|
||||
<form method="post" action="$filename">
|
||||
<form method="post" action="{$linker->getLink(array('section' => 'email'))}">
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
<input type="hidden" name="action" value="$action" />
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
$header
|
||||
<form method="post" action="$filename">
|
||||
<form method="post" action="{$linker->getLink(array('section' => 'email'))}">
|
||||
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
|
||||
<tr>
|
||||
<td class="maintitle" colspan="2"><b><img src="images/Classic/title.gif" alt="$title" /> {$title}</b></td>
|
||||
</tr>
|
||||
{$email_edit_form}
|
||||
<tr>
|
||||
<td class="maintitle" colspan="2"><a href="$filename?page=emails&s=$s">{$lng['emails']['back_to_overview']}</a></td>
|
||||
<td class="maintitle" colspan="2"><a href="{$linker->getLink(array('section' => 'email', 'page' => 'emails'))}">{$lng['emails']['back_to_overview']}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
$destination [<a href="$filename?page=forwarders&action=delete&id={$id}&forwarderid={$dest_id}&s=$s">{$lng['panel']['delete']}</a>]
|
||||
$destination [<a href="{$linker->getLink(array('section' => 'email', 'page' => 'forwarders', 'action' => 'delete', 'id' => $id, 'forwarderid' => $dest_id))}">{$lng['panel']['delete']}</a>]
|
||||
<br />
|
||||
@@ -4,6 +4,6 @@
|
||||
<td class="field_name"><if $row['popaccountid'] != 0>{$lng['panel']['yes']}</if><if $row['popaccountid'] == 0>{$lng['panel']['no']}</if></td>
|
||||
<td class="field_name"><if $row['iscatchall'] != 0>{$lng['panel']['yes']}</if><if $row['iscatchall'] == 0>{$lng['panel']['no']}</if></td>
|
||||
<if $settings['system']['mail_quota_enabled'] == '1'><td class="field_name"><if $row['quota'] == 0>{$lng['emails']['noquota']}<else>{$row['quota']} MB</if></if></td>
|
||||
<td class="field_name"><a href="$filename?page={$page}&action=edit&id={$row['id']}&s=$s">{$lng['panel']['edit']}</a></td>
|
||||
<td class="field_name"><a href="$filename?page={$page}&action=delete&id={$row['id']}&s=$s">{$lng['panel']['delete']}</a></td>
|
||||
<td class="field_name"><a href="{$linker->getLink(array('section' => 'email', 'page' => $page, 'action' => 'edit', 'id' => $row['id']))}">{$lng['panel']['edit']}</a></td>
|
||||
<td class="field_name"><a href="{$linker->getLink(array('section' => 'email', 'page' => $page, 'action' => 'delete', 'id' => $row['id']))}">{$lng['panel']['delete']}</a></td>
|
||||
</tr>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$header
|
||||
<form method="post" action="$filename">
|
||||
<form method="post" action="{$linker->getLink(array('section' => 'email'))}">
|
||||
<input type="hidden" name="s" value="$s" />
|
||||
<input type="hidden" name="page" value="$page" />
|
||||
<input type="hidden" name="action" value="$action" />
|
||||
|
||||
Reference in New Issue
Block a user