-
Notifications
You must be signed in to change notification settings - Fork 281
/
Copy pathclientareadomainemailforwarding.tpl
57 lines (47 loc) · 1.95 KB
/
clientareadomainemailforwarding.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<h3>{$LANG.domainemailforwarding}</h3>
{include file="$template/includes/alert.tpl" type="info" msg=$LANG.domainemailforwardingdesc}
{if $error}
{include file="$template/includes/alert.tpl" type="error" msg=$error}
{/if}
{if $external}
<br />
<br />
<div class="text-center">
{$code}
</div>
<br /
><br />
<br />
<br />
{else}
<form method="post" action="{$smarty.server.PHP_SELF}?action=domainemailforwarding">
<input type="hidden" name="sub" value="save" />
<input type="hidden" name="domainid" value="{$domainid}" />
<table class="table table-striped">
<thead>
<tr>
<th>{$LANG.domainemailforwardingprefix}</th>
<th></th>
<th>{$LANG.domainemailforwardingforwardto}</th>
</tr>
</thead>
<tbody>
{foreach key=num item=emailforwarder from=$emailforwarders}
<tr>
<td><input type="text" name="emailforwarderprefix[{$num}]" value="{$emailforwarder.prefix}" class="form-control" /></td>
<td class="text-center">@{$domain} => </td>
<td><input type="text" name="emailforwarderforwardto[{$num}]" value="{$emailforwarder.forwardto}" class="form-control" /></td>
</tr>
{/foreach}
<tr>
<td><input type="text" name="emailforwarderprefixnew" class="form-control" /></td>
<td class="text-center">@{$domain} => </td>
<td><input type="text" name="emailforwarderforwardtonew" class="form-control" /></td>
</tr>
</tbody>
</table>
<p class="text-center">
<input type="submit" value="{$LANG.clientareasavechanges}" class="btn btn-primary" /> <input type="reset" value="{$LANG.clientareacancel}" class="btn btn-default" />
</p>
</form>
{/if}