WordPress Backup and Migrate Plugin – Backup Guard - Version 1.4.2

Version Description

  • Design changes in the Admin Panel of the plugin
  • Download via PHP fix
  • Bug fix during the Database restore process
  • Fix of some PHP Warnings
  • Code improvement
  • Compatibility test with WordPress 5.5 version
Download this release

Release Info

Developer BackupGuard
Plugin Icon 128x128 WordPress Backup and Migrate Plugin – Backup Guard
Version 1.4.2
Comparing to
See all releases

Code changes from version 1.4.1 to 1.4.2

README.txt CHANGED
@@ -5,8 +5,8 @@ Author: Backup Guard
5
  Donate link: https://backup-guard.com/products/backup-wordpress
6
  Tags: backup, wordpress backup plugin, backup plugin, database backup, migrate, back up
7
  Requires at least: 3.8
8
- Tested up to: 5.4.2
9
- Stable tag: 1.4.1
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -167,6 +167,14 @@ When you are facing an issue of any kind with any of our products, the first thi
167
  6. Site backup customization
168
 
169
  == Changelog ==
 
 
 
 
 
 
 
 
170
  = 1.4.1 =
171
  * Security improvement
172
  * Some environment checks were carried out which ensure that the plugin works seamlessly. The mentioned checks are necessary for the plugin to work as intended.
5
  Donate link: https://backup-guard.com/products/backup-wordpress
6
  Tags: backup, wordpress backup plugin, backup plugin, database backup, migrate, back up
7
  Requires at least: 3.8
8
+ Tested up to: 5.5
9
+ Stable tag: 1.4.2
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
167
  6. Site backup customization
168
 
169
  == Changelog ==
170
+ = 1.4.2 =
171
+ * Design changes in the Admin Panel of the plugin
172
+ * Download via PHP fix
173
+ * Bug fix during the Database restore process
174
+ * Fix of some PHP Warnings
175
+ * Code improvement
176
+ * Compatibility test with WordPress 5.5 version
177
+
178
  = 1.4.1 =
179
  * Security improvement
180
  * Some environment checks were carried out which ensure that the plugin works seamlessly. The mentioned checks are necessary for the plugin to work as intended.
backup.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Backup
5
  * Plugin URI: https://backup-guard.com/products/backup-wordpress
6
  * Description: Backup Guard is the most complete site backup and restore plugin. We offer the easiest way to backup, restore or migrate your site. You can backup your files, database or both.
7
- * Version: 1.4.1
8
  * Author: BackupGuard
9
  * Author URI: https://backup-guard.com/products/backup-wordpress
10
  * License: GPL-2.0+
@@ -16,7 +16,7 @@ if (function_exists('activate_backup_guard')) {
16
  }
17
 
18
  if (!defined('SG_BACKUP_GUARD_VERSION')) {
19
- define('SG_BACKUP_GUARD_VERSION', '1.4.1');
20
  }
21
 
22
  if (!defined('SG_BACKUP_GUARD_MAIN_FILE')) {
4
  * Plugin Name: Backup
5
  * Plugin URI: https://backup-guard.com/products/backup-wordpress
6
  * Description: Backup Guard is the most complete site backup and restore plugin. We offer the easiest way to backup, restore or migrate your site. You can backup your files, database or both.
7
+ * Version: 1.4.2
8
  * Author: BackupGuard
9
  * Author URI: https://backup-guard.com/products/backup-wordpress
10
  * License: GPL-2.0+
16
  }
17
 
18
  if (!defined('SG_BACKUP_GUARD_VERSION')) {
19
+ define('SG_BACKUP_GUARD_VERSION', '1.4.2');
20
  }
21
 
22
  if (!defined('SG_BACKUP_GUARD_MAIN_FILE')) {
com/core/SGBoot.php CHANGED
@@ -31,7 +31,7 @@ class SGBoot
31
  self::$memoryLimit = ini_get('memory_limit');
32
 
33
  //remove execution time limit
34
- @set_time_limit(0);
35
 
36
  //change initial memory limit
37
  @ini_set('memory_limit', '512M');
31
  self::$memoryLimit = ini_get('memory_limit');
32
 
33
  //remove execution time limit
34
+ @ini_set('max_execution_time', 0);
35
 
36
  //change initial memory limit
37
  @ini_set('memory_limit', '512M');
com/core/backup/SGBackup.php CHANGED
@@ -353,7 +353,7 @@ class SGBackup implements SGIBackupDelegate
353
  }
354
 
355
  SGPing::update();
356
-
357
  try
358
  {
359
  if ($this->databaseBackupAvailable) {
@@ -1430,33 +1430,23 @@ class SGBackup implements SGIBackupDelegate
1430
 
1431
  switch ($type)
1432
  {
1433
- case SG_BACKUP_DOWNLOAD_TYPE_SGBP:
1434
- $filename .= '.sgbp';
1435
- if ($downloadViaPhp) {
1436
- backupGuardDownloadViaPhp($backupName, $filename);
1437
- }
1438
- else {
1439
- backupGuardDownloadFileSymlink($backupDirectory, $filename);
1440
- }
1441
- break;
1442
- case SG_BACKUP_DOWNLOAD_TYPE_BACKUP_LOG:
1443
- $filename .= '_backup.log';
1444
- if ($downloadViaPhp) {
1445
- backupGuardDownloadViaPhp($backupName, $filename);
1446
- }
1447
- else {
1448
- backupGuardDownloadFile($backupDirectory.$filename, 'text/plain');
1449
- }
1450
- break;
1451
- case SG_BACKUP_DOWNLOAD_TYPE_RESTORE_LOG:
1452
- $filename .= '_restore.log';
1453
- if ($downloadViaPhp) {
1454
- backupGuardDownloadViaPhp($backupName, $filename);
1455
- }
1456
- else {
1457
- backupGuardDownloadFile($backupDirectory.$filename, 'text/plain');
1458
- }
1459
- break;
1460
  }
1461
 
1462
  exit;
353
  }
354
 
355
  SGPing::update();
356
+
357
  try
358
  {
359
  if ($this->databaseBackupAvailable) {
1430
 
1431
  switch ($type)
1432
  {
1433
+ case SG_BACKUP_DOWNLOAD_TYPE_SGBP:
1434
+ $filename .= '.sgbp';
1435
+ if ($downloadViaPhp) {
1436
+ backupGuardDownloadFile($backupDirectory.$filename);
1437
+ }
1438
+ else {
1439
+ backupGuardDownloadFileSymlink($backupDirectory, $filename);
1440
+ }
1441
+ break;
1442
+ case SG_BACKUP_DOWNLOAD_TYPE_BACKUP_LOG:
1443
+ $filename .= '_backup.log';
1444
+ backupGuardDownloadFile($backupDirectory.$filename, 'text/plain');
1445
+ break;
1446
+ case SG_BACKUP_DOWNLOAD_TYPE_RESTORE_LOG:
1447
+ $filename .= '_restore.log';
1448
+ backupGuardDownloadFile($backupDirectory.$filename, 'text/plain');
1449
+ break;
 
 
 
 
 
 
 
 
 
 
1450
  }
1451
 
1452
  exit;
com/core/functions.php CHANGED
@@ -347,7 +347,7 @@ function backupGuardSymlinksCleanup($dir)
347
  }
348
  }
349
  }
350
- else {
351
  @unlink($dir);
352
  }
353
  return;
@@ -628,7 +628,7 @@ function backupGuardGetBackupTablesHTML($defaultChecked = false){
628
  <div class="checkbox">
629
  <label for="custombackupdb-chbx">
630
  <input type="checkbox" class="sg-custom-option" name="backupDatabase" id="custombackupdb-chbx" <?php echo $defaultChecked?'checked':'' ?>>
631
- <?php _backupGuardT('Backup database'); ?>
632
  </label>
633
  <div class="col-md-12 sg-checkbox sg-backup-db-options">
634
  <div class="checkbox">
@@ -650,7 +650,7 @@ function backupGuardGetBackupTablesHTML($defaultChecked = false){
650
  <div class="checkbox">
651
  <label for="<?php echo $table['name']?>">
652
  <input type="checkbox" name="table[]" current="<?php echo $table['current'] ?>" <?php echo $table['disabled'] ?> id="<?php echo $table['name']?>" value="<?php echo $table['name'];?>">
653
- <?php echo basename($table['name']);?>
654
  <?php if($table['disabled']) {?>
655
  <span class="sg-disableText"><?php _backupGuardT('(excluded from settings)') ?></span>
656
  <?php } ?>
347
  }
348
  }
349
  }
350
+ else if (file_exists($dir)) {
351
  @unlink($dir);
352
  }
353
  return;
628
  <div class="checkbox">
629
  <label for="custombackupdb-chbx">
630
  <input type="checkbox" class="sg-custom-option" name="backupDatabase" id="custombackupdb-chbx" <?php echo $defaultChecked?'checked':'' ?>>
631
+ <span class="sg-checkbox-label-text"><?php _backupGuardT('Backup database'); ?></span>
632
  </label>
633
  <div class="col-md-12 sg-checkbox sg-backup-db-options">
634
  <div class="checkbox">
650
  <div class="checkbox">
651
  <label for="<?php echo $table['name']?>">
652
  <input type="checkbox" name="table[]" current="<?php echo $table['current'] ?>" <?php echo $table['disabled'] ?> id="<?php echo $table['name']?>" value="<?php echo $table['name'];?>">
653
+ <span class="sg-checkbox-label-text"><?php echo basename($table['name']);?></span>
654
  <?php if($table['disabled']) {?>
655
  <span class="sg-disableText"><?php _backupGuardT('(excluded from settings)') ?></span>
656
  <?php } ?>
public/ajax/modalManualBackup.php CHANGED
@@ -44,7 +44,7 @@
44
  <div class="checkbox sg-no-padding-top">
45
  <label for="custombackupfiles-chbx">
46
  <input type="checkbox" class="sg-custom-option" name="backupFiles" id="custombackupfiles-chbx">
47
- <?php _backupGuardT('Backup files'); ?>
48
  </label>
49
  <!--Files-->
50
  <div class="col-md-12 sg-checkbox sg-custom-backup-files">
@@ -52,7 +52,7 @@
52
  <div class="checkbox">
53
  <label for="<?php echo 'sg'.$directory?>">
54
  <input type="checkbox" name="directory[]" id="<?php echo 'sg'.$directory;?>" value="<?php echo $directory;?>">
55
- <?php echo basename($directory);?>
56
  </label>
57
  </div>
58
  <?php endforeach;?>
@@ -65,7 +65,7 @@
65
  <div class="checkbox sg-no-padding-top">
66
  <label for="custombackupcloud-chbx">
67
  <input type="checkbox" name="backupCloud" id="custombackupcloud-chbx">
68
- <?php _backupGuardT('Upload to cloud'); ?>
69
  </label>
70
  <!--Storages-->
71
  <div class="col-md-12 sg-checkbox sg-custom-backup-cloud">
@@ -73,7 +73,7 @@
73
  <div class="checkbox">
74
  <label for="cloud-ftp" <?php echo empty($ftp)?'data-toggle="tooltip" data-placement="right" title="'._backupGuardT('FTP is not active.',true).'"':''?>>
75
  <input type="checkbox" name="backupStorages[]" id="cloud-ftp" value="<?php echo SG_STORAGE_FTP ?>" <?php echo empty($ftp)?'disabled="disabled"':''?>>
76
- <?php echo 'FTP' ?>
77
  </label>
78
  </div>
79
  <?php endif; ?>
@@ -82,7 +82,7 @@
82
  <label for="cloud-dropbox" <?php echo empty($dropbox)?'data-toggle="tooltip" data-placement="right" title="'._backupGuardT('Dropbox is not active.',true).'"':''?>>
83
  <input type="checkbox" name="backupStorages[]" id="cloud-dropbox" value="<?php echo SG_STORAGE_DROPBOX ?>"
84
  <?php echo empty($dropbox)?'disabled="disabled"':''?>>
85
- <?php echo 'Dropbox' ?>
86
  </label>
87
  </div>
88
  <?php endif; ?>
@@ -91,7 +91,7 @@
91
  <label for="cloud-gdrive" <?php echo empty($gdrive)?'data-toggle="tooltip" data-placement="right" title="'._backupGuardT('Google Drive is not active.',true).'"':''?>>
92
  <input type="checkbox" name="backupStorages[]" id="cloud-gdrive" value="<?php echo SG_STORAGE_GOOGLE_DRIVE?>"
93
  <?php echo empty($gdrive)?'disabled="disabled"':''?>>
94
- <?php echo 'Google Drive' ?>
95
  </label>
96
  </div>
97
  <?php endif; ?>
@@ -100,7 +100,7 @@
100
  <label for="cloud-amazon" <?php echo empty($amazon)?'data-toggle="tooltip" data-placement="right" title="'._backupGuardT((backupGuardIsAccountGold()? 'Amazon ':'').'S3 is not active.',true).'"':''?>>
101
  <input type="checkbox" name="backupStorages[]" id="cloud-amazon" value="<?php echo SG_STORAGE_AMAZON?>"
102
  <?php echo empty($amazon)?'disabled="disabled"':''?>>
103
- <?php echo (backupGuardIsAccountGold()? 'Amazon ':'').'S3' ?>
104
  </label>
105
  </div>
106
  <?php endif; ?>
@@ -108,7 +108,7 @@
108
  <div class="checkbox">
109
  <label for="cloud-one-drive" <?php echo empty($oneDrive)?'data-toggle="tooltip" data-placement="right" title="'._backupGuardT('One Drive is not active.', true).'"':''?>>
110
  <input type="checkbox" name="backupStorages[]" id="cloud-one-drive" value="<?php echo SG_STORAGE_ONE_DRIVE?>" <?php echo empty($oneDrive)?'disabled="disabled"':''?>>
111
- <?php echo 'One Drive' ?>
112
  </label>
113
  </div>
114
  <?php endif;?>
@@ -121,7 +121,7 @@
121
  <div class="checkbox">
122
  <label for="background-chbx">
123
  <input type="checkbox" name="backgroundMode" id="background-chbx">
124
- <?php _backupGuardT('Background mode'); ?>
125
  </label>
126
  </div>
127
  <?php endif; ?>
44
  <div class="checkbox sg-no-padding-top">
45
  <label for="custombackupfiles-chbx">
46
  <input type="checkbox" class="sg-custom-option" name="backupFiles" id="custombackupfiles-chbx">
47
+ <span class="sg-checkbox-label-text"><?php _backupGuardT('Backup files'); ?></span>
48
  </label>
49
  <!--Files-->
50
  <div class="col-md-12 sg-checkbox sg-custom-backup-files">
52
  <div class="checkbox">
53
  <label for="<?php echo 'sg'.$directory?>">
54
  <input type="checkbox" name="directory[]" id="<?php echo 'sg'.$directory;?>" value="<?php echo $directory;?>">
55
+ <span class="sg-checkbox-label-text"><?php echo basename($directory);?></span>
56
  </label>
57
  </div>
58
  <?php endforeach;?>
65
  <div class="checkbox sg-no-padding-top">
66
  <label for="custombackupcloud-chbx">
67
  <input type="checkbox" name="backupCloud" id="custombackupcloud-chbx">
68
+ <span class="sg-checkbox-label-text"><?php _backupGuardT('Upload to cloud'); ?></span>
69
  </label>
70
  <!--Storages-->
71
  <div class="col-md-12 sg-checkbox sg-custom-backup-cloud">
73
  <div class="checkbox">
74
  <label for="cloud-ftp" <?php echo empty($ftp)?'data-toggle="tooltip" data-placement="right" title="'._backupGuardT('FTP is not active.',true).'"':''?>>
75
  <input type="checkbox" name="backupStorages[]" id="cloud-ftp" value="<?php echo SG_STORAGE_FTP ?>" <?php echo empty($ftp)?'disabled="disabled"':''?>>
76
+ <span class="sg-checkbox-label-text"><?php echo 'FTP' ?></span>
77
  </label>
78
  </div>
79
  <?php endif; ?>
82
  <label for="cloud-dropbox" <?php echo empty($dropbox)?'data-toggle="tooltip" data-placement="right" title="'._backupGuardT('Dropbox is not active.',true).'"':''?>>
83
  <input type="checkbox" name="backupStorages[]" id="cloud-dropbox" value="<?php echo SG_STORAGE_DROPBOX ?>"
84
  <?php echo empty($dropbox)?'disabled="disabled"':''?>>
85
+ <span class="sg-checkbox-label-text"><?php echo 'Dropbox' ?></span>
86
  </label>
87
  </div>
88
  <?php endif; ?>
91
  <label for="cloud-gdrive" <?php echo empty($gdrive)?'data-toggle="tooltip" data-placement="right" title="'._backupGuardT('Google Drive is not active.',true).'"':''?>>
92
  <input type="checkbox" name="backupStorages[]" id="cloud-gdrive" value="<?php echo SG_STORAGE_GOOGLE_DRIVE?>"
93
  <?php echo empty($gdrive)?'disabled="disabled"':''?>>
94
+ <span class="sg-checkbox-label-text"><?php echo 'Google Drive' ?></span>
95
  </label>
96
  </div>
97
  <?php endif; ?>
100
  <label for="cloud-amazon" <?php echo empty($amazon)?'data-toggle="tooltip" data-placement="right" title="'._backupGuardT((backupGuardIsAccountGold()? 'Amazon ':'').'S3 is not active.',true).'"':''?>>
101
  <input type="checkbox" name="backupStorages[]" id="cloud-amazon" value="<?php echo SG_STORAGE_AMAZON?>"
102
  <?php echo empty($amazon)?'disabled="disabled"':''?>>
103
+ <span class="sg-checkbox-label-text"><?php echo (backupGuardIsAccountGold()? 'Amazon ':'').'S3' ?></span>
104
  </label>
105
  </div>
106
  <?php endif; ?>
108
  <div class="checkbox">
109
  <label for="cloud-one-drive" <?php echo empty($oneDrive)?'data-toggle="tooltip" data-placement="right" title="'._backupGuardT('One Drive is not active.', true).'"':''?>>
110
  <input type="checkbox" name="backupStorages[]" id="cloud-one-drive" value="<?php echo SG_STORAGE_ONE_DRIVE?>" <?php echo empty($oneDrive)?'disabled="disabled"':''?>>
111
+ <span class="sg-checkbox-label-text"><?php echo 'One Drive' ?></span>
112
  </label>
113
  </div>
114
  <?php endif;?>
121
  <div class="checkbox">
122
  <label for="background-chbx">
123
  <input type="checkbox" name="backgroundMode" id="background-chbx">
