PluginProbe
WP Database Backup – Unlimited Database & Files Backup by Backup for WP / 6.11
WP Database Backup – Unlimited Database & Files Backup by Backup for WP v6.11
7.13 7.12 trunk 1.1 2.1.1 5.9 6.0 6.1 6.10 6.11 6.12 6.12.1 6.2 6.3 6.4 6.5 6.5.1 6.6 6.7 6.8 6.9 7.0 7.0.1 7.1 7.10 All 34 releases
wp-database-backup / includes / admin / Destination / FTP / ftp-form-dest.php

ftp-form-dest.php in WP Database Backup – Unlimited Database & Files Backup by Backup for WP 6.11, at includes/admin/Destination/FTP/ftp-form-dest.php

42 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Destination file.
4 *
5 * @package wpdbbkp
6 */
7
8 $wpdbbkp_ftp_enabled = get_option( 'wp_db_backup_destination_FTP',null );
9 $wpdbbkp_ftp_host = get_option( 'backupbreeze_ftp_host',null );
10 $wpdbbkp_ftp_user = get_option( 'backupbreeze_ftp_user',null );
11 $wpdbbkp_ftp_pass = get_option( 'backupbreeze_ftp_pass',null );
12 $wpdbbkp_ftp_status = '<label><b>Status</b>: Not Configured </label> ';
13 if($wpdbbkp_ftp_enabled==1 && !empty($wpdbbkp_ftp_host) && !empty($wpdbbkp_ftp_user) && !empty($wpdbbkp_ftp_pass))
14 {
15 $wpdbbkp_ftp_status='<label><b>Status</b>: <span class="dashicons dashicons-yes-alt" style="color:green;font-size:16px" title="Destination enabled"></span><span class="configured">Configured </span> </label> ';
16 }
17
18 ?>
19 <div class="panel panel-default">
20 <div class="panel-heading">
21 <h4 class="panel-title">
22 <a data-toggle="collapse" data-parent="#accordion" href="#collapseI">
23 <h2><?php echo esc_html__('FTP/FTPS', 'wpdbbkp') ?> <?php echo $wpdbbkp_ftp_status;?> <span class="dashicons dashicons-admin-generic"></span></h2>
24 </a>
25 </h4>
26 </div>
27 <div id="collapseI" class="panel-collapse collapse">
28 <div class="panel-body">
29 <p><?php echo esc_html__('FTP/FTPS Destination Define an FTP destination connection. You can define destination which use FTP.', 'wpdbbkp') ?></p>
30 <?php
31 /**
32 * Destination form.
33 *
34 * @package wpdbbkp
35 */
36
37 require plugin_dir_path( __FILE__ ) . 'ftp-form.php'; // Include file.
38 ?>
39 </div>
40 </div>
41 </div>
42