PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.8.13
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.8.13
1.8.13 1.8.12.3 1.8.12.2 1.8.12.1 1.8.12 1.8.11.3 1.8.11.2 1.8.11.1 1.8.11 1.6.6 1.6.60 1.6.7 1.6.8 1.6.9 1.7.0 1.7.0.1 1.7.0.11 1.7.0.12 1.7.0.14 1.7.0.2 1.7.0.3 1.7.0.5 1.7.0.6 1.7.0.7 1.7.0.9 All 211 releases
charitable / includes / admin / views / backups / backups.php

backups.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.8.13, at includes/admin/views/backups/backups.php

159 lines 6.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // Exit if accessed directly.
4 if ( ! defined( 'ABSPATH' ) ) {
5 exit;
6 }
7
8 /**
9 * Display the main backups page wrapper.
10 *
11 * @author David Bisset
12 * @package Charitable/Admin View/Tools
13 * @copyright Copyright (c) 2023, WP Charitable LLC
14 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
15 * @since 1.8.8
16 * @version 1.8.8
17 * @version 1.8.8.6
18 */
19
20 ob_start();
21 ?>
22
23 <div id="charitable-backups" class="wrap">
24 <h1 class="screen-reader-text"><?php echo esc_html( get_admin_page_title() ); ?></h1>
25
26 <div class="charitable-intergrations-container intergration-backups">
27
28 <img class="charitable-backups-logo" src="<?php echo esc_url( charitable()->get_path( 'assets', false ) ) . 'images/integrations/backups.png'; ?>" alt="<?php echo esc_html__( 'Integrate Backup Tools Into Charitable For Secure Data Protection', 'charitable' ); ?>">
29
30 <h1><?php echo esc_html__( 'Making Website Backups Easy for WordPress', 'charitable' ); ?></h1>
31
32 <h2><?php echo esc_html__( 'Backup tools ensure your fundraising campaigns and donor data are always safe and recoverable. Built with the same reliability as Charitable.', 'charitable' ); ?></h2>
33
34 <div class="bullets-thumbnail">
35
36 <div>
37 <div class="charitable-screenshot">
38 <img src="<?php echo esc_url( charitable()->get_path( 'assets', false ) . 'images/integrations/backups-screenshot-thumbnail.png' ); ?>" alt="<?php echo esc_html__( 'Integrate Backup Tools Into Charitable For Enhanced Data Protection', 'charitable' ); ?>">
39 <a href="<?php echo esc_url( charitable()->get_path( 'assets', false ) . 'images/integrations/backups-screenshot-full.png' ); ?>" class="hover" data-lity=""></a>
40 </div>
41 </div>
42 <div>
43 <div class="vertical-wrapper">
44 <ul>
45 <li><?php echo esc_html__( 'Automated daily backups of your entire website.', 'charitable' ); ?></li>
46 <li><?php echo esc_html__( 'Used by 2+ million websites.', 'charitable' ); ?></li>
47 <li><?php echo esc_html__( 'Free features: Local backups, scheduled backups, one-click restore.', 'charitable' ); ?></li>
48 <li><?php echo esc_html__( 'Pro features: Cloud storage, incremental backups, real-time monitoring, automated testing.', 'charitable' ); ?></li>
49 </ul>
50 </div>
51 </div>
52
53 </div>
54
55 <div class="charitable-intergration-steps">
56
57 <?php
58
59 $charitable_plugins_third_party = new Charitable_Admin_Plugins_Third_Party(); // phpcs:ignore
60
61 // determine if the Backups plugin is installed and activated.
62 $charitable_is_backups_installed = $charitable_plugins_third_party->is_plugin_installed( 'duplicator' );
63 $charitable_is_backups_active = $charitable_plugins_third_party->is_plugin_activated( 'duplicator' );
64
65 if ( ! $charitable_is_backups_installed ) {
66
67 $charitable_install_button_html = $charitable_plugins_third_party->get_install_button_html( 'duplicator', 'Install Duplicator' );
68
69 ?>
70
71 <div class="charitable-intergration-step charitable-intergration-step-1" data-status="install">
72 <div class="instructions">
73 <h3><?php echo esc_html__( 'Install and Activate Duplicator', 'charitable' ); ?></h3>
74 <p><?php echo esc_html__( 'Install the Duplicator plugin by clicking this button', 'charitable' ); ?></p>
75 <?php echo $charitable_install_button_html; // phpcs:ignore ?>
76 </div>
77 <div class="step">
78 <div class="vertical-wrapper">
79 <div class="step-image"><img src="<?php echo esc_url( charitable()->get_path( 'assets', false ) . 'images/reports/analytics/step-1.png' ); ?>" alt="<?php echo esc_html__( 'Step 1', 'charitable' ); ?>" /></div>
80 </div>
81 </div>
82 </div>
83
84 <?php
85 } elseif ( ! $charitable_is_backups_active ) {
86
87 $charitable_basename = $charitable_plugins_third_party->get_basename_from_slug( 'backups' );
88
89 if ( $charitable_basename ) :
90
91 $charitable_activate_button_html = $charitable_plugins_third_party->get_activation_button_html( 'duplicator', 'Activate Duplicator' );
92
93 ?>
94
95 <div class="charitable-intergration-step charitable-intergration-step-1" data-status="activate">
96 <div class="instructions">
97 <h3><?php echo esc_html__( 'Activate Duplicator', 'charitable' ); ?></h3>
98 <p><?php echo esc_html__( 'Activate Duplicator by clicking this button:', 'charitable' ); ?></p>
99 <?php echo $charitable_activate_button_html; // phpcs:ignore ?>
100 </div>
101 <div class="step">
102 <div class="vertical-wrapper">
103 <div class="step-image"><img src="<?php echo esc_url( charitable()->get_path( 'assets', false ) . 'images/reports/analytics/step-1.png' ); ?>" alt="<?php echo esc_html__( 'Step 1', 'charitable' ); ?>" /></div>
104 </div>
105 </div>
106 </div>
107
108 <?php
109
110 endif;
111
112 } else {
113
114 $charitable_setup_url = $charitable_plugins_third_party->get_setup_screen_for_plugin( 'duplicator' );
115
116 ?>
117
118 <div class="charitable-intergration-step charitable-intergration-step-1" data-status="setup">
119 <div class="instructions">
120 <h3><?php echo esc_html__( 'Setup Duplicator', 'charitable' ); ?></h3>
121 <p><?php echo esc_html__( 'Setup Duplicator plugin by clicking this button:', 'charitable' ); ?></p>
122 <a href="<?php echo esc_url( $charitable_setup_url ); ?>" target="_blank" class="charitable-button button-link charitable-button-setup"><?php echo esc_html__( 'Set Up Duplicator', 'charitable' ); ?></a>
123 </div>
124 <div class="step">
125 <div class="vertical-wrapper">
126 <div class="step-image"><img src="<?php echo esc_url( charitable()->get_path( 'assets', false ) . 'images/reports/analytics/step-1.png' ); ?>" alt="<?php echo esc_html__( 'Step 1', 'charitable' ); ?>" /></div>
127 </div>
128 </div>
129 </div>
130
131 <?php } ?>
132
133 <?php if ( ! charitable_is_installed_mi_pro() ) : ?>
134
135 <div class="charitable-intergration-step charitable-intergration-step-1">
136 <div class="instructions">
137 <h3><?php echo esc_html__( 'Upgrade to Duplicator Pro', 'charitable' ); ?></h3>
138 <p><?php echo esc_html__( 'Unlock addition features by upgrading to Duplicator Pro. Special offer: Get $50 OFF your plan!', 'charitable' ); ?></p>
139 <a href="https://www.duplicator.com/lite-upgrade/?utm_source=liteplugin&utm_medium=settings-panel&utm_campaign=ecommerce-tab&utm_content=8.22.0" target="_blank" class="charitable-button button-link"><?php echo esc_html__( 'Upgrade To Pro', 'charitable' ); ?></a>
140 </div>
141 <div class="step">
142 <div class="vertical-wrapper">
143 <div class="step-image"><img src="<?php echo esc_url( charitable()->get_path( 'assets', false ) . 'images/reports/analytics/step-2.png' ); ?>" alt="<?php echo esc_html__( 'Step 2', 'charitable' ); ?>" /></div>
144 </div>
145 </div>
146 </div>
147
148 <?php endif; ?>
149
150 </div> <!-- charitable intergration steps -->
151
152 </div> <!-- charitable integrations container -->
153
154
155 </div>
156
157 <?php
158 echo ob_get_clean(); // phpcs:ignore
159