124
+ <span class="sg-checkbox-label-text"><?php _backupGuardT('Background mode'); ?></span>
125
  </label>
126
  </div>
127
  <?php endif; ?>
public/backups.php CHANGED
@@ -76,28 +76,38 @@ $pluginCapabilities = backupGuardGetCapabilities();
76
  </div>
77
 
78
  <?php endif; ?>
 
79
  <div id="sg-content-wrapper">
80
  <div class="container-fluid">
81
  <fieldset>
82
- <legend><?php _backupGuardT('Backups')?><?php echo backupGuardLoggedMessage(); ?></legend>
83
 
84
- <a href="javascript:void(0)" id="sg-manual-backup" class="pull-left btn btn-success" data-toggle="modal" data-modal-name="manual-backup" data-remote="modalManualBackup" sg-data-backup-type="<?php echo SG_BACKUP_METHOD_STANDARD ?>"><i class="glyphicon glyphicon-play"></i> <?php _backupGuardT('Backup')?></a>
 
 
 
85
 
86
- <a href="javascript:void(0)" id="sg-backup-with-migration" class="pull-left btn btn-primary" data-toggle="modal" data-modal-name="manual-backup" data-remote="modalManualBackup" sg-data-backup-type="<?php echo SG_BACKUP_METHOD_MIGRATE ?>"<?php echo SGBoot::isFeatureAvailable('BACKUP_WITH_MIGRATION')?'':'disabled' ?>>
87
- <i class="glyphicon glyphicon-duplicate"></i>
88
- <?php _backupGuardT('Migrate')?>
89
  </a>
90
-
91
- <a href="javascript:void(0)" id="sg-import" class="btn btn-primary sg-margin-left-12" data-toggle="modal" data-modal-name="import" data-remote="modalImport"><i class="glyphicon glyphicon-open"></i> <?php _backupGuardT('Import')?></a>
 
 
92
  <?php if ($pluginCapabilities == BACKUP_GUARD_CAPABILITIES_FREE): ?>
93
  <a href="<?php echo BACKUP_GUARD_WORDPRESS_SUPPORT_URL; ?>" target="_blank">
94
- <button type="button" id="sg-report-problem-button" class="sg-button-red pull-right">
95
- <i class="glyphicon glyphicon-alert"></i>
96
 
97
- <?php _backupGuardT('Report issue')?>
98
  </button>
99
  </a>
100
  <?php endif; ?>
 
 
 
 
101
  <div class="clearfix"></div><br/>
102
  <table class="table table-striped paginated sg-backup-table">
103
  <thead>
@@ -118,7 +128,7 @@ $pluginCapabilities = backupGuardGetCapabilities();
118
  <?php endif;?>
119
  <?php foreach($backups as $backup): ?>
120
  <tr>
121
- <td> <input type="checkbox" autocomplete="off" value="<?php echo $backup['name']?>" <?php echo $backup['active']?'disabled':''?>> </td>
122
  <td><?php echo $backup['name'] ?></td>
123
  <td><?php echo !$backup['active']?$backup['size']:'' ?></td>
124
  <td><?php echo backupGuardConvertDateTimezone($backup['date']) ?></td>
@@ -131,30 +141,29 @@ $pluginCapabilities = backupGuardGetCapabilities();
131
  <span class="btn-xs sg-status-icon sg-status-<?php echo $statusCode; ?>">&nbsp;</span>
132
  <?php endforeach; ?>
133
  <div class="sg-progress progress">
134
- <div class="progress-bar progress-bar-danger"></div>
135
  </div>
136
  <?php else: ?>
137
  <?php if ($backup['status'] == SG_ACTION_STATUS_FINISHED_WARNINGS): ?>
138
- <span class="glyphicon glyphicon-warning-sign btn-xs text-warning" data-toggle="tooltip" data-placement="top" data-original-title="<?php if($backup['type']==SG_ACTION_TYPE_BACKUP): echo _backupGuardT('Warnings found during backup',true); elseif($backup['type']==SG_ACTION_TYPE_RESTORE): echo _backupGuardT('Warnings found during restore',true); else: echo _backupGuardT('Warnings found during upload',true); endif; ?>" data-container="#sg-wrapper"></span>
139
  <?php elseif ($backup['status'] == SG_ACTION_STATUS_ERROR): ?>
140
- <span class="glyphicon glyphicon-warning-sign btn-xs text-danger" data-toggle="tooltip" data-placement="top" data-original-title="<?php if($backup['type']==SG_ACTION_TYPE_BACKUP): echo _backupGuardT('Errors found during backup',true); elseif($backup['type']==SG_ACTION_TYPE_RESTORE): echo _backupGuardT('Errors found during restore',true); else: echo _backupGuardT('Errors found during upload',true);
141
- endif; ?>" data-container="#sg-wrapper"></span>
142
  <?php else: ?>
143
- <span class="glyphicon glyphicon-ok btn-xs text-success"></span>
144
  <?php endif;?>
145
  <?php endif; ?>
146
  </td>
147
- <td>
148
  <?php if($backup['active']): ?>
149
  <?php if($backup['type'] != SG_ACTION_TYPE_RESTORE): ?>
150
- <a class="btn btn-danger btn-xs sg-cancel-backup" sg-data-backup-id="<?php echo $backup['id']?>" href="javascript:void(0)" title="<?php _backupGuardT('Stop')?>">&nbsp;<i class="glyphicon glyphicon-stop" aria-hidden="true"></i>&nbsp;</a>
151
  <?php endif; ?>
152
  <?php else: ?>
153
- <a href="javascript:void(0)" data-sgbackup-name="<?php echo htmlspecialchars($backup['name']);?>" data-remote="deleteBackup" class="btn btn-danger btn-xs sg-remove-backup" title="<?php _backupGuardT('Delete')?>">&nbsp;<i class="glyphicon glyphicon-remove" aria-hidden="true"></i>&nbsp;</a>
154
  <div class="btn-group">
155
- <a href="javascript:void(0)" class="btn btn-primary sg-bg-download-button btn-xs" data-toggle="dropdown1" aria-expanded="false" title="<?php _backupGuardT('Download')?>">
156
- &nbsp;<i class="glyphicon glyphicon-download-alt" aria-hidden="true"></i>&nbsp;
157
- <span class="caret"></span>
158
  </a>
159
  <ul class="dropdown-menu">
160
  <?php if($backup['files']):?>
@@ -181,8 +190,8 @@ $pluginCapabilities = backupGuardGetCapabilities();
181
  </ul>
182
  </div>
183
  <?php if(file_exists(SG_BACKUP_DIRECTORY.$backup['name'].'/'.$backup['name'].'.sgbp')):?>
184
- <a href="javascript:void(0)" title="<?php _backupGuardT('Restore')?>" class="btn btn-success btn-xs sg-restore-button" data-toggle="modal" data-modal-name="manual-restore" data-remote="modalManualRestore" data-sgbp-params="<?php echo htmlspecialchars($backup['name']) ?>">
185
- &nbsp;<i class="glyphicon glyphicon-repeat" aria-hidden="true"></i>&nbsp;
186
  </a>
187
  <?php endif;?>
188
  <?php endif; ?>
@@ -192,8 +201,6 @@ $pluginCapabilities = backupGuardGetCapabilities();
192
  </tbody>
193
  </table>
194
 
195
- <button id="sg-delete-multi-backups" class="pull-left btn btn-danger"><?php _backupGuardT('Delete')?></button>
196
-
197
  <div class="text-right">
198
  <ul class="pagination"></ul>
199
  </div>
76
  </div>
77
 
78
  <?php endif; ?>
79
+ <div class="sg-top-info"><?php echo backupGuardLoggedMessage(); ?></div>
80
  <div id="sg-content-wrapper">
81
  <div class="container-fluid">
82
  <fieldset>
83
+ <div><h1 class="sg-backup-page-title"><?php _backupGuardT('Backups')?></h1></div>
84
 
85
+ <a href="javascript:void(0)" id="sg-manual-backup" class="pull-left btn btn-success sg-backup-action-buttons" data-toggle="modal" data-modal-name="manual-backup" data-remote="modalManualBackup" sg-data-backup-type="<?php echo SG_BACKUP_METHOD_STANDARD ?>">
86
+ <span class="sg-backup-start sg-backup-buttons-content"></span>
87
+ <span class="sg-backup-buttons-content sg-backup-buttons-text"><?php _backupGuardT('Backup')?></span>
88
+ </a>
89
 
90
+ <a href="javascript:void(0)" id="sg-backup-with-migration" class="pull-left btn btn-primary sg-backup-action-buttons" data-toggle="modal" data-modal-name="manual-backup" data-remote="modalManualBackup" sg-data-backup-type="<?php echo SG_BACKUP_METHOD_MIGRATE ?>"<?php echo SGBoot::isFeatureAvailable('BACKUP_WITH_MIGRATION')?'':'disabled' ?>>
91
+ <span class="sg-backup-migrate sg-backup-buttons-content"></span>
92
+ <span class="sg-backup-buttons-text sg-backup-buttons-content"><?php _backupGuardT('Migrate')?></span>
93
  </a>
94
+ <a href="javascript:void(0)" id="sg-import" class="btn btn-primary sg-margin-left-12 pull-left sg-backup-action-buttons" data-toggle="modal" data-modal-name="import" data-remote="modalImport">
95
+ <span class="sg-backup-import sg-backup-buttons-content"></span>
96
+ <span class="sg-backup-buttons-text sg-backup-buttons-content"><?php _backupGuardT('Import')?><span>
97
+ </a>
98
  <?php if ($pluginCapabilities == BACKUP_GUARD_CAPABILITIES_FREE): ?>
99
  <a href="<?php echo BACKUP_GUARD_WORDPRESS_SUPPORT_URL; ?>" target="_blank">
100
+ <button type="button" id="sg-report-problem-button" class="btn btn btn-primary sg-margin-left-12 pull-right sg-backup-action-buttons sg-button-red pull-right">
101
+ <span class="sg-backup-report"></span>
102
 
103
+ <span class="sg-backup-buttons-text sg-backup-buttons-content"><?php _backupGuardT('Report issue')?></span>
104
  </button>
105
  </a>
106
  <?php endif; ?>
107
+ <a id="sg-delete-multi-backups" class="pull-right btn btn-danger sg-margin-left-12 sg-backup-action-buttons">
108
+ <span class="sg-backup-delete sg-backup-buttons-content"></span>
109
+ <span class="sg-backup-buttons-text sg-backup-buttons-content"><?php _backupGuardT('Delete')?></span>
110
+ </a>
111
  <div class="clearfix"></div><br/>
112
  <table class="table table-striped paginated sg-backup-table">
113
  <thead>
128
  <?php endif;?>
129
  <?php foreach($backups as $backup): ?>
130
  <tr>
131
+ <td><input type="checkbox" autocomplete="off" value="<?php echo $backup['name']?>" <?php echo $backup['active']?'disabled':''?>></td>
132
  <td><?php echo $backup['name'] ?></td>
133
  <td><?php echo !$backup['active']?$backup['size']:'' ?></td>
134
  <td><?php echo backupGuardConvertDateTimezone($backup['date']) ?></td>
141
  <span class="btn-xs sg-status-icon sg-status-<?php echo $statusCode; ?>">&nbsp;</span>
142
  <?php endforeach; ?>
143
  <div class="sg-progress progress">
144
+ <div class="progress-bar"></div>
145
  </div>
146
  <?php else: ?>
147
  <?php if ($backup['status'] == SG_ACTION_STATUS_FINISHED_WARNINGS): ?>
148
+ <span class="btn-xs text-warning" data-toggle="tooltip" data-placement="top" data-original-title="<?php if($backup['type']==SG_ACTION_TYPE_BACKUP): echo _backupGuardT('Warnings found during backup',true); elseif($backup['type']==SG_ACTION_TYPE_RESTORE): echo _backupGuardT('Warnings found during restore',true); else: echo _backupGuardT('Warnings found during upload',true); endif; ?>" data-container="#sg-wrapper"><?php _backupGuardT('Warning')?></span>
149
  <?php elseif ($backup['status'] == SG_ACTION_STATUS_ERROR): ?>
150
+ <span class="btn-xs text-danger" data-toggle="tooltip" data-placement="top" data-original-title="<?php if($backup['type']==SG_ACTION_TYPE_BACKUP): echo _backupGuardT('Errors found during backup',true); elseif($backup['type']==SG_ACTION_TYPE_RESTORE): echo _backupGuardT('Errors found during restore',true); else: echo _backupGuardT('Errors found during upload',true);
151
+ endif; ?>" data-container="#sg-wrapper"><?php _backupGuardT('Faild')?></span>
152
  <?php else: ?>
153
+ <span class="btn-xs sg-text-success"><?php _backupGuardT('Success')?></span>
154
  <?php endif;?>
155
  <?php endif; ?>
156
  </td>
157
+ <td class="sg-backup-actions-td">
158
  <?php if($backup['active']): ?>
159
  <?php if($backup['type'] != SG_ACTION_TYPE_RESTORE): ?>
160
+ <a class="btn-xs sg-cancel-backup" sg-data-backup-id="<?php echo $backup['id']?>" href="javascript:void(0)" title="<?php _backupGuardT('Stop')?>">&nbsp;&nbsp;</a>
161
  <?php endif; ?>
162
  <?php else: ?>
163
+ <a href="javascript:void(0)" data-sgbackup-name="<?php echo htmlspecialchars($backup['name']);?>" data-remote="deleteBackup" class="sg-remove-backup btn-xs" title="<?php _backupGuardT('Delete')?>">&nbsp;&nbsp;</a>
164
  <div class="btn-group">
165
+ <a href="javascript:void(0)" class="sg-bg-download-button btn-xs" data-toggle="dropdown1" aria-expanded="false" title="<?php _backupGuardT('Download')?>">
166
+
 
167
  </a>
168
  <ul class="dropdown-menu">
169
  <?php if($backup['files']):?>
190
  </ul>
191
  </div>
192
  <?php if(file_exists(SG_BACKUP_DIRECTORY.$backup['name'].'/'.$backup['name'].'.sgbp')):?>
193
+ <a href="javascript:void(0)" title="<?php _backupGuardT('Restore')?>" class="sg-restore-button btn-xs" data-toggle="modal" data-modal-name="manual-restore" data-remote="modalManualRestore" data-sgbp-params="<?php echo htmlspecialchars($backup['name']) ?>">
194
+
195
  </a>
196
  <?php endif;?>
197
  <?php endif; ?>
201
  </tbody>
202
  </table>
203
 
 
 
204
  <div class="text-right">
205
  <ul class="pagination"></ul>
206
  </div>
public/cloud.php CHANGED
@@ -15,37 +15,41 @@ $amazonInfo = SGConfig::get('SG_AMAZON_BUCKET');
15
  $oneDriveInfo = SGConfig::get('SG_ONE_DRIVE_CONNECTION_STRING');
16
  ?>
17
  <?php require_once(SG_PUBLIC_INCLUDE_PATH.'sidebar.php'); ?>
 
18
  <div id="sg-content-wrapper">
19
  <div class="container-fluid">
20
  <div class="row sg-cloud-container">
21
  <div class="col-md-12">
22
  <form class="form-horizontal">
23
  <fieldset>
24
- <legend><?php _backupGuardT('Cloud settings')?><?php echo backupGuardLoggedMessage(); ?></legend>
25
  <?php if (SGBoot::isFeatureAvailable('SUBDIRECTORIES')): ?>
26
  <div class="form-group form-inline">
27
- <label class="col-md-5 sg-control-label">
28
  <?php _backupGuardT('Destination folder')?>
29
  </label>
30
-
31
- <div class="col-md-7 pull-right text-right">
32
- <input id="cloudFolder" name="cloudFolder" type="text" class="form-control input-md sg-backup-input" value="<?php echo esc_html(SGConfig::get('SG_STORAGE_BACKUPS_FOLDER_NAME'))?>">
33
- <button type="button" id="sg-save-cloud-folder" class="btn btn-success pull-right"><?php _backupGuardT('Save');?></button>
34
- </div>
35
  </div>
36
- <hr/>
37
  <?php endif; ?>
38
  <!-- Dropbox -->
39
  <?php if (SGBoot::isFeatureAvailable('DROPBOX')): ?>
40
  <div class="form-group">
41
- <label class="col-md-8 sg-control-label">
42
- <?php echo 'Dropbox' ?>
43
- <?php if(!empty($dropboxUsername)): ?>
44
- <br/>
45
- <span class="text-muted sg-dropbox-user sg-helper-block"><?php echo $dropboxUsername;?></span>
46
- <?php endif;?>
 
 
 
 
 
47
  </label>
48
- <div class="col-md-3 pull-right text-right">
49
  <label class="sg-switch-container">
50
  <input data-on-text="<?php _backupGuardT('ON')?>" data-off-text="<?php _backupGuardT('OFF')?>" data-storage="DROPBOX" data-remote="cloudDropbox" type="checkbox" class="sg-switch" <?php echo !empty($dropbox)?'checked="checked"':''?>>
51
  </label>
@@ -55,14 +59,19 @@ $oneDriveInfo = SGConfig::get('SG_ONE_DRIVE_CONNECTION_STRING');
55
  <!-- Google Drive -->
56
  <?php if (SGBoot::isFeatureAvailable('GOOGLE_DRIVE')): ?>
57
  <div class="form-group">
58
- <label class="col-md-8 sg-control-label">
 
 
 
 
59
  <?php echo 'Google Drive' ?>
60
- <?php if(!empty($gdriveUsername)): ?>
61
- <br/>
62
- <span class="text-muted sg-gdrive-user sg-helper-block"><?php echo $gdriveUsername;?></span>
63
- <?php endif;?>
 
64
  </label>
65
- <div class="col-md-3 pull-right text-right">
66
  <label class="sg-switch-container">
67
  <input data-on-text="<?php _backupGuardT('ON')?>" data-off-text="<?php _backupGuardT('OFF')?>" data-storage="GOOGLE_DRIVE" data-remote="cloudGdrive" type="checkbox" class="sg-switch" <?php echo !empty($gdrive)?'checked="checked"':''?>>
68
  </label>
@@ -72,14 +81,19 @@ $oneDriveInfo = SGConfig::get('SG_ONE_DRIVE_CONNECTION_STRING');
72
  <!-- FTP -->
73
  <?php if (SGBoot::isFeatureAvailable('FTP')): ?>
74
  <div class="form-group">
75
- <label class="col-md-8 sg-control-label sg-user-info">
76
- <?php echo 'FTP / SFTP' ?>
77
- <?php if(!empty($ftpUsername)): ?>
78
- <br/>
79
- <span class="text-muted sg-ftp-user sg-helper-block"><?php echo $ftpUsername;?></span>
80
- <?php endif;?>
 
 
 
 
 
