|
@@ -10,12 +10,12 @@ discard block |
|
|
block discarded – undo |
|
10
|
10
|
<!-- FTP STORAGE--> |
|
11
|
11
|
<li id="ftp"> |
|
12
|
12
|
<div class="collapsible-header"> |
|
13
|
|
- <i class="material-icons">computer</i><?php echo __("FTP Storage",'xcloner-backup-and-restore')?> |
|
|
13
|
+ <i class="material-icons">computer</i><?php echo __("FTP Storage", 'xcloner-backup-and-restore')?> |
|
14
|
14
|
<div class="right"> |
|
15
|
15
|
<div class="switch"> |
|
16
|
16
|
<label> |
|
17
|
17
|
Off |
|
18
|
|
- <input type="checkbox" name="xcloner_ftp_enable" class="status" value="1" <?php if(get_option("xcloner_ftp_enable")) echo "checked"?> \> |
|
|
18
|
+ <input type="checkbox" name="xcloner_ftp_enable" class="status" value="1" <?php if (get_option("xcloner_ftp_enable")) echo "checked"?> \> |
|
19
|
19
|
<span class="lever"></span> |
|
20
|
20
|
On |
|
21
|
21
|
</label> |
|
@@ -25,96 +25,96 @@ discard block |
|
|
block discarded – undo |
|
25
|
25
|
<div class="collapsible-body"> |
|
26
|
26
|
<div class="row"> |
|
27
|
27
|
<div class="col s12 m3 label"> |
|
28
|
|
- <label for="ftp_host"><?php echo __("Ftp Hostname",'xcloner-backup-and-restore')?></label> |
|
|
28
|
+ <label for="ftp_host"><?php echo __("Ftp Hostname", 'xcloner-backup-and-restore')?></label> |
|
29
|
29
|
</div> |
|
30
|
30
|
<div class="col s12 m6"> |
|
31
|
|
- <input placeholder="<?php echo __("Ftp Hostname",'xcloner-backup-and-restore')?>" id="ftp_host" type="text" name="xcloner_ftp_hostname" class="validate" value="<?php echo get_option("xcloner_ftp_hostname")?>"> |
|
|
31
|
+ <input placeholder="<?php echo __("Ftp Hostname", 'xcloner-backup-and-restore')?>" id="ftp_host" type="text" name="xcloner_ftp_hostname" class="validate" value="<?php echo get_option("xcloner_ftp_hostname")?>"> |
|
32
|
32
|
</div> |
|
33
|
33
|
<div class=" col s12 m2"> |
|
34
|
|
- <input placeholder="<?php echo __("Ftp Port",'xcloner-backup-and-restore')?>" id="ftp_port" type="text" name="xcloner_ftp_port" class="validate" value="<?php echo get_option("xcloner_ftp_port", 21)?>"> |
|
|
34
|
+ <input placeholder="<?php echo __("Ftp Port", 'xcloner-backup-and-restore')?>" id="ftp_port" type="text" name="xcloner_ftp_port" class="validate" value="<?php echo get_option("xcloner_ftp_port", 21)?>"> |
|
35
|
35
|
</div> |
|
36
|
36
|
</div> |
|
37
|
37
|
|
|
38
|
38
|
<div class="row"> |
|
39
|
39
|
<div class="col s12 m3 label"> |
|
40
|
|
- <label for="ftp_username"><?php echo __("Ftp Username",'xcloner-backup-and-restore')?></label> |
|
|
40
|
+ <label for="ftp_username"><?php echo __("Ftp Username", 'xcloner-backup-and-restore')?></label> |
|
41
|
41
|
</div> |
|
42
|
42
|
<div class=" col s12 m6"> |
|
43
|
|
- <input placeholder="<?php echo __("Ftp Username",'xcloner-backup-and-restore')?>" id="ftp_username" type="text" name="xcloner_ftp_username" class="validate" value="<?php echo get_option("xcloner_ftp_username")?>" autocomplete="off" > |
|
|
43
|
+ <input placeholder="<?php echo __("Ftp Username", 'xcloner-backup-and-restore')?>" id="ftp_username" type="text" name="xcloner_ftp_username" class="validate" value="<?php echo get_option("xcloner_ftp_username")?>" autocomplete="off" > |
|
44
|
44
|
</div> |
|
45
|
45
|
</div> |
|
46
|
46
|
|
|
47
|
47
|
|
|
48
|
48
|
<div class="row"> |
|
49
|
49
|
<div class="col s12 m3 label"> |
|
50
|
|
- <label for="ftp_password"><?php echo __("Ftp Password",'xcloner-backup-and-restore')?></label> |
|
|
50
|
+ <label for="ftp_password"><?php echo __("Ftp Password", 'xcloner-backup-and-restore')?></label> |
|
51
|
51
|
</div> |
|
52
|
52
|
<div class=" col s12 m6"> |
|
53
|
|
- <input placeholder="<?php echo __("Ftp Password",'xcloner-backup-and-restore')?>" id="ftp_password" type="password" name="xcloner_ftp_password" class="validate" value="<?php echo get_option("xcloner_ftp_password")?>" autocomplete="off" > |
|
|
53
|
+ <input placeholder="<?php echo __("Ftp Password", 'xcloner-backup-and-restore')?>" id="ftp_password" type="password" name="xcloner_ftp_password" class="validate" value="<?php echo get_option("xcloner_ftp_password")?>" autocomplete="off" > |
|
54
|
54
|
</div> |
|
55
|
55
|
</div> |
|
56
|
56
|
|
|
57
|
57
|
<div class="row"> |
|
58
|
58
|
<div class="col s12 m3 label"> |
|
59
|
|
- <label for="ftp_root"><?php echo __("Ftp Storage Folder",'xcloner-backup-and-restore')?></label> |
|
|
59
|
+ <label for="ftp_root"><?php echo __("Ftp Storage Folder", 'xcloner-backup-and-restore')?></label> |
|
60
|
60
|
</div> |
|
61
|
61
|
<div class=" col s12 m6"> |
|
62
|
|
- <input placeholder="<?php echo __("Ftp Storage Folder",'xcloner-backup-and-restore')?>" id="ftp_root" type="text" name="xcloner_ftp_path" class="validate" value="<?php echo get_option("xcloner_ftp_path")?>"> |
|
|
62
|
+ <input placeholder="<?php echo __("Ftp Storage Folder", 'xcloner-backup-and-restore')?>" id="ftp_root" type="text" name="xcloner_ftp_path" class="validate" value="<?php echo get_option("xcloner_ftp_path")?>"> |
|
63
|
63
|
</div> |
|
64
|
64
|
</div> |
|
65
|
65
|
|
|
66
|
66
|
<div class="row"> |
|
67
|
67
|
<div class="col s12 m3 label"> |
|
68
|
|
- <label for="ftp_root"><?php echo __("Ftp Transfer Mode",'xcloner-backup-and-restore')?></label> |
|
|
68
|
+ <label for="ftp_root"><?php echo __("Ftp Transfer Mode", 'xcloner-backup-and-restore')?></label> |
|
69
|
69
|
</div> |
|
70
|
70
|
<div class=" col s12 m6 input-field inline"> |
|
71
|
|
- <input name="xcloner_ftp_transfer_mode" type="radio" id="passive" value="1" <?php if(get_option("xcloner_ftp_transfer_mode", 1)) echo "checked"?> /> |
|
72
|
|
- <label for="passive"><?php echo __("Passive",'xcloner-backup-and-restore')?></label> |
|
|
71
|
+ <input name="xcloner_ftp_transfer_mode" type="radio" id="passive" value="1" <?php if (get_option("xcloner_ftp_transfer_mode", 1)) echo "checked"?> /> |
|
|
72
|
+ <label for="passive"><?php echo __("Passive", 'xcloner-backup-and-restore')?></label> |
|
73
|
73
|
|
|
74
|
|
- <input name="xcloner_ftp_transfer_mode" type="radio" id="active" value="0" <?php if(!get_option("xcloner_ftp_transfer_mode", 1)) echo "checked"?> /> |
|
75
|
|
- <label for="active"><?php echo __("Active",'xcloner-backup-and-restore')?></label> |
|
|
74
|
+ <input name="xcloner_ftp_transfer_mode" type="radio" id="active" value="0" <?php if (!get_option("xcloner_ftp_transfer_mode", 1)) echo "checked"?> /> |
|
|
75
|
+ <label for="active"><?php echo __("Active", 'xcloner-backup-and-restore')?></label> |
|
76
|
76
|
</div> |
|
77
|
77
|
</div> |
|
78
|
78
|
|
|
79
|
79
|
<div class="row"> |
|
80
|
80
|
<div class="col s12 m3 label"> |
|
81
|
|
- <label for="ftp_ssl_mode"><?php echo __("Ftp Secure Connection",'xcloner-backup-and-restore')?></label> |
|
|
81
|
+ <label for="ftp_ssl_mode"><?php echo __("Ftp Secure Connection", 'xcloner-backup-and-restore')?></label> |
|
82
|
82
|
</div> |
|
83
|
83
|
<div class=" col s12 m6 input-field inline"> |
|
84
|
|
- <input name="xcloner_ftp_ssl_mode" type="radio" id="ftp_ssl_mode_inactive" value="0" <?php if(!get_option("xcloner_ftp_ssl_mode")) echo "checked"?> /> |
|
85
|
|
- <label for="ftp_ssl_mode_inactive"><?php echo __("Disable",'xcloner-backup-and-restore')?></label> |
|
|
84
|
+ <input name="xcloner_ftp_ssl_mode" type="radio" id="ftp_ssl_mode_inactive" value="0" <?php if (!get_option("xcloner_ftp_ssl_mode")) echo "checked"?> /> |
|
|
85
|
+ <label for="ftp_ssl_mode_inactive"><?php echo __("Disable", 'xcloner-backup-and-restore')?></label> |
|
86
|
86
|
|
|
87
|
|
- <input name="xcloner_ftp_ssl_mode" type="radio" id="ftp_ssl_mode_active" value="1" <?php if(get_option("xcloner_ftp_ssl_mode")) echo "checked"?> /> |
|
88
|
|
- <label for="ftp_ssl_mode_active"><?php echo __("Enable",'xcloner-backup-and-restore')?></label> |
|
|
87
|
+ <input name="xcloner_ftp_ssl_mode" type="radio" id="ftp_ssl_mode_active" value="1" <?php if (get_option("xcloner_ftp_ssl_mode")) echo "checked"?> /> |
|
|
88
|
+ <label for="ftp_ssl_mode_active"><?php echo __("Enable", 'xcloner-backup-and-restore')?></label> |
|
89
|
89
|
</div> |
|
90
|
90
|
</div> |
|
91
|
91
|
|
|
92
|
92
|
<div class="row"> |
|
93
|
93
|
<div class="col s12 m3 label"> |
|
94
|
|
- <label for="ftp_timeout"><?php echo __("Ftp Timeout",'xcloner-backup-and-restore')?></label> |
|
|
94
|
+ <label for="ftp_timeout"><?php echo __("Ftp Timeout", 'xcloner-backup-and-restore')?></label> |
|
95
|
95
|
</div> |
|
96
|
96
|
<div class=" col s12 m2"> |
|
97
|
|
- <input placeholder="<?php echo __("Ftp Timeout",'xcloner-backup-and-restore')?>" id="ftp_timeout" type="text" name="xcloner_ftp_timeout" class="validate" value="<?php echo get_option("xcloner_ftp_timeout", 30)?>"> |
|
|
97
|
+ <input placeholder="<?php echo __("Ftp Timeout", 'xcloner-backup-and-restore')?>" id="ftp_timeout" type="text" name="xcloner_ftp_timeout" class="validate" value="<?php echo get_option("xcloner_ftp_timeout", 30)?>"> |
|
98
|
98
|
</div> |
|
99
|
99
|
</div> |
|
100
|
100
|
|
|
101
|
101
|
<div class="row"> |
|
102
|
102
|
<div class="col s12 m3 label"> |
|
103
|
|
- <label for="ftp_cleanup_days"><?php echo __("Ftp Cleanup (days)",'xcloner-backup-and-restore')?></label> |
|
|
103
|
+ <label for="ftp_cleanup_days"><?php echo __("Ftp Cleanup (days)", 'xcloner-backup-and-restore')?></label> |
|
104
|
104
|
</div> |
|
105
|
105
|
<div class=" col s12 m6"> |
|
106
|
|
- <input placeholder="<?php echo __("how many days to keep the backups for",'xcloner-backup-and-restore')?>" id="ftp_cleanup_days" type="text" name="xcloner_ftp_cleanup_days" class="validate" value="<?php echo get_option("xcloner_ftp_cleanup_days")?>"> |
|
|
106
|
+ <input placeholder="<?php echo __("how many days to keep the backups for", 'xcloner-backup-and-restore')?>" id="ftp_cleanup_days" type="text" name="xcloner_ftp_cleanup_days" class="validate" value="<?php echo get_option("xcloner_ftp_cleanup_days")?>"> |
|
107
|
107
|
</div> |
|
108
|
108
|
</div> |
|
109
|
109
|
|
|
110
|
110
|
<div class="row"> |
|
111
|
111
|
<div class="col s6 m4"> |
|
112
|
|
- <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="ftp"><?php echo __("Save Settings",'xcloner-backup-and-restore')?> |
|
|
112
|
+ <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="ftp"><?php echo __("Save Settings", 'xcloner-backup-and-restore')?> |
|
113
|
113
|
<i class="material-icons right">save</i> |
|
114
|
114
|
</button> |
|
115
|
115
|
</div> |
|
116
|
116
|
<div class="col s6 m4"> |
|
117
|
|
- <button class="btn waves-effect waves-light orange" type="submit" name="action" id="action" value="ftp" onclick="jQuery('#connection_check').val('1')"><?php echo __("Verify",'xcloner-backup-and-restore')?> |
|
|
117
|
+ <button class="btn waves-effect waves-light orange" type="submit" name="action" id="action" value="ftp" onclick="jQuery('#connection_check').val('1')"><?php echo __("Verify", 'xcloner-backup-and-restore')?> |
|
118
|
118
|
<i class="material-icons right">import_export</i> |
|
119
|
119
|
</button> |
|
120
|
120
|
</div> |
|
@@ -125,12 +125,12 @@ discard block |
|
|
block discarded – undo |
|
125
|
125
|
<!-- SFTP STORAGE--> |
|
126
|
126
|
<li id="sftp"> |
|
127
|
127
|
<div class="collapsible-header"> |
|
128
|
|
- <i class="material-icons">computer</i><?php echo __("SFTP Storage",'xcloner-backup-and-restore')?> |
|
|
128
|
+ <i class="material-icons">computer</i><?php echo __("SFTP Storage", 'xcloner-backup-and-restore')?> |
|
129
|
129
|
<div class="right"> |
|
130
|
130
|
<div class="switch"> |
|
131
|
131
|
<label> |
|
132
|
132
|
Off |
|
133
|
|
- <input type="checkbox" name="xcloner_sftp_enable" class="status" value="1" <?php if(get_option("xcloner_sftp_enable")) echo "checked"?> \> |
|
|
133
|
+ <input type="checkbox" name="xcloner_sftp_enable" class="status" value="1" <?php if (get_option("xcloner_sftp_enable")) echo "checked"?> \> |
|
134
|
134
|
<span class="lever"></span> |
|
135
|
135
|
On |
|
136
|
136
|
</label> |
|
@@ -140,79 +140,79 @@ discard block |
|
|
block discarded – undo |
|
140
|
140
|
<div class="collapsible-body"> |
|
141
|
141
|
<div class="row"> |
|
142
|
142
|
<div class="col s12 m3 label"> |
|
143
|
|
- <label for="sftp_host"><?php echo __("SFTP Hostname",'xcloner-backup-and-restore')?></label> |
|
|
143
|
+ <label for="sftp_host"><?php echo __("SFTP Hostname", 'xcloner-backup-and-restore')?></label> |
|
144
|
144
|
</div> |
|
145
|
145
|
<div class="col s12 m6"> |
|
146
|
|
- <input placeholder="<?php echo __("SFTP Hostname",'xcloner-backup-and-restore')?>" id="sftp_host" type="text" name="xcloner_sftp_hostname" class="validate" value="<?php echo get_option("xcloner_sftp_hostname")?>"> |
|
|
146
|
+ <input placeholder="<?php echo __("SFTP Hostname", 'xcloner-backup-and-restore')?>" id="sftp_host" type="text" name="xcloner_sftp_hostname" class="validate" value="<?php echo get_option("xcloner_sftp_hostname")?>"> |
|
147
|
147
|
</div> |
|
148
|
148
|
<div class=" col s12 m2"> |
|
149
|
|
- <input placeholder="<?php echo __("SFTP Port",'xcloner-backup-and-restore')?>" id="sftp_port" type="text" name="xcloner_sftp_port" class="validate" value="<?php echo get_option("xcloner_sftp_port", 22)?>"> |
|
|
149
|
+ <input placeholder="<?php echo __("SFTP Port", 'xcloner-backup-and-restore')?>" id="sftp_port" type="text" name="xcloner_sftp_port" class="validate" value="<?php echo get_option("xcloner_sftp_port", 22)?>"> |
|
150
|
150
|
</div> |
|
151
|
151
|
</div> |
|
152
|
152
|
|
|
153
|
153
|
<div class="row"> |
|
154
|
154
|
<div class="col s12 m3 label"> |
|
155
|
|
- <label for="sftp_username"><?php echo __("SFTP Username",'xcloner-backup-and-restore')?></label> |
|
|
155
|
+ <label for="sftp_username"><?php echo __("SFTP Username", 'xcloner-backup-and-restore')?></label> |
|
156
|
156
|
</div> |
|
157
|
157
|
<div class=" col s12 m6"> |
|
158
|
|
- <input placeholder="<?php echo __("SFTP Username",'xcloner-backup-and-restore')?>" id="sftp_username" type="text" name="xcloner_sftp_username" class="validate" value="<?php echo get_option("xcloner_sftp_username")?>" autocomplete="off" > |
|
|
158
|
+ <input placeholder="<?php echo __("SFTP Username", 'xcloner-backup-and-restore')?>" id="sftp_username" type="text" name="xcloner_sftp_username" class="validate" value="<?php echo get_option("xcloner_sftp_username")?>" autocomplete="off" > |
|
159
|
159
|
</div> |
|
160
|
160
|
</div> |
|
161
|
161
|
|
|
162
|
162
|
|
|
163
|
163
|
<div class="row"> |
|
164
|
164
|
<div class="col s12 m3 label"> |
|
165
|
|
- <label for="sftp_password"><?php echo __("SFTP Password",'xcloner-backup-and-restore')?></label> |
|
|
165
|
+ <label for="sftp_password"><?php echo __("SFTP Password", 'xcloner-backup-and-restore')?></label> |
|
166
|
166
|
</div> |
|
167
|
167
|
<div class=" col s12 m6"> |
|
168
|
|
- <input placeholder="<?php echo __("SFTP Password",'xcloner-backup-and-restore')?>" id="ftp_spassword" type="password" name="xcloner_sftp_password" class="validate" value="<?php echo get_option("xcloner_sftp_password")?>" autocomplete="off" > |
|
|
168
|
+ <input placeholder="<?php echo __("SFTP Password", 'xcloner-backup-and-restore')?>" id="ftp_spassword" type="password" name="xcloner_sftp_password" class="validate" value="<?php echo get_option("xcloner_sftp_password")?>" autocomplete="off" > |
|
169
|
169
|
</div> |
|
170
|
170
|
</div> |
|
171
|
171
|
|
|
172
|
172
|
<div class="row"> |
|
173
|
173
|
<div class="col s12 m3 label"> |
|
174
|
|
- <label for="sftp_private_key"><?php echo __("SFTP Private Key",'xcloner-backup-and-restore')?></label> |
|
|
174
|
+ <label for="sftp_private_key"><?php echo __("SFTP Private Key", 'xcloner-backup-and-restore')?></label> |
|
175
|
175
|
</div> |
|
176
|
176
|
<div class=" col s12 m6"> |
|
177
|
|
- <input placeholder="<?php echo __("SFTP Private Key",'xcloner-backup-and-restore')?>" id="sftp_private_key" type="text" name="xcloner_sftp_private_key" class="validate" value="<?php echo get_option("xcloner_sftp_private_key")?>"> |
|
|
177
|
+ <input placeholder="<?php echo __("SFTP Private Key", 'xcloner-backup-and-restore')?>" id="sftp_private_key" type="text" name="xcloner_sftp_private_key" class="validate" value="<?php echo get_option("xcloner_sftp_private_key")?>"> |
|
178
|
178
|
</div> |
|
179
|
179
|
</div> |
|
180
|
180
|
|
|
181
|
181
|
<div class="row"> |
|
182
|
182
|
<div class="col s12 m3 label"> |
|
183
|
|
- <label for="sftp_root"><?php echo __("SFTP Storage Folder",'xcloner-backup-and-restore')?></label> |
|
|
183
|
+ <label for="sftp_root"><?php echo __("SFTP Storage Folder", 'xcloner-backup-and-restore')?></label> |
|
184
|
184
|
</div> |
|
185
|
185
|
<div class=" col s12 m6"> |
|
186
|
|
- <input placeholder="<?php echo __("SFTP Storage Folder",'xcloner-backup-and-restore')?>" id="sftp_root" type="text" name="xcloner_sftp_path" class="validate" value="<?php echo get_option("xcloner_sftp_path")?>"> |
|
|
186
|
+ <input placeholder="<?php echo __("SFTP Storage Folder", 'xcloner-backup-and-restore')?>" id="sftp_root" type="text" name="xcloner_sftp_path" class="validate" value="<?php echo get_option("xcloner_sftp_path")?>"> |
|
187
|
187
|
</div> |
|
188
|
188
|
</div> |
|
189
|
189
|
|
|
190
|
190
|
<div class="row"> |
|
191
|
191
|
<div class="col s12 m3 label"> |
|
192
|
|
- <label for="sftp_timeout"><?php echo __("SFTP Timeout",'xcloner-backup-and-restore')?></label> |
|
|
192
|
+ <label for="sftp_timeout"><?php echo __("SFTP Timeout", 'xcloner-backup-and-restore')?></label> |
|
193
|
193
|
</div> |
|
194
|
194
|
<div class=" col s12 m2"> |
|
195
|
|
- <input placeholder="<?php echo __("SFTP Timeout",'xcloner-backup-and-restore')?>" id="sftp_timeout" type="text" name="xcloner_sftp_timeout" class="validate" value="<?php echo get_option("xcloner_sftp_timeout", 30)?>"> |
|
|
195
|
+ <input placeholder="<?php echo __("SFTP Timeout", 'xcloner-backup-and-restore')?>" id="sftp_timeout" type="text" name="xcloner_sftp_timeout" class="validate" value="<?php echo get_option("xcloner_sftp_timeout", 30)?>"> |
|
196
|
196
|
</div> |
|
197
|
197
|
</div> |
|
198
|
198
|
|
|
199
|
199
|
<div class="row"> |
|
200
|
200
|
<div class="col s12 m3 label"> |
|
201
|
|
- <label for="sftp_cleanup_days"><?php echo __("SFTP Cleanup (days)",'xcloner-backup-and-restore')?></label> |
|
|
201
|
+ <label for="sftp_cleanup_days"><?php echo __("SFTP Cleanup (days)", 'xcloner-backup-and-restore')?></label> |
|
202
|
202
|
</div> |
|
203
|
203
|
<div class=" col s12 m6"> |
|
204
|
|
- <input placeholder="<?php echo __("how many days to keep the backups for",'xcloner-backup-and-restore')?>" id="sftp_cleanup_days" type="text" name="xcloner_sftp_cleanup_days" class="validate" value="<?php echo get_option("xcloner_sftp_cleanup_days")?>"> |
|
|
204
|
+ <input placeholder="<?php echo __("how many days to keep the backups for", 'xcloner-backup-and-restore')?>" id="sftp_cleanup_days" type="text" name="xcloner_sftp_cleanup_days" class="validate" value="<?php echo get_option("xcloner_sftp_cleanup_days")?>"> |
|
205
|
205
|
</div> |
|
206
|
206
|
</div> |
|
207
|
207
|
|
|
208
|
208
|
<div class="row"> |
|
209
|
209
|
<div class="col s6 m4"> |
|
210
|
|
- <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="sftp"><?php echo __("Save Settings",'xcloner-backup-and-restore')?> |
|
|
210
|
+ <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="sftp"><?php echo __("Save Settings", 'xcloner-backup-and-restore')?> |
|
211
|
211
|
<i class="material-icons right">save</i> |
|
212
|
212
|
</button> |
|
213
|
213
|
</div> |
|
214
|
214
|
<div class="col s6 m4"> |
|
215
|
|
- <button class="btn waves-effect waves-light orange" type="submit" name="action" id="action" value="sftp" onclick="jQuery('#connection_check').val('1')"><?php echo __("Verify",'xcloner-backup-and-restore')?> |
|
|
215
|
+ <button class="btn waves-effect waves-light orange" type="submit" name="action" id="action" value="sftp" onclick="jQuery('#connection_check').val('1')"><?php echo __("Verify", 'xcloner-backup-and-restore')?> |
|
216
|
216
|
<i class="material-icons right">import_export</i> |
|
217
|
217
|
</button> |
|
218
|
218
|
</div> |
|
@@ -224,12 +224,12 @@ discard block |
|
|
block discarded – undo |
|
224
|
224
|
<!-- AWS STORAGE--> |
|
225
|
225
|
<li id="aws"> |
|
226
|
226
|
<div class="collapsible-header"> |
|
227
|
|
- <i class="material-icons">computer</i><?php echo __("AWS Storage",'xcloner-backup-and-restore')?> |
|
|
227
|
+ <i class="material-icons">computer</i><?php echo __("AWS Storage", 'xcloner-backup-and-restore')?> |
|
228
|
228
|
<div class="right"> |
|
229
|
229
|
<div class="switch"> |
|
230
|
230
|
<label> |
|
231
|
231
|
Off |
|
232
|
|
- <input type="checkbox" name="xcloner_aws_enable" class="status" value="1" <?php if(get_option("xcloner_aws_enable")) echo "checked"?> \> |
|
|
232
|
+ <input type="checkbox" name="xcloner_aws_enable" class="status" value="1" <?php if (get_option("xcloner_aws_enable")) echo "checked"?> \> |
|
233
|
233
|
<span class="lever"></span> |
|
234
|
234
|
On |
|
235
|
235
|
</label> |
|
@@ -251,57 +251,57 @@ discard block |
|
|
block discarded – undo |
|
251
|
251
|
|
|
252
|
252
|
<div class="row"> |
|
253
|
253
|
<div class="col s12 m3 label"> |
|
254
|
|
- <label for="aws_key"><?php echo __("AWS Key",'xcloner-backup-and-restore')?></label> |
|
|
254
|
+ <label for="aws_key"><?php echo __("AWS Key", 'xcloner-backup-and-restore')?></label> |
|
255
|
255
|
</div> |
|
256
|
256
|
<div class=" col s12 m6"> |
|
257
|
|
- <input placeholder="<?php echo __("AWS Key",'xcloner-backup-and-restore')?>" id="aws_key" type="text" name="xcloner_aws_key" class="validate" value="<?php echo get_option("xcloner_aws_key")?>" autocomplete="off" > |
|
|
257
|
+ <input placeholder="<?php echo __("AWS Key", 'xcloner-backup-and-restore')?>" id="aws_key" type="text" name="xcloner_aws_key" class="validate" value="<?php echo get_option("xcloner_aws_key")?>" autocomplete="off" > |
|
258
|
258
|
</div> |
|
259
|
259
|
</div> |
|
260
|
260
|
|
|
261
|
261
|
<div class="row"> |
|
262
|
262
|
<div class="col s12 m3 label"> |
|
263
|
|
- <label for="aws_secret"><?php echo __("AWS Secret",'xcloner-backup-and-restore')?></label> |
|
|
263
|
+ <label for="aws_secret"><?php echo __("AWS Secret", 'xcloner-backup-and-restore')?></label> |
|
264
|
264
|
</div> |
|
265
|
265
|
<div class=" col s12 m6"> |
|
266
|
|
- <input placeholder="<?php echo __("AWS Secret",'xcloner-backup-and-restore')?>" id="aws_secret" type="text" name="xcloner_aws_secret" class="validate" value="<?php echo get_option("xcloner_aws_secret")?>" autocomplete="off" > |
|
|
266
|
+ <input placeholder="<?php echo __("AWS Secret", 'xcloner-backup-and-restore')?>" id="aws_secret" type="text" name="xcloner_aws_secret" class="validate" value="<?php echo get_option("xcloner_aws_secret")?>" autocomplete="off" > |
|
267
|
267
|
</div> |
|
268
|
268
|
</div> |
|
269
|
269
|
|
|
270
|
270
|
<div class="row"> |
|
271
|
271
|
<div class="col s12 m3 label"> |
|
272
|
|
- <label for="aws_region"><?php echo __("AWS Region",'xcloner-backup-and-restore')?></label> |
|
|
272
|
+ <label for="aws_region"><?php echo __("AWS Region", 'xcloner-backup-and-restore')?></label> |
|
273
|
273
|
</div> |
|
274
|
274
|
<div class=" col s12 m6"> |
|
275
|
|
- <input placeholder="<?php echo __("AWS Region",'xcloner-backup-and-restore')?>" id="aws_region" type="text" name="xcloner_aws_region" class="validate" value="<?php echo get_option("xcloner_aws_region")?>" autocomplete="off" > |
|
|
275
|
+ <input placeholder="<?php echo __("AWS Region", 'xcloner-backup-and-restore')?>" id="aws_region" type="text" name="xcloner_aws_region" class="validate" value="<?php echo get_option("xcloner_aws_region")?>" autocomplete="off" > |
|
276
|
276
|
</div> |
|
277
|
277
|
</div> |
|
278
|
278
|
|
|
279
|
279
|
<div class="row"> |
|
280
|
280
|
<div class="col s12 m3 label"> |
|
281
|
|
- <label for="aws_bucket_name"><?php echo __("AWS Bucket Name",'xcloner-backup-and-restore')?></label> |
|
|
281
|
+ <label for="aws_bucket_name"><?php echo __("AWS Bucket Name", 'xcloner-backup-and-restore')?></label> |
|
282
|
282
|
</div> |
|
283
|
283
|
<div class=" col s12 m6"> |
|
284
|
|
- <input placeholder="<?php echo __("AWS Bucket Name",'xcloner-backup-and-restore')?>" id="aws_bucket_name" type="text" name="xcloner_aws_bucket_name" class="validate" value="<?php echo get_option("xcloner_aws_bucket_name")?>" autocomplete="off" > |
|
|
284
|
+ <input placeholder="<?php echo __("AWS Bucket Name", 'xcloner-backup-and-restore')?>" id="aws_bucket_name" type="text" name="xcloner_aws_bucket_name" class="validate" value="<?php echo get_option("xcloner_aws_bucket_name")?>" autocomplete="off" > |
|
285
|
285
|
</div> |
|
286
|
286
|
</div> |
|
287
|
287
|
|
|
288
|
288
|
<div class="row"> |
|
289
|
289
|
<div class="col s12 m3 label"> |
|
290
|
|
- <label for="aws_cleanup_days"><?php echo __("AWS Cleanup (days)",'xcloner-backup-and-restore')?></label> |
|
|
290
|
+ <label for="aws_cleanup_days"><?php echo __("AWS Cleanup (days)", 'xcloner-backup-and-restore')?></label> |
|
291
|
291
|
</div> |
|
292
|
292
|
<div class=" col s12 m6"> |
|
293
|
|
- <input placeholder="<?php echo __("how many days to keep the backups for",'xcloner-backup-and-restore')?>" id="aws_cleanup_days" type="text" name="xcloner_aws_cleanup_days" class="validate" value="<?php echo get_option("xcloner_aws_cleanup_days")?>"> |
|
|
293
|
+ <input placeholder="<?php echo __("how many days to keep the backups for", 'xcloner-backup-and-restore')?>" id="aws_cleanup_days" type="text" name="xcloner_aws_cleanup_days" class="validate" value="<?php echo get_option("xcloner_aws_cleanup_days")?>"> |
|
294
|
294
|
</div> |
|
295
|
295
|
</div> |
|
296
|
296
|
|
|
297
|
297
|
<div class="row"> |
|
298
|
298
|
<div class="col s6 m4"> |
|
299
|
|
- <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="aws"><?php echo __("Save Settings",'xcloner-backup-and-restore')?> |
|
|
299
|
+ <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="aws"><?php echo __("Save Settings", 'xcloner-backup-and-restore')?> |
|
300
|
300
|
<i class="material-icons right">save</i> |
|
301
|
301
|
</button> |
|
302
|
302
|
</div> |
|
303
|
303
|
<div class="col s6 m4"> |
|
304
|
|
- <button class="btn waves-effect waves-light orange" type="submit" name="action" id="action" value="aws" onclick="jQuery('#connection_check').val('1')"><?php echo __("Verify",'xcloner-backup-and-restore')?> |
|
|
304
|
+ <button class="btn waves-effect waves-light orange" type="submit" name="action" id="action" value="aws" onclick="jQuery('#connection_check').val('1')"><?php echo __("Verify", 'xcloner-backup-and-restore')?> |
|
305
|
305
|
<i class="material-icons right">import_export</i> |
|
306
|
306
|
</button> |
|
307
|
307
|
</div> |
|
@@ -313,12 +313,12 @@ discard block |
|
|
block discarded – undo |
|
313
|
313
|
<!-- DROPBOX STORAGE--> |
|
314
|
314
|
<li id="dropbox"> |
|
315
|
315
|
<div class="collapsible-header"> |
|
316
|
|
- <i class="material-icons">computer</i><?php echo __("Dropbox Storage",'xcloner-backup-and-restore')?> |
|
|
316
|
+ <i class="material-icons">computer</i><?php echo __("Dropbox Storage", 'xcloner-backup-and-restore')?> |
|
317
|
317
|
<div class="right"> |
|
318
|
318
|
<div class="switch"> |
|
319
|
319
|
<label> |
|
320
|
320
|
Off |
|
321
|
|
- <input type="checkbox" name="xcloner_dropbox_enable" class="status" value="1" <?php if(get_option("xcloner_dropbox_enable")) echo "checked"?> \> |
|
|
321
|
+ <input type="checkbox" name="xcloner_dropbox_enable" class="status" value="1" <?php if (get_option("xcloner_dropbox_enable")) echo "checked"?> \> |
|
322
|
322
|
<span class="lever"></span> |
|
323
|
323
|
On |
|
324
|
324
|
</label> |
|
@@ -340,49 +340,49 @@ discard block |
|
|
block discarded – undo |
|
340
|
340
|
|
|
341
|
341
|
<div class="row"> |
|
342
|
342
|
<div class="col s12 m3 label"> |
|
343
|
|
- <label for="dropbox_access_token"><?php echo __("Dropbox Access Token",'xcloner-backup-and-restore')?></label> |
|
|
343
|
+ <label for="dropbox_access_token"><?php echo __("Dropbox Access Token", 'xcloner-backup-and-restore')?></label> |
|
344
|
344
|
</div> |
|
345
|
345
|
<div class=" col s12 m6"> |
|
346
|
|
- <input placeholder="<?php echo __("Dropbox Access Token",'xcloner-backup-and-restore')?>" id="dropbox_access_token" type="text" name="xcloner_dropbox_access_token" class="validate" value="<?php echo get_option("xcloner_dropbox_access_token")?>" autocomplete="off" > |
|
|
346
|
+ <input placeholder="<?php echo __("Dropbox Access Token", 'xcloner-backup-and-restore')?>" id="dropbox_access_token" type="text" name="xcloner_dropbox_access_token" class="validate" value="<?php echo get_option("xcloner_dropbox_access_token")?>" autocomplete="off" > |
|
347
|
347
|
</div> |
|
348
|
348
|
</div> |
|
349
|
349
|
|
|
350
|
350
|
|
|
351
|
351
|
<div class="row"> |
|
352
|
352
|
<div class="col s12 m3 label"> |
|
353
|
|
- <label for="dropbox_app_secret"><?php echo __("Dropbox App Secret",'xcloner-backup-and-restore')?></label> |
|
|
353
|
+ <label for="dropbox_app_secret"><?php echo __("Dropbox App Secret", 'xcloner-backup-and-restore')?></label> |
|
354
|
354
|
</div> |
|
355
|
355
|
<div class=" col s12 m6"> |
|
356
|
|
- <input placeholder="<?php echo __("Dropbox App Secret",'xcloner-backup-and-restore')?>" id="dropbox_app_secret" type="text" name="xcloner_dropbox_app_secret" class="validate" value="<?php echo get_option("xcloner_dropbox_app_secret")?>" autocomplete="off" > |
|
|
356
|
+ <input placeholder="<?php echo __("Dropbox App Secret", 'xcloner-backup-and-restore')?>" id="dropbox_app_secret" type="text" name="xcloner_dropbox_app_secret" class="validate" value="<?php echo get_option("xcloner_dropbox_app_secret")?>" autocomplete="off" > |
|
357
|
357
|
</div> |
|
358
|
358
|
</div> |
|
359
|
359
|
|
|
360
|
360
|
<div class="row"> |
|
361
|
361
|
<div class="col s12 m3 label"> |
|
362
|
|
- <label for="dropbox_prefix"><?php echo __("Dropbox Prefix",'xcloner-backup-and-restore')?></label> |
|
|
362
|
+ <label for="dropbox_prefix"><?php echo __("Dropbox Prefix", 'xcloner-backup-and-restore')?></label> |
|
363
|
363
|
</div> |
|
364
|
364
|
<div class=" col s12 m6"> |
|
365
|
|
- <input placeholder="<?php echo __("Dropbox Prefix",'xcloner-backup-and-restore')?>" id="dropbox_prefix" type="text" name="xcloner_dropbox_prefix" class="validate" value="<?php echo get_option("xcloner_dropbox_prefix")?>"> |
|
|
365
|
+ <input placeholder="<?php echo __("Dropbox Prefix", 'xcloner-backup-and-restore')?>" id="dropbox_prefix" type="text" name="xcloner_dropbox_prefix" class="validate" value="<?php echo get_option("xcloner_dropbox_prefix")?>"> |
|
366
|
366
|
</div> |
|
367
|
367
|
</div> |
|
368
|
368
|
|
|
369
|
369
|
<div class="row"> |
|
370
|
370
|
<div class="col s12 m3 label"> |
|
371
|
|
- <label for="dropbox_cleanup_days"><?php echo __("Dropbox Cleanup (days)",'xcloner-backup-and-restore')?></label> |
|
|
371
|
+ <label for="dropbox_cleanup_days"><?php echo __("Dropbox Cleanup (days)", 'xcloner-backup-and-restore')?></label> |
|
372
|
372
|
</div> |
|
373
|
373
|
<div class=" col s12 m6"> |
|
374
|
|
- <input placeholder="<?php echo __("how many days to keep the backups for",'xcloner-backup-and-restore')?>" id="dropbox_cleanup_days" type="text" name="xcloner_dropbox_cleanup_days" class="validate" value="<?php echo get_option("xcloner_dropbox_cleanup_days")?>"> |
|
|
374
|
+ <input placeholder="<?php echo __("how many days to keep the backups for", 'xcloner-backup-and-restore')?>" id="dropbox_cleanup_days" type="text" name="xcloner_dropbox_cleanup_days" class="validate" value="<?php echo get_option("xcloner_dropbox_cleanup_days")?>"> |
|
375
|
375
|
</div> |
|
376
|
376
|
</div> |
|
377
|
377
|
|
|
378
|
378
|
<div class="row"> |
|
379
|
379
|
<div class="col s6 m4"> |
|
380
|
|
- <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="dropbox"><?php echo __("Save Settings",'xcloner-backup-and-restore')?> |
|
|
380
|
+ <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="dropbox"><?php echo __("Save Settings", 'xcloner-backup-and-restore')?> |
|
381
|
381
|
<i class="material-icons right">save</i> |
|
382
|
382
|
</button> |
|
383
|
383
|
</div> |
|
384
|
384
|
<div class="col s6 m4"> |
|
385
|
|
- <button class="btn waves-effect waves-light orange" type="submit" name="action" id="action" value="dropbox" onclick="jQuery('#connection_check').val('1')"><?php echo __("Verify",'xcloner-backup-and-restore')?> |
|
|
385
|
+ <button class="btn waves-effect waves-light orange" type="submit" name="action" id="action" value="dropbox" onclick="jQuery('#connection_check').val('1')"><?php echo __("Verify", 'xcloner-backup-and-restore')?> |
|
386
|
386
|
<i class="material-icons right">import_export</i> |
|
387
|
387
|
</button> |
|
388
|
388
|
</div> |
|
@@ -394,12 +394,12 @@ discard block |
|
|
block discarded – undo |
|
394
|
394
|
<!-- AZURE STORAGE--> |
|
395
|
395
|
<li id="azure"> |
|
396
|
396
|
<div class="collapsible-header"> |
|
397
|
|
- <i class="material-icons">computer</i><?php echo __("Azure Blog Storage",'xcloner-backup-and-restore')?> |
|
|
397
|
+ <i class="material-icons">computer</i><?php echo __("Azure Blog Storage", 'xcloner-backup-and-restore')?> |
|
398
|
398
|
<div class="right"> |
|
399
|
399
|
<div class="switch"> |
|
400
|
400
|
<label> |
|
401
|
401
|
Off |
|
402
|
|
- <input type="checkbox" name="xcloner_azure_enable" class="status" value="1" <?php if(get_option("xcloner_azure_enable")) echo "checked"?> \> |
|
|
402
|
+ <input type="checkbox" name="xcloner_azure_enable" class="status" value="1" <?php if (get_option("xcloner_azure_enable")) echo "checked"?> \> |
|
403
|
403
|
<span class="lever"></span> |
|
404
|
404
|
On |
|
405
|
405
|
</label> |
|
@@ -414,56 +414,56 @@ discard block |
|
|
block discarded – undo |
|
414
|
414
|
</div> |
|
415
|
415
|
<div class=" col s12 m6"> |
|
416
|
416
|
<p> |
|
417
|
|
- <?php echo sprintf(__('Visit %s and get your "Api Key".','xcloner-backup-and-restore'), '<a href="https://azure.microsoft.com/en-us/services/storage/blobs/" target="_blank">https://azure.microsoft.com/en-us/services/storage/blobs/</a>')?> |
|
|
417
|
+ <?php echo sprintf(__('Visit %s and get your "Api Key".', 'xcloner-backup-and-restore'), '<a href="https://azure.microsoft.com/en-us/services/storage/blobs/" target="_blank">https://azure.microsoft.com/en-us/services/storage/blobs/</a>')?> |
|
418
|
418
|
</p> |
|
419
|
419
|
</div> |
|
420
|
420
|
</div> |
|
421
|
421
|
|
|
422
|
422
|
<div class="row"> |
|
423
|
423
|
<div class="col s12 m3 label"> |
|
424
|
|
- <label for="azure_account_name"><?php echo __("Azure Account Name",'xcloner-backup-and-restore')?></label> |
|
|
424
|
+ <label for="azure_account_name"><?php echo __("Azure Account Name", 'xcloner-backup-and-restore')?></label> |
|
425
|
425
|
</div> |
|
426
|
426
|
<div class=" col s12 m6"> |
|
427
|
|
- <input placeholder="<?php echo __("Azure Account Name",'xcloner-backup-and-restore')?>" id="azure_account_name" type="text" name="xcloner_azure_account_name" class="validate" value="<?php echo get_option("xcloner_azure_account_name")?>" autocomplete="off" > |
|
|
427
|
+ <input placeholder="<?php echo __("Azure Account Name", 'xcloner-backup-and-restore')?>" id="azure_account_name" type="text" name="xcloner_azure_account_name" class="validate" value="<?php echo get_option("xcloner_azure_account_name")?>" autocomplete="off" > |
|
428
|
428
|
</div> |
|
429
|
429
|
</div> |
|
430
|
430
|
|
|
431
|
431
|
|
|
432
|
432
|
<div class="row"> |
|
433
|
433
|
<div class="col s12 m3 label"> |
|
434
|
|
- <label for="azure_api_key"><?php echo __("Azure Api Key",'xcloner-backup-and-restore')?></label> |
|
|
434
|
+ <label for="azure_api_key"><?php echo __("Azure Api Key", 'xcloner-backup-and-restore')?></label> |
|
435
|
435
|
</div> |
|
436
|
436
|
<div class=" col s12 m6"> |
|
437
|
|
- <input placeholder="<?php echo __("Azure Api Key",'xcloner-backup-and-restore')?>" id="azure_api_key" type="text" name="xcloner_azure_api_key" class="validate" value="<?php echo get_option("xcloner_azure_api_key")?>" autocomplete="off" > |
|
|
437
|
+ <input placeholder="<?php echo __("Azure Api Key", 'xcloner-backup-and-restore')?>" id="azure_api_key" type="text" name="xcloner_azure_api_key" class="validate" value="<?php echo get_option("xcloner_azure_api_key")?>" autocomplete="off" > |
|
438
|
438
|
</div> |
|
439
|
439
|
</div> |
|
440
|
440
|
|
|
441
|
441
|
<div class="row"> |
|
442
|
442
|
<div class="col s12 m3 label"> |
|
443
|
|
- <label for="azure_container"><?php echo __("Azure Container",'xcloner-backup-and-restore')?></label> |
|
|
443
|
+ <label for="azure_container"><?php echo __("Azure Container", 'xcloner-backup-and-restore')?></label> |
|
444
|
444
|
</div> |
|
445
|
445
|
<div class=" col s12 m6"> |
|
446
|
|
- <input placeholder="<?php echo __("Azure Container",'xcloner-backup-and-restore')?>" id="azure_container" type="text" name="xcloner_azure_container" class="validate" value="<?php echo get_option("xcloner_azure_container")?>"> |
|
|
446
|
+ <input placeholder="<?php echo __("Azure Container", 'xcloner-backup-and-restore')?>" id="azure_container" type="text" name="xcloner_azure_container" class="validate" value="<?php echo get_option("xcloner_azure_container")?>"> |
|
447
|
447
|
</div> |
|
448
|
448
|
</div> |
|
449
|
449
|
|
|
450
|
450
|
<div class="row"> |
|
451
|
451
|
<div class="col s12 m3 label"> |
|
452
|
|
- <label for="azure_cleanup_days"><?php echo __("Azure Cleanup (days)",'xcloner-backup-and-restore')?></label> |
|
|
452
|
+ <label for="azure_cleanup_days"><?php echo __("Azure Cleanup (days)", 'xcloner-backup-and-restore')?></label> |
|
453
|
453
|
</div> |
|
454
|
454
|
<div class=" col s12 m6"> |
|
455
|
|
- <input placeholder="<?php echo __("how many days to keep the backups for",'xcloner-backup-and-restore')?>" id="azure_cleanup_days" type="text" name="xcloner_azure_cleanup_days" class="validate" value="<?php echo get_option("xcloner_azure_cleanup_days")?>"> |
|
|
455
|
+ <input placeholder="<?php echo __("how many days to keep the backups for", 'xcloner-backup-and-restore')?>" id="azure_cleanup_days" type="text" name="xcloner_azure_cleanup_days" class="validate" value="<?php echo get_option("xcloner_azure_cleanup_days")?>"> |
|
456
|
456
|
</div> |
|
457
|
457
|
</div> |
|
458
|
458
|
|
|
459
|
459
|
<div class="row"> |
|
460
|
460
|
<div class="col s6 m4"> |
|
461
|
|
- <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="azure"><?php echo __("Save Settings",'xcloner-backup-and-restore')?> |
|
|
461
|
+ <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="azure"><?php echo __("Save Settings", 'xcloner-backup-and-restore')?> |
|
462
|
462
|
<i class="material-icons right">save</i> |
|
463
|
463
|
</button> |
|
464
|
464
|
</div> |
|
465
|
465
|
<div class="col s6 m4"> |
|
466
|
|
- <button class="btn waves-effect waves-light orange" type="submit" name="action" id="action" value="azure" onclick="jQuery('#connection_check').val('1')"><?php echo __("Verify",'xcloner-backup-and-restore')?> |
|
|
466
|
+ <button class="btn waves-effect waves-light orange" type="submit" name="action" id="action" value="azure" onclick="jQuery('#connection_check').val('1')"><?php echo __("Verify", 'xcloner-backup-and-restore')?> |
|
467
|
467
|
<i class="material-icons right">import_export</i> |
|
468
|
468
|
</button> |
|
469
|
469
|
</div> |
|
@@ -475,12 +475,12 @@ discard block |
|
|
block discarded – undo |
|
475
|
475
|
<!-- BACKBLAZE STORAGE--> |
|
476
|
476
|
<li id="backblaze"> |
|
477
|
477
|
<div class="collapsible-header"> |
|
478
|
|
- <i class="material-icons">computer</i><?php echo __("BackBlaze Storage",'xcloner-backup-and-restore')?> |
|
|
478
|
+ <i class="material-icons">computer</i><?php echo __("BackBlaze Storage", 'xcloner-backup-and-restore')?> |
|
479
|
479
|
<div class="right"> |
|
480
|
480
|
<div class="switch"> |
|
481
|
481
|
<label> |
|
482
|
482
|
Off |
|
483
|
|
- <input type="checkbox" name="xcloner_backblaze_enable" class="status" value="1" <?php if(get_option("xcloner_backblaze_enable")) echo "checked"?> \> |
|
|
483
|
+ <input type="checkbox" name="xcloner_backblaze_enable" class="status" value="1" <?php if (get_option("xcloner_backblaze_enable")) echo "checked"?> \> |
|
484
|
484
|
<span class="lever"></span> |
|
485
|
485
|
On |
|
486
|
486
|
</label> |
|
@@ -495,56 +495,56 @@ discard block |
|
|
block discarded – undo |
|
495
|
495
|
</div> |
|
496
|
496
|
<div class=" col s12 m6"> |
|
497
|
497
|
<p> |
|
498
|
|
- <?php echo sprintf(__('Visit %s and get your Account Id and Application Key.','xcloner-backup-and-restore'), '<a href="https://secure.backblaze.com/b2_buckets.htm" target="_blank">https://secure.backblaze.com/b2_buckets.htm</a>')?> |
|
|
498
|
+ <?php echo sprintf(__('Visit %s and get your Account Id and Application Key.', 'xcloner-backup-and-restore'), '<a href="https://secure.backblaze.com/b2_buckets.htm" target="_blank">https://secure.backblaze.com/b2_buckets.htm</a>')?> |
|
499
|
499
|
</p> |
|
500
|
500
|
</div> |
|
501
|
501
|
</div> |
|
502
|
502
|
|
|
503
|
503
|
<div class="row"> |
|
504
|
504
|
<div class="col s12 m3 label"> |
|
505
|
|
- <label for="backblaze_account_id"><?php echo __("BackBlaze Account Id",'xcloner-backup-and-restore')?></label> |
|
|
505
|
+ <label for="backblaze_account_id"><?php echo __("BackBlaze Account Id", 'xcloner-backup-and-restore')?></label> |
|
506
|
506
|
</div> |
|
507
|
507
|
<div class=" col s12 m6"> |
|
508
|
|
- <input placeholder="<?php echo __("BackBlaze Account Id",'xcloner-backup-and-restore')?>" id="backblaze_account_id" type="text" name="xcloner_backblaze_account_id" class="validate" value="<?php echo get_option("xcloner_backblaze_account_id")?>" autocomplete="off" > |
|
|
508
|
+ <input placeholder="<?php echo __("BackBlaze Account Id", 'xcloner-backup-and-restore')?>" id="backblaze_account_id" type="text" name="xcloner_backblaze_account_id" class="validate" value="<?php echo get_option("xcloner_backblaze_account_id")?>" autocomplete="off" > |
|
509
|
509
|
</div> |
|
510
|
510
|
</div> |
|
511
|
511
|
|
|
512
|
512
|
|
|
513
|
513
|
<div class="row"> |
|
514
|
514
|
<div class="col s12 m3 label"> |
|
515
|
|
- <label for="backblaze_application_key"><?php echo __("BackBlaze Application Key",'xcloner-backup-and-restore')?></label> |
|
|
515
|
+ <label for="backblaze_application_key"><?php echo __("BackBlaze Application Key", 'xcloner-backup-and-restore')?></label> |
|
516
|
516
|
</div> |
|
517
|
517
|
<div class=" col s12 m6"> |
|
518
|
|
- <input placeholder="<?php echo __("BackBlaze Application Key",'xcloner-backup-and-restore')?>" id="backblaze_application_key" type="text" name="xcloner_backblaze_application_key" class="validate" value="<?php echo get_option("xcloner_backblaze_application_key")?>" autocomplete="off" > |
|
|
518
|
+ <input placeholder="<?php echo __("BackBlaze Application Key", 'xcloner-backup-and-restore')?>" id="backblaze_application_key" type="text" name="xcloner_backblaze_application_key" class="validate" value="<?php echo get_option("xcloner_backblaze_application_key")?>" autocomplete="off" > |
|
519
|
519
|
</div> |
|
520
|
520
|
</div> |
|
521
|
521
|
|
|
522
|
522
|
<div class="row"> |
|
523
|
523
|
<div class="col s12 m3 label"> |
|
524
|
|
- <label for="backblaze_bucket_name"><?php echo __("BackBlaze Bucket Name",'xcloner-backup-and-restore')?></label> |
|
|
524
|
+ <label for="backblaze_bucket_name"><?php echo __("BackBlaze Bucket Name", 'xcloner-backup-and-restore')?></label> |
|
525
|
525
|
</div> |
|
526
|
526
|
<div class=" col s12 m6"> |
|
527
|
|
- <input placeholder="<?php echo __("BackBlaze Bucket Name",'xcloner-backup-and-restore')?>" id="backblaze_bucket_name" type="text" name="xcloner_backblaze_bucket_name" class="validate" value="<?php echo get_option("xcloner_backblaze_bucket_name")?>" autocomplete="off" > |
|
|
527
|
+ <input placeholder="<?php echo __("BackBlaze Bucket Name", 'xcloner-backup-and-restore')?>" id="backblaze_bucket_name" type="text" name="xcloner_backblaze_bucket_name" class="validate" value="<?php echo get_option("xcloner_backblaze_bucket_name")?>" autocomplete="off" > |
|
528
|
528
|
</div> |
|
529
|
529
|
</div> |
|
530
|
530
|
|
|
531
|
531
|
<div class="row"> |
|
532
|
532
|
<div class="col s12 m3 label"> |
|
533
|
|
- <label for="backblaze_cleanup_days"><?php echo __("BackBlaze Cleanup (days)",'xcloner-backup-and-restore')?></label> |
|
|
533
|
+ <label for="backblaze_cleanup_days"><?php echo __("BackBlaze Cleanup (days)", 'xcloner-backup-and-restore')?></label> |
|
534
|
534
|
</div> |
|
535
|
535
|
<div class=" col s12 m6"> |
|
536
|
|
- <input placeholder="<?php echo __("how many days to keep the backups for",'xcloner-backup-and-restore')?>" id="backblaze_cleanup_days" type="text" name="xcloner_backblaze_cleanup_days" class="validate" value="<?php echo get_option("xcloner_backblaze_cleanup_days")?>"> |
|
|
536
|
+ <input placeholder="<?php echo __("how many days to keep the backups for", 'xcloner-backup-and-restore')?>" id="backblaze_cleanup_days" type="text" name="xcloner_backblaze_cleanup_days" class="validate" value="<?php echo get_option("xcloner_backblaze_cleanup_days")?>"> |
|
537
|
537
|
</div> |
|
538
|
538
|
</div> |
|
539
|
539
|
|
|
540
|
540
|
<div class="row"> |
|
541
|
541
|
<div class="col s6 m4"> |
|
542
|
|
- <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="backblaze"><?php echo __("Save Settings",'xcloner-backup-and-restore')?> |
|
|
542
|
+ <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="backblaze"><?php echo __("Save Settings", 'xcloner-backup-and-restore')?> |
|
543
|
543
|
<i class="material-icons right">save</i> |
|
544
|
544
|
</button> |
|
545
|
545
|
</div> |
|
546
|
546
|
<div class="col s6 m4"> |
|
547
|
|
- <button class="btn waves-effect waves-light orange" type="submit" name="action" id="action" value="backblaze" onclick="jQuery('#connection_check').val('1')"><?php echo __("Verify",'xcloner-backup-and-restore')?> |
|
|
547
|
+ <button class="btn waves-effect waves-light orange" type="submit" name="action" id="action" value="backblaze" onclick="jQuery('#connection_check').val('1')"><?php echo __("Verify", 'xcloner-backup-and-restore')?> |
|
548
|
548
|
<i class="material-icons right">import_export</i> |
|
549
|
549
|
</button> |
|
550
|
550
|
</div> |