forked from osiloke/template-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclientareadomainemailforwarding.tpl
More file actions
76 lines (68 loc) · 2.24 KB
/
clientareadomainemailforwarding.tpl
File metadata and controls
76 lines (68 loc) · 2.24 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<section>
<div class="container">
<h1>{$LANG.domainemailforwarding} {$domain}</h1>
{if $error}
<div class="alert alert-danger alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
{$error}
</div>
{/if}
<p>{$LANG.domainemailforwardingdesc}</p>
{if $external}
<div class="text-center">{$code}</div>
{else}
<form method="post" action="clientarea.php">
<input type="hidden" name="action" value="domainemailforwarding">
<input type="hidden" name="sub" value="save">
<input type="hidden" name="domainid" value="{$domainid}">
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>{$LANG.domainemailforwardingprefix}</th>
<th>{$LANG.domainemailforwardingforwardto}</th>
</tr>
</thead>
<tbody>
{foreach key=num item=emailforwarder from=$emailforwarders}
<tr>
<td>
<div class="input-group">
<input type="text" name="emailforwarderprefix[{$num}]" value="{$emailforwarder.prefix}" class="form-control">
<span class="input-group-addon">@{$domain}</span>
</div>
</td>
<td><input type="text" name="emailforwarderforwardto[{$num}]" value="{$emailforwarder.forwardto}" class="form-control"></td>
</tr>
{/foreach}
<tr>
<td>
<div class="input-group">
<input type="text" name="emailforwarderprefixnew" class="form-control">
<span class="input-group-addon">@{$domain}</span>
</div>
</td>
<td><input type="text" name="emailforwarderforwardtonew" class="form-control"></td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="3" class="text-right">
<input type="submit" value="{$LANG.clientareasavechanges}" onclick="$('#modalpleasewait').modal();" class="btn btn-primary">
</td>
</tr>
</tfoot>
</table>
</form>
<div class="modal fade" id="modalpleasewait">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header text-center">
<img src="images/loadingsml.gif" alt="{$LANG.pleasewait}" style="vertical-align:baseline;">
<span class="lead">{$LANG.pleasewait}</span>
</div>
</div>
</div>
</div>
{/if}
</div>
</section>