|
1 | | -<h2><tmpl_var name="list_head_txt"></h2> |
2 | | - |
3 | | -<div class="panel panel_mail_domain"> |
4 | | - |
5 | | - <div class="pnl_formsarea"> |
6 | | - <fieldset id="wf_area_mail_domain"><legend>Domain</legend> |
7 | | - |
8 | | - <tmpl_if name="is_admin"> |
9 | | - <span class="wf_oneField"> |
10 | | - <label for="server_id" class="wf_preField">{tmpl_var name='server_id_txt'}</label> |
11 | | - <select id="server_id" name="server_id">{tmpl_var name='server_id'}</select> |
12 | | - </span> |
13 | | - <span class="wf_oneField"> |
14 | | - <label for="client_group_id" class="wf_preField">{tmpl_var name='client_txt'}</label> |
15 | | - <select id="client_group_id" name="client_group_id">{tmpl_var name='client_group_id'}</select> |
16 | | - </span> |
17 | | - </tmpl_if> |
18 | | - |
19 | | - <tmpl_if name="is_reseller"> |
20 | | - <span class="wf_oneField"> |
21 | | - <label for="client_group_id" class="wf_preField">{tmpl_var name='client_txt'}</label> |
22 | | - <select id="client_group_id" name="client_group_id">{tmpl_var name='client_group_id'}</select> |
23 | | - </span> |
24 | | - </tmpl_if> |
25 | | - |
26 | | - <span class="wf_oneField"> |
27 | | - <label for="domain" class="wf_preField">{tmpl_var name='domain_txt'}</label> |
28 | | - <input type="text" id="domain" name="domain" value="{tmpl_var name='domain'}" size="30" maxlength="255"> |
29 | | - </span> |
30 | | - <span class="wf_oneField"> |
31 | | - <label for="policy" class="wf_preField">{tmpl_var name='policy_txt'}</label> |
32 | | - <select id="policy" name="policy">{tmpl_var name='policy'}</select> |
33 | | - </span> |
34 | | - <span class="wf_oneField"> |
35 | | - <label for="active" class="wf_preField">{tmpl_var name='active_txt'}</label> |
36 | | - <span class="">{tmpl_var name='active'}</span> |
37 | | - </span> |
38 | | - </fieldset> |
39 | | - |
40 | | - <input type="hidden" name="id" value="{tmpl_var name='id'}"> |
41 | | - <input type="hidden" name="type" value="local"> |
42 | | - |
43 | | - <div class="wf_actions buttons"> |
44 | | - <button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','mail/mail_domain_edit.php');"><span>{tmpl_var name='btn_save_txt'}</span></button> |
45 | | - <button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('mail/mail_domain_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button> |
46 | | - </div> |
47 | | - </div> |
48 | | - |
49 | | -</div> |
| 1 | +<h2><tmpl_var name="list_head_txt"></h2> |
| 2 | + |
| 3 | +<div class="panel panel_mail_domain"> |
| 4 | + |
| 5 | + <div class="pnl_formsarea"> |
| 6 | + <fieldset id="wf_area_mail_domain"><legend>Domain</legend> |
| 7 | + |
| 8 | + <tmpl_if name="is_admin"> |
| 9 | + <span class="wf_oneField"> |
| 10 | + <label for="server_id" class="wf_preField">{tmpl_var name='server_id_txt'}</label> |
| 11 | + <select id="server_id" name="server_id" {tmpl_var name='edit_disabled'}>{tmpl_var name='server_id'}</select> |
| 12 | + </span> |
| 13 | + <span class="wf_oneField"> |
| 14 | + <label for="client_group_id" class="wf_preField">{tmpl_var name='client_txt'}</label> |
| 15 | + <select id="client_group_id" name="client_group_id">{tmpl_var name='client_group_id'}</select> |
| 16 | + </span> |
| 17 | + </tmpl_if> |
| 18 | + |
| 19 | + <tmpl_if name="is_reseller"> |
| 20 | + <span class="wf_oneField"> |
| 21 | + <label for="client_group_id" class="wf_preField">{tmpl_var name='client_txt'}</label> |
| 22 | + <select id="client_group_id" name="client_group_id">{tmpl_var name='client_group_id'}</select> |
| 23 | + </span> |
| 24 | + </tmpl_if> |
| 25 | + |
| 26 | + <span class="wf_oneField"> |
| 27 | + <label for="domain" class="wf_preField">{tmpl_var name='domain_txt'}</label> |
| 28 | + <input type="text" id="domain" name="domain" value="{tmpl_var name='domain'}" size="30" maxlength="255"> |
| 29 | + </span> |
| 30 | + <span class="wf_oneField"> |
| 31 | + <label for="policy" class="wf_preField">{tmpl_var name='policy_txt'}</label> |
| 32 | + <select id="policy" name="policy">{tmpl_var name='policy'}</select> |
| 33 | + </span> |
| 34 | + <span class="wf_oneField"> |
| 35 | + <label for="active" class="wf_preField">{tmpl_var name='active_txt'}</label> |
| 36 | + <span class="">{tmpl_var name='active'}</span> |
| 37 | + </span> |
| 38 | + </fieldset> |
| 39 | + |
| 40 | + <input type="hidden" name="id" value="{tmpl_var name='id'}"> |
| 41 | + <input type="hidden" name="type" value="local"> |
| 42 | + |
| 43 | + <div class="wf_actions buttons"> |
| 44 | + <button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','mail/mail_domain_edit.php');"><span>{tmpl_var name='btn_save_txt'}</span></button> |
| 45 | + <button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('mail/mail_domain_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button> |
| 46 | + </div> |
| 47 | + </div> |
| 48 | + |
| 49 | +</div> |
0 commit comments