|
@@ -3,7 +3,7 @@ discard block |
|
|
block discarded – undo |
|
3
|
3
|
|
|
4
|
4
|
$gdrive_auth_url = ""; |
|
5
|
5
|
|
|
6
|
|
-if(method_exists($remote_storage, "get_gdrive_auth_url")) |
|
|
6
|
+if (method_exists($remote_storage, "get_gdrive_auth_url")) |
|
7
|
7
|
$gdrive_auth_url = $remote_storage->get_gdrive_auth_url(); |
|
8
|
8
|
|
|
9
|
9
|
$gdrive_construct = $remote_storage->gdrive_construct(); |
|
@@ -20,12 +20,12 @@ discard block |
|
|
block discarded – undo |
|
20
|
20
|
<!-- FTP STORAGE--> |
|
21
|
21
|
<li id="ftp"> |
|
22
|
22
|
<div class="collapsible-header"> |
|
23
|
|
- <i class="material-icons">computer</i><?php echo __("FTP Storage",'xcloner-backup-and-restore')?> |
|
|
23
|
+ <i class="material-icons">computer</i><?php echo __("FTP Storage", 'xcloner-backup-and-restore')?> |
|
24
|
24
|
<div class="right"> |
|
25
|
25
|
<div class="switch"> |
|
26
|
26
|
<label> |
|
27
|
27
|
Off |
|
28
|
|
- <input type="checkbox" name="xcloner_ftp_enable" class="status" value="1" <?php if(get_option("xcloner_ftp_enable")) echo "checked"?> \> |
|
|
28
|
+ <input type="checkbox" name="xcloner_ftp_enable" class="status" value="1" <?php if (get_option("xcloner_ftp_enable")) echo "checked"?> \> |
|
29
|
29
|
<span class="lever"></span> |
|
30
|
30
|
On |
|
31
|
31
|
</label> |
|
@@ -35,96 +35,96 @@ discard block |
|
|
block discarded – undo |
|
35
|
35
|
<div class="collapsible-body"> |
|
36
|
36
|
<div class="row"> |
|
37
|
37
|
<div class="col s12 m3 label"> |
|
38
|
|
- <label for="ftp_host"><?php echo __("Ftp Hostname",'xcloner-backup-and-restore')?></label> |
|
|
38
|
+ <label for="ftp_host"><?php echo __("Ftp Hostname", 'xcloner-backup-and-restore')?></label> |
|
39
|
39
|
</div> |
|
40
|
40
|
<div class="col s12 m6"> |
|
41
|
|
- <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")?>"> |
|
|
41
|
+ <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")?>"> |
|
42
|
42
|
</div> |
|
43
|
43
|
<div class=" col s12 m2"> |
|
44
|
|
- <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)?>"> |
|
|
44
|
+ <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)?>"> |
|
45
|
45
|
</div> |
|
46
|
46
|
</div> |
|
47
|
47
|
|
|
48
|
48
|
<div class="row"> |
|
49
|
49
|
<div class="col s12 m3 label"> |
|
50
|
|
- <label for="ftp_username"><?php echo __("Ftp Username",'xcloner-backup-and-restore')?></label> |
|
|
50
|
+ <label for="ftp_username"><?php echo __("Ftp Username", 'xcloner-backup-and-restore')?></label> |
|
51
|
51
|
</div> |
|
52
|
52
|
<div class=" col s12 m6"> |
|
53
|
|
- <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" > |
|
|
53
|
+ <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" > |
|
54
|
54
|
</div> |
|
55
|
55
|
</div> |
|
56
|
56
|
|
|
57
|
57
|
|
|
58
|
58
|
<div class="row"> |
|
59
|
59
|
<div class="col s12 m3 label"> |
|
60
|
|
- <label for="ftp_password"><?php echo __("Ftp Password",'xcloner-backup-and-restore')?></label> |
|
|
60
|
+ <label for="ftp_password"><?php echo __("Ftp Password", 'xcloner-backup-and-restore')?></label> |
|
61
|
61
|
</div> |
|
62
|
62
|
<div class=" col s12 m6"> |
|
63
|
|
- <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" > |
|
|
63
|
+ <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" > |
|
64
|
64
|
</div> |
|
65
|
65
|
</div> |
|
66
|
66
|
|
|
67
|
67
|
<div class="row"> |
|
68
|
68
|
<div class="col s12 m3 label"> |
|
69
|
|
- <label for="ftp_root"><?php echo __("Ftp Storage Folder",'xcloner-backup-and-restore')?></label> |
|
|
69
|
+ <label for="ftp_root"><?php echo __("Ftp Storage Folder", 'xcloner-backup-and-restore')?></label> |
|
70
|
70
|
</div> |
|
71
|
71
|
<div class=" col s12 m6"> |
|
72
|
|
- <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")?>"> |
|
|
72
|
+ <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")?>"> |
|
73
|
73
|
</div> |
|
74
|
74
|
</div> |
|
75
|
75
|
|
|
76
|
76
|
<div class="row"> |
|
77
|
77
|
<div class="col s12 m3 label"> |
|
78
|
|
- <label for="ftp_root"><?php echo __("Ftp Transfer Mode",'xcloner-backup-and-restore')?></label> |
|
|
78
|
+ <label for="ftp_root"><?php echo __("Ftp Transfer Mode", 'xcloner-backup-and-restore')?></label> |
|
79
|
79
|
</div> |
|
80
|
80
|
<div class=" col s12 m6 input-field inline"> |
|
81
|
|
- <input name="xcloner_ftp_transfer_mode" type="radio" id="passive" value="1" <?php if(get_option("xcloner_ftp_transfer_mode", 1)) echo "checked"?> /> |
|
82
|
|
- <label for="passive"><?php echo __("Passive",'xcloner-backup-and-restore')?></label> |
|
|
81
|
+ <input name="xcloner_ftp_transfer_mode" type="radio" id="passive" value="1" <?php if (get_option("xcloner_ftp_transfer_mode", 1)) echo "checked"?> /> |
|
|
82
|
+ <label for="passive"><?php echo __("Passive", 'xcloner-backup-and-restore')?></label> |
|
83
|
83
|
|
|
84
|
|
- <input name="xcloner_ftp_transfer_mode" type="radio" id="active" value="0" <?php if(!get_option("xcloner_ftp_transfer_mode", 1)) echo "checked"?> /> |
|
85
|
|
- <label for="active"><?php echo __("Active",'xcloner-backup-and-restore')?></label> |
|
|
84
|
+ <input name="xcloner_ftp_transfer_mode" type="radio" id="active" value="0" <?php if (!get_option("xcloner_ftp_transfer_mode", 1)) echo "checked"?> /> |
|
|
85
|
+ <label for="active"><?php echo __("Active", 'xcloner-backup-and-restore')?></label> |
|
86
|
86
|
</div> |
|
87
|
87
|
</div> |
|
88
|
88
|
|
|
89
|
89
|
<div class="row"> |
|
90
|
90
|
<div class="col s12 m3 label"> |
|
91
|
|
- <label for="ftp_ssl_mode"><?php echo __("Ftp Secure Connection",'xcloner-backup-and-restore')?></label> |
|
|
91
|
+ <label for="ftp_ssl_mode"><?php echo __("Ftp Secure Connection", 'xcloner-backup-and-restore')?></label> |
|
92
|
92
|
</div> |
|
93
|
93
|
<div class=" col s12 m6 input-field inline"> |
|
94
|
|
- <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"?> /> |
|
95
|
|
- <label for="ftp_ssl_mode_inactive"><?php echo __("Disable",'xcloner-backup-and-restore')?></label> |
|
|
94
|
+ <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"?> /> |
|
|
95
|
+ <label for="ftp_ssl_mode_inactive"><?php echo __("Disable", 'xcloner-backup-and-restore')?></label> |
|
96
|
96
|
|
|
97
|
|
- <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"?> /> |
|
98
|
|
- <label for="ftp_ssl_mode_active"><?php echo __("Enable",'xcloner-backup-and-restore')?></label> |
|
|
97
|
+ <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"?> /> |
|
|
98
|
+ <label for="ftp_ssl_mode_active"><?php echo __("Enable", 'xcloner-backup-and-restore')?></label> |
|
99
|
99
|
</div> |
|
100
|
100
|
</div> |
|
101
|
101
|
|
|
102
|
102
|
<div class="row"> |
|
103
|
103
|
<div class="col s12 m3 label"> |
|
104
|
|
- <label for="ftp_timeout"><?php echo __("Ftp Timeout",'xcloner-backup-and-restore')?></label> |
|
|
104
|
+ <label for="ftp_timeout"><?php echo __("Ftp Timeout", 'xcloner-backup-and-restore')?></label> |
|
105
|
105
|
</div> |
|
106
|
106
|
<div class=" col s12 m2"> |
|
107
|
|
- <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)?>"> |
|
|
107
|
+ <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)?>"> |
|
108
|
108
|
</div> |
|
109
|
109
|
</div> |
|
110
|
110
|
|
|
111
|
111
|
<div class="row"> |
|
112
|
112
|
<div class="col s12 m3 label"> |
|
113
|
|
- <label for="ftp_cleanup_days"><?php echo __("Ftp Cleanup (days)",'xcloner-backup-and-restore')?></label> |
|
|
113
|
+ <label for="ftp_cleanup_days"><?php echo __("Ftp Cleanup (days)", 'xcloner-backup-and-restore')?></label> |
|
114
|
114
|
</div> |
|
115
|
115
|
<div class=" col s12 m6"> |
|
116
|
|
- <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")?>"> |
|
|
116
|
+ <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")?>"> |
|
117
|
117
|
</div> |
|
118
|
118
|
</div> |
|
119
|
119
|
|
|
120
|
120
|
<div class="row"> |
|
121
|
121
|
<div class="col s6 m4"> |
|
122
|
|
- <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="ftp"><?php echo __("Save Settings",'xcloner-backup-and-restore')?> |
|
|
122
|
+ <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="ftp"><?php echo __("Save Settings", 'xcloner-backup-and-restore')?> |
|
123
|
123
|
<i class="material-icons right">save</i> |
|
124
|
124
|
</button> |
|
125
|
125
|
</div> |
|
126
|
126
|
<div class="col s6 m4"> |
|
127
|
|
- <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')?> |
|
|
127
|
+ <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')?> |
|
128
|
128
|
<i class="material-icons right">import_export</i> |
|
129
|
129
|
</button> |
|
130
|
130
|
</div> |
|
@@ -135,12 +135,12 @@ discard block |
|
|
block discarded – undo |
|
135
|
135
|
<!-- SFTP STORAGE--> |
|
136
|
136
|
<li id="sftp"> |
|
137
|
137
|
<div class="collapsible-header"> |
|
138
|
|
- <i class="material-icons">computer</i><?php echo __("SFTP Storage",'xcloner-backup-and-restore')?> |
|
|
138
|
+ <i class="material-icons">computer</i><?php echo __("SFTP Storage", 'xcloner-backup-and-restore')?> |
|
139
|
139
|
<div class="right"> |
|
140
|
140
|
<div class="switch"> |
|
141
|
141
|
<label> |
|
142
|
142
|
Off |
|
143
|
|
- <input type="checkbox" name="xcloner_sftp_enable" class="status" value="1" <?php if(get_option("xcloner_sftp_enable")) echo "checked"?> \> |
|
|
143
|
+ <input type="checkbox" name="xcloner_sftp_enable" class="status" value="1" <?php if (get_option("xcloner_sftp_enable")) echo "checked"?> \> |
|
144
|
144
|
<span class="lever"></span> |
|
145
|
145
|
On |
|
146
|
146
|
</label> |
|
@@ -150,79 +150,79 @@ discard block |
|
|
block discarded – undo |
|
150
|
150
|
<div class="collapsible-body"> |
|
151
|
151
|
<div class="row"> |
|
152
|
152
|
<div class="col s12 m3 label"> |
|
153
|
|
- <label for="sftp_host"><?php echo __("SFTP Hostname",'xcloner-backup-and-restore')?></label> |
|
|
153
|
+ <label for="sftp_host"><?php echo __("SFTP Hostname", 'xcloner-backup-and-restore')?></label> |
|
154
|
154
|
</div> |
|
155
|
155
|
<div class="col s12 m6"> |
|
156
|
|
- <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")?>"> |
|
|
156
|
+ <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")?>"> |
|
157
|
157
|
</div> |
|
158
|
158
|
<div class=" col s12 m2"> |
|
159
|
|
- <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)?>"> |
|
|
159
|
+ <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)?>"> |
|
160
|
160
|
</div> |
|
161
|
161
|
</div> |
|
162
|
162
|
|
|
163
|
163
|
<div class="row"> |
|
164
|
164
|
<div class="col s12 m3 label"> |
|
165
|
|
- <label for="sftp_username"><?php echo __("SFTP Username",'xcloner-backup-and-restore')?></label> |
|
|
165
|
+ <label for="sftp_username"><?php echo __("SFTP Username", 'xcloner-backup-and-restore')?></label> |
|
166
|
166
|
</div> |
|
167
|
167
|
<div class=" col s12 m6"> |
|
168
|
|
- <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" > |
|
|
168
|
+ <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" > |
|
169
|
169
|
</div> |
|
170
|
170
|
</div> |
|
171
|
171
|
|
|
172
|
172
|
|
|
173
|
173
|
<div class="row"> |
|
174
|
174
|
<div class="col s12 m3 label"> |
|
175
|
|
- <label for="sftp_password"><?php echo __("SFTP Password",'xcloner-backup-and-restore')?></label> |
|
|
175
|
+ <label for="sftp_password"><?php echo __("SFTP Password", 'xcloner-backup-and-restore')?></label> |
|
176
|
176
|
</div> |
|
177
|
177
|
<div class=" col s12 m6"> |
|
178
|
|
- <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" > |
|
|
178
|
+ <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" > |
|
179
|
179
|
</div> |
|
180
|
180
|
</div> |
|
181
|
181
|
|
|
182
|
182
|
<div class="row"> |
|
183
|
183
|
<div class="col s12 m3 label"> |
|
184
|
|
- <label for="sftp_private_key"><?php echo __("SFTP Private Key(RSA)",'xcloner-backup-and-restore')?></label> |
|
|
184
|
+ <label for="sftp_private_key"><?php echo __("SFTP Private Key(RSA)", 'xcloner-backup-and-restore')?></label> |
|
185
|
185
|
</div> |
|
186
|
186
|
<div class=" col s12 m6"> |
|
187
|
|
- <textarea rows="5" placeholder="<?php echo __("Local Server Path or Contents of the SFTP Private Key RSA File",'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")?></textarea> |
|
|
187
|
+ <textarea rows="5" placeholder="<?php echo __("Local Server Path or Contents of the SFTP Private Key RSA File", '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")?></textarea> |
|
188
|
188
|
</div> |
|
189
|
189
|
</div> |
|
190
|
190
|
|
|
191
|
191
|
<div class="row"> |
|
192
|
192
|
<div class="col s12 m3 label"> |
|
193
|
|
- <label for="sftp_root"><?php echo __("SFTP Storage Folder",'xcloner-backup-and-restore')?></label> |
|
|
193
|
+ <label for="sftp_root"><?php echo __("SFTP Storage Folder", 'xcloner-backup-and-restore')?></label> |
|
194
|
194
|
</div> |
|
195
|
195
|
<div class=" col s12 m6"> |
|
196
|
|
- <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")?>"> |
|
|
196
|
+ <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")?>"> |
|
197
|
197
|
</div> |
|
198
|
198
|
</div> |
|
199
|
199
|
|
|
200
|
200
|
<div class="row"> |
|
201
|
201
|
<div class="col s12 m3 label"> |
|
202
|
|
- <label for="sftp_timeout"><?php echo __("SFTP Timeout",'xcloner-backup-and-restore')?></label> |
|
|
202
|
+ <label for="sftp_timeout"><?php echo __("SFTP Timeout", 'xcloner-backup-and-restore')?></label> |
|
203
|
203
|
</div> |
|
204
|
204
|
<div class=" col s12 m2"> |
|
205
|
|
- <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)?>"> |
|
|
205
|
+ <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)?>"> |
|
206
|
206
|
</div> |
|
207
|
207
|
</div> |
|
208
|
208
|
|
|
209
|
209
|
<div class="row"> |
|
210
|
210
|
<div class="col s12 m3 label"> |
|
211
|
|
- <label for="sftp_cleanup_days"><?php echo __("SFTP Cleanup (days)",'xcloner-backup-and-restore')?></label> |
|
|
211
|
+ <label for="sftp_cleanup_days"><?php echo __("SFTP Cleanup (days)", 'xcloner-backup-and-restore')?></label> |
|
212
|
212
|
</div> |
|
213
|
213
|
<div class=" col s12 m6"> |
|
214
|
|
- <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")?>"> |
|
|
214
|
+ <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")?>"> |
|
215
|
215
|
</div> |
|
216
|
216
|
</div> |
|
217
|
217
|
|
|
218
|
218
|
<div class="row"> |
|
219
|
219
|
<div class="col s6 m4"> |
|
220
|
|
- <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="sftp"><?php echo __("Save Settings",'xcloner-backup-and-restore')?> |
|
|
220
|
+ <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="sftp"><?php echo __("Save Settings", 'xcloner-backup-and-restore')?> |
|
221
|
221
|
<i class="material-icons right">save</i> |
|
222
|
222
|
</button> |
|
223
|
223
|
</div> |
|
224
|
224
|
<div class="col s6 m4"> |
|
225
|
|
- <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')?> |
|
|
225
|
+ <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')?> |
|
226
|
226
|
<i class="material-icons right">import_export</i> |
|
227
|
227
|
</button> |
|
228
|
228
|
</div> |
|
@@ -234,12 +234,12 @@ discard block |
|
|
block discarded – undo |
|
234
|
234
|
<!-- AWS STORAGE--> |
|
235
|
235
|
<li id="aws"> |
|
236
|
236
|
<div class="collapsible-header"> |
|
237
|
|
- <i class="material-icons">computer</i><?php echo __("AWS Storage",'xcloner-backup-and-restore')?> |
|
|
237
|
+ <i class="material-icons">computer</i><?php echo __("AWS Storage", 'xcloner-backup-and-restore')?> |
|
238
|
238
|
<div class="right"> |
|
239
|
239
|
<div class="switch"> |
|
240
|
240
|
<label> |
|
241
|
241
|
Off |
|
242
|
|
- <input type="checkbox" name="xcloner_aws_enable" class="status" value="1" <?php if(get_option("xcloner_aws_enable")) echo "checked"?> \> |
|
|
242
|
+ <input type="checkbox" name="xcloner_aws_enable" class="status" value="1" <?php if (get_option("xcloner_aws_enable")) echo "checked"?> \> |
|
243
|
243
|
<span class="lever"></span> |
|
244
|
244
|
On |
|
245
|
245
|
</label> |
|
@@ -261,35 +261,35 @@ discard block |
|
|
block discarded – undo |
|
261
|
261
|
|
|
262
|
262
|
<div class="row"> |
|
263
|
263
|
<div class="col s12 m3 label"> |
|
264
|
|
- <label for="aws_key"><?php echo __("AWS Key",'xcloner-backup-and-restore')?></label> |
|
|
264
|
+ <label for="aws_key"><?php echo __("AWS Key", 'xcloner-backup-and-restore')?></label> |
|
265
|
265
|
</div> |
|
266
|
266
|
<div class=" col s12 m6"> |
|
267
|
|
- <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" > |
|
|
267
|
+ <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" > |
|
268
|
268
|
</div> |
|
269
|
269
|
</div> |
|
270
|
270
|
|
|
271
|
271
|
<div class="row"> |
|
272
|
272
|
<div class="col s12 m3 label"> |
|
273
|
|
- <label for="aws_secret"><?php echo __("AWS Secret",'xcloner-backup-and-restore')?></label> |
|
|
273
|
+ <label for="aws_secret"><?php echo __("AWS Secret", 'xcloner-backup-and-restore')?></label> |
|
274
|
274
|
</div> |
|
275
|
275
|
<div class=" col s12 m6"> |
|
276
|
|
- <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" > |
|
|
276
|
+ <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" > |
|
277
|
277
|
</div> |
|
278
|
278
|
</div> |
|
279
|
279
|
|
|
280
|
280
|
<div class="row"> |
|
281
|
281
|
<div class="col s12 m3 label"> |
|
282
|
|
- <label for="aws_region"><?php echo __("AWS Region",'xcloner-backup-and-restore')?></label> |
|
|
282
|
+ <label for="aws_region"><?php echo __("AWS Region", 'xcloner-backup-and-restore')?></label> |
|
283
|
283
|
</div> |
|
284
|
284
|
<div class=" col s12 m6"> |
|
285
|
|
- <select placeholder="<?php echo __("example: us-east-1",'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" > |
|
|
285
|
+ <select placeholder="<?php echo __("example: us-east-1", '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" > |
|
286
|
286
|
<option readonly value=""><?php echo __("Please Select AWS Region")?></option> |
|
287
|
287
|
<?php |
|
288
|
288
|
$aws_regions = $remote_storage->get_aws_regions(); |
|
289
|
289
|
|
|
290
|
|
- foreach($aws_regions as $key=>$region){ |
|
|
290
|
+ foreach ($aws_regions as $key=>$region) { |
|
291
|
291
|
?> |
|
292
|
|
- <option value="<?php echo $key?>" <?php echo ($key == get_option('xcloner_aws_region')?"selected":"")?>><?php echo $region?> = <?php echo $key?></option> |
|
|
292
|
+ <option value="<?php echo $key?>" <?php echo ($key == get_option('xcloner_aws_region') ? "selected" : "")?>><?php echo $region?> = <?php echo $key?></option> |
|
293
|
293
|
<?php |
|
294
|
294
|
} |
|
295
|
295
|
?> |
|
@@ -299,30 +299,30 @@ discard block |
|
|
block discarded – undo |
|
299
|
299
|
|
|
300
|
300
|
<div class="row"> |
|
301
|
301
|
<div class="col s12 m3 label"> |
|
302
|
|
- <label for="aws_bucket_name"><?php echo __("AWS Bucket Name",'xcloner-backup-and-restore')?></label> |
|
|
302
|
+ <label for="aws_bucket_name"><?php echo __("AWS Bucket Name", 'xcloner-backup-and-restore')?></label> |
|
303
|
303
|
</div> |
|
304
|
304
|
<div class=" col s12 m6"> |
|
305
|
|
- <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" > |
|
|
305
|
+ <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" > |
|
306
|
306
|
</div> |
|
307
|
307
|
</div> |
|
308
|
308
|
|
|
309
|
309
|
<div class="row"> |
|
310
|
310
|
<div class="col s12 m3 label"> |
|
311
|
|
- <label for="aws_cleanup_days"><?php echo __("AWS Cleanup (days)",'xcloner-backup-and-restore')?></label> |
|
|
311
|
+ <label for="aws_cleanup_days"><?php echo __("AWS Cleanup (days)", 'xcloner-backup-and-restore')?></label> |
|
312
|
312
|
</div> |
|
313
|
313
|
<div class=" col s12 m6"> |
|
314
|
|
- <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")?>"> |
|
|
314
|
+ <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")?>"> |
|
315
|
315
|
</div> |
|
316
|
316
|
</div> |
|
317
|
317
|
|
|
318
|
318
|
<div class="row"> |
|
319
|
319
|
<div class="col s6 m4"> |
|
320
|
|
- <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="aws"><?php echo __("Save Settings",'xcloner-backup-and-restore')?> |
|
|
320
|
+ <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="aws"><?php echo __("Save Settings", 'xcloner-backup-and-restore')?> |
|
321
|
321
|
<i class="material-icons right">save</i> |
|
322
|
322
|
</button> |
|
323
|
323
|
</div> |
|
324
|
324
|
<div class="col s6 m4"> |
|
325
|
|
- <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')?> |
|
|
325
|
+ <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')?> |
|
326
|
326
|
<i class="material-icons right">import_export</i> |
|
327
|
327
|
</button> |
|
328
|
328
|
</div> |
|
@@ -334,12 +334,12 @@ discard block |
|
|
block discarded – undo |
|
334
|
334
|
<!-- DROPBOX STORAGE--> |
|
335
|
335
|
<li id="dropbox"> |
|
336
|
336
|
<div class="collapsible-header"> |
|
337
|
|
- <i class="material-icons">computer</i><?php echo __("Dropbox Storage",'xcloner-backup-and-restore')?> |
|
|
337
|
+ <i class="material-icons">computer</i><?php echo __("Dropbox Storage", 'xcloner-backup-and-restore')?> |
|
338
|
338
|
<div class="right"> |
|
339
|
339
|
<div class="switch"> |
|
340
|
340
|
<label> |
|
341
|
341
|
Off |
|
342
|
|
- <input type="checkbox" name="xcloner_dropbox_enable" class="status" value="1" <?php if(get_option("xcloner_dropbox_enable")) echo "checked"?> \> |
|
|
342
|
+ <input type="checkbox" name="xcloner_dropbox_enable" class="status" value="1" <?php if (get_option("xcloner_dropbox_enable")) echo "checked"?> \> |
|
343
|
343
|
<span class="lever"></span> |
|
344
|
344
|
On |
|
345
|
345
|
</label> |
|
@@ -361,49 +361,49 @@ discard block |
|
|
block discarded – undo |
|
361
|
361
|
|
|
362
|
362
|
<div class="row"> |
|
363
|
363
|
<div class="col s12 m3 label"> |
|
364
|
|
- <label for="dropbox_access_token"><?php echo __("Dropbox Access Token",'xcloner-backup-and-restore')?></label> |
|
|
364
|
+ <label for="dropbox_access_token"><?php echo __("Dropbox Access Token", 'xcloner-backup-and-restore')?></label> |
|
365
|
365
|
</div> |
|
366
|
366
|
<div class=" col s12 m6"> |
|
367
|
|
- <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" > |
|
|
367
|
+ <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" > |
|
368
|
368
|
</div> |
|
369
|
369
|
</div> |
|
370
|
370
|
|
|
371
|
371
|
|
|
372
|
372
|
<div class="row"> |
|
373
|
373
|
<div class="col s12 m3 label"> |
|
374
|
|
- <label for="dropbox_app_secret"><?php echo __("Dropbox App Secret",'xcloner-backup-and-restore')?></label> |
|
|
374
|
+ <label for="dropbox_app_secret"><?php echo __("Dropbox App Secret", 'xcloner-backup-and-restore')?></label> |
|
375
|
375
|
</div> |
|
376
|
376
|
<div class=" col s12 m6"> |
|
377
|
|
- <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" > |
|
|
377
|
+ <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" > |
|
378
|
378
|
</div> |
|
379
|
379
|
</div> |
|
380
|
380
|
|
|
381
|
381
|
<div class="row"> |
|
382
|
382
|
<div class="col s12 m3 label"> |
|
383
|
|
- <label for="dropbox_prefix"><?php echo __("Dropbox Prefix",'xcloner-backup-and-restore')?></label> |
|
|
383
|
+ <label for="dropbox_prefix"><?php echo __("Dropbox Prefix", 'xcloner-backup-and-restore')?></label> |
|
384
|
384
|
</div> |
|
385
|
385
|
<div class=" col s12 m6"> |
|
386
|
|
- <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")?>"> |
|
|
386
|
+ <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")?>"> |
|
387
|
387
|
</div> |
|
388
|
388
|
</div> |
|
389
|
389
|
|
|
390
|
390
|
<div class="row"> |
|
391
|
391
|
<div class="col s12 m3 label"> |
|
392
|
|
- <label for="dropbox_cleanup_days"><?php echo __("Dropbox Cleanup (days)",'xcloner-backup-and-restore')?></label> |
|
|
392
|
+ <label for="dropbox_cleanup_days"><?php echo __("Dropbox Cleanup (days)", 'xcloner-backup-and-restore')?></label> |
|
393
|
393
|
</div> |
|
394
|
394
|
<div class=" col s12 m6"> |
|
395
|
|
- <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")?>"> |
|
|
395
|
+ <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")?>"> |
|
396
|
396
|
</div> |
|
397
|
397
|
</div> |
|
398
|
398
|
|
|
399
|
399
|
<div class="row"> |
|
400
|
400
|
<div class="col s6 m4"> |
|
401
|
|
- <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="dropbox"><?php echo __("Save Settings",'xcloner-backup-and-restore')?> |
|
|
401
|
+ <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="dropbox"><?php echo __("Save Settings", 'xcloner-backup-and-restore')?> |
|
402
|
402
|
<i class="material-icons right">save</i> |
|
403
|
403
|
</button> |
|
404
|
404
|
</div> |
|
405
|
405
|
<div class="col s6 m4"> |
|
406
|
|
- <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')?> |
|
|
406
|
+ <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')?> |
|
407
|
407
|
<i class="material-icons right">import_export</i> |
|
408
|
408
|
</button> |
|
409
|
409
|
</div> |
|
@@ -415,12 +415,12 @@ discard block |
|
|
block discarded – undo |
|
415
|
415
|
<!-- AZURE STORAGE--> |
|
416
|
416
|
<li id="azure"> |
|
417
|
417
|
<div class="collapsible-header"> |
|
418
|
|
- <i class="material-icons">computer</i><?php echo __("Azure Blog Storage",'xcloner-backup-and-restore')?> |
|
|
418
|
+ <i class="material-icons">computer</i><?php echo __("Azure Blog Storage", 'xcloner-backup-and-restore')?> |
|
419
|
419
|
<div class="right"> |
|
420
|
420
|
<div class="switch"> |
|
421
|
421
|
<label> |
|
422
|
422
|
Off |
|
423
|
|
- <input type="checkbox" name="xcloner_azure_enable" class="status" value="1" <?php if(get_option("xcloner_azure_enable")) echo "checked"?> \> |
|
|
423
|
+ <input type="checkbox" name="xcloner_azure_enable" class="status" value="1" <?php if (get_option("xcloner_azure_enable")) echo "checked"?> \> |
|
424
|
424
|
<span class="lever"></span> |
|
425
|
425
|
On |
|
426
|
426
|
</label> |
|
@@ -435,56 +435,56 @@ discard block |
|
|
block discarded – undo |
|
435
|
435
|
</div> |
|
436
|
436
|
<div class=" col s12 m6"> |
|
437
|
437
|
<p> |
|
438
|
|
- <?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>')?> |
|
|
438
|
+ <?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>')?> |
|
439
|
439
|
</p> |
|
440
|
440
|
</div> |
|
441
|
441
|
</div> |
|
442
|
442
|
|
|
443
|
443
|
<div class="row"> |
|
444
|
444
|
<div class="col s12 m3 label"> |
|
445
|
|
- <label for="azure_account_name"><?php echo __("Azure Account Name",'xcloner-backup-and-restore')?></label> |
|
|
445
|
+ <label for="azure_account_name"><?php echo __("Azure Account Name", 'xcloner-backup-and-restore')?></label> |
|
446
|
446
|
</div> |
|
447
|
447
|
<div class=" col s12 m6"> |
|
448
|
|
- <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" > |
|
|
448
|
+ <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" > |
|
449
|
449
|
</div> |
|
450
|
450
|
</div> |
|
451
|
451
|
|
|
452
|
452
|
|
|
453
|
453
|
<div class="row"> |
|
454
|
454
|
<div class="col s12 m3 label"> |
|
455
|
|
- <label for="azure_api_key"><?php echo __("Azure Api Key",'xcloner-backup-and-restore')?></label> |
|
|
455
|
+ <label for="azure_api_key"><?php echo __("Azure Api Key", 'xcloner-backup-and-restore')?></label> |
|
456
|
456
|
</div> |
|
457
|
457
|
<div class=" col s12 m6"> |
|
458
|
|
- <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" > |
|
|
458
|
+ <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" > |
|
459
|
459
|
</div> |
|
460
|
460
|
</div> |
|
461
|
461
|
|
|
462
|
462
|
<div class="row"> |
|
463
|
463
|
<div class="col s12 m3 label"> |
|
464
|
|
- <label for="azure_container"><?php echo __("Azure Container",'xcloner-backup-and-restore')?></label> |
|
|
464
|
+ <label for="azure_container"><?php echo __("Azure Container", 'xcloner-backup-and-restore')?></label> |
|
465
|
465
|
</div> |
|
466
|
466
|
<div class=" col s12 m6"> |
|
467
|
|
- <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")?>"> |
|
|
467
|
+ <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")?>"> |
|
468
|
468
|
</div> |
|
469
|
469
|
</div> |
|
470
|
470
|
|
|
471
|
471
|
<div class="row"> |
|
472
|
472
|
<div class="col s12 m3 label"> |
|
473
|
|
- <label for="azure_cleanup_days"><?php echo __("Azure Cleanup (days)",'xcloner-backup-and-restore')?></label> |
|
|
473
|
+ <label for="azure_cleanup_days"><?php echo __("Azure Cleanup (days)", 'xcloner-backup-and-restore')?></label> |
|
474
|
474
|
</div> |
|
475
|
475
|
<div class=" col s12 m6"> |
|
476
|
|
- <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")?>"> |
|
|
476
|
+ <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")?>"> |
|
477
|
477
|
</div> |
|
478
|
478
|
</div> |
|
479
|
479
|
|
|
480
|
480
|
<div class="row"> |
|
481
|
481
|
<div class="col s6 m4"> |
|
482
|
|
- <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="azure"><?php echo __("Save Settings",'xcloner-backup-and-restore')?> |
|
|
482
|
+ <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="azure"><?php echo __("Save Settings", 'xcloner-backup-and-restore')?> |
|
483
|
483
|
<i class="material-icons right">save</i> |
|
484
|
484
|
</button> |
|
485
|
485
|
</div> |
|
486
|
486
|
<div class="col s6 m4"> |
|
487
|
|
- <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')?> |
|
|
487
|
+ <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')?> |
|
488
|
488
|
<i class="material-icons right">import_export</i> |
|
489
|
489
|
</button> |
|
490
|
490
|
</div> |
|
@@ -496,12 +496,12 @@ discard block |
|
|
block discarded – undo |
|
496
|
496
|
<!-- BACKBLAZE STORAGE--> |
|
497
|
497
|
<li id="backblaze"> |
|
498
|
498
|
<div class="collapsible-header"> |
|
499
|
|
- <i class="material-icons">computer</i><?php echo __("BackBlaze Storage",'xcloner-backup-and-restore')?> |
|
|
499
|
+ <i class="material-icons">computer</i><?php echo __("BackBlaze Storage", 'xcloner-backup-and-restore')?> |
|
500
|
500
|
<div class="right"> |
|
501
|
501
|
<div class="switch"> |
|
502
|
502
|
<label> |
|
503
|
503
|
Off |
|
504
|
|
- <input type="checkbox" name="xcloner_backblaze_enable" class="status" value="1" <?php if(get_option("xcloner_backblaze_enable")) echo "checked"?> \> |
|
|
504
|
+ <input type="checkbox" name="xcloner_backblaze_enable" class="status" value="1" <?php if (get_option("xcloner_backblaze_enable")) echo "checked"?> \> |
|
505
|
505
|
<span class="lever"></span> |
|
506
|
506
|
On |
|
507
|
507
|
</label> |
|
@@ -516,56 +516,56 @@ discard block |
|
|
block discarded – undo |
|
516
|
516
|
</div> |
|
517
|
517
|
<div class=" col s12 m6"> |
|
518
|
518
|
<p> |
|
519
|
|
- <?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>')?> |
|
|
519
|
+ <?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>')?> |
|
520
|
520
|
</p> |
|
521
|
521
|
</div> |
|
522
|
522
|
</div> |
|
523
|
523
|
|
|
524
|
524
|
<div class="row"> |
|
525
|
525
|
<div class="col s12 m3 label"> |
|
526
|
|
- <label for="backblaze_account_id"><?php echo __("BackBlaze Account Id",'xcloner-backup-and-restore')?></label> |
|
|
526
|
+ <label for="backblaze_account_id"><?php echo __("BackBlaze Account Id", 'xcloner-backup-and-restore')?></label> |
|
527
|
527
|
</div> |
|
528
|
528
|
<div class=" col s12 m6"> |
|
529
|
|
- <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" > |
|
|
529
|
+ <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" > |
|
530
|
530
|
</div> |
|
531
|
531
|
</div> |
|
532
|
532
|
|
|
533
|
533
|
|
|
534
|
534
|
<div class="row"> |
|
535
|
535
|
<div class="col s12 m3 label"> |
|
536
|
|
- <label for="backblaze_application_key"><?php echo __("BackBlaze Application Key",'xcloner-backup-and-restore')?></label> |
|
|
536
|
+ <label for="backblaze_application_key"><?php echo __("BackBlaze Application Key", 'xcloner-backup-and-restore')?></label> |
|
537
|
537
|
</div> |
|
538
|
538
|
<div class=" col s12 m6"> |
|
539
|
|
- <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" > |
|
|
539
|
+ <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" > |
|
540
|
540
|
</div> |
|
541
|
541
|
</div> |
|
542
|
542
|
|
|
543
|
543
|
<div class="row"> |
|
544
|
544
|
<div class="col s12 m3 label"> |
|
545
|
|
- <label for="backblaze_bucket_name"><?php echo __("BackBlaze Bucket Name",'xcloner-backup-and-restore')?></label> |
|
|
545
|
+ <label for="backblaze_bucket_name"><?php echo __("BackBlaze Bucket Name", 'xcloner-backup-and-restore')?></label> |
|
546
|
546
|
</div> |
|
547
|
547
|
<div class=" col s12 m6"> |
|
548
|
|
- <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" > |
|
|
548
|
+ <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" > |
|
549
|
549
|
</div> |
|
550
|
550
|
</div> |
|
551
|
551
|
|
|
552
|
552
|
<div class="row"> |
|
553
|
553
|
<div class="col s12 m3 label"> |
|
554
|
|
- <label for="backblaze_cleanup_days"><?php echo __("BackBlaze Cleanup (days)",'xcloner-backup-and-restore')?></label> |
|
|
554
|
+ <label for="backblaze_cleanup_days"><?php echo __("BackBlaze Cleanup (days)", 'xcloner-backup-and-restore')?></label> |
|
555
|
555
|
</div> |
|
556
|
556
|
<div class=" col s12 m6"> |
|
557
|
|
- <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")?>"> |
|
|
557
|
+ <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")?>"> |
|
558
|
558
|
</div> |
|
559
|
559
|
</div> |
|
560
|
560
|
|
|
561
|
561
|
<div class="row"> |
|
562
|
562
|
<div class="col s6 m4"> |
|
563
|
|
- <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="backblaze"><?php echo __("Save Settings",'xcloner-backup-and-restore')?> |
|
|
563
|
+ <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="backblaze"><?php echo __("Save Settings", 'xcloner-backup-and-restore')?> |
|
564
|
564
|
<i class="material-icons right">save</i> |
|
565
|
565
|
</button> |
|
566
|
566
|
</div> |
|
567
|
567
|
<div class="col s6 m4"> |
|
568
|
|
- <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')?> |
|
|
568
|
+ <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')?> |
|
569
|
569
|
<i class="material-icons right">import_export</i> |
|
570
|
570
|
</button> |
|
571
|
571
|
</div> |
|
@@ -577,12 +577,12 @@ discard block |
|
|
block discarded – undo |
|
577
|
577
|
<!-- WEBDAV STORAGE--> |
|
578
|
578
|
<li id="webdav"> |
|
579
|
579
|
<div class="collapsible-header"> |
|
580
|
|
- <i class="material-icons">computer</i><?php echo __("WebDAV Storage",'xcloner-backup-and-restore')?> |
|
|
580
|
+ <i class="material-icons">computer</i><?php echo __("WebDAV Storage", 'xcloner-backup-and-restore')?> |
|
581
|
581
|
<div class="right"> |
|
582
|
582
|
<div class="switch"> |
|
583
|
583
|
<label> |
|
584
|
584
|
Off |
|
585
|
|
- <input type="checkbox" name="xcloner_webdav_enable" class="status" value="1" <?php if(get_option("xcloner_webdav_enable")) echo "checked"?> \> |
|
|
585
|
+ <input type="checkbox" name="xcloner_webdav_enable" class="status" value="1" <?php if (get_option("xcloner_webdav_enable")) echo "checked"?> \> |
|
586
|
586
|
<span class="lever"></span> |
|
587
|
587
|
On |
|
588
|
588
|
</label> |
|
@@ -604,57 +604,57 @@ discard block |
|
|
block discarded – undo |
|
604
|
604
|
|
|
605
|
605
|
<div class="row"> |
|
606
|
606
|
<div class="col s12 m3 label"> |
|
607
|
|
- <label for="webdav_url"><?php echo __("WebDAV Base Url",'xcloner-backup-and-restore')?></label> |
|
|
607
|
+ <label for="webdav_url"><?php echo __("WebDAV Base Url", 'xcloner-backup-and-restore')?></label> |
|
608
|
608
|
</div> |
|
609
|
609
|
<div class=" col s12 m6"> |
|
610
|
|
- <input placeholder="<?php echo __("WebDAV Base Url",'xcloner-backup-and-restore')?>" id="webdav_url" type="text" name="xcloner_webdav_url" class="validate" value="<?php echo get_option("xcloner_webdav_url")?>" autocomplete="off" > |
|
|
610
|
+ <input placeholder="<?php echo __("WebDAV Base Url", 'xcloner-backup-and-restore')?>" id="webdav_url" type="text" name="xcloner_webdav_url" class="validate" value="<?php echo get_option("xcloner_webdav_url")?>" autocomplete="off" > |
|
611
|
611
|
</div> |
|
612
|
612
|
</div> |
|
613
|
613
|
|
|
614
|
614
|
<div class="row"> |
|
615
|
615
|
<div class="col s12 m3 label"> |
|
616
|
|
- <label for="webdav_username"><?php echo __("WebDAV Username",'xcloner-backup-and-restore')?></label> |
|
|
616
|
+ <label for="webdav_username"><?php echo __("WebDAV Username", 'xcloner-backup-and-restore')?></label> |
|
617
|
617
|
</div> |
|
618
|
618
|
<div class=" col s12 m6"> |
|
619
|
|
- <input placeholder="<?php echo __("WebDAV Username",'xcloner-backup-and-restore')?>" id="webdav_username" type="text" name="xcloner_webdav_username" class="validate" value="<?php echo get_option("xcloner_webdav_username")?>" autocomplete="off" > |
|
|
619
|
+ <input placeholder="<?php echo __("WebDAV Username", 'xcloner-backup-and-restore')?>" id="webdav_username" type="text" name="xcloner_webdav_username" class="validate" value="<?php echo get_option("xcloner_webdav_username")?>" autocomplete="off" > |
|
620
|
620
|
</div> |
|
621
|
621
|
</div> |
|
622
|
622
|
|
|
623
|
623
|
<div class="row"> |
|
624
|
624
|
<div class="col s12 m3 label"> |
|
625
|
|
- <label for="webdav_password"><?php echo __("WebDAV Password",'xcloner-backup-and-restore')?></label> |
|
|
625
|
+ <label for="webdav_password"><?php echo __("WebDAV Password", 'xcloner-backup-and-restore')?></label> |
|
626
|
626
|
</div> |
|
627
|
627
|
<div class=" col s12 m6"> |
|
628
|
|
- <input placeholder="<?php echo __("WebDAV Password",'xcloner-backup-and-restore')?>" id="webdav_password" type="password" name="xcloner_webdav_password" class="validate" value="<?php echo get_option("xcloner_webdav_password")?>" autocomplete="off" > |
|
|
628
|
+ <input placeholder="<?php echo __("WebDAV Password", 'xcloner-backup-and-restore')?>" id="webdav_password" type="password" name="xcloner_webdav_password" class="validate" value="<?php echo get_option("xcloner_webdav_password")?>" autocomplete="off" > |
|
629
|
629
|
</div> |
|
630
|
630
|
</div> |
|
631
|
631
|
|
|
632
|
632
|
<div class="row"> |
|
633
|
633
|
<div class="col s12 m3 label"> |
|
634
|
|
- <label for="webdav_target_folder"><?php echo __("WebDAV Target Folder",'xcloner-backup-and-restore')?></label> |
|
|
634
|
+ <label for="webdav_target_folder"><?php echo __("WebDAV Target Folder", 'xcloner-backup-and-restore')?></label> |
|
635
|
635
|
</div> |
|
636
|
636
|
<div class=" col s12 m6"> |
|
637
|
|
- <input placeholder="<?php echo __("WebDAV Target Folder",'xcloner-backup-and-restore')?>" id="webdav_target_folder" type="text" name="xcloner_webdav_target_folder" class="validate" value="<?php echo get_option("xcloner_webdav_target_folder")?>" autocomplete="off" > |
|
|
637
|
+ <input placeholder="<?php echo __("WebDAV Target Folder", 'xcloner-backup-and-restore')?>" id="webdav_target_folder" type="text" name="xcloner_webdav_target_folder" class="validate" value="<?php echo get_option("xcloner_webdav_target_folder")?>" autocomplete="off" > |
|
638
|
638
|
</div> |
|
639
|
639
|
</div> |
|
640
|
640
|
|
|
641
|
641
|
<div class="row"> |
|
642
|
642
|
<div class="col s12 m3 label"> |
|
643
|
|
- <label for="webdav_cleanup_days"><?php echo __("WebDAV Cleanup (days)",'xcloner-backup-and-restore')?></label> |
|
|
643
|
+ <label for="webdav_cleanup_days"><?php echo __("WebDAV Cleanup (days)", 'xcloner-backup-and-restore')?></label> |
|
644
|
644
|
</div> |
|
645
|
645
|
<div class=" col s12 m6"> |
|
646
|
|
- <input placeholder="<?php echo __("how many days to keep the backups for",'xcloner-backup-and-restore')?>" id="webdav_cleanup_days" type="text" name="xcloner_webdav_cleanup_days" class="validate" value="<?php echo get_option("xcloner_webdav_cleanup_days")?>"> |
|
|
646
|
+ <input placeholder="<?php echo __("how many days to keep the backups for", 'xcloner-backup-and-restore')?>" id="webdav_cleanup_days" type="text" name="xcloner_webdav_cleanup_days" class="validate" value="<?php echo get_option("xcloner_webdav_cleanup_days")?>"> |
|
647
|
647
|
</div> |
|
648
|
648
|
</div> |
|
649
|
649
|
|
|
650
|
650
|
<div class="row"> |
|
651
|
651
|
<div class="col s6 m4"> |
|
652
|
|
- <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="webdav"><?php echo __("Save Settings",'xcloner-backup-and-restore')?> |
|
|
652
|
+ <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="webdav"><?php echo __("Save Settings", 'xcloner-backup-and-restore')?> |
|
653
|
653
|
<i class="material-icons right">save</i> |
|
654
|
654
|
</button> |
|
655
|
655
|
</div> |
|
656
|
656
|
<div class="col s6 m4"> |
|
657
|
|
- <button class="btn waves-effect waves-light orange" type="submit" name="action" id="action" value="webdav" onclick="jQuery('#connection_check').val('1')"><?php echo __("Verify",'xcloner-backup-and-restore')?> |
|
|
657
|
+ <button class="btn waves-effect waves-light orange" type="submit" name="action" id="action" value="webdav" onclick="jQuery('#connection_check').val('1')"><?php echo __("Verify", 'xcloner-backup-and-restore')?> |
|
658
|
658
|
<i class="material-icons right">import_export</i> |
|
659
|
659
|
</button> |
|
660
|
660
|
</div> |
|
@@ -666,13 +666,13 @@ discard block |
|
|
block discarded – undo |
|
666
|
666
|
<!-- Google DRIVE STORAGE--> |
|
667
|
667
|
<li id="gdrive"> |
|
668
|
668
|
<div class="collapsible-header"> |
|
669
|
|
- <i class="material-icons">computer</i><?php echo __("Google Drive Storage",'xcloner-backup-and-restore')?> |
|
670
|
|
- <?php if($gdrive_construct):?> |
|
|
669
|
+ <i class="material-icons">computer</i><?php echo __("Google Drive Storage", 'xcloner-backup-and-restore')?> |
|
|
670
|
+ <?php if ($gdrive_construct):?> |
|
671
|
671
|
<div class="right"> |
|
672
|
672
|
<div class="switch"> |
|
673
|
673
|
<label> |
|
674
|
674
|
Off |
|
675
|
|
- <input type="checkbox" name="xcloner_gdrive_enable" class="status" value="1" <?php if(get_option("xcloner_gdrive_enable")) echo "checked"?> \> |
|
|
675
|
+ <input type="checkbox" name="xcloner_gdrive_enable" class="status" value="1" <?php if (get_option("xcloner_gdrive_enable")) echo "checked"?> \> |
|
676
|
676
|
<span class="lever"></span> |
|
677
|
677
|
On |
|
678
|
678
|
</label> |
|
@@ -682,7 +682,7 @@ discard block |
|
|
block discarded – undo |
|
682
|
682
|
</div> |
|
683
|
683
|
<div class="collapsible-body"> |
|
684
|
684
|
|
|
685
|
|
- <?php if($gdrive_construct) : ?> |
|
|
685
|
+ <?php if ($gdrive_construct) : ?> |
|
686
|
686
|
|
|
687
|
687
|
<div class="row"> |
|
688
|
688
|
<div class="col s12 m3 label"> |
|
@@ -690,28 +690,28 @@ discard block |
|
|
block discarded – undo |
|
690
|
690
|
</div> |
|
691
|
691
|
<div class=" col s12 m9"> |
|
692
|
692
|
<p> |
|
693
|
|
- <?php echo sprintf(__('Visit %s to create a new application and get your Client ID and Client Secret.','xcloner-backup-and-restore'), '<a href="https://console.developers.google.com" target="_blank">https://console.developers.google.com</a>')?> |
|
|
693
|
+ <?php echo sprintf(__('Visit %s to create a new application and get your Client ID and Client Secret.', 'xcloner-backup-and-restore'), '<a href="https://console.developers.google.com" target="_blank">https://console.developers.google.com</a>')?> |
|
694
|
694
|
<a href="https://youtu.be/YXUVPUVgG8k" target="_blank" class="btn-floating tooltipped btn-small" data-position="right" data-delay="50" data-html="true" |
|
695
|
|
- data-tooltip="<?php echo sprintf(__('Click here to view a short video explaining how to create the Client ID and Client Secret as well as connecting XCloner with the Google Drive API %s','xcloner-backup-and-restore'),"<br />https://youtu.be/YXUVPUVgG8k")?>" data-tooltip-id="92c95730-94e9-7b59-bd52-14adc30d5e3e"><i class="material-icons">help_outline</i></a> |
|
|
695
|
+ data-tooltip="<?php echo sprintf(__('Click here to view a short video explaining how to create the Client ID and Client Secret as well as connecting XCloner with the Google Drive API %s', 'xcloner-backup-and-restore'), "<br />https://youtu.be/YXUVPUVgG8k")?>" data-tooltip-id="92c95730-94e9-7b59-bd52-14adc30d5e3e"><i class="material-icons">help_outline</i></a> |
|
696
|
696
|
</p> |
|
697
|
697
|
</div> |
|
698
|
698
|
</div> |
|
699
|
699
|
|
|
700
|
700
|
<div class="row"> |
|
701
|
701
|
<div class="col s12 m3 label"> |
|
702
|
|
- <label for="gdrive_client_id"><?php echo __("Client ID",'xcloner-backup-and-restore')?></label> |
|
|
702
|
+ <label for="gdrive_client_id"><?php echo __("Client ID", 'xcloner-backup-and-restore')?></label> |
|
703
|
703
|
</div> |
|
704
|
704
|
<div class=" col s12 m6"> |
|
705
|
|
- <input placeholder="<?php echo __("Google Client ID",'xcloner-backup-and-restore')?>" id="gdrive_client_id" type="text" name="xcloner_gdrive_client_id" class="validate" value="<?php echo get_option("xcloner_gdrive_client_id")?>"> |
|
|
705
|
+ <input placeholder="<?php echo __("Google Client ID", 'xcloner-backup-and-restore')?>" id="gdrive_client_id" type="text" name="xcloner_gdrive_client_id" class="validate" value="<?php echo get_option("xcloner_gdrive_client_id")?>"> |
|
706
|
706
|
</div> |
|
707
|
707
|
</div> |
|
708
|
708
|
|
|
709
|
709
|
<div class="row"> |
|
710
|
710
|
<div class="col s12 m3 label"> |
|
711
|
|
- <label for="gdrive_client_secret"><?php echo __("Client Secret",'xcloner-backup-and-restore')?></label> |
|
|
711
|
+ <label for="gdrive_client_secret"><?php echo __("Client Secret", 'xcloner-backup-and-restore')?></label> |
|
712
|
712
|
</div> |
|
713
|
713
|
<div class=" col s12 m6"> |
|
714
|
|
- <input placeholder="<?php echo __("Google Client Secret",'xcloner-backup-and-restore')?>" id="gdrive_client_secret" type="text" name="xcloner_gdrive_client_secret" class="validate" value="<?php echo get_option("xcloner_gdrive_client_secret")?>"> |
|
|
714
|
+ <input placeholder="<?php echo __("Google Client Secret", 'xcloner-backup-and-restore')?>" id="gdrive_client_secret" type="text" name="xcloner_gdrive_client_secret" class="validate" value="<?php echo get_option("xcloner_gdrive_client_secret")?>"> |
|
715
|
715
|
</div> |
|
716
|
716
|
</div> |
|
717
|
717
|
|
|
@@ -721,41 +721,41 @@ discard block |
|
|
block discarded – undo |
|
721
|
721
|
|
|
722
|
722
|
</div> |
|
723
|
723
|
<div class=" col s12 m6"> |
|
724
|
|
- <a class="btn" target="_blank" id="gdrive_authorization_click" onclick="jQuery('#authentification_code').show()" href="<?php echo $gdrive_auth_url?>"><?php echo sprintf(__('Authorize Google Drive','xcloner-backup-and-restore'))?></a> |
|
725
|
|
- <input type="text" name="authentification_code" id="authentification_code" placeholder="<?php echo __("Paste Authorization Code Here","xcloner-backup-and-restore")?>"> |
|
|
724
|
+ <a class="btn" target="_blank" id="gdrive_authorization_click" onclick="jQuery('#authentification_code').show()" href="<?php echo $gdrive_auth_url?>"><?php echo sprintf(__('Authorize Google Drive', 'xcloner-backup-and-restore'))?></a> |
|
|
725
|
+ <input type="text" name="authentification_code" id="authentification_code" placeholder="<?php echo __("Paste Authorization Code Here", "xcloner-backup-and-restore")?>"> |
|
726
|
726
|
</div> |
|
727
|
727
|
</div> |
|
728
|
728
|
|
|
729
|
729
|
<div class="row"> |
|
730
|
730
|
<div class="col s12 m3 label"> |
|
731
|
|
- <label for="gdrive_target_folder"><?php echo __("Folder ID or Root Path",'xcloner-backup-and-restore')?> |
|
|
731
|
+ <label for="gdrive_target_folder"><?php echo __("Folder ID or Root Path", 'xcloner-backup-and-restore')?> |
|
732
|
732
|
<a class="btn-floating tooltipped btn-small" data-position="right" data-delay="50" data-html="true" \ |
|
733
|
733
|
data-tooltip="<?php echo __('Folder ID can be found by right clicking on the folder name and selecting \'Get shareable link\' menu, format https://drive.google.com/open?id={FOLDER_ID}<br /> |
|
734
|
734
|
If you supply a folder name, it has to exists in the drive root and start with / , example /backups.xcloner.com/','xcloner-backup-and-restore')?>" data-tooltip-id="92c95730-94e9-7b59-bd52-14adc30d5e3e"><i class="material-icons">help_outline</i></a> |
|
735
|
735
|
</label> |
|
736
|
736
|
</div> |
|
737
|
737
|
<div class=" col s12 m6"> |
|
738
|
|
- <input placeholder="<?php echo __("Target Folder ID or Root Path",'xcloner-backup-and-restore')?>" id="gdrive_target_folder" type="text" name="xcloner_gdrive_target_folder" class="validate" value="<?php echo get_option("xcloner_gdrive_target_folder")?>" autocomplete="off" > |
|
|
738
|
+ <input placeholder="<?php echo __("Target Folder ID or Root Path", 'xcloner-backup-and-restore')?>" id="gdrive_target_folder" type="text" name="xcloner_gdrive_target_folder" class="validate" value="<?php echo get_option("xcloner_gdrive_target_folder")?>" autocomplete="off" > |
|
739
|
739
|
</div> |
|
740
|
740
|
</div> |
|
741
|
741
|
|
|
742
|
742
|
<div class="row"> |
|
743
|
743
|
<div class="col s12 m3 label"> |
|
744
|
|
- <label for="gdrive_cleanup_days"><?php echo __("Google Drive Cleanup (days)",'xcloner-backup-and-restore')?></label> |
|
|
744
|
+ <label for="gdrive_cleanup_days"><?php echo __("Google Drive Cleanup (days)", 'xcloner-backup-and-restore')?></label> |
|
745
|
745
|
</div> |
|
746
|
746
|
<div class=" col s12 m6"> |
|
747
|
|
- <input placeholder="<?php echo __("how many days to keep the backups for",'xcloner-backup-and-restore')?>" id="gdrive_cleanup_days" type="text" name="xcloner_gdrive_cleanup_days" class="validate" value="<?php echo get_option("xcloner_gdrive_cleanup_days")?>"> |
|
|
747
|
+ <input placeholder="<?php echo __("how many days to keep the backups for", 'xcloner-backup-and-restore')?>" id="gdrive_cleanup_days" type="text" name="xcloner_gdrive_cleanup_days" class="validate" value="<?php echo get_option("xcloner_gdrive_cleanup_days")?>"> |
|
748
|
748
|
</div> |
|
749
|
749
|
</div> |
|
750
|
750
|
|
|
751
|
751
|
<div class="row"> |
|
752
|
752
|
<div class="col s6 m4"> |
|
753
|
|
- <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="gdrive"><?php echo __("Save Settings",'xcloner-backup-and-restore')?> |
|
|
753
|
+ <button class="btn waves-effect waves-light" type="submit" name="action" id="action" value="gdrive"><?php echo __("Save Settings", 'xcloner-backup-and-restore')?> |
|
754
|
754
|
<i class="material-icons right">save</i> |
|
755
|
755
|
</button> |
|
756
|
756
|
</div> |
|
757
|
757
|
<div class="col s6 m4"> |
|
758
|
|
- <button class="btn waves-effect waves-light orange" type="submit" name="action" id="action" value="gdrive" onclick="jQuery('#connection_check').val('1')"><?php echo __("Verify",'xcloner-backup-and-restore')?> |
|
|
758
|
+ <button class="btn waves-effect waves-light orange" type="submit" name="action" id="action" value="gdrive" onclick="jQuery('#connection_check').val('1')"><?php echo __("Verify", 'xcloner-backup-and-restore')?> |
|
759
|
759
|
<i class="material-icons right">import_export</i> |
|
760
|
760
|
</button> |
|
761
|
761
|
</div> |
|
@@ -771,15 +771,15 @@ discard block |
|
|
block discarded – undo |
|
771
|
771
|
<h6><?php echo __("This storage option requires the XCloner-Google-Drive Wordpress Plugin to be installed and activated.")?></h6> |
|
772
|
772
|
<h6><?php echo __("PHP 5.5 minimum version is required.")?></h6> |
|
773
|
773
|
<br /> |
|
774
|
|
- <a class="install-now btn" data-slug="xcloner-google-drive" href="<?php echo $url;?>" aria-label="Install XCloner Google Drive 1.0.0 now" data-name="XCloner Google Drive 1.0.0"> |
|
775
|
|
- <?php echo sprintf(__('Install Now','xcloner-backup-and-restore'))?> |
|
|
774
|
+ <a class="install-now btn" data-slug="xcloner-google-drive" href="<?php echo $url; ?>" aria-label="Install XCloner Google Drive 1.0.0 now" data-name="XCloner Google Drive 1.0.0"> |
|
|
775
|
+ <?php echo sprintf(__('Install Now', 'xcloner-backup-and-restore'))?> |
|
776
|
776
|
</a> |
|
777
|
777
|
|
|
778
|
778
|
<a href="<?php echo admin_url("plugin-install.php")?>?tab=plugin-information&plugin=xcloner-google-drive&TB_iframe=true&width=772&height=499" class="btn thickbox open-plugin-details-modal" aria-label="More information about Theme Check 20160523.1" data-title="Theme Check 20160523.1"> |
|
779
|
779
|
<!-- |
|
780
|
780
|
<a class="btn" href="https://github.com/ovidiul/XCloner-Google-Drive/archive/master.zip"> |
|
781
|
781
|
--> |
|
782
|
|
- <?php echo sprintf(__('More Details','xcloner-backup-and-restore'))?> |
|
|
782
|
+ <?php echo sprintf(__('More Details', 'xcloner-backup-and-restore'))?> |
|
783
|
783
|
</a> |
|
784
|
784
|
</div> |
|
785
|
785
|
</div> |