PluginProbe ʕ •ᴥ•ʔ
JetBackup – Backup, Restore & Migrate / 1.5.2
JetBackup – Backup, Restore & Migrate v1.5.2
3.1.22.3 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.8.1 1.4.9 1.5.0 1.5.1 1.5.1.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.0 1.6.10 1.6.11 1.6.12 1.6.13 1.6.15 1.6.5.1 1.6.8.8 1.6.9 1.6.9.1 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7.5 2.0.8.7 2.0.9.11 2.0.9.14 2.0.9.15 2.0.9.6 2.0.9.7 2.0.9.9 3.1.10.7 3.1.11.1 3.1.12.3 3.1.13.4 3.1.14.17 3.1.15.4 3.1.16.1 3.1.17.5 3.1.18.10 3.1.18.8 3.1.18.9 3.1.19.8 3.1.20.3 3.1.21.3 3.1.7.9 3.1.9.2 trunk 1.1.90 1.1.91 1.2.0 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2
backup / public / include / sidebar.php
backup / public / include Last commit date
footer-new.php 5 years ago footer.php 5 years ago functions.php 5 years ago header-new.php 5 years ago header.php 5 years ago modal.php 5 years ago sidebar.php 5 years ago uninstallSurveyPopup.php 5 years ago
sidebar.php
126 lines
1 <?php
2 $extensionAdapter = SGExtension::getInstance();
3 $page = $_GET['page'];
4
5 $isDisabelAdsEnabled = SGConfig::get('SG_DISABLE_ADS');
6 $showUpgradeButton = SGBoot::isFeatureAvailable('SHOW_UPGRADE_PAGE');
7 $buttonText = 'Buy now!';
8 $upgradeText = 'Website migration, Backup to cloud, automatization, mail notifications, and more in our PRO package!';
9 $buttonUrl = SG_BACKUP_SITE_URL;
10
11 $pluginCapabilities = backupGuardGetCapabilities();
12
13 if ($pluginCapabilities != BACKUP_GUARD_CAPABILITIES_FREE) {
14 $buttonText = 'Upgrade to ';
15 $buttonUrl = SG_BACKUP_PRODUCTS_URL;
16
17 $upgradeTo = "";
18 if ($pluginCapabilities == BACKUP_GUARD_CAPABILITIES_GOLD) {
19 $upgradeTo = 'Platinum';
20 }
21 else if ($pluginCapabilities == BACKUP_GUARD_CAPABILITIES_SILVER) {
22 $upgradeTo = 'Gold';
23 }
24
25 $upgradeText = $buttonText.$upgradeTo.' by paying only difference between plans.';
26 $buttonText = $buttonText.$upgradeTo;
27 }
28
29 $supportUrl = network_admin_url('admin.php?page=backup_guard_support');
30 $openContent = 1;
31 if ($pluginCapabilities == BACKUP_GUARD_CAPABILITIES_FREE) {
32 $openContent = 0;
33 $supportUrl = BACKUP_GUARD_WORDPRESS_SUPPORT_URL;
34 }
35 ?>
36 <div id="sg-sidebar-wrapper" class="metro">
37 <a class="sg-site-url" href="<?php echo network_admin_url('admin.php?page=backup_guard_backups'); ?>">
38 <div class="title">
39 <span class="sg-action-menu-arrow"></span>
40 </div>
41 </a>
42 <nav class="sidebar dark sg-backup-sidebar-nav">
43 <ul>
44 <li class="<?php echo strpos($page,'backups')?'active':''?>">
45 <a href="<?php echo network_admin_url('admin.php?page=backup_guard_backups'); ?>" data-page-key="backups">
46 <span class="glyphicon glyphicon-hdd"></span><?php _backupGuardT('Backups')?>
47 </a>
48 <span class="sg-action-menu-arrow"></span>
49 </li>
50 <li class="<?php echo strpos($page,'cloud')?'active':''?>">
51 <a href="<?php echo network_admin_url('admin.php?page=backup_guard_cloud'); ?>" data-page-key="cloud">
52 <span class="glyphicon glyphicon-cloud" aria-hidden="true"></span><?php _backupGuardT('Cloud')?>
53 </a>
54 <span class="sg-action-menu-arrow"></span>
55 </li>
56 <?php if (SGBoot::isFeatureAvailable('SCHEDULE')):?>
57 <li class="<?php echo strpos($page,'schedule')?'active':''?>">
58 <a href="<?php echo network_admin_url('admin.php?page=backup_guard_schedule'); ?>" data-page-key="schedule">
59 <span class="glyphicon glyphicon-time" aria-hidden="true"></span><?php _backupGuardT('Schedule')?>
60 </a>
61 <span class="sg-action-menu-arrow"></span>
62 </li>
63 <?php endif;?>
64 <li class="<?php echo strpos($page,'settings')?'active':''?>">
65 <a href="<?php echo network_admin_url('admin.php?page=backup_guard_settings'); ?>" data-page-key="settings">
66 <span class="glyphicon glyphicon-cog" aria-hidden="true"></span><?php _backupGuardT('Settings')?>
67 </a>
68 <span class="sg-action-menu-arrow"></span>
69 </li>
70 <li class="<?php echo strpos($page,'system_info')?'active':''?>">
71 <a href="<?php echo network_admin_url('admin.php?page=backup_guard_system_info'); ?>" data-page-key="system_info">
72 <span class="glyphicon glyphicon-equalizer" aria-hidden="true"></span><?php _backupGuardT('System Info.')?>
73 </a>
74 <span class="sg-action-menu-arrow"></span>
75 </li>
76 <li class="<?php echo strpos($page,'services')?'active':''?>">
77 <a href="<?php echo network_admin_url('admin.php?page=backup_guard_services'); ?>" data-page-key="services">
78 <span class="glyphicon glyphicon-briefcase" aria-hidden="true"></span><?php _backupGuardT('Services')?>
79 </a>
80 <span class="sg-action-menu-arrow"></span>
81 </li>
82 <li class="<?php echo strpos($page,'videoTutorials')?'active':''?>">
83 <a href="<?php echo $supportUrl; ?>" data-page-key="videoTutorials">
84 <span class="sg-backup-menu-video" aria-hidden="true"></span><?php _backupGuardT('Video Tutorials')?>
85 </a>
86 <span class="sg-action-menu-arrow"></span>
87 </li>
88 <li class="<?php echo strpos($page,'support')?'active':''?>">
89 <a href="<?php echo $supportUrl; ?>" data-page-key="support" data-open-content="<?php echo $openContent; ?>">
90 <span class="glyphicon glyphicon-envelope" aria-hidden="true"></span><?php _backupGuardT('Support')?>
91 </a>
92 <span class="sg-action-menu-arrow"></span>
93 </li>
94 <?php if (SGBoot::isFeatureAvailable('SHOW_UPGRADE_PAGE')):?>
95 <li class="<?php echo strpos($page,'pro_features')?'active':''?>">
96 <a href="<?php echo network_admin_url('admin.php?page=backup_guard_pro_features'); ?>" data-page-key="pro_features">
97 <span class="glyphicon glyphicon-refresh" aria-hidden="true"></span><?php _backupGuardT('Why upgrade?')?>
98 </a>
99 <span class="sg-action-menu-arrow"></span>
100 </li>
101 <?php endif; ?>
102 <!-- Will be added in the future release -->
103 <!-- <?php if ($extensionAdapter->isExtensionActive(SG_BACKUP_GUARD_SECURITY_EXTENSION)):?>
104 <li class="<?php echo strpos($page,'security')?'active':''?>">
105 <a href="<?php echo network_admin_url('admin.php?page=backup_guard_security'); ?>">
106 <span class="glyphicon glyphicon-lock" aria-hidden="true"></span>Security
107 <span class="badge badge-info">New</span>
108 </a>
109 </li>
110 <?php endif; ?> -->
111 </ul>
112 </nav>
113 <?php if ($showUpgradeButton && !$isDisabelAdsEnabled):?>
114 <div class="sg-alert-pro">
115 <p class="sg-upgrade-text">
116 <?php _backupGuardT($upgradeText); ?>
117 </p>
118 <p>
119 <a class="btn btn-success" target="_blank" href="<?php echo $buttonUrl; ?>">
120 <?php _backupGuardT($buttonText); ?>
121 </a>
122 </p>
123 </div>
124 <?php endif; ?>
125 </div>
126