81
  </label>
82
- <div class="col-md-3 pull-right text-right">
83
  <label class="sg-switch-container">
84
  <input type="checkbox" data-on-text="<?php _backupGuardT('ON')?>" data-off-text="<?php _backupGuardT('OFF')?>" data-storage="FTP" data-remote="cloudFtp" class="sg-switch" <?php echo !empty($ftp)?'checked="checked"':''?>>
85
  <a id="ftp-settings" href="javascript:void(0)" class="hide" data-toggle="modal" data-modal-name="ftp-settings" data-remote="modalFtpSettings"><?php echo 'FTP '._backupGuardT('Settings', true) ?></a>
@@ -90,14 +104,19 @@ $oneDriveInfo = SGConfig::get('SG_ONE_DRIVE_CONNECTION_STRING');
90
  <!-- Amazon S3 -->
91
  <?php if (SGBoot::isFeatureAvailable('AMAZON')): ?>
92
  <div class="form-group">
93
- <label class="col-md-8 sg-control-label">
 
 
 
 
94
  <?php echo (backupGuardIsAccountGold()? 'Amazon ':'').'S3'?>
95
- <?php if (!empty($amazonInfo)):?>
96
- <br/>
97
- <span class="text-muted sg-amazonr-user sg-helper-block"><?php echo $amazonInfo;?></span>
98
- <?php endif;?>
 
99
  </label>
100
- <div class="col-md-3 pull-right text-right">
101
  <label class="sg-switch-container">
102
  <input type="checkbox" data-on-text="<?php _backupGuardT('ON')?>" data-off-text="<?php _backupGuardT('OFF')?>" data-storage="AMAZON" data-remote="cloudAmazon" class="sg-switch" <?php echo !empty($amazon)?'checked="checked"':''?>>
103
  <a id="amazon-settings" href="javascript:void(0)" class="hide" data-toggle="modal" data-modal-name="amazon-settings" data-remote="modalAmazonSettings"><?php echo 'Amazon'._backupGuardT('Settings', true)?></a>
@@ -108,14 +127,19 @@ $oneDriveInfo = SGConfig::get('SG_ONE_DRIVE_CONNECTION_STRING');
108
  <!-- One Drive -->
109
  <?php if (SGBoot::isFeatureAvailable('ONE_DRIVE')): ?>
110
  <div class="form-group">
111
- <label class="col-md-8 sg-control-label">
112
- <?php echo 'One Drive' ?>
113
- <?php if(!empty($oneDriveInfo)): ?>
114
- <br/>
115
- <span class="text-muted sg-gdrive-user sg-helper-block"><?php echo $oneDriveInfo;?></span>
116
- <?php endif;?>
 
 
 
 
 
117
  </label>
118
- <div class="col-md-3 pull-right text-right">
119
  <label class="sg-switch-container">
120
  <input data-on-text="<?php _backupGuardT('ON')?>" data-off-text="<?php _backupGuardT('OFF')?>" data-storage="ONE_DRIVE" data-remote="cloudOneDrive" type="checkbox" class="sg-switch" <?php echo !empty($oneDrive)?'checked="checked"':''?>>
121
  </label>
15
  $oneDriveInfo = SGConfig::get('SG_ONE_DRIVE_CONNECTION_STRING');
16
  ?>
17
  <?php require_once(SG_PUBLIC_INCLUDE_PATH.'sidebar.php'); ?>
18
+ <div class="sg-top-info"><?php echo backupGuardLoggedMessage(); ?></div>
19
  <div id="sg-content-wrapper">
20
  <div class="container-fluid">
21
  <div class="row sg-cloud-container">
22
  <div class="col-md-12">
23
  <form class="form-horizontal">
24
  <fieldset>
25
+ <div><h1 class="sg-backup-page-title"><?php _backupGuardT('Cloud settings')?></h1></div>
26
  <?php if (SGBoot::isFeatureAvailable('SUBDIRECTORIES')): ?>
27
  <div class="form-group form-inline">
28
+ <label class="col-md-3 sg-control-label">
29
  <?php _backupGuardT('Destination folder')?>
30
  </label>
31
+ <div class="col-md-3">
32
+ <input id="cloudFolder" name="cloudFolder" type="text" class="form-control input-md sg-backup-input" value="<?php echo esc_html(SGConfig::get('SG_STORAGE_BACKUPS_FOLDER_NAME'))?>">
33
+ <button type="button" id="sg-save-cloud-folder" class="btn btn-success pull-right"><?php _backupGuardT('Save');?></button>
34
+ </div>
 
35
  </div>
 
36
  <?php endif; ?>
37
  <!-- Dropbox -->
38
  <?php if (SGBoot::isFeatureAvailable('DROPBOX')): ?>
39
  <div class="form-group">
40
+ <label class="col-md-3 sg-control-label">
41
+ <div class="sg-cloud-icon-wrapper">
42
+ <span class="sg-cloud-icon sg-cloud-dropbox"></span>
43
+ </div>
44
+ <div class="sg-cloud-label-wrapper">
45
+ <span><?php echo 'Dropbox' ?></span>
46
+ <?php if(!empty($dropboxUsername)): ?>
47
+ <br/>
48
+ <span class="text-muted sg-dropbox-user sg-helper-block"><?php echo $dropboxUsername;?></span>
49
+ <?php endif;?>
50
+ </div>
51
  </label>
52
+ <div class="col-md-3">
53
  <label class="sg-switch-container">
54
  <input data-on-text="<?php _backupGuardT('ON')?>" data-off-text="<?php _backupGuardT('OFF')?>" data-storage="DROPBOX" data-remote="cloudDropbox" type="checkbox" class="sg-switch" <?php echo !empty($dropbox)?'checked="checked"':''?>>
55
  </label>
59
  <!-- Google Drive -->
60
  <?php if (SGBoot::isFeatureAvailable('GOOGLE_DRIVE')): ?>
61
  <div class="form-group">
62
+ <label class="col-md-3 sg-control-label">
63
+ <div class="sg-cloud-icon-wrapper">
64
+ <span class="sg-cloud-icon sg-cloud-google-drive"></span>
65
+ </div>
66
+ <div class="sg-cloud-label-wrapper">
67
  <?php echo 'Google Drive' ?>
68
+ <?php if(!empty($gdriveUsername)): ?>
69
+ <br/>
70
+ <span class="text-muted sg-gdrive-user sg-helper-block"><?php echo $gdriveUsername;?></span>
71
+ <?php endif;?>
72
+ </div>
73
  </label>
74
+ <div class="col-md-3">
75
  <label class="sg-switch-container">
76
  <input data-on-text="<?php _backupGuardT('ON')?>" data-off-text="<?php _backupGuardT('OFF')?>" data-storage="GOOGLE_DRIVE" data-remote="cloudGdrive" type="checkbox" class="sg-switch" <?php echo !empty($gdrive)?'checked="checked"':''?>>
77
  </label>
81
  <!-- FTP -->
82
  <?php if (SGBoot::isFeatureAvailable('FTP')): ?>
83
  <div class="form-group">
84
+ <label class="col-md-3 sg-control-label sg-user-info">
85
+ <div class="sg-cloud-icon-wrapper">
86
+ <span class="sg-cloud-icon sg-cloud-ftp"></span>
87
+ </div>
88
+ <div class="sg-cloud-label-wrapper">
89
+ <?php echo 'FTP / SFTP' ?>
90
+ <?php if(!empty($ftpUsername)): ?>
91
+ <br/>
92
+ <span class="text-muted sg-ftp-user sg-helper-block"><?php echo $ftpUsername;?></span>
93
+ <?php endif;?>
94
+ </div>
95
  </label>
96
+ <div class="col-md-3">
97
  <label class="sg-switch-container">
98
  <input type="checkbox" data-on-text="<?php _backupGuardT('ON')?>" data-off-text="<?php _backupGuardT('OFF')?>" data-storage="FTP" data-remote="cloudFtp" class="sg-switch" <?php echo !empty($ftp)?'checked="checked"':''?>>
99
  <a id="ftp-settings" href="javascript:void(0)" class="hide" data-toggle="modal" data-modal-name="ftp-settings" data-remote="modalFtpSettings"><?php echo 'FTP '._backupGuardT('Settings', true) ?></a>
104
  <!-- Amazon S3 -->
105
  <?php if (SGBoot::isFeatureAvailable('AMAZON')): ?>
106
  <div class="form-group">
107
+ <label class="col-md-3 sg-control-label">
108
+ <div class="sg-cloud-icon-wrapper">
109
+ <span class="sg-cloud-icon sg-cloud-amazon"></span>
110
+ </div>
111
+ <div class="sg-cloud-label-wrapper">
112
  <?php echo (backupGuardIsAccountGold()? 'Amazon ':'').'S3'?>
113
+ <?php if (!empty($amazonInfo)):?>
114
+ <br/>
115
+ <span class="text-muted sg-amazonr-user sg-helper-block"><?php echo $amazonInfo;?></span>
116
+ <?php endif;?>
117
+ </div>
118
  </label>
119
+ <div class="col-md-3">
120
  <label class="sg-switch-container">
121
  <input type="checkbox" data-on-text="<?php _backupGuardT('ON')?>" data-off-text="<?php _backupGuardT('OFF')?>" data-storage="AMAZON" data-remote="cloudAmazon" class="sg-switch" <?php echo !empty($amazon)?'checked="checked"':''?>>
122
  <a id="amazon-settings" href="javascript:void(0)" class="hide" data-toggle="modal" data-modal-name="amazon-settings" data-remote="modalAmazonSettings"><?php echo 'Amazon'._backupGuardT('Settings', true)?></a>
127
  <!-- One Drive -->
128
  <?php if (SGBoot::isFeatureAvailable('ONE_DRIVE')): ?>
129
  <div class="form-group">
130
+ <label class="col-md-3 sg-control-label">
131
+ <div class="sg-cloud-icon-wrapper">
132
+ <span class="sg-cloud-icon sg-cloud-one-drive"></span>
133
+ </div>
134
+ <div class="sg-cloud-label-wrapper">
135
+ <?php echo 'One Drive' ?>
136
+ <?php if(!empty($oneDriveInfo)): ?>
137
+ <br/>
138
+ <span class="text-muted sg-gdrive-user sg-helper-block"><?php echo $oneDriveInfo;?></span>
139
+ <?php endif;?>
140
+ </div>
141
  </label>
142
+ <div class="col-md-3">
143
  <label class="sg-switch-container">
144
  <input data-on-text="<?php _backupGuardT('ON')?>" data-off-text="<?php _backupGuardT('OFF')?>" data-storage="ONE_DRIVE" data-remote="cloudOneDrive" type="checkbox" class="sg-switch" <?php echo !empty($oneDrive)?'checked="checked"':''?>>
145
  </label>
public/css/bgstyle.less.css CHANGED
@@ -6,7 +6,7 @@
6
  .sg-backup-input {
7
  border: none !important;
8
  box-shadow: none !important;
9
- border-bottom: 2px solid #000000 !important;
10
  padding-left: 0 !important;
11
  }
12
 
@@ -15,7 +15,7 @@
15
  }
16
 
17
  .backup-guard-label-warning {
18
- color: red;
19
  }
20
 
21
  .sg-feature-alert-text {
@@ -47,12 +47,69 @@
47
  }
48
 
49
  .sg-margin-left-12 {
50
- margin-left: 12px;
51
  }
52
 
53
  .sg-service-container {
54
  width: 100%;
55
  margin: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  }
57
 
58
  .sg-service-container h3 {
@@ -64,10 +121,25 @@
64
  }
65
 
66
  #sg-migration-service-price {
67
- font-size: 22px;
68
  text-align: center;
69
  }
70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  #sg-banner {
72
  margin-top: 10px;
73
  width: calc(100% - 20px) !important;
@@ -2774,6 +2846,9 @@
2774
  max-width: 100%;
2775
  margin-bottom: 21px;
2776
  }
 
 
 
2777
  .sg-wrapper-less .table > thead > tr > th,
2778
  .sg-wrapper-less .table > tbody > tr > th,
2779
  .sg-wrapper-less .table > tfoot > tr > th,
@@ -2782,12 +2857,13 @@
2782
  .sg-wrapper-less .table > tfoot > tr > td {
2783
  padding: 8px;
2784
  line-height: 1.42857143;
2785
- vertical-align: top;
2786
- border-top: 1px solid #dddddd;
 
2787
  }
2788
  .sg-wrapper-less .table > thead > tr > th {
2789
- vertical-align: bottom;
2790
- border-bottom: 2px solid #dddddd;
2791
  }
2792
  .sg-wrapper-less .table > caption + thead > tr:first-child > th,
2793
  .sg-wrapper-less .table > colgroup + thead > tr:first-child > th,
@@ -2826,8 +2902,13 @@
2826
  .sg-wrapper-less .table-bordered > thead > tr > td {
2827
  border-bottom-width: 2px;
2828
  }
 
2829
  .sg-wrapper-less .table-striped > tbody > tr:nth-of-type(odd) {
2830
  background-color: #f9f9f9;
 
 
 
 
2831
  }
2832
  .sg-wrapper-less .table-hover > tbody > tr:hover {
2833
  background-color: #f5f5f5;
@@ -3042,6 +3123,7 @@
3042
  .sg-wrapper-less select[size] {
3043
  height: auto;
3044
  }
 
3045
  .sg-wrapper-less input[type="file"]:focus,
3046
  .sg-wrapper-less input[type="radio"]:focus,
3047
  .sg-wrapper-less input[type="checkbox"]:focus {
@@ -3049,6 +3131,7 @@
3049
  outline: 5px auto -webkit-focus-ring-color;
3050
  outline-offset: -2px;
3051
  }
 
3052
  .sg-wrapper-less output {
3053
  display: block;
3054
  padding-top: 11px;
@@ -3167,7 +3250,7 @@
3167
  .sg-wrapper-less input[type=radio]:checked:before {
3168
  background-color: #0021C8;
3169
  }
3170
- .sg-wrapper-less .checkbox input[type="checkbox"]:checked {
3171
  background-color: #072dc3;
3172
  }
3173
  .sg-wrapper-less .radio + .radio,
@@ -3531,6 +3614,7 @@
3531
  -ms-user-select: none;
3532
  user-select: none;
3533
  }
 
3534
  .sg-wrapper-less .btn:focus,
3535
  .sg-wrapper-less .btn:active:focus,
3536
  .sg-wrapper-less .btn.active:focus,
@@ -3540,7 +3624,7 @@
3540
  outline: thin dotted;
3541
  outline: 5px auto -webkit-focus-ring-color;
3542
  outline-offset: -2px;
3543
- }
3544
  .sg-wrapper-less .btn:hover,
3545
  .sg-wrapper-less .btn:focus,
3546
  .sg-wrapper-less .btn.focus {
@@ -7311,18 +7395,24 @@
7311
  -moz-appearance: none;
7312
  appearance: none;
7313
  cursor: pointer;
 
 
 
 
7314
  }
7315
  .sg-wrapper-less #sg-wrapper {
7316
  width: 100%;
7317
  min-width: 650px;
7318
  border: 1px #ffffff solid;
7319
- background-color: #0021C8;
7320
  }
7321
  .sg-wrapper-less #sg-sidebar-wrapper {
7322
  width: 210px;
7323
  float: left;
7324
  }
7325
-
 
 
7326
  .sg-wrapper-less #sg-sidebar-wrapper a:focus {
7327
  box-shadow: none !important;
7328
  outline: 0px solid #cccccc !important;
@@ -7331,20 +7421,21 @@
7331
  position: relative;
7332
  float: left;
7333
  width: calc(100% - 210px);
 
7334
  /*Same as sidebar*/
7335
- border-left: 1px #333333 solid;
7336
  min-height: 680px;
7337
  background-color: #ffffff;
7338
  }
7339
  .sg-wrapper-less .container-fluid {
7340
  min-height: 380px;
7341
- margin-top: 15px;
7342
  }
7343
  .sg-wrapper-less .metro .sidebar {
7344
  margin: 0;
7345
  padding: 0;
7346
- background-color: #0021C8;
7347
  width: 100%;
 
7348
  /*height: 100%;*/
7349
  }
7350
  .sg-wrapper-less .metro .sidebar > ul {
@@ -7358,8 +7449,9 @@
7358
  border-bottom: 1px rgba(255, 255, 255, 0.2) solid;
7359
  position: relative;
7360
  }
7361
- .sg-wrapper-less .metro .sidebar > ul li.title {
7362
  padding: 20px 20px 10px 20px;
 
7363
  font-weight: 300;
7364
  letter-spacing: 0.00em;
7365
  font-size: 2.5rem;
@@ -7369,23 +7461,26 @@
7369
  font-size: 2.2rem;
7370
  line-height: 2.2rem;
7371
  color: #ffffff;
7372
- height: 170px;
7373
- background-image: url("../img/sglogo.png");
7374
- background-size: 172px 85px;
 
7375
  background-repeat: no-repeat;
7376
- background-position: center 40px;
7377
  }
7378
  .sg-wrapper-less .metro .sidebar > ul li a {
7379
  display: block;
7380
  position: relative;
7381
  padding: 10px 20px;
7382
  text-decoration: none;
7383
- color: #eeeeee;
7384
- background-color: #0021C8;
7385
  }
7386
  .sg-wrapper-less .metro .sidebar > ul li a:hover {
7387
- background-color: #02146E;
7388
- color: #ffffff;
 
 
7389
  }
7390
  .sg-wrapper-less .metro .sidebar > ul li a.dropdown-toggle:after {
7391
  right: 10px;
@@ -7414,8 +7509,12 @@
7414
  color: #555555;
7415
  }
7416
  .sg-wrapper-less .metro .sidebar > ul li.active a {
7417
- background-color: #ffffff;
7418
  color: #0021C8;
 
 
 
 
 
7419
  }
7420
  .sg-wrapper-less .metro .sidebar > ul ul {
7421
  margin: 0;
@@ -7800,7 +7899,7 @@
7800
  height: 20px;
7801
  background-image: url('../img/backup-icons.png');
7802
  background-repeat: no-repeat;
7803
- background-size: 220px 40px;
7804
  }
7805
  @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-resolution: 240dpi) {
7806
  .sg-wrapper-less .sg-status-icon {
@@ -7808,46 +7907,51 @@
7808
  }
7809
  }
7810
  .sg-wrapper-less .sg-status-35 {
7811
- background-position: -100px -20px;
 
7812
  }
