commit | author | age
|
825dd6
|
1 |
<div class='page-header'> |
MC |
2 |
<h1><tmpl_var name="list_head_txt"></h1> |
|
3 |
</div> |
9576a7
|
4 |
<p><tmpl_var name="list_desc_txt"></p> |
T |
5 |
|
|
6 |
|
825dd6
|
7 |
|
0e2694
|
8 |
<tmpl_if name="is_admin"> |
825dd6
|
9 |
<div class="form-group"> |
0e2694
|
10 |
<tmpl_if name="edit_disabled"> |
825dd6
|
11 |
<label for="server_id_disabled" class="col-sm-3 control-label">{tmpl_var name='server_id_txt'}</label> |
MC |
12 |
<div class="col-sm-9"><select name="server_id_disabled" id="server_id_disabled" class="form-control" disabled="disabled"> |
0e2694
|
13 |
{tmpl_var name='server_id'} |
e645fa
|
14 |
</select></div> |
MC |
15 |
<input type="hidden" name="server_id" value="{tmpl_var name='server_id_value'}" /> |
0e2694
|
16 |
<tmpl_else> |
825dd6
|
17 |
<label for="server_id" class="col-sm-3 control-label">{tmpl_var name='server_id_txt'}</label> |
MC |
18 |
<div class="col-sm-9"><select name="server_id" id="server_id" class="form-control"> |
0e2694
|
19 |
{tmpl_var name='server_id'} |
e645fa
|
20 |
</select></div> |
MC |
21 |
</tmpl_if> |
0e2694
|
22 |
</div> |
3e94c8
|
23 |
<tmpl_unless name="domain_option"> |
825dd6
|
24 |
<div class="form-group"> |
MC |
25 |
<label for="client_group_id" class="col-sm-3 control-label">{tmpl_var name='client_txt'}</label> |
|
26 |
<div class="col-sm-9"><select name="client_group_id" id="client_group_id" class="form-control"> |
3e94c8
|
27 |
{tmpl_var name='client_group_id'} |
e645fa
|
28 |
</select></div> |
MC |
29 |
</div> |
3e94c8
|
30 |
</tmpl_unless> |
bd6659
|
31 |
<tmpl_else> |
SJ |
32 |
<tmpl_if name="only_one_server"> |
|
33 |
<input type="hidden" id="server_id" name="server_id" value="{tmpl_var name='server_id_value'}" /> |
|
34 |
<tmpl_else> |
825dd6
|
35 |
<div class="form-group"> |
bd6659
|
36 |
<tmpl_if name="edit_disabled"> |
825dd6
|
37 |
<label for="server_id_disabled" class="col-sm-3 control-label">{tmpl_var name='server_id_txt'}</label> |
MC |
38 |
<div class="col-sm-9"><select name="server_id_disabled" id="server_id_disabled" class="form-control" disabled="disabled"> |
bd6659
|
39 |
{tmpl_var name='client_server_id'} |
e645fa
|
40 |
</select></div> |
MC |
41 |
<input type="hidden" name="server_id" value="{tmpl_var name='server_id_value'}" /> |
bd6659
|
42 |
<tmpl_else> |
825dd6
|
43 |
<label for="server_id" class="col-sm-3 control-label">{tmpl_var name='server_id_txt'}</label> |
MC |
44 |
<div class="col-sm-9"><select name="server_id" id="server_id" class="form-control"> |
bd6659
|
45 |
{tmpl_var name='client_server_id'} |
e645fa
|
46 |
</select></div> |
MC |
47 |
</tmpl_if> |
bd6659
|
48 |
</div> |
SJ |
49 |
</tmpl_if> |
0e2694
|
50 |
</tmpl_if> |
9576a7
|
51 |
|
0e2694
|
52 |
<tmpl_if name="is_reseller"> |
3e94c8
|
53 |
<tmpl_unless name="domain_option"> |
825dd6
|
54 |
<div class="form-group"> |
MC |
55 |
<label for="client_group_id" class="col-sm-3 control-label">{tmpl_var name='client_txt'}</label> |
|
56 |
<div class="col-sm-9"><select name="client_group_id" id="client_group_id" class="form-control"> |
3e94c8
|
57 |
{tmpl_var name='client_group_id'} |
e645fa
|
58 |
</select></div> |
MC |
59 |
</div> |
3e94c8
|
60 |
</tmpl_unless> |
0e2694
|
61 |
</tmpl_if> |
9576a7
|
62 |
|
825dd6
|
63 |
<div class="form-group"> |
MC |
64 |
<label for="domain" class="col-sm-3 control-label">{tmpl_var name='domain_txt'}</label> |
0e2694
|
65 |
<tmpl_if name="domain_option"> |
825dd6
|
66 |
<div class="col-sm-9"><select name="domain" id="domain" class="form-control"> |
0e2694
|
67 |
{tmpl_var name='domain_option'} |
e645fa
|
68 |
</select></div> |
MC |
69 |
<tmpl_else> |
dec3e3
|
70 |
<div class="col-sm-9"><input type="text" name="domain" id="domain" value="{tmpl_var name='domain'}" class="form-control" /></div></tmpl_if> |
0e2694
|
71 |
</div> |
825dd6
|
72 |
<div class="form-group"> |
MC |
73 |
<label for="policy" class="col-sm-3 control-label">{tmpl_var name='policy_txt'}</label> |
|
74 |
<div class="col-sm-9"><select name="policy" id="policy" class="form-control"> |
0e2694
|
75 |
{tmpl_var name='policy'} |
e645fa
|
76 |
</select></div> |
MC |
77 |
</div> |
825dd6
|
78 |
<div class="form-group"> |
MC |
79 |
<label class="col-sm-3 control-label">{tmpl_var name='active_txt'}</label> |
|
80 |
<div class="col-sm-9"> |
0e2694
|
81 |
{tmpl_var name='active'} |
C |
82 |
</div> |
|
83 |
</div> |
b3a7a3
|
84 |
<tmpl_if name="domain_module"> |
FS |
85 |
<input type="hidden" name="domain_module" value="1" id="domain_module" /> |
|
86 |
<tmpl_else> |
|
87 |
<input type="hidden" name="domain_module" value="0" id="domain_module" /> |
|
88 |
</tmpl_if> |
d22277
|
89 |
<div class="col-sm-12" style="padding:0"><button class="btn btn-default formbutton-default" type="button" data-toggle="collapse" data-target="#toggle-dkim" aria-expanded="false" aria-controls="toggle-dkim">{tmpl_var name='dkim_settings_txt'}</button></div> |
020db1
|
90 |
<div id="toggle-dkim" class="collapse"> |
825dd6
|
91 |
<div class="form-group"> |
MC |
92 |
<label class="col-sm-3 control-label">{tmpl_var name='dkim_txt'}</label> |
|
93 |
<div class="col-sm-9"> |
56f698
|
94 |
{tmpl_var name='dkim'} |
T |
95 |
</div> |
|
96 |
</div> |
825dd6
|
97 |
<div class="form-group"> |
MC |
98 |
<label for="dkim_selector" class="col-sm-3 control-label">{tmpl_var name='dkim_selector_txt'}</label> |
dec3e3
|
99 |
<div class="col-sm-9"><input type="text" name="dkim_selector" id="dkim_selector" value="{tmpl_var name='dkim_selector'}" class="form-control" /></div></div> |
825dd6
|
100 |
<div class="form-group"> |
MC |
101 |
<label for="dkim_private" class="col-sm-3 control-label">{tmpl_var name='dkim_private_txt'}</label> |
8ceb08
|
102 |
<div class="col-sm-9"><textarea class="form-control" name="dkim_private" id="dkim_private" rows='10' cols='30'>{tmpl_var name='dkim_private'}</textarea></div> |
ec5716
|
103 |
</div> |
37ac04
|
104 |
<a class="btn btn-default formbutton-default" href="javascript:setRequest('create')" value="{tmpl_var name='dkim_generate_txt'}">{tmpl_var name='dkim_generate_txt'}</a> |
825dd6
|
105 |
<div class="form-group"> |
8ceb08
|
106 |
<div class="col-sm-9"><textarea class="form-control" name="dkim_public" style="display:none;" id="dkim_public" rows='5' cols='30' readonly>{tmpl_var name='dkim_public'}</textarea></div> |
c6d29c
|
107 |
</div> |
b3a7a3
|
108 |
|
825dd6
|
109 |
<div class="form-group"> |
MC |
110 |
<label for="dns_record" class="col-sm-3 control-label">{tmpl_var name='dkim_dns_txt'}</label> |
8ceb08
|
111 |
<div class="col-sm-9"><textarea class="form-control" name="dns_record" id="dns_record" rows='10' cols='30' readonly>{tmpl_var name='dns_record'}</textarea></div> |
ec5716
|
112 |
</div> |
T |
113 |
|
|
114 |
</div> |
5de1ce
|
115 |
|
825dd6
|
116 |
|
ec5716
|
117 |
|
0e2694
|
118 |
<input type="hidden" name="id" value="{tmpl_var name='id'}"> |
C |
119 |
<input type="hidden" name="type" value="local"> |
825dd6
|
120 |
<div class="clear"><div class="right"> |
2d0eba
|
121 |
<button class="btn btn-default formbutton-success" type="button" value="{tmpl_var name='btn_save_txt'}" data-submit-form="pageForm" data-form-action="mail/mail_domain_edit.php">{tmpl_var name='btn_save_txt'}</button> |
ba7316
|
122 |
<button class="btn btn-default formbutton-default" type="button" value="{tmpl_var name='btn_cancel_txt'}" data-load-content="mail/mail_domain_list.php">{tmpl_var name='btn_cancel_txt'}</button> |
825dd6
|
123 |
</div></div> |
ec5716
|
124 |
<script language="JavaScript" type="text/javascript" src="js/mail_domain_dkim.js"></script> |