commit | author | age
|
825dd6
|
1 |
<div class='page-header'> |
MC |
2 |
<h1><tmpl_var name="head_txt"></h1> |
|
3 |
</div> |
e94a9f
|
4 |
<p><tmpl_var name="list_desc_txt"></p> |
T |
5 |
|
4b0045
|
6 |
<div class="panel panel_language_import" style="padding:20px;"> |
e94a9f
|
7 |
|
0e2694
|
8 |
<div class="pnl_formsarea"> |
825dd6
|
9 |
<legend>{tmpl_var name="legend_txt"}</legend> |
MC |
10 |
<div class="form-group"> |
|
11 |
<label class="col-sm-3 control-label">Remote API URL</label> |
4b0045
|
12 |
<div class="col-sm-9"><input class="form-control" type="text" id="remote_server" value="{tmpl_var name='remote_server'}" placeholder="https://www.example.com:8080/remote/" name="remote_server" /></div> |
0e2694
|
13 |
</div> |
825dd6
|
14 |
<div class="form-group"> |
MC |
15 |
<label class="col-sm-3 control-label">Remote User</label> |
718ea6
|
16 |
<div class="col-sm-9"><input class="form-control" type="text" id="remote_user" value="{tmpl_var name='remote_user'}" name="remote_user" /></div> |
0e2694
|
17 |
</div> |
825dd6
|
18 |
<div class="form-group"> |
MC |
19 |
<label class="col-sm-3 control-label">Remote password</label> |
718ea6
|
20 |
<div class="col-sm-9"><input class="form-control" type="text" id="remote_password" value="{tmpl_var name='remote_password'}" name="remote_password" /></div> |
0e2694
|
21 |
</div> |
825dd6
|
22 |
|
0e2694
|
23 |
</div> |
C |
24 |
<tmpl_if name="connected"> |
|
25 |
<div class="pnl_formsarea"> |
825dd6
|
26 |
<legend>{tmpl_var name="legend2_txt"}</legend> |
MC |
27 |
<div class="form-group"> |
|
28 |
<label for="mail_domain" class="col-sm-3 control-label">{tmpl_var name='mail_domain_txt'}</label> |
|
29 |
<div class="col-sm-9"><select name="mail_domain" id="mail_domain" class="form-control"> |
0e2694
|
30 |
{tmpl_var name='mail_domain'} |
e645fa
|
31 |
</select></div> |
MC |
32 |
</div> |
825dd6
|
33 |
<div class="form-group"> |
MC |
34 |
<label for="client_group_id" class="col-sm-3 control-label">{tmpl_var name='client_group_id_txt'}</label> |
|
35 |
<div class="col-sm-9"><select name="client_group_id" id="client_group_id" class="form-control"> |
0e2694
|
36 |
{tmpl_var name='client_group_id'} |
e645fa
|
37 |
</select></div> |
MC |
38 |
</div> |
825dd6
|
39 |
<div class="form-group"> |
MC |
40 |
<label class="col-sm-3 control-label">{tmpl_var name="import_mailbox_txt"}</label> |
718ea6
|
41 |
<div class="col-sm-9"><input class="form-control" type="checkbox" id="import_mailbox" value="1" name="import_mailbox" checked="checked" /></div> |
0e2694
|
42 |
</div> |
825dd6
|
43 |
<div class="form-group"> |
MC |
44 |
<label class="col-sm-3 control-label">{tmpl_var name="import_user_filter_txt"}</label> |
718ea6
|
45 |
<div class="col-sm-9"><input class="form-control" type="checkbox" id="import_user_filter" value="1" name="import_user_filter" checked="checked" /></div> |
0e2694
|
46 |
</div> |
825dd6
|
47 |
<div class="form-group"> |
MC |
48 |
<label class="col-sm-3 control-label">{tmpl_var name="import_spamfilter_txt"}</label> |
718ea6
|
49 |
<div class="col-sm-9"><input class="form-control" type="checkbox" id="import_spamfilter" value="1" name="import_spamfilter" checked="checked" /></div> |
0e2694
|
50 |
</div> |
825dd6
|
51 |
<div class="form-group"> |
MC |
52 |
<label class="col-sm-3 control-label">{tmpl_var name="import_alias_txt"}</label> |
718ea6
|
53 |
<div class="col-sm-9"><input class="form-control" type="checkbox" id="import_alias" value="1" name="import_alias" checked="checked" /></div> |
0e2694
|
54 |
</div> |
825dd6
|
55 |
<div class="form-group"> |
MC |
56 |
<label class="col-sm-3 control-label">{tmpl_var name="import_forward_txt"}</label> |
718ea6
|
57 |
<div class="col-sm-9"><input class="form-control" type="checkbox" id="import_forward" value="1" name="import_forward" checked="checked" /></div> |
0e2694
|
58 |
</div> |
825dd6
|
59 |
<div class="form-group"> |
MC |
60 |
<label class="col-sm-3 control-label">{tmpl_var name="import_aliasdomain_txt"}</label> |
718ea6
|
61 |
<div class="col-sm-9"><input class="form-control" type="checkbox" id="import_aliasdomain" value="1" name="import_aliasdomain" checked="checked" /></div> |
0e2694
|
62 |
</div> |
825dd6
|
63 |
|
0e2694
|
64 |
</div> |
C |
65 |
</tmpl_if> |
|
66 |
|
|
67 |
<tmpl_if name="msg"> |
|
68 |
<div id="OKMsg"><p><tmpl_var name="msg"></p></div> |
|
69 |
</tmpl_if> |
|
70 |
<tmpl_if name="error"> |
0998a3
|
71 |
<div id="errorMsg"><h3><tmpl_var name="error_txt"></h3><ol><tmpl_var name="error"></ol></div> |
0e2694
|
72 |
</tmpl_if> |
e94a9f
|
73 |
|
T |
74 |
<input type="hidden" name="remote_session_id" value="{tmpl_var name='remote_session_id'}"> |
0e2694
|
75 |
<input type="hidden" name="connected" value="{tmpl_var name='connected'}"> |
C |
76 |
<tmpl_if name="connected"> |
825dd6
|
77 |
<div class="clear"><div class="right"> |
2d0eba
|
78 |
<button class="btn btn-default formbutton-success" type="button" value="Import" data-submit-form="pageForm" data-form-action="tools/import_ispconfig.php">{tmpl_var name="btn_start_txt"}</button> |
ba7316
|
79 |
<button class="btn btn-default formbutton-default" type="button" value="Cancel" data-load-content="tools/index.php">{tmpl_var name="btn_cancel_txt"}</button> |
825dd6
|
80 |
</div></div> |
0e2694
|
81 |
<tmpl_else> |
825dd6
|
82 |
<div class="clear"><div class="right"> |
2d0eba
|
83 |
<button class="btn btn-default formbutton-success" type="button" value="Import" data-submit-form="pageForm" data-form-action="tools/import_ispconfig.php">{tmpl_var name="btn_connect_txt"}</button> |
ba7316
|
84 |
<button class="btn btn-default formbutton-default" type="button" value="Cancel" data-load-content="tools/index.php">{tmpl_var name="btn_cancel_txt"}</button> |
825dd6
|
85 |
</div></div> |
0e2694
|
86 |
</tmpl_if> |
C |
87 |
</div> |