7813
  .sg-wrapper-less .sg-status-35.active {
7814
- background-position: -100px 0px;
 
7815
  }
7816
  .sg-wrapper-less .sg-status-34 {
7817
- background-position: -80px -20px;
7818
  }
7819
  .sg-wrapper-less .sg-status-34.active {
7820
- background-position: -80px 0px;
7821
  }
7822
  .sg-wrapper-less .sg-status-1 {
7823
- background-position: -20px -20px;
 
 
7824
  }
7825
  .sg-wrapper-less .sg-status-1.active {
7826
- background-position: -20px 0px;
7827
  }
7828
  .sg-wrapper-less .sg-status-2 {
7829
- background-position: 0px -20px;
 
7830
  }
7831
  .sg-wrapper-less .sg-status-2.active {
7832
- background-position: 0px 0px;
7833
  }
7834
  .sg-wrapper-less .sg-status-31 {
7835
- background-position: -140px -20px;
7836
  }
7837
  .sg-wrapper-less .sg-status-31.active {
7838
- background-position: -140px 0px;
7839
  }
7840
  .sg-wrapper-less .sg-status-32 {
7841
- background-position: -40px -20px;
7842
  }
7843
  .sg-wrapper-less .sg-status-32.active {
7844
- background-position: -40px 0px;
7845
  }
7846
  .sg-wrapper-less .sg-status-33 {
7847
- background-position: -60px -20px;
7848
  }
7849
  .sg-wrapper-less .sg-status-33.active {
7850
- background-position: -60px 0px;
7851
  }
7852
  .sg-wrapper-less .sg-status-22 {
7853
  background-position: -180px -20px;
@@ -7866,7 +7970,8 @@
7866
  padding-left: 0px;
7867
  text-align: left;
7868
  display: block;
7869
- margin-top: 0;
 
7870
  }
7871
  .sg-wrapper-less .sg-control-label {
7872
  text-align: left;
@@ -7893,7 +7998,12 @@
7893
  .sg-wrapper-less .sg-alert-pro {
7894
  color: white;
7895
  margin: 20px;
7896
- text-align: center;
 
 
 
 
 
7897
  }
7898
 
7899
  .sg-wrapper-less .sg-star {
@@ -7979,7 +8089,7 @@ input.sg-backup-input[readonly] {
7979
  box-shadow: none !important;
7980
  }
7981
  .sg-button-red {
7982
- border: 1px solid #C20000;
7983
  color: #C20000 !important;
7984
  display: inline-block;
7985
  background-color: transparent;
@@ -7994,7 +8104,7 @@ input.sg-backup-input[readonly] {
7994
  }
7995
 
7996
  .sg-button-red:hover {
7997
- background-color: #C20000;
7998
  color: #FFFFFF !important;
7999
  }
8000
 
@@ -8026,3 +8136,27 @@ input.sg-backup-input[readonly] {
8026
  .sg-error-notice-h2-first {
8027
  font-size: 1.8em;
8028
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  .sg-backup-input {
7
  border: none !important;
8
  box-shadow: none !important;
9
+ border-bottom: 1px solid #000000 !important;
10
  padding-left: 0 !important;
11
  }
12
 
15
  }
16
 
17
  .backup-guard-label-warning {
18
+ color: #ff7518;
19
  }
20
 
21
  .sg-feature-alert-text {
47
  }
48
 
49
  .sg-margin-left-12 {
50
+ margin-left: 12px !important;
51
  }
52
 
53
  .sg-service-container {
54
  width: 100%;
55
  margin: 0;
56
+ background: #FFFFFF 0% 0% no-repeat padding-box;
57
+ box-shadow: 0px 0px 15px #0000001A;
58
+ border-radius: 10px;
59
+ opacity: 1;
60
+ }
61
+
62
+ .sg-service-container .plugin-card-top {
63
+ padding-bottom: 40px;
64
+ }
65
+
66
+ .sg-migration-icon {
67
+ height: 264px;
68
+ background-image: url("../img/wordPress-migration-service-product.png");
69
+ background-size: contain;
70
+ background-repeat: no-repeat;
71
+ background-position: center;
72
+ }
73
+
74
+ .sg-right-arrow {
75
+ display: inline-block;
76
+ width: 15px;
77
+ height: 9px;
78
+ background-image: url("../img/arrow-right.png");
79
+ }
80
+
81
+ .sg-migration-info {
82
+ text-align: left;
83
+ }
84
+
85
+ .sg-migration-info a {
86
+ color: #010101 !important;
87
+ }
88
+
89
+ .sg-migration-info h1 {
90
+ margin-bottom: 30px !important;
91
+ }
92
+
93
+ .column-description-p {
94
+ margin-bottom: 25px !important;
95
+ }
96
+
97
+ .sg-migration-features {
98
+ margin-bottom: 17px !important;
99
+ }
100
+
101
+ .migration-price-wrapper {
102
+ position: absolute !important;
103
+ bottom: 0px !important;
104
+ }
105
+
106
+ .sg-migration-right-column {
107
+ position: relative;
108
+ height: 300px;
109
+ }
110
+
111
+ .sg-services-arrow {
112
+ margin-right: 6px;
113
  }
114
 
115
  .sg-service-container h3 {
121
  }
122
 
123
  #sg-migration-service-price {
124
+ font-size: 32px;
125
  text-align: center;
126
  }
127
 
128
+ .sg-migration-price-ul {
129
+ margin-bottom: 0px !important;
130
+ }
131
+
132
+ .sg-migration-price-ul li:nth-child(1) {
133
+ margin-bottom: 19px !important;
134
+ }
135
+
136
+ .sg-migration-price-ul li:nth-child(2) {
137
+ margin-bottom: 0 !important;
138
+ }
139
+ .sg-migration-price-ul li p {
140
+ line-height: 1;
141
+ }
142
+
143
  #sg-banner {
144
  margin-top: 10px;
145
  width: calc(100% - 20px) !important;
2846
  max-width: 100%;
2847
  margin-bottom: 21px;
2848
  }
2849
+ .sg-backup-table .checkbox {
2850
+ margin: 0 !important;
2851
+ }
2852
  .sg-wrapper-less .table > thead > tr > th,
2853
  .sg-wrapper-less .table > tbody > tr > th,
2854
  .sg-wrapper-less .table > tfoot > tr > th,
2857
  .sg-wrapper-less .table > tfoot > tr > td {
2858
  padding: 8px;
2859
  line-height: 1.42857143;
2860
+ vertical-align: middle;
2861
+ border-top: 1px solid #EBEBEB;
2862
+ height: 65px;
2863
  }
2864
  .sg-wrapper-less .table > thead > tr > th {
2865
+ vertical-align: middle;
2866
+ border-bottom: 1px solid #EBEBEB;
2867
  }
2868
  .sg-wrapper-less .table > caption + thead > tr:first-child > th,
2869
  .sg-wrapper-less .table > colgroup + thead > tr:first-child > th,
2902
  .sg-wrapper-less .table-bordered > thead > tr > td {
2903
  border-bottom-width: 2px;
2904
  }
2905
+ /*
2906
  .sg-wrapper-less .table-striped > tbody > tr:nth-of-type(odd) {
2907
  background-color: #f9f9f9;
2908
+ }*/
2909
+ .sg-wrapper-less .table-striped > tbody > tr,
2910
+ .sg-wrapper-less .table-striped > th {
2911
+ height: 65px;
2912
  }
2913
  .sg-wrapper-less .table-hover > tbody > tr:hover {
2914
  background-color: #f5f5f5;
3123
  .sg-wrapper-less select[size] {
3124
  height: auto;
3125
  }
3126
+ /*
3127
  .sg-wrapper-less input[type="file"]:focus,
3128
  .sg-wrapper-less input[type="radio"]:focus,
3129
  .sg-wrapper-less input[type="checkbox"]:focus {
3131
  outline: 5px auto -webkit-focus-ring-color;
3132
  outline-offset: -2px;
3133
  }
3134
+ */
3135
  .sg-wrapper-less output {
3136
  display: block;
3137
  padding-top: 11px;
3250
  .sg-wrapper-less input[type=radio]:checked:before {
3251
  background-color: #0021C8;
3252
  }
3253
+ .sg-wrapper-less input[type="checkbox"]:checked {
3254
  background-color: #072dc3;
3255
  }
3256
  .sg-wrapper-less .radio + .radio,
3614
  -ms-user-select: none;
3615
  user-select: none;
3616
  }
3617
+ /*
3618
  .sg-wrapper-less .btn:focus,
3619
  .sg-wrapper-less .btn:active:focus,
3620
  .sg-wrapper-less .btn.active:focus,
3624
  outline: thin dotted;
3625
  outline: 5px auto -webkit-focus-ring-color;
3626
  outline-offset: -2px;
3627
+ }*/
3628
  .sg-wrapper-less .btn:hover,
3629
  .sg-wrapper-less .btn:focus,
3630
  .sg-wrapper-less .btn.focus {
7395
  -moz-appearance: none;
7396
  appearance: none;
7397
  cursor: pointer;
7398
+ border: none !important;
7399
+ box-shadow: none !important;
7400
+ padding-left: 0 !important;
7401
+ border-bottom: 1px solid #000000 !important;
7402
  }
7403
  .sg-wrapper-less #sg-wrapper {
7404
  width: 100%;
7405
  min-width: 650px;
7406
  border: 1px #ffffff solid;
7407
+ background-color: #F9F9F9;
7408
  }
7409
  .sg-wrapper-less #sg-sidebar-wrapper {
7410
  width: 210px;
7411
  float: left;
7412
  }
7413
+ #sg-sidebar-wrapper li {
7414
+ position: relative;
7415
+ }
7416
  .sg-wrapper-less #sg-sidebar-wrapper a:focus {
7417
  box-shadow: none !important;
7418
  outline: 0px solid #cccccc !important;
7421
  position: relative;
7422
  float: left;
7423
  width: calc(100% - 210px);
7424
+ border-left: 1px solid #F7F7F7;
7425
  /*Same as sidebar*/
 
7426
  min-height: 680px;
7427
  background-color: #ffffff;
7428
  }
7429
  .sg-wrapper-less .container-fluid {
7430
  min-height: 380px;
7431
+ margin-top: 23px;
7432
  }
7433
  .sg-wrapper-less .metro .sidebar {
7434
  margin: 0;
7435
  padding: 0;
7436
+ background-color: #F9F9F9;
7437
  width: 100%;
7438
+ padding-top: 31px;
7439
  /*height: 100%;*/
7440
  }
7441
  .sg-wrapper-less .metro .sidebar > ul {
7449
  border-bottom: 1px rgba(255, 255, 255, 0.2) solid;
7450
  position: relative;
7451
  }
7452
+ .sg-wrapper-less .title {
7453
  padding: 20px 20px 10px 20px;
7454
+ margin-top: 18px;
7455
  font-weight: 300;
7456
  letter-spacing: 0.00em;
7457
  font-size: 2.5rem;
7461
  font-size: 2.2rem;
7462
  line-height: 2.2rem;
7463
  color: #ffffff;
7464
+ height: 33px;
7465
+ width: 136px;
7466
+ background-image: url("../img/logo-horizontal.png");
7467
+ background-size: cover;
7468
  background-repeat: no-repeat;
7469
+ margin-left: 16px;
7470
  }
7471
  .sg-wrapper-less .metro .sidebar > ul li a {
7472
  display: block;
7473
  position: relative;
7474
  padding: 10px 20px;
7475
  text-decoration: none;
7476
+ color: #000000;
7477
+ background-color: #F9F9F9;
7478
  }
7479
  .sg-wrapper-less .metro .sidebar > ul li a:hover {
7480
+ color: #0021C8;
7481
+ }
7482
+ .sg-wrapper-less .metro .sidebar > ul li a:hover + .sg-action-menu-arrow {
7483
+ display: inline-block;
7484
  }
7485
  .sg-wrapper-less .metro .sidebar > ul li a.dropdown-toggle:after {
7486
  right: 10px;
7509
  color: #555555;
7510
  }
7511
  .sg-wrapper-less .metro .sidebar > ul li.active a {
 
7512
  color: #0021C8;
7513
+ border-left: 2px solid #0021C8;
7514
+ }
7515
+
7516
+ .sg-wrapper-less .metro .sidebar > ul li.active .sg-action-menu-arrow {
7517
+ display: inline-block !important;
7518
  }
7519
  .sg-wrapper-less .metro .sidebar > ul ul {
7520
  margin: 0;
7899
  height: 20px;
7900
  background-image: url('../img/backup-icons.png');
7901
  background-repeat: no-repeat;
7902
+ background-size: 180px 40px;
7903
  }
7904
  @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-resolution: 240dpi) {
7905
  .sg-wrapper-less .sg-status-icon {
7907
  }
7908
  }
7909
  .sg-wrapper-less .sg-status-35 {
7910
+ background-position: -123px 1px;
7911
+ width: 28px;
7912
  }
7913
  .sg-wrapper-less .sg-status-35.active {
7914
+ background-position: -123px -20px;
7915
+ width: 28px;
7916
  }
7917
  .sg-wrapper-less .sg-status-34 {
7918
+ background-position: -96px 1px;
7919
  }
7920
  .sg-wrapper-less .sg-status-34.active {
7921
+ background-position: -96px -20px;
7922
  }
7923
  .sg-wrapper-less .sg-status-1 {
7924
+ background-position: 0px 1px;
7925
+ background-size: 154px 40px;
7926
+ width: 16px;
7927
  }
7928
  .sg-wrapper-less .sg-status-1.active {
7929
+ background-position: 0px -20px;
7930
  }
7931
  .sg-wrapper-less .sg-status-2 {
7932
+ background-position: -23px 0px;
7933
+ background-size: 180px 42px;
7934
  }
7935
  .sg-wrapper-less .sg-status-2.active {
7936
+ background-position: -23px -22px;
7937
  }
7938
  .sg-wrapper-less .sg-status-31 {
7939
+ background-position: -72px 1px
7940
  }
7941
  .sg-wrapper-less .sg-status-31.active {
7942
+ background-position: -72px -20px;
7943
  }
7944
  .sg-wrapper-less .sg-status-32 {
7945
+ background-position: -47px 1px;
7946
  }
7947
  .sg-wrapper-less .sg-status-32.active {
7948
+ background-position: -47px -20px;
7949
  }
7950
  .sg-wrapper-less .sg-status-33 {
7951
+ background-position: -158px 1px;
7952
  }
7953
  .sg-wrapper-less .sg-status-33.active {
7954
+ background-position: -159px -20px;
7955
  }
7956
  .sg-wrapper-less .sg-status-22 {
7957
  background-position: -180px -20px;
7970
  padding-left: 0px;
7971
  text-align: left;
7972
  display: block;
7973
+ font-weight: normal;
7974
+ margin-top: 5px;
7975
  }
7976
  .sg-wrapper-less .sg-control-label {
7977
  text-align: left;
7998
  .sg-wrapper-less .sg-alert-pro {
7999
  color: white;
8000
  margin: 20px;
8001
+ text-align: left;
8002
+ }
8003
+
8004
+ .sg-upgrade-text {
8005
+ color: #010101;
8006
+ margin-bottom: 30px !important;
8007
  }
8008
 
8009
  .sg-wrapper-less .sg-star {
8089
  box-shadow: none !important;
8090
  }
8091
  .sg-button-red {
8092
+ border: 1px solid #C20000 !important;
8093
  color: #C20000 !important;
8094
  display: inline-block;
8095
  background-color: transparent;
8104
  }
8105
 
8106
  .sg-button-red:hover {
8107
+ background-color: #C20000 !important;
8108
  color: #FFFFFF !important;
8109
  }
8110
 
8136
  .sg-error-notice-h2-first {
8137
  font-size: 1.8em;
8138
  }
8139
+
8140
+ .sg-wrapper-less input[type=checkbox]:checked::before {
8141
+ content: url(../img/checkbox-content.svg);
8142
+ margin: -1px -1px;
8143
+ float: inherit !important;
8144
+ font-size: inherit !important;
8145
+ vertical-align: top !important;
8146
+ }
8147
+
8148
+ .sg-wrapper-less input[type=checkbox] {
8149
+ width: 20px !important;
8150
+ height: 20px !important;
8151
+ }
8152
+
8153
+ .sg-wrapper-less input[type=checkbox]:focus {
8154
+ border: 1px solid #7e8993;
8155
+ box-shadow: none;
8156
+ }
8157
+
8158
+ .sg-checkbox-label-text {
8159
+ display: inline-block;
8160
+ margin-left: 5px;
8161
+ margin-top: 3px;
8162
+ }
public/css/main.css CHANGED
@@ -46,7 +46,7 @@ select {
46
  #sg-content-wrapper{
47
  position: relative;
48
  float: left;
49
- width: calc(~"100% - 210px"); /*Same as sidebar*/
50
  border-left: 1px #333333 solid;
51
  min-height: 454px;
52
  background-color: #ffffff;
@@ -586,7 +586,7 @@ only screen and (min-resolution: 240dpi) {
586
  padding-top: 12px;
587
  }
588
  .sg-modal-body {
589
- max-height: calc(~"100vh - 210px");
590
  overflow-y: auto;
591
  }
592
  .sg-justify{
46
  #sg-content-wrapper{
47
  position: relative;
48
  float: left;
49
+ width: calc(100% - 210px); /*Same as sidebar*/
50
  border-left: 1px #333333 solid;
51
  min-height: 454px;
52
  background-color: #ffffff;
586
  padding-top: 12px;
587
  }
588
  .sg-modal-body {
589
+ max-height: calc(100vh - 210px);
590
  overflow-y: auto;
591
  }
592
  .sg-justify{
public/css/styles.css CHANGED
@@ -77,6 +77,17 @@
77
  border-radius: 0 !important;
78
  }
79
 
 
 
 
 
 
 
 
 
 
 
 
80
  .bg-login-content label {
81
  font-size: 16px;
82
  line-height: 16px;
@@ -157,6 +168,48 @@
157
  color: #3fb618;
158
  }
159
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  .bg-text-danger,
161
  .bg-text-danger:hover {
162
  color: #ff0039;
@@ -228,7 +281,7 @@
228
  float: right;
229
  font-size: 12px;
230
  display: inline-block;
231
- margin-top: 10px;
232
  margin-left: 5px;
233
  }
234
 
@@ -338,6 +391,171 @@ select#product {
338
  margin-top: 0 !important;
339
  }
340
 
 
 
 
 
 
 
 
 
 
 
 
341
  .sg-bg-show {
342
  display: block !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
343
  }
77
  border-radius: 0 !important;
78
  }
79
 
