|
@@ -3,7 +3,7 @@ discard block |
|
|
block discarded – undo |
|
3
|
3
|
$xcloner_remote_storage = new Xcloner_Remote_Storage(); |
|
4
|
4
|
$available_storages = $xcloner_remote_storage->get_available_storages(); |
|
5
|
5
|
?> |
|
6
|
|
-<?php if(!defined("DISABLE_WP_CRON") || !DISABLE_WP_CRON): ?> |
|
|
6
|
+<?php if (!defined("DISABLE_WP_CRON") || !DISABLE_WP_CRON): ?> |
|
7
|
7
|
<div id="setting-error-" class="error settings-error notice is-dismissible"> |
|
8
|
8
|
<p><strong> |
|
9
|
9
|
<?php echo sprintf(__('We have noticed that DISABLE_WP_CRON is disabled, we recommend enabling that and setting up wp-cron.php to run manually through your hosting account scheduler as explained <a href="%s" target="_blank">here</a>', 'xcloner-backup-and-restore'), "http://www.inmotionhosting.com/support/website/wordpress/disabling-the-wp-cronphp-in-wordpress") ?> |
|
@@ -102,21 +102,21 @@ discard block |
|
|
block discarded – undo |
|
102
|
102
|
<div class="input-field col s12 l6"> |
|
103
|
103
|
<select name="schedule_frequency" id="schedule_frequency" class="validate" required> |
|
104
|
104
|
<option value="" disabled selected><?php echo __('Schedule Recurrence', 'xcloner-backup-and-restore') ?></option> |
|
105
|
|
- <option value="single"><?php echo __("Don't Repeat",'xcloner-backup-and-restore')?></option> |
|
106
|
|
- <option value="hourly"><?php echo __("Hourly",'xcloner-backup-and-restore')?></option> |
|
107
|
|
- <option value="daily"><?php echo __("Daily",'xcloner-backup-and-restore')?></option> |
|
108
|
|
- <option value="weekly"><?php echo __("Weekly",'xcloner-backup-and-restore')?></option> |
|
109
|
|
- <option value="monthly"><?php echo __("Monthly",'xcloner-backup-and-restore')?></option> |
|
|
105
|
+ <option value="single"><?php echo __("Don't Repeat", 'xcloner-backup-and-restore')?></option> |
|
|
106
|
+ <option value="hourly"><?php echo __("Hourly", 'xcloner-backup-and-restore')?></option> |
|
|
107
|
+ <option value="daily"><?php echo __("Daily", 'xcloner-backup-and-restore')?></option> |
|
|
108
|
+ <option value="weekly"><?php echo __("Weekly", 'xcloner-backup-and-restore')?></option> |
|
|
109
|
+ <option value="monthly"><?php echo __("Monthly", 'xcloner-backup-and-restore')?></option> |
|
110
|
110
|
</select> |
|
111
|
111
|
</div> |
|
112
|
112
|
</div> |
|
113
|
113
|
|
|
114
|
|
- <?php if(sizeof($available_storages)):?> |
|
|
114
|
+ <?php if (sizeof($available_storages)):?> |
|
115
|
115
|
<div class="row"> |
|
116
|
116
|
<div class="input-field col s12 l6"> |
|
117
|
117
|
<select name="schedule_storage" id="schedule_storage" class="validate" > |
|
118
|
118
|
<option value="" selected><?php echo __('none', 'xcloner-backup-and-restore') ?></option> |
|
119
|
|
- <?php foreach($available_storages as $storage=>$text):?> |
|
|
119
|
+ <?php foreach ($available_storages as $storage=>$text):?> |
|
120
|
120
|
<option value="<?php echo $storage?>"><?php echo $text?></option> |
|
121
|
121
|
<?php endforeach?> |
|
122
|
122
|
</select> |