80
+ .sg-action-menu-arrow {
81
+ width: 11px;
82
+ height: 6px;
83
+ background-image: url("../img/action-menu-arrow.png");
84
+ background-repeat: no-repeat;
85
+ position: absolute;
86
+ right: 17px;
87
+ top: 20px;
88
+ display: none;
89
+ }
90
+
91
  .bg-login-content label {
92
  font-size: 16px;
93
  line-height: 16px;
168
  color: #3fb618;
169
  }
170
 
171
+ .sg-text-success {
172
+ color: #009F30;
173
+ }
174
+
175
+ .sg-remove-backup {
176
+ background-image: url("../img/delete-icon.png");
177
+ background-size: contain;
178
+ background-repeat: no-repeat;
179
+ width: 16px;
180
+ height: 19px;
181
+ text-decoration: none !important;
182
+ display: inline-block;
183
+ cursor: pointer;
184
+ }
185
+
186
+ .sg-bg-download-button {
187
+ background-image: url("../img/download-backup.png");
188
+ background-size: contain;
189
+ background-repeat: no-repeat;
190
+ width: 16px;
191
+ height: 19px;
192
+ text-decoration: none !important;
193
+ display: inline-block;
194
+ cursor: pointer;
195
+ }
196
+
197
+ .sg-restore-button {
198
+ background-image: url("../img/restore-backup.png");
199
+ background-size: contain;
200
+ background-repeat: no-repeat;
201
+ width: 16px;
202
+ height: 19px;
203
+ text-decoration: none !important;
204
+ display: inline-block;
205
+ cursor: pointer;
206
+ }
207
+
208
+ .sg-bg-download-button,
209
+ .sg-restore-button {
210
+ margin-left: 15px;
211
+ }
212
+
213
  .bg-text-danger,
214
  .bg-text-danger:hover {
215
  color: #ff0039;
281
  float: right;
282
  font-size: 12px;
283
  display: inline-block;
284
+ margin-top: 18px;
285
  margin-left: 5px;
286
  }
287
 
391
  margin-top: 0 !important;
392
  }
393
 
394
+ .sg-top-info {
395
+ height: 66px;
396
+ padding-right: 44px;
397
+ }
398
+
399
+ .sg-backup-page-title {
400
+ margin-top: 0px !important;
401
+ font-weight: bold !important;
402
+ margin-bottom: 36px !important;
403
+ }
404
+
405
  .sg-bg-show {
406
  display: block !important;
407
+ }
408
+
409
+ .sg-info-wrapper {
410
+ line-height: 1;
411
+ margin-top: 27px;
412
+ }
413
+
414
+ .sg-info-wrapper label {
415
+ margin-top: 0;
416
+ }
417
+ label.sg-user-info {
418
+ font-weight: normal;
419
+ }
420
+
421
+ .sg-info-content-wrapper label {
422
+ font-size: 18px;
423
+ }
424
+
425
+ .sg-settings-container label {
426
+ font-weight: normal;
427
+ }
428
+
429
+ #sg-email {
430
+ padding-right: 0;
431
+ }
432
+
433
+ .sg-cloud-icon {
434
+ background-size: contain;
435
+ background-repeat: no-repeat;
436
+ display: inline-block;
437
+ width: 17px;
438
+ height: 16px;
439
+ margin-top: 3px;
440
+ margin-right: 18px;
441
+ }
442
+
443
+ .sg-cloud-dropbox {
444
+ background-image: url("../img/cloud-dropbox.png");
445
+ }
446
+ .sg-cloud-google-drive {
447
+ background-image: url("../img/cloud-google-drive.png");
448
+ }
449
+ .sg-cloud-ftp {
450
+ background-image: url("../img/cloud-ftp.png");
451
+ }
452
+ .sg-cloud-amazon {
453
+ background-image: url("../img/cloud-amazon.png");
454
+ }
455
+ .sg-cloud-one-drive {
456
+ background-image: url("../img/cloud-onedrive.png");
457
+ }
458
+ .sg-cancel-backup {
459
+ background-image: url("../img/stop-action.png");
460
+ background-size: contain;
461
+ background-repeat: no-repeat;
462
+ width: 16px;
463
+ height: 19px;
464
+ text-decoration: none !important;
465
+ display: inline-block;
466
+ cursor: pointer;
467
+ }
468
+
469
+ .sg-cloud-icon-wrapper,
470
+ .sg-cloud-label-wrapper {
471
+ display: inline-block;
472
+ vertical-align: top;
473
+ height: 39px;
474
+ line-height: 1;
475
+ font-weight: normal;
476
+ }
477
+
478
+ .sg-schedule-icon {
479
+ text-decoration: none !important;
480
+ background-repeat: no-repeat;
481
+ background-size: contain;
482
+ display: inline-block;
483
+ cursor: pointer;
484
+ width: 24px;
485
+ height: 24px;
486
+ }
487
+
488
+ .sg-schedule-edit {
489
+ background-image: url("../img/edit-icon.png");
490
+ }
491
+
492
+ .sg-schedule-delete {
493
+ background-image: url("../img/delete-icon.png");
494
+ margin-left: 21px;
495
+ }
496
+
497
+ .sg-schedule-pending {
498
+ color: #0021C8 !important;
499
+ }
500
+
501
+ .sg-schedule-inactive {
502
+ color: #A4A4A4 !important;
503
+ }
504
+
505
+ #sg-save-settings {
506
+ margin-top: 47px;
507
+ margin-bottom: 23px;
508
+ width: 132px;
509
+ }
510
+
511
+ /* Generated by Glyphter (http://www.glyphter.com) on Thu Jul 30 2020*/
512
+ @font-face {
513
+ font-family: 'Glyphter';
514
+ src: url('../fonts/Glyphter.eot');
515
+ src: url('../fonts/Glyphter.eot?#iefix') format('embedded-opentype'),
516
+ url('../fonts/Glyphter.woff') format('woff'),
517
+ url('../fonts/Glyphter.ttf') format('truetype'),
518
+ url('../fonts/Glyphter.svg#Glyphter') format('svg');
519
+ font-weight: normal;
520
+ font-style: normal;
521
+ }
522
+ [class*='sg-backup-']:before{
523
+ display: inline-block;
524
+ font-family: 'Glyphter';
525
+ font-style: normal;
526
+ font-weight: normal;
527
+ line-height: 1;
528
+ -webkit-font-smoothing: antialiased;
529
+ -moz-osx-font-smoothing: grayscale
530
+ }
531
+
532
+ .sg-backup-cross:before{content:'\0041';}
533
+ .sg-backup-report:before{content:'\0042';}
534
+ .sg-backup-delete:before{content:'\0043';}
535
+ .sg-backup-import:before{content:'\0044';}
536
+ .sg-backup-start:before{content:'\0045';}
537
+ .sg-backup-migrate:before{content:'\0046';}
538
+
539
+ .sg-backup-action-buttons {
540
+ display: flex !important;
541
+ vertical-align: middle;
542
+ line-height: 1 !important;
543
+ font-weight: normal !important;
544
+ }
545
+ span.sg-backup-buttons-content {
546
+ display: inline-block;
547
+ vertical-align: middle !important;
548
+ }
549
+
550
+ .sg-backup-buttons-text {
551
+ margin-left: 10px;
552
+ }
553
+ .sg-blue-label {
554
+ color: #0021C8 !important;
555
+ }
556
+
557
+ [disabled]#sg-delete-multi-backups,
558
+ [disabled]#sg-backup-with-migration {
559
+ background-color: #A4A4A4 !important;
560
+ border-color: #A4A4A4 !important;
561
  }
public/fonts/Glyphter.eot ADDED
Binary file
public/fonts/Glyphter.svg ADDED
@@ -0,0 +1 @@
 
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" ><svg xmlns="http://www.w3.org/2000/svg"><metadata>Generated by Glyphter</metadata><defs><font id="Glyphter" horiz-adv-x="0"><font-face units-per-em="1024" ascent="1024" descent="0" font-family="Glyphter" font-weight="normal" /><missing-glyph horiz-adv-x="0" /><glyph unicode="&#x0041;" d="M995.108,593.594C995.108,593.594,594.062,593.594,594.062,593.594C594.062,593.594,594.062,994.682,594.062,994.682C594.062,1011.148,580.714,1024.497,564.248,1024.497C564.248,1024.497,462.027,1024.497,462.027,1024.497C445.561,1024.497,432.212,1011.148,432.212,994.682C432.212,994.682,432.212,593.423,432.212,593.423C432.212,593.423,30.314,593.423,30.314,593.423C13.848,593.423,0.5,580.075,0.5,563.609C0.5,563.609,0.5,461.388,0.5,461.388C0.5,444.922,13.848,431.574,30.314,431.574C30.314,431.574,431.574,431.574,431.574,431.574C431.574,431.574,431.574,30.314,431.574,30.314C431.574,13.848,444.922,0.5,461.388,0.5C461.388,0.5,563.609,0.5,563.609,0.5C580.075,0.5,593.423,13.848,593.423,30.314C593.423,30.314,593.423,431.318,593.423,431.318C593.423,431.318,994.682,431.318,994.682,431.318C1011.148,431.318,1024.497,444.666,1024.497,461.132C1024.497,461.132,1024.497,461.132,1024.497,461.132C1024.497,461.132,1024.497,563.353,1024.497,563.353C1024.735,579.819,1011.574,593.359,995.108,593.594C995.108,593.594,995.108,593.594,995.108,593.594" class="icon-Artboard 4"/><glyph unicode="&#x0042;" d="M973.626,36.5C973.626,36.5,50.367,36.5,50.367,36.5C11.991,36.366,-12.291,77.649,6.473,111.126C6.473,111.126,479.234,962.238,479.234,962.238C497.844,996.035,546.062,997.014,566.025,963.998C566.553,963.127,567.052,962.241,567.524,961.342C567.524,961.342,1018.021,110.229,1018.021,110.229C1035.887,76.77,1011.556,36.361,973.626,36.5C973.626,36.5,973.626,36.5,973.626,36.5M513.816,943.035C513.816,943.035,41.003,91.896,41.003,91.896C36.94,84.863,42.016,76.069,50.138,76.066C50.196,76.066,50.256,76.069,50.314,76.069C50.314,76.069,973.573,76.069,973.573,76.069C981.69,75.913,986.936,84.599,983.016,91.711C983.016,91.711,532.493,942.824,532.493,942.824C530.68,946.295,527.096,948.479,523.181,948.495C519.264,948.569,515.626,946.467,513.737,943.035C513.737,943.035,513.816,943.035,513.816,943.035M488.44,244.365C486.33,271.272,503.74,291.056,528.272,291.32C550.958,291.583,568.895,272.327,569.423,249.377C569.687,225.109,554.123,206.38,529.591,205.852C507.981,206.127,490.141,222.822,488.44,244.365C488.44,244.365,488.44,244.365,488.44,244.365M522.732,340.121C522.732,340.121,491.078,655.611,491.078,655.611C488.838,677.975,506.325,697.416,528.8,697.553C528.8,697.553,528.8,697.553,528.8,697.553C551.322,697.519,568.866,678.009,566.521,655.611C566.521,655.611,534.867,340.121,534.867,340.121C534.603,332.471,523.524,332.471,522.732,340.121C522.732,340.121,522.732,340.121,522.732,340.121" class="icon-Artboard 5"/><glyph unicode="&#x0043;" d="M325.673,741.134C313.684,741.15,303.958,731.424,303.974,719.435C303.974,719.435,303.974,174.369,303.974,174.369C303.945,162.515,313.56,152.9,325.415,152.928C325.415,152.928,325.931,152.928,325.931,152.928C337.786,152.9,347.401,162.515,347.372,174.369C347.372,174.369,347.372,719.435,347.372,719.435C347.489,731.468,337.706,741.25,325.673,741.134C325.673,741.134,325.673,741.134,325.673,741.134M500.042,741.134C488.054,741.15,478.328,731.424,478.343,719.435C478.343,719.435,478.343,174.369,478.343,174.369C478.315,162.515,487.93,152.9,499.784,152.928C499.784,152.928,500.301,152.928,500.301,152.928C512.155,152.9,521.77,162.515,521.742,174.369C521.742,174.369,521.742,719.435,521.742,719.435C521.757,731.424,512.031,741.15,500.042,741.134C500.042,741.134,500.042,741.134,500.042,741.134M674.412,741.134C662.423,741.15,652.697,731.424,652.712,719.435C652.712,719.435,652.712,174.369,652.712,174.369C652.684,162.515,662.299,152.9,674.153,152.928C674.153,152.928,674.67,152.928,674.67,152.928C686.525,152.9,696.139,162.515,696.111,174.369C696.111,174.369,696.111,719.435,696.111,719.435C696.041,731.39,686.367,741.064,674.412,741.134C674.412,741.134,674.412,741.134,674.412,741.134M1014.109,929.195C1014.109,929.195,739.768,929.195,739.768,929.195C739.768,929.195,739.768,1024,739.768,1024C739.768,1024,260.575,1024,260.575,1024C260.575,1024,260.575,929.195,260.575,929.195C260.575,929.195,10,929.195,10,929.195C10,929.195,10,857.38,10,857.38C10,857.38,130.121,857.38,130.121,857.38C130.121,857.38,130.121,0,130.121,0C130.121,0,870.739,0,870.739,0C870.739,0,870.739,857.639,870.739,857.639C870.739,857.639,1014.316,857.639,1014.316,857.639C1014.316,857.639,1014.316,929.195,1014.316,929.195C1014.316,929.195,1014.109,929.195,1014.109,929.195M303.922,980.601C303.922,980.601,696.059,980.601,696.059,980.601C696.059,980.601,696.059,929.453,696.059,929.453C696.059,929.453,303.922,929.453,303.922,929.453C303.922,929.453,303.922,980.601,303.922,980.601M826.772,43.915C826.772,43.915,173.21,43.915,173.21,43.915C173.21,43.915,173.21,849.889,173.21,849.889C173.21,849.889,826.513,849.889,826.513,849.889C826.513,849.889,826.513,43.915,826.513,43.915C826.513,43.915,826.772,43.915,826.772,43.915" class="icon-Artboard 6"/><glyph unicode="&#x0044;" d="M919.856,90.628C919.856,90.628,919.856,90.628,919.856,90.628C919.856,90.628,104.314,90.628,104.314,90.628C104.314,90.628,104.314,90.628,104.314,90.628C104.314,90.628,59,90.628,59,90.628C59,90.628,59,0,59,0C59,0,965.17,0,965.17,0C965.17,0,965.17,90.628,965.17,90.628C965.17,90.628,919.856,90.628,919.856,90.628C919.856,90.628,919.856,90.628,919.856,90.628M212.982,561.842C212.982,561.842,348.888,561.842,348.888,561.842C348.888,561.842,348.888,190.311,348.888,190.311C348.888,190.311,439.515,190.311,439.515,190.311C439.515,190.311,439.515,652.469,439.515,652.469C439.515,652.469,267.422,652.469,267.422,652.469C267.422,652.469,539.27,924.317,539.27,924.317C539.27,924.317,802.061,661.525,802.061,661.525C802.061,661.525,629.897,661.525,629.897,661.525C629.897,661.525,629.897,199.225,629.897,199.225C629.897,199.225,720.489,199.225,720.489,199.225C720.489,199.225,720.489,561.842,720.489,561.842C720.489,561.842,865.487,561.842,865.487,561.842C900.917,560.954,929.86,589.943,928.912,625.373C928.571,642.174,922.132,658.279,910.8,670.687C910.8,670.687,593.639,996.798,593.639,996.798C575.528,1014.909,557.406,1023.975,539.27,1024C539.27,1024,539.27,1024,539.27,1024C521.158,1024,512.067,1014.909,493.956,996.798C493.956,996.798,167.739,670.581,167.739,670.581C143.587,645.2,143.587,605.334,167.739,579.953C185.85,570.897,194.906,561.842,212.982,561.842C212.982,561.842,212.982,561.842,212.982,561.842" class="icon-Artboard 3"/><glyph unicode="&#x0045;" d="M246.097,0C232.423,0,225.613,0,211.967,6.81C191.483,20.456,171,40.94,171,61.423C171,61.423,171,962.311,171,962.311C171,989.604,184.674,1010.087,211.967,1016.897C232.423,1030.544,266.553,1023.734,287.036,1003.25C287.036,1003.25,833.033,552.807,833.033,552.807C839.843,545.97,853.489,532.323,853.489,518.677C853.489,505.03,853.489,484.547,839.843,470.9C839.843,464.09,833.033,464.09,826.331,457.254C826.331,457.254,287.036,13.647,287.036,13.647C280.199,6.81,259.743,0,246.097,0C246.097,0,246.097,0,246.097,0M252.717,81.744C252.717,81.744,252.717,81.744,252.717,81.744C252.717,81.744,764.908,511.867,764.908,511.867C764.908,511.867,259.608,928.451,259.608,928.451C259.608,928.451,252.717,928.451,252.717,928.451C252.717,928.451,252.717,81.744,252.717,81.744M785.256,518.677C785.256,518.677,785.256,518.677,785.256,518.677" class="icon-Artboard 1"/><glyph unicode="&#x0046;" d="M718.942,462.45C688.79,461.666,664.141,486.315,664.925,516.467C664.925,516.467,664.925,608.735,664.925,608.735C664.925,608.735,95.278,608.735,95.278,608.735C56.942,608.583,25.832,639.711,26.001,678.046C26.001,678.046,26.001,808.937,26.001,808.937C25.926,847.202,57.013,878.214,95.278,878.045C95.278,878.045,665.06,878.045,665.06,878.045C665.06,878.045,665.06,970.618,665.06,970.618C665.35,984.888,670.823,998.568,680.455,1009.105C690.991,1018.737,704.671,1024.21,718.942,1024.5C718.942,1024.5,718.942,1024.5,718.942,1024.5C733.226,1024.216,746.92,1018.744,757.463,1009.105C757.463,1009.105,980.723,785.845,980.723,785.845C1003.816,762.752,1003.816,731.827,980.723,708.836C980.723,708.836,757.463,485.576,757.463,485.576C742.068,470.147,734.371,462.45,718.942,462.45C718.942,462.45,718.942,462.45,718.942,462.45M703.547,531.761C703.547,531.761,703.547,531.761,703.547,531.761M103.009,685.609C103.009,685.609,742.068,685.609,742.068,685.609C742.068,685.609,742.068,577.81,742.068,577.81C742.068,577.81,903.749,739.626,903.749,739.626C903.749,739.626,734.371,909.038,734.371,909.038C734.371,909.038,734.371,801.24,734.371,801.24C734.371,801.24,95.278,801.24,95.278,801.24C95.278,801.24,95.278,685.609,95.278,685.609C95.278,685.609,103.009,685.609,103.009,685.609M695.849,947.39C695.849,947.39,695.849,947.39,695.849,947.39M303.211,0.5C288.927,0.784,275.233,6.256,264.69,15.895C264.69,15.895,41.429,239.189,41.429,239.189C20.903,260.742,20.903,294.611,41.429,316.164C41.429,316.164,264.69,539.458,264.69,539.458C286.253,559.988,320.135,559.988,341.698,539.458C351.33,528.921,356.803,515.241,357.093,500.971C357.093,500.971,357.093,416.265,357.093,416.265C357.093,416.265,926.841,416.265,926.841,416.265C965.173,416.434,996.287,385.32,996.118,346.987C996.118,346.987,996.118,216.097,996.118,216.097C996.287,177.761,965.177,146.634,926.841,146.786C926.841,146.786,357.093,146.786,357.093,146.786C357.093,146.786,357.093,54.281,357.093,54.281C356.786,40.047,351.33,26.408,341.732,15.895C326.303,8.197,318.606,0.5,303.211,0.5C303.211,0.5,303.211,0.5,303.211,0.5M110.774,277.676C110.774,277.676,272.455,115.996,272.455,115.996C272.455,115.996,272.455,223.794,272.455,223.794C272.455,223.794,911.446,223.794,911.446,223.794C911.446,223.794,911.446,339.29,911.446,339.29C911.446,339.29,272.387,339.29,272.387,339.29C272.387,339.29,272.387,447.055,272.387,447.055C272.387,447.055,110.774,277.676,110.774,277.676M280.152,500.971C280.152,500.971,280.152,500.971,280.152,500.971" class="icon-Artboard 2"/></font></defs></svg>
public/fonts/Glyphter.ttf ADDED
Binary file
public/fonts/Glyphter.woff ADDED
Binary file
public/fonts/reportFont.eot ADDED
Binary file
public/fonts/reportFont.ttf ADDED
Binary file
public/fonts/reportFont.woff ADDED
Binary file
public/img/action-menu-arrow.png ADDED
Binary file
public/img/arrow-right.png ADDED
Binary file
public/img/backup-icons.png CHANGED
Binary file
public/img/backup-icons@2x-old.png ADDED
Binary file
public/img/backup-icons@2x.png CHANGED
Binary file
public/img/checkbox-content.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="12.22" height="10.315" viewBox="0 0 12.22 10.315">
2
+ <path id="Path_16" data-name="Path 16" d="M15014.8,1085.265l4.533,5.65,7.687-10.315-8.08,7.03Z" transform="translate(-15014.799 -1080.6)" fill="#fff"/>
3
+ </svg>
public/img/cloud-amazon.png ADDED
Binary file
public/img/cloud-dropbox.png ADDED
Binary file
public/img/cloud-ftp.png ADDED
Binary file
public/img/cloud-google-drive.png ADDED
Binary file
public/img/cloud-onedrive.png ADDED
Binary file
public/img/delete-icon.png ADDED
Binary file
public/img/download-backup.png ADDED
Binary file
public/img/edit-icon.png ADDED
Binary file
public/img/restore-backup.png ADDED
Binary file
public/img/select-arrow.png CHANGED
Binary file
public/img/stop-action.png ADDED
Binary file
public/img/wordPress-migration-service-product.png ADDED
Binary file
public/include/sidebar.php CHANGED
@@ -31,53 +31,62 @@
31
  }
32
  ?>
33
  <div id="sg-sidebar-wrapper" class="metro">
 
 
 
 
34
  <nav class="sidebar dark">
35
  <ul>
36
- <li class="title">
37
- <a class="sg-site-url" target="_blank" href="<?php echo SG_BACKUP_SITE_URL;?>"></a>
38
- </li>
39
  <li class="<?php echo strpos($page,'backups')?'active':''?>">
40
  <a href="<?php echo network_admin_url('admin.php?page=backup_guard_backups'); ?>">
41
  <span class="glyphicon glyphicon-hdd"></span><?php _backupGuardT('Backups')?>
42
  </a>
 
43
  </li>
44
  <li class="<?php echo strpos($page,'cloud')?'active':''?>">
45
  <a href="<?php echo network_admin_url('admin.php?page=backup_guard_cloud'); ?>">
46
  <span class="glyphicon glyphicon-cloud" aria-hidden="true"></span><?php _backupGuardT('Cloud')?>
47
  </a>
 
48
  </li>
49
  <?php if (SGBoot::isFeatureAvailable('SCHEDULE')):?>
50
  <li class="<?php echo strpos($page,'schedule')?'active':''?>">
51
  <a href="<?php echo network_admin_url('admin.php?page=backup_guard_schedule'); ?>">
52
  <span class="glyphicon glyphicon-time" aria-hidden="true"></span><?php _backupGuardT('Schedule')?>
53
  </a>
 
54
  </li>
55
  <?php endif;?>
56
  <li class="<?php echo strpos($page,'settings')?'active':''?>">
57
  <a href="<?php echo network_admin_url('admin.php?page=backup_guard_settings'); ?>">
58
  <span class="glyphicon glyphicon-cog" aria-hidden="true"></span><?php _backupGuardT('Settings')?>
59
  </a>
 
60
  </li>
61
  <li class="<?php echo strpos($page,'system_info')?'active':''?>">
62
  <a href="<?php echo network_admin_url('admin.php?page=backup_guard_system_info'); ?>">
63
  <span class="glyphicon glyphicon-equalizer" aria-hidden="true"></span><?php _backupGuardT('System Info.')?>
64
  </a>
 
65
  </li>
66
  <li class="<?php echo strpos($page,'services')?'active':''?>">
67
  <a href="<?php echo network_admin_url('admin.php?page=backup_guard_services'); ?>">
68
  <span class="glyphicon glyphicon-briefcase" aria-hidden="true"></span><?php _backupGuardT('Services')?>
69
  </a>
 
70
  </li>
71
  <li class="<?php echo strpos($page,'support')?'active':''?>">
72
  <a href="<?php echo $supportUrl; ?>">
73
  <span class="glyphicon glyphicon-envelope" aria-hidden="true"></span><?php _backupGuardT('Support')?>
74
  </a>
 
75
  </li>
76
  <?php if (SGBoot::isFeatureAvailable('SHOW_UPGRADE_PAGE')):?>
77
  <li class="<?php echo strpos($page,'pro_features')?'active':''?>">
78
  <a href="<?php echo network_admin_url('admin.php?page=backup_guard_pro_features'); ?>">
79
  <span class="glyphicon glyphicon-refresh" aria-hidden="true"></span><?php _backupGuardT('Why upgrade?')?>
80
  </a>
 
81
  </li>
82
  <?php endif; ?>
83
  <!-- Will be added in the future release -->
@@ -93,11 +102,11 @@
93
  </nav>
94
  <?php if ($showUpgradeButton && !$isDisabelAdsEnabled):?>
95
  <div class="sg-alert-pro">
96
- <p>
97
  <?php _backupGuardT($upgradeText); ?>
98
  </p>
99
  <p>
100
- <a class="btn btn-primary" target="_blank" href="<?php echo $buttonUrl; ?>">
101
  <?php _backupGuardT($buttonText); ?>
102
  </a>
103
  </p>
31
  }
32
  ?>
33
  <div id="sg-sidebar-wrapper" class="metro">
34
+ <div class="title">
35
+ <a class="sg-site-url" target="_blank" href="<?php echo SG_BACKUP_SITE_URL;?>"></a>
36
+ <span class="sg-action-menu-arrow"></span>
37
+ </div>
38
  <nav class="sidebar dark">
39
  <ul>
 
 
 
40
  <li class="<?php echo strpos($page,'backups')?'active':''?>">
41
  <a href="<?php echo network_admin_url('admin.php?page=backup_guard_backups'); ?>">
42
  <span class="glyphicon glyphicon-hdd"></span><?php _backupGuardT('Backups')?>
43
  </a>
44
+ <span class="sg-action-menu-arrow"></span>
45
  </li>
46
  <li class="<?php echo strpos($page,'cloud')?'active':''?>">
47
  <a href="<?php echo network_admin_url('admin.php?page=backup_guard_cloud'); ?>">
48
  <span class="glyphicon glyphicon-cloud" aria-hidden="true"></span><?php _backupGuardT('Cloud')?>
49
  </a>
50
+ <span class="sg-action-menu-arrow"></span>
51
  </li>
52
  <?php if (SGBoot::isFeatureAvailable('SCHEDULE')):?>
53
  <li class="<?php echo strpos($page,'schedule')?'active':''?>">
54
  <a href="<?php echo network_admin_url('admin.php?page=backup_guard_schedule'); ?>">
55
  <span class="glyphicon glyphicon-time" aria-hidden="true"></span><?php _backupGuardT('Schedule')?>
56
  </a>
57
+ <span class="sg-action-menu-arrow"></span>
58
  </li>
59
  <?php endif;?>
60
  <li class="<?php echo strpos($page,'settings')?'active':''?>">
61
  <a href="<?php echo network_admin_url('admin.php?page=backup_guard_settings'); ?>">
62
  <span class="glyphicon glyphicon-cog" aria-hidden="true"></span><?php _backupGuardT('Settings')?>
63
  </a>
64
+ <span class="sg-action-menu-arrow"></span>
65
  </li>
66
  <li class="<?php echo strpos($page,'system_info')?'active':''?>">
67
  <a href="<?php echo network_admin_url('admin.php?page=backup_guard_system_info'); ?>">
68
  <span class="glyphicon glyphicon-equalizer" aria-hidden="true"></span><?php _backupGuardT('System Info.')?>
69
  </a>
70
+ <span class="sg-action-menu-arrow"></span>
71
  </li>
72
  <li class="<?php echo strpos($page,'services')?'active':''?>">
73
  <a href="<?php echo network_admin_url('admin.php?page=backup_guard_services'); ?>">
74
  <span class="glyphicon glyphicon-briefcase" aria-hidden="true"></span><?php _backupGuardT('Services')?>
75
  </a>
76
+ <span class="sg-action-menu-arrow"></span>
77
  </li>
78
  <li class="<?php echo strpos($page,'support')?'active':''?>">
79
  <a href="<?php echo $supportUrl; ?>">
80
  <span class="glyphicon glyphicon-envelope" aria-hidden="true"></span><?php _backupGuardT('Support')?>
81
  </a>
82
+ <span class="sg-action-menu-arrow"></span>
83
  </li>
84
  <?php if (SGBoot::isFeatureAvailable('SHOW_UPGRADE_PAGE')):?>
85
  <li class="<?php echo strpos($page,'pro_features')?'active':''?>">
86
  <a href="<?php echo network_admin_url('admin.php?page=backup_guard_pro_features'); ?>">
87
  <span class="glyphicon glyphicon-refresh" aria-hidden="true"></span><?php _backupGuardT('Why upgrade?')?>
88
  </a>
89
+ <span class="sg-action-menu-arrow"></span>
90
  </li>
91
  <?php endif; ?>
92
  <!-- Will be added in the future release -->
102
  </nav>
103
  <?php if ($showUpgradeButton && !$isDisabelAdsEnabled):?>
104
  <div class="sg-alert-pro">
105
+ <p class="sg-upgrade-text">
106
  <?php _backupGuardT($upgradeText); ?>
107
  </p>
108
  <p>
109
+ <a class="btn btn-success" target="_blank" href="<?php echo $buttonUrl; ?>">
110
  <?php _backupGuardT($buttonText); ?>
111
  </a>
112
  </p>
public/js/sgbackup.js CHANGED
@@ -151,10 +151,10 @@ sgBackup.toggleMultiDeleteButton = function() {
151
  var target = jQuery('#sg-delete-multi-backups');
152
 
153
  if (numberOfChoosenBackups > 0) {
154
- target.show();
155
  }
156
  else {
157
- target.hide();
158
  }
159
  };
160
 
151
  var target = jQuery('#sg-delete-multi-backups');
152
 
153
  if (numberOfChoosenBackups > 0) {
154
+ target.removeAttr('disabled');
155
  }
156
  else {
157
+ target.attr('disabled','disabled');
158
  }
159
  };
160
 
public/js/sgcloud.js CHANGED
@@ -71,6 +71,7 @@ sgBackup.importKeyFile = function(isFileSelected){
71
  }
72
 
73
  sgBackup.initCloudSwitchButtons = function(){
 
74
  jQuery('.sg-switch').bootstrapSwitch();
75
  jQuery('.sg-switch').on('switchChange.bootstrapSwitch', function(event, state) {
76
  var storage = jQuery(this).attr('data-storage'),
71
  }
72
 
73
  sgBackup.initCloudSwitchButtons = function(){
74
+ jQuery.fn.bootstrapSwitch.defaults.size = 'small';
75
  jQuery('.sg-switch').bootstrapSwitch();
76
  jQuery('.sg-switch').on('switchChange.bootstrapSwitch', function(event, state) {
77
  var storage = jQuery(this).attr('data-storage'),
public/js/sgsettings.js CHANGED
@@ -43,6 +43,7 @@ sgBackup.saveInitialState = function() {
43
  };
44
 
45
  sgBackup.initGeneralSettingsSwitchButtons = function() {
 
46
  jQuery('.sg-switch').bootstrapSwitch();
47
 
48
  jQuery('.sg-email-switch').on('switchChange.bootstrapSwitch', function (event, state) {
43
  };
44
 
45
  sgBackup.initGeneralSettingsSwitchButtons = function() {
46
+ jQuery.fn.bootstrapSwitch.defaults.size = 'small';
47
  jQuery('.sg-switch').bootstrapSwitch();
48
 
49
  jQuery('.sg-email-switch').on('switchChange.bootstrapSwitch', function (event, state) {
public/restore_wordpress.php CHANGED
@@ -176,7 +176,7 @@ if ($action == 'finalize') {
176
  <p class="restore-progress-p">Restoring <span id="progressItem">files</span>: <span id="progressTxt">0%</span></p>
177
  <p class="restore-warning"><small>NOTE: Please don't close your browser until finished.</small></p>
178
  <div class="sg-progress progress">
179
- <div id="progressBar" class="progress-bar progress-bar-danger" style="width: 0%;"></div>
180
  </div>
181
  </div>
182
  </div>
176
  <p class="restore-progress-p">Restoring <span id="progressItem">files</span>: <span id="progressTxt">0%</span></p>
177
  <p class="restore-warning"><small>NOTE: Please don't close your browser until finished.</small></p>
178
  <div class="sg-progress progress">
179
+ <div id="progressBar" class="progress-bar" style="width: 0%;"></div>
180
  </div>
181
  </div>
182
  </div>
public/services.php CHANGED
@@ -3,53 +3,64 @@ require_once(dirname(__FILE__).'/boot.php');
3
  require_once(SG_PUBLIC_INCLUDE_PATH.'header.php');
4
  ?>
5
  <?php require_once(SG_PUBLIC_INCLUDE_PATH.'sidebar.php'); ?>
 
6
  <div id="sg-content-wrapper">
7
  <div class="container-fluid">
8
- <legend><?php _backupGuardT('Special services')?><?php echo backupGuardLoggedMessage(); ?></legend>
9
- <div class="sg-service-container plugin-card">
10
  <div class="plugin-card-top">
11
- <div class="name column-name">
12
- <h3>
13
- <a href="<?php echo SG_MIGRATION_SERVICE_URL?>" class="thickbox" target="_blank"><?php _backupGuardT('WordPress website migration')?><img src="<?php echo SG_PUBLIC_URL."img/128.png"?>" class="plugin-icon" alt=""></a>
14
- </h3>
15
- </div>
16
- <div class="action-links">
17
- <ul class="plugin-action-buttons">
18
- <li>
19
- <p id="sg-migration-service-price"><b>$84.95</b></p>
20
- </li>
21
- <li>
22
- <a class="oreder-now button btn-primary" target="_blank" data-slug="" href="<?php echo SG_MIGRATION_SERVICE_URL?>" aria-label="" data-name=""><?php _backupGuardT('Order now')?></a>
23
- </li>
24
- </ul>
25
- </div>
26
- <div class="desc column-description">
27
- <p>
28
- <?php _backupGuardT('Our professionals will migrate all of your files and database and ensure everything is working properly on your new server. With our migration service, you can expect:')?>
29
- <div class="sg-margin-left-20">
30
- <p>
31
- <i class="glyphicon glyphicon-ok"></i>
32
- <?php _backupGuardT('Migration of your files')?>
33
- </p>
34
- <p>
35
- <i class="glyphicon glyphicon-ok"></i>
36
- <?php _backupGuardT('Migration of your database')?>
37
- </p>
38
- <p>
39
- <i class="glyphicon glyphicon-ok"></i>
40
- <?php _backupGuardT('Refactoring of all urls')?>
41
- </p>
42
- <p>
43
- <i class="glyphicon glyphicon-ok"></i>
44
- <?php _backupGuardT('Refactoring of all file names and image paths')?>
45
- </p>
46
- <p>
47
- <i class="glyphicon glyphicon-ok"></i>
48
- <?php _backupGuardT('Serialized data refactoring')?>
49
- </p>
50
- </div>
51
- </p>
52
- </div>
 
 
 
 
 
 
 
 
 
 
53
  </div>
54
  </div>
55
  </div>
3
  require_once(SG_PUBLIC_INCLUDE_PATH.'header.php');
4
  ?>
5
  <?php require_once(SG_PUBLIC_INCLUDE_PATH.'sidebar.php'); ?>
6
+ <div class="sg-top-info"><?php echo backupGuardLoggedMessage(); ?></div>
7
  <div id="sg-content-wrapper">
8
  <div class="container-fluid">
9
+ <div><h1 class="sg-backup-page-title"><?php _backupGuardT('Special services')?></h1></div>
10
+ <div class="sg-service-container">
11
  <div class="plugin-card-top">
12
+ <div class="row">
13
+ <div class="col-md-3">
14
+ <div class="sg-migration-icon"></div>
15
+ <!-- <img src="<?php echo SG_PUBLIC_URL."img/wordPress-migration-service-product.png"?>" class="" alt=""> -->
16
+ </div>
17
+ <div class="col-md-7 sg-migration-info">
18
+ <div class="column-name">
19
+ <h1>
20
+ <a href="<?php echo SG_MIGRATION_SERVICE_URL?>" class="thickbox" target="_blank"><?php _backupGuardT('WordPress'); ?> <b><?php _backupGuardT('Migration Service'); ?></b></a>
21
+ </h1>
22
+ </div>
23
+ <div class="column-description">
24
+ <p class="column-description-p"><?php _backupGuardT('Our professionals will migrate all of your files and database and ensure <br> everything is working properly on your new server. With our migration service, you can expect:')?></p>
25
+ <div class="row">
26
+ <div class="col-md-5">
27
+ <p class="sg-migration-features">
28
+ <span class="sg-right-arrow sg-services-arrow"></span>
29
+ <?php _backupGuardT('Migration of your files')?>
30
+ </p>
31
+ <p class="sg-migration-features">
32
+ <span class="sg-right-arrow sg-services-arrow"></span>
33
+ <?php _backupGuardT('Migration of your database')?>
34
+ </p>
35
+ <p class="sg-migration-features">
36
+ <span class="sg-right-arrow sg-services-arrow"></span>
37
+ <?php _backupGuardT('Refactoring of all urls')?>
38
+ </p>
39
+ </div>
40
+ <div class="col-md-7">
41
+ <p class="sg-migration-features">
42
+ <span class="sg-right-arrow sg-services-arrow"></span>
43
+ <?php _backupGuardT('Refactoring of all file names and image paths')?>
44
+ </p>
45
+ <p class="sg-migration-features">
46
+ <span class="sg-right-arrow sg-services-arrow"></span>
47
+ <?php _backupGuardT('Serialized data refactoring')?>
48
+ </p>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ <div class="col-md-2 sg-migration-right-column">
54
+ <div class="migration-price-wrapper">
55
+ <ul class="sg-migration-price-ul">
56
+ <li><p id="sg-migration-service-price">$<b>84.95</b></p></li>
57
+ <li>
58
+ <a class="btn btn-success" target="_blank" data-slug="" href="<?php echo SG_MIGRATION_SERVICE_URL?>" aria-label="" data-name=""><?php _backupGuardT('Order now')?></a>
59
+ </li>
60
+ </ul>
61
+ </div>
62
+ </div>
63
+ </div>
64
  </div>
65
  </div>
66
  </div>
public/settings.php CHANGED
@@ -26,22 +26,23 @@ $sgBackgroundReloadMethod = SGConfig::get('SG_BACKGROUND_RELOAD_METHOD');
26
  $ftpPassiveMode = SGConfig::get('SG_FTP_PASSIVE_MODE');
27
  ?>
28
  <?php require_once(SG_PUBLIC_INCLUDE_PATH . 'sidebar.php'); ?>
 
29
  <div id="sg-content-wrapper">
30
  <div class="container-fluid">
31
  <div class="row sg-settings-container">
32
  <div class="col-md-12">
33
  <form class="form-horizontal" method="post" data-sgform="ajax" data-type="sgsettings">
34
  <fieldset>
35
- <legend><?php _backupGuardT('General settings')?><?php echo backupGuardLoggedMessage(); ?></legend>
36
  <?php if (SGBoot::isFeatureAvailable('NOTIFICATIONS')): ?>
37
  <div class="form-group">
38
- <label class="col-md-8 sg-control-label sg-user-info">
39
  <?php _backupGuardT('Email notifications'); ?>
40
  <?php if(!empty($userEmail)): ?>
41
  <br/><span class="text-muted sg-user-email sg-helper-block"><?php echo esc_html($userEmail); ?></span>
42
  <?php endif?>
43
  </label>
44
- <div class="col-md-3 pull-right text-right">
45
  <label class="sg-switch-container">
46
  <input type="checkbox" name="sgIsEmailNotification" class="sg-switch sg-email-switch" sgFeatureName="NOTIFICATIONS" <?php echo $isNotificationEnabled?'checked="checked"':''?> data-remote="settings">
47
  </label>
@@ -49,18 +50,18 @@ $ftpPassiveMode = SGConfig::get('SG_FTP_PASSIVE_MODE');
49
  </div>
50
  <div class="sg-general-settings">
51
  <div class="form-group">
52
- <label class="col-md-4 sg-control-label" for="sg-email"><?php _backupGuardT('Enter email')?></label>
53
- <div class="col-md-8">
54
- <input id="sg-email" name="sgUserEmail" type="text" placeholder="<?php _backupGuardT('You can enter multiple emails, just separate them with comma')?>" class="form-control input-md" value="<?php echo @$userEmail?>">
55
  </div>
56
  </div>
57
  </div>
58
  <?php endif; ?>
59
  <div class="form-group">
60
- <label class="col-md-8 sg-control-label">
61
  <?php _backupGuardT('Reloads enabled'); ?>
62
  </label>
63
- <div class="col-md-3 pull-right text-right">
64
  <label class="sg-switch-container">
65
  <input type="checkbox" name="backup-with-reloadings" class="sg-switch" <?php echo $isReloadingsEnabled?'checked="checked"':''?>>
66
  </label>
@@ -68,10 +69,10 @@ $ftpPassiveMode = SGConfig::get('SG_FTP_PASSIVE_MODE');
68
  </div>
69
  <?php if (SGBoot::isFeatureAvailable('DELETE_LOCAL_BACKUP_AFTER_UPLOAD')): ?>
70
  <div class="form-group">
71
- <label class="col-md-8 sg-control-label">
72
  <?php _backupGuardT('Delete local backup after upload'); ?>
73
  </label>
74
- <div class="col-md-3 pull-right text-right">
75
  <label class="sg-switch-container">
76
  <input type="checkbox" name="delete-backup-after-upload" sgFeatureName="DELETE_LOCAL_BACKUP_AFTER_UPLOAD" class="sg-switch" <?php echo $isDeleteBackupAfterUploadEnabled?'checked="checked"':''?>>
77
  </label>
@@ -80,10 +81,10 @@ $ftpPassiveMode = SGConfig::get('SG_FTP_PASSIVE_MODE');
80
  <?php endif; ?>
81
  <?php if (SGBoot::isFeatureAvailable('ALERT_BEFORE_UPDATE')): ?>
82
  <div class="form-group">
83
- <label class="col-md-8 sg-control-label">
84
  <?php _backupGuardT('Alert before update'); ?>
85
  </label>
86
- <div class="col-md-3 pull-right text-right">
87
  <label class="sg-switch-container">
88
  <input type="checkbox" name="alert-before-update" sgFeatureName="ALERT_BEFORE_UPDATE" class="sg-switch" <?php echo $isAlertBeforeUpdateEnabled?'checked="checked"':''?>>
89
  </label>
@@ -92,10 +93,10 @@ $ftpPassiveMode = SGConfig::get('SG_FTP_PASSIVE_MODE');
92
  <?php endif; ?>
93
  <?php if (SGBoot::isFeatureAvailable('BACKUP_DELETION_WILL_ALSO_DELETE_FROM_CLOUD')): ?>
94
  <div class="form-group">
95
- <label class="col-md-8 sg-control-label">
96
  <?php _backupGuardT('Backup deletion will also delete from cloud'); ?>
97
  </label>
98
- <div class="col-md-3 pull-right text-right">
99
  <label class="sg-switch-container">
100
  <input type="checkbox" name="delete-backup-from-cloud" sgFeatureName="BACKUP_DELETION_WILL_ALSO_DELETE_FROM_CLOUD" class="sg-switch" <?php echo $isDeleteBackupFromCloudEnabled?'checked="checked"':''?>>
101
  </label>
@@ -103,10 +104,10 @@ $ftpPassiveMode = SGConfig::get('SG_FTP_PASSIVE_MODE');
103
  </div>
104
  <?php endif; ?>
105
  <div class="form-group">
106
- <label class="col-md-8 sg-control-label">
107
  <?php _backupGuardT('Show statistics'); ?>
108
  </label>
109
- <div class="col-md-3 pull-right text-right">
110
  <label class="sg-switch-container">
111
  <input type="checkbox" name="show-statistics-widget" class="sg-switch" <?php echo $isShowStatisticsWidgetEnabled?'checked="checked"':''?>>
112
  </label>
@@ -114,10 +115,10 @@ $ftpPassiveMode = SGConfig::get('SG_FTP_PASSIVE_MODE');
114
  </div>
115
  <?php if (SGBoot::isFeatureAvailable('FTP')): ?>
116
  <div class="form-group">
117
- <label class="col-md-8 sg-control-label">
118
  <?php _backupGuardT('FTP passive mode'); ?>
119
  </label>
120
- <div class="col-md-3 pull-right text-right">
121
  <label class="sg-switch-container">
122
  <input type="checkbox" name="ftp-passive-mode" sgFeatureName="FTP" class="sg-switch" <?php echo $ftpPassiveMode?'checked="checked"':''?>>
123
  </label>
@@ -126,10 +127,10 @@ $ftpPassiveMode = SGConfig::get('SG_FTP_PASSIVE_MODE');
126
  <?php endif; ?>
127
  <?php if (SGBoot::isFeatureAvailable('MULTI_SCHEDULE')): ?>
128
  <div class="form-group">
129
- <label class="col-md-8 sg-control-label">
130
  <?php _backupGuardT('Disable ads'); ?>
131
  </label>
132
- <div class="col-md-3 pull-right text-right">
133
  <label class="sg-switch-container">
134
  <input type="checkbox" name="sg-hide-ads" sgFeatureName="HIDE_ADS" class="sg-switch" <?php echo $isDisabelAdsEnabled?'checked="checked"':''?>>
135
  </label>
@@ -137,10 +138,10 @@ $ftpPassiveMode = SGConfig::get('SG_FTP_PASSIVE_MODE');
137
  </div>
138
  <?php endif; ?>
139
  <div class="form-group">
140
- <label class="col-md-8 sg-control-label">
141
  <?php _backupGuardT('Download via PHP'); ?>
142
  </label>
143
- <div class="col-md-3 pull-right text-right">
144
  <label class="sg-switch-container">
145
  <input type="checkbox" name="sg-download-via-php" sgFeatureName="DOWNLOAD_VIA_PHP" class="sg-switch" <?php echo $isDownloadViaPhp?'checked="checked"':''?>>
146
  </label>
@@ -148,38 +149,38 @@ $ftpPassiveMode = SGConfig::get('SG_FTP_PASSIVE_MODE');
148
  </div>
149
 
150
  <div class="form-group">
151
- <label class="col-md-5 sg-control-label" for='sg-paths-to-exclude'><?php _backupGuardT("Exclude paths (separated by commas)")?></label>
152
- <div class="col-md-5 pull-right text-right">
153
  <input class="form-control sg-backup-input" id='sg-paths-to-exclude' name='sg-paths-to-exclude' type="text" value="<?php echo SGConfig::get('SG_PATHS_TO_EXCLUDE')?SGConfig::get('SG_PATHS_TO_EXCLUDE'):''?>" placeholder="e.g. wp-content/cache, wp-content/w3tc-cache">
154
  </div>
155
  </div>
156
 
157
  <div class="form-group">
158
- <label class="col-md-5 sg-control-label" for='sg-tables-to-exclude'><?php _backupGuardT("Tables to exclude (separated by commas)")?></label>
159
- <div class="col-md-5 pull-right text-right">
160
  <input class="form-control sg-backup-input" id='sg-tables-to-exclude' name='sg-tables-to-exclude' type="text" value="<?php echo SGConfig::get('SG_TABLES_TO_EXCLUDE')?SGConfig::get('SG_TABLES_TO_EXCLUDE'):''?>" placeholder="e.g. wp_comments, wp_commentmeta">
161
  </div>
162
  </div>
163
 
164
  <?php if (SGBoot::isFeatureAvailable('NUMBER_OF_BACKUPS_TO_KEEP')): ?>
165
  <div class="form-group">
166
- <label class="col-md-5 sg-control-label" for='amount-of-backups-to-keep'><?php _backupGuardT("Backup retention")?>
167
  </label>
168
- <div class="col-md-5 pull-right text-right">
169
  <input class="form-control sg-backup-input" id='amount-of-backups-to-keep' name='amount-of-backups-to-keep' type="text" value="<?php echo (int)SGConfig::get('SG_AMOUNT_OF_BACKUPS_TO_KEEP')?(int)SGConfig::get('SG_AMOUNT_OF_BACKUPS_TO_KEEP'):SG_NUMBER_OF_BACKUPS_TO_KEEP?>" <?php echo (!SGBoot::isFeatureAvailable('NUMBER_OF_BACKUPS_TO_KEEP'))? 'disabled' : '' ?>>
170
  </div>
171
  </div>
172
  <?php endif; ?>
173
  <div class="form-group">
174
- <label class="col-md-5 sg-control-label" for='sg-number-of-rows-to-backup'><?php _backupGuardT("Number of rows to backup at once")?></label>
175
- <div class="col-md-5 pull-right text-right">
176
  <input class="form-control sg-backup-input" id='sg-number-of-rows-to-backup' name='sg-number-of-rows-to-backup' type="text" value="<?php echo (int)SGConfig::get('SG_BACKUP_DATABASE_INSERT_LIMIT')?(int)SGConfig::get('SG_BACKUP_DATABASE_INSERT_LIMIT'):SG_BACKUP_DATABASE_INSERT_LIMIT?>">
177
  </div>
178
  </div>
179
 
180
  <div class="form-group">
181
- <label class="col-md-5 sg-control-label" for='sg-background-reload-method'><?php _backupGuardT("Reload method")?></label>
182
- <div class="col-md-5 pull-right text-right">
183
  <select class="form-control" id='sg-background-reload-method' name='sg-background-reload-method'>
184
  <option value="<?php echo SG_RELOAD_METHOD_CURL ?>" <?php echo $sgBackgroundReloadMethod == SG_RELOAD_METHOD_CURL ? "selected" : "" ?> >Curl</option>
185
  <option value="<?php echo SG_RELOAD_METHOD_STREAM ?>" <?php echo $sgBackgroundReloadMethod == SG_RELOAD_METHOD_STREAM ? "selected" : "" ?> >Stream</option>
@@ -189,31 +190,31 @@ $ftpPassiveMode = SGConfig::get('SG_FTP_PASSIVE_MODE');
189
  </div>
190
  <?php if (SGBoot::isFeatureAvailable('CUSTOM_BACKUP_NAME')): ?>
191
  <div class="form-group">
192
- <label class="col-md-5 sg-control-label">
193
  <?php _backupGuardT('Backup file name')?>
194
  </label>
195
- <div class="col-md-5 pull-right text-right">
196
- <input id="backup-file-name" name="backup-file-name" type="text" class="form-control input-md" value="<?php echo $backupFileNamePrefix?>" <?php echo (!SGBoot::isFeatureAvailable('CUSTOM_BACKUP_NAME'))? 'disabled' : '' ?>>
197
  </div>
198
  </div>
199
  <?php endif; ?>
200
 
201
  <div class="form-group">
202
- <label class="col-md-7 sg-control-label" for="sg-email"><?php _backupGuardT('Request frequency')?></label>
203
  <div class="col-md-5">
204
  <?php echo selectElement($intervalSelectElement, array('id'=>'sg-ajax-interval', 'name'=>'ajaxInterval', 'class'=>'form-control'), '', $selectedInterval);?>
205
  </div>
206
  </div>
207
  <div class="form-group">
208
- <label class="col-md-5"><?php _backupGuardT('Backup destination path'); ?></label>
209
- <div class="col-md-6 pull-right text-right">
210
  <span><?php echo str_replace(realpath(SG_APP_ROOT_DIRECTORY).'/', "" ,realpath(SG_BACKUP_DIRECTORY)); ?></span>
211
  </div>
212
  </div>
213
  <div class="form-group">
214
- <label class="col-md-4 control-label" for="button1id"></label>
215
- <div class="col-md-8">
216
- <button type="button" id="sg-save-settings" class="btn btn-success pull-right" onclick="sgBackup.sgsettings();"><?php _backupGuardT('Save')?></button>
217
  </div>
218
  </div>
219
  </fieldset>
26
  $ftpPassiveMode = SGConfig::get('SG_FTP_PASSIVE_MODE');
27
  ?>
28
  <?php require_once(SG_PUBLIC_INCLUDE_PATH . 'sidebar.php'); ?>
29
+ <div class="sg-top-info"><?php echo backupGuardLoggedMessage(); ?></div>
30
  <div id="sg-content-wrapper">
31
  <div class="container-fluid">
32
  <div class="row sg-settings-container">
33
  <div class="col-md-12">
34
  <form class="form-horizontal" method="post" data-sgform="ajax" data-type="sgsettings">
35
  <fieldset>
36
+ <div><h1 class="sg-backup-page-title"><?php _backupGuardT('General settings')?></h1></div>
37
  <?php if (SGBoot::isFeatureAvailable('NOTIFICATIONS')): ?>
38
  <div class="form-group">
39
+ <label class="col-md-3 sg-control-label">
40
  <?php _backupGuardT('Email notifications'); ?>
41
  <?php if(!empty($userEmail)): ?>
42
  <br/><span class="text-muted sg-user-email sg-helper-block"><?php echo esc_html($userEmail); ?></span>
43
  <?php endif?>
44
  </label>
45
+ <div class="col-md-3 text-left">
46
  <label class="sg-switch-container">
47
  <input type="checkbox" name="sgIsEmailNotification" class="sg-switch sg-email-switch" sgFeatureName="NOTIFICATIONS" <?php echo $isNotificationEnabled?'checked="checked"':''?> data-remote="settings">
48
  </label>
50
  </div>
51
  <div class="sg-general-settings">
52
  <div class="form-group">
53
+ <label class="col-md-3 sg-control-label" for="sg-email"><?php _backupGuardT('Enter email')?></label>
54
+ <div class="col-md-5">
55
+ <input id="sg-email" name="sgUserEmail" type="text" placeholder="<?php _backupGuardT('You can enter multiple emails, just separate them with comma')?>" class="form-control input-md sg-backup-input" value="<?php echo @$userEmail?>">
56
  </div>
57
  </div>
58
  </div>
59
  <?php endif; ?>
60
  <div class="form-group">
61
+ <label class="col-md-3 sg-control-label">
62
  <?php _backupGuardT('Reloads enabled'); ?>
63
  </label>
64
+ <div class="col-md-3 text-left">
65
  <label class="sg-switch-container">
66
  <input type="checkbox" name="backup-with-reloadings" class="sg-switch" <?php echo $isReloadingsEnabled?'checked="checked"':''?>>
67
  </label>
69
  </div>
70
  <?php if (SGBoot::isFeatureAvailable('DELETE_LOCAL_BACKUP_AFTER_UPLOAD')): ?>
71
  <div class="form-group">
72
+ <label class="col-md-3 sg-control-label">
73
  <?php _backupGuardT('Delete local backup after upload'); ?>
74
  </label>
75
+ <div class="col-md-3 text-left">
76
  <label class="sg-switch-container">
77
  <input type="checkbox" name="delete-backup-after-upload" sgFeatureName="DELETE_LOCAL_BACKUP_AFTER_UPLOAD" class="sg-switch" <?php echo $isDeleteBackupAfterUploadEnabled?'checked="checked"':''?>>
78
  </label>
81
  <?php endif; ?>
82
  <?php if (SGBoot::isFeatureAvailable('ALERT_BEFORE_UPDATE')): ?>
83
  <div class="form-group">
84
+ <label class="col-md-3 sg-control-label">
85
  <?php _backupGuardT('Alert before update'); ?>
86
  </label>
87
+ <div class="col-md-3 text-left">
88
  <label class="sg-switch-container">
89
  <input type="checkbox" name="alert-before-update" sgFeatureName="ALERT_BEFORE_UPDATE" class="sg-switch" <?php echo $isAlertBeforeUpdateEnabled?'checked="checked"':''?>>
90
  </label>
93
  <?php endif; ?>
94
  <?php if (SGBoot::isFeatureAvailable('BACKUP_DELETION_WILL_ALSO_DELETE_FROM_CLOUD')): ?>
95
  <div class="form-group">
96
+ <label class="col-md-3 sg-control-label">
97
  <?php _backupGuardT('Backup deletion will also delete from cloud'); ?>
98
  </label>
99
+ <div class="col-md-3 text-left">
100
  <label class="sg-switch-container">
101
  <input type="checkbox" name="delete-backup-from-cloud" sgFeatureName="BACKUP_DELETION_WILL_ALSO_DELETE_FROM_CLOUD" class="sg-switch" <?php echo $isDeleteBackupFromCloudEnabled?'checked="checked"':''?>>
102
  </label>
104
  </div>
105
  <?php endif; ?>
106
  <div class="form-group">
107
+ <label class="col-md-3 sg-control-label">
108
  <?php _backupGuardT('Show statistics'); ?>
109
  </label>
110
+ <div class="col-md-3 text-left">
111
  <label class="sg-switch-container">
112
  <input type="checkbox" name="show-statistics-widget" class="sg-switch" <?php echo $isShowStatisticsWidgetEnabled?'checked="checked"':''?>>
113
  </label>
115
  </div>
116
  <?php if (SGBoot::isFeatureAvailable('FTP')): ?>
117
  <div class="form-group">
118
+ <label class="col-md-3 sg-control-label">
119
  <?php _backupGuardT('FTP passive mode'); ?>
120
  </label>
121
+ <div class="col-md-3 text-left">
122
  <label class="sg-switch-container">
123
  <input type="checkbox" name="ftp-passive-mode" sgFeatureName="FTP" class="sg-switch" <?php echo $ftpPassiveMode?'checked="checked"':''?>>
124
  </label>
127
  <?php endif; ?>
128
  <?php if (SGBoot::isFeatureAvailable('MULTI_SCHEDULE')): ?>
129
  <div class="form-group">
130
+ <label class="col-md-3 sg-control-label">
131
  <?php _backupGuardT('Disable ads'); ?>
132
  </label>
133
+ <div class="col-md-3 text-left">
134
  <label class="sg-switch-container">
135
  <input type="checkbox" name="sg-hide-ads" sgFeatureName="HIDE_ADS" class="sg-switch" <?php echo $isDisabelAdsEnabled?'checked="checked"':''?>>
136
  </label>
138
  </div>
139
  <?php endif; ?>
140
  <div class="form-group">
141
+ <label class="col-md-3 sg-control-label">
142
  <?php _backupGuardT('Download via PHP'); ?>
143
  </label>
144
+ <div class="col-md-3 text-left">
145
  <label class="sg-switch-container">
146
  <input type="checkbox" name="sg-download-via-php" sgFeatureName="DOWNLOAD_VIA_PHP" class="sg-switch" <?php echo $isDownloadViaPhp?'checked="checked"':''?>>
147
  </label>
149
  </div>
150
 
151
  <div class="form-group">
152
+ <label class="col-md-3 sg-control-label" for='sg-paths-to-exclude'><?php _backupGuardT("Exclude paths (separated by commas)")?></label>
153
+ <div class="col-md-5 text-left">
154
  <input class="form-control sg-backup-input" id='sg-paths-to-exclude' name='sg-paths-to-exclude' type="text" value="<?php echo SGConfig::get('SG_PATHS_TO_EXCLUDE')?SGConfig::get('SG_PATHS_TO_EXCLUDE'):''?>" placeholder="e.g. wp-content/cache, wp-content/w3tc-cache">
155
  </div>
156
  </div>
157
 
158
  <div class="form-group">
159
+ <label class="col-md-3 sg-control-label" for='sg-tables-to-exclude'><?php _backupGuardT("Tables to exclude (separated by commas)")?></label>
160
+ <div class="col-md-5 text-left">
161
  <input class="form-control sg-backup-input" id='sg-tables-to-exclude' name='sg-tables-to-exclude' type="text" value="<?php echo SGConfig::get('SG_TABLES_TO_EXCLUDE')?SGConfig::get('SG_TABLES_TO_EXCLUDE'):''?>" placeholder="e.g. wp_comments, wp_commentmeta">
162
  </div>
163
  </div>
164
 
165
  <?php if (SGBoot::isFeatureAvailable('NUMBER_OF_BACKUPS_TO_KEEP')): ?>
166
  <div class="form-group">
167
+ <label class="col-md-3 sg-control-label" for='amount-of-backups-to-keep'><?php _backupGuardT("Backup retention")?>
168
  </label>
169
+ <div class="col-md-5 text-left">
170
  <input class="form-control sg-backup-input" id='amount-of-backups-to-keep' name='amount-of-backups-to-keep' type="text" value="<?php echo (int)SGConfig::get('SG_AMOUNT_OF_BACKUPS_TO_KEEP')?(int)SGConfig::get('SG_AMOUNT_OF_BACKUPS_TO_KEEP'):SG_NUMBER_OF_BACKUPS_TO_KEEP?>" <?php echo (!SGBoot::isFeatureAvailable('NUMBER_OF_BACKUPS_TO_KEEP'))? 'disabled' : '' ?>>
171
  </div>
172
  </div>
173
  <?php endif; ?>
174
  <div class="form-group">
175
+ <label class="col-md-3 sg-control-label" for='sg-number-of-rows-to-backup'><?php _backupGuardT("Number of rows to backup at once")?></label>
176
+ <div class="col-md-5 text-left">
177
  <input class="form-control sg-backup-input" id='sg-number-of-rows-to-backup' name='sg-number-of-rows-to-backup' type="text" value="<?php echo (int)SGConfig::get('SG_BACKUP_DATABASE_INSERT_LIMIT')?(int)SGConfig::get('SG_BACKUP_DATABASE_INSERT_LIMIT'):SG_BACKUP_DATABASE_INSERT_LIMIT?>">
178
  </div>
179
  </div>
180
 
181
  <div class="form-group">
182
+ <label class="col-md-3 sg-control-label" for='sg-background-reload-method'><?php _backupGuardT("Reload method")?></label>
183
+ <div class="col-md-5 text-left">
184
  <select class="form-control" id='sg-background-reload-method' name='sg-background-reload-method'>
185
  <option value="<?php echo SG_RELOAD_METHOD_CURL ?>" <?php echo $sgBackgroundReloadMethod == SG_RELOAD_METHOD_CURL ? "selected" : "" ?> >Curl</option>
186
  <option value="<?php echo SG_RELOAD_METHOD_STREAM ?>" <?php echo $sgBackgroundReloadMethod == SG_RELOAD_METHOD_STREAM ? "selected" : "" ?> >Stream</option>
190
  </div>
191
  <?php if (SGBoot::isFeatureAvailable('CUSTOM_BACKUP_NAME')): ?>
192
  <div class="form-group">
193
+ <label class="col-md-3 sg-control-label">
194
  <?php _backupGuardT('Backup file name')?>
195
  </label>
196
+ <div class="col-md-5 text-left">
197
+ <input id="backup-file-name" name="backup-file-name" type="text" class="form-control input-md sg-backup-input" value="<?php echo $backupFileNamePrefix?>" <?php echo (!SGBoot::isFeatureAvailable('CUSTOM_BACKUP_NAME'))? 'disabled' : '' ?>>
198
  </div>
199
  </div>
200
  <?php endif; ?>
201
 
202
  <div class="form-group">
203
+ <label class="col-md-3 sg-control-label" for="sg-email"><?php _backupGuardT('Request frequency')?></label>
204
  <div class="col-md-5">
205
  <?php echo selectElement($intervalSelectElement, array('id'=>'sg-ajax-interval', 'name'=>'ajaxInterval', 'class'=>'form-control'), '', $selectedInterval);?>
206
  </div>
207
  </div>
208
  <div class="form-group">
209
+ <label class="col-md-3"><?php _backupGuardT('Backup destination path'); ?></label>
210
+ <div class="col-md-6">
211
  <span><?php echo str_replace(realpath(SG_APP_ROOT_DIRECTORY).'/', "" ,realpath(SG_BACKUP_DIRECTORY)); ?></span>
212
  </div>
213
  </div>
214
  <div class="form-group">
215
+ <label class="col-md-3 control-label" for="button1id"></label>
216
+ <div class="col-md-5 text-right">
217
+ <button type="button" id="sg-save-settings" class="btn btn-success" onclick="sgBackup.sgsettings();"><?php _backupGuardT('Save')?></button>
218
  </div>
219
  </div>
220
  </fieldset>
public/systemInfo.php CHANGED
@@ -6,70 +6,56 @@ require_once(SG_PUBLIC_INCLUDE_PATH.'sidebar.php');
6
  require_once(SG_SCHEDULE_PATH.'SGSchedule.php');
7
 
8
  ?>
9
-
10
- <div id="sg-content-wrapper">
11
  <div class="container-fluid">
12
  <div class="row">
13
  <div class="col-md-12">
14
  <form class="form-horizontal" method="post" data-sgform="ajax" data-type="sgsettings">
15
  <fieldset>
16
- <legend><?php _backupGuardT('System information')?><?php echo backupGuardLoggedMessage(); ?></legend>
17
  <div class="form-group">
18
- <label class="col-md-8 sg-control-label sg-user-info">
19
- <?php _backupGuardT('Disk free space'); ?>
20
- </label>
21
- <div class="col-md-3 pull-right text-right">
22
  <label class="sg-control-label">
23
  <?php echo convertToReadableSize(@disk_free_space(SG_APP_ROOT_DIRECTORY)); ?>
24
  </label>
25
  </div>
26
  </div>
27
- <div class="form-group">
28
- <label class="col-md-8 sg-control-label sg-user-info">
29
- <?php _backupGuardT('Memory limit'); ?>
30
- </label>
31
- <div class="col-md-3 pull-right text-right">
32
- <label class="sg-control-label">
33
- <?php echo SGBoot::$memoryLimit; ?>
34
- </label>
35
  </div>
36
  </div>
37
- <div class="form-group">
38
- <label class="col-md-8 sg-control-label sg-user-info">
39
  <?php _backupGuardT('Max execution time'); ?>
40
  </label>
41
- <div class="col-md-3 pull-right text-right">
42
- <label class="sg-control-label">
43
- <?php echo SGBoot::$executionTimeLimit; ?>
44
- </label>
45
  </div>
46
  </div>
47
- <div class="form-group">
48
- <label class="col-md-8 sg-control-label sg-user-info">
49
  <?php _backupGuardT('PHP version'); ?>
50
  </label>
51
- <div class="col-md-3 pull-right text-right">
52
- <label class="sg-control-label">
53
- <?php echo PHP_VERSION; ?>
54
- </label>
55
  </div>
56
  </div>
57
- <div class="form-group">
58
- <label class="col-md-8 sg-control-label sg-user-info">
59
- <?php _backupGuardT('MySQL version'); ?>
60
- </label>
61
- <div class="col-md-3 pull-right text-right">
62
- <label class="sg-control-label">
63
- <?php echo SG_MYSQL_VERSION; ?>
64
- </label>
65
  </div>
66
  </div>
67
- <div class="form-group">
68
- <label class="col-md-8 sg-control-label sg-user-info">
69
  <?php _backupGuardT('Int size'); ?>
70
  </label>
71
- <div class="col-md-3 pull-right text-right">
72
- <?php echo '<label>'.PHP_INT_SIZE.'</label>'; ?>
73
  <?php
74
  if (PHP_INT_SIZE < 8) {
75
  echo '<label class="sg-control-label backup-guard-label-warning">Notice that archive size cannot be bigger than 2GB. This limitaion is comming from system.</label>';
@@ -77,15 +63,15 @@ require_once(SG_SCHEDULE_PATH.'SGSchedule.php');
77
  ?>
78
  </div>
79
  </div>
80
- <div class="form-group">
81
- <label class="col-md-8 sg-control-label sg-user-info">
82
- <?php _backupGuardT('Curl version'); ?>
83
- </label>
84
- <div class="col-md-3 pull-right text-right">
85
  <?php
86
  if (function_exists('curl_version') && function_exists('curl_exec')) {
87
  $cv = curl_version();
88
- echo '<label class="">'.$cv['version'].' / SSL: '.$cv['ssl_version'].' / libz: '.$cv['libz_version'].'</label>';
89
  }
90
  else {
91
  echo '<label class="sg-control-label backup-guard-label-warning">Curl required for BackupGuard for better functioning.</label>';
@@ -93,15 +79,15 @@ require_once(SG_SCHEDULE_PATH.'SGSchedule.php');
93
  ?>
94
  </div>
95
  </div>
96
- <div class="form-group">
97
- <label class="col-md-8 sg-control-label sg-user-info">
98
- <?php _backupGuardT('Is cron available'); ?>
99
- </label>
100
- <div class="col-md-3 pull-right text-right">
101
  <?php
102
  $isCronAvailable = SGSchedule::isCronAvailable();
103
  if ($isCronAvailable) {
104
- echo '<label class="sg-control-label backup-guard-label-success">Yes</label>';
105
  }
106
  else {
107
  echo '<label class="sg-control-label backup-guard-label-warning">Please consider enabling WP Cron in order to be able to setup schedules.</label>';
6
  require_once(SG_SCHEDULE_PATH.'SGSchedule.php');
7
 
8
  ?>
9
+ <div class="sg-top-info"><?php echo backupGuardLoggedMessage(); ?></div>
10
+ <div id="sg-content-wrapper" class="sg-info-content-wrapper">
11
  <div class="container-fluid">
12
  <div class="row">
13
  <div class="col-md-12">
14
  <form class="form-horizontal" method="post" data-sgform="ajax" data-type="sgsettings">
15
  <fieldset>
16
+ <div><h1 class="sg-backup-page-title"><?php _backupGuardT('System information')?></h1></div>
17
  <div class="form-group">
18
+ <label class="col-md-3 sg-control-label sg-user-info"><?php _backupGuardT('Disk free space'); ?></label>
19
+ <div class="col-md-3 text-left">
 
 
20
  <label class="sg-control-label">
21
  <?php echo convertToReadableSize(@disk_free_space(SG_APP_ROOT_DIRECTORY)); ?>
22
  </label>
23
  </div>
24
  </div>
25
+ <div class="form-group sg-info-wrapper">
26
+ <label class="col-md-3 sg-control-label sg-user-info"><?php _backupGuardT('Memory limit'); ?></label>
27
+ <div class="col-md-3 text-left">
28
+ <label class="sg-control-label"><?php echo SGBoot::$memoryLimit; ?></label>
 
 
 
 
29
  </div>
30
  </div>
31
+ <div class="form-group sg-info-wrapper">
32
+ <label class="col-md-3 sg-control-label sg-user-info">
33
  <?php _backupGuardT('Max execution time'); ?>
34
  </label>
35
+ <div class="col-md-3 text-left">
36
+ <label class="sg-control-label"><?php echo SGBoot::$executionTimeLimit; ?></label>
 
 
37
  </div>
38
  </div>
39
+ <div class="form-group sg-info-wrapper">
40
+ <label class="col-md-3 sg-control-label sg-user-info">
41
  <?php _backupGuardT('PHP version'); ?>
42
  </label>
43
+ <div class="col-md-3 text-left">
44
+ <label class="sg-control-label"><?php echo PHP_VERSION; ?></label>
 
 
45
  </div>
46
  </div>
47
+ <div class="form-group sg-info-wrapper">
48
+ <label class="col-md-3 sg-control-label sg-user-info"><?php _backupGuardT('MySQL version'); ?></label>
49
+ <div class="col-md-3 text-left">
50
+ <label class="sg-control-label"><?php echo SG_MYSQL_VERSION; ?></label>
 
 
 
 
51
  </div>
52
  </div>
53
+ <div class="form-group sg-info-wrapper">
54
+ <label class="col-md-3 sg-control-label sg-user-info">
55
  <?php _backupGuardT('Int size'); ?>
56
  </label>
57
+ <div class="col-md-3 text-left">
58
+ <?php echo '<label class="sg-control-label">'.PHP_INT_SIZE.'</label>'; ?>
59
  <?php
60
  if (PHP_INT_SIZE < 8) {
61
  echo '<label class="sg-control-label backup-guard-label-warning">Notice that archive size cannot be bigger than 2GB. This limitaion is comming from system.</label>';
63
  ?>
64
  </div>
65
  </div>
66
+ <div class="form-group sg-info-wrapper">
67
+ <div class="col-md-3 ">
68
+ <label class="sg-control-label sg-user-info"><?php _backupGuardT('Curl version'); ?></label>
69
+ </div>
70
+ <div class="col-md-8 text-left">
71
  <?php
72
  if (function_exists('curl_version') && function_exists('curl_exec')) {
73
  $cv = curl_version();
74
+ echo '<label class="sg-control-label sg-blue-label">'.$cv['version'].' / SSL: '.$cv['ssl_version'].' / libz: '.$cv['libz_version'].'</label>';
75
  }
76
  else {
77
  echo '<label class="sg-control-label backup-guard-label-warning">Curl required for BackupGuard for better functioning.</label>';
79
  ?>
80
  </div>
81
  </div>
82
+ <div class="form-group sg-info-wrapper">
83
+ <div class="col-md-3 ">
84
+ <label class="sg-control-label sg-user-info"><?php _backupGuardT('Is cron available'); ?></label>
85
+ </div>
86
+ <div class="col-md-3 text-left">
87
  <?php
88
  $isCronAvailable = SGSchedule::isCronAvailable();
89
  if ($isCronAvailable) {
90
+ echo '<label class="sg-control-label">Yes</label>';
91
  }
92
  else {
93
  echo '<label class="sg-control-label backup-guard-label-warning">Please consider enabling WP Cron in order to be able to setup schedules.</label>';