forked from LiveCarta/LiveCartaWP
Changed source root directory
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
use Duplicator\Utils\ExtraPlugins\ExtraPluginsMng;
|
||||
use Duplicator\Utils\LinkManager;
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
<div id="db-reset-content-wrapper">
|
||||
<h1>
|
||||
<?php esc_html_e('Clean & Reset WordPress Database', 'duplicator'); ?>
|
||||
</h1>
|
||||
<div id="dup-admin-addons" class="full">
|
||||
<?php
|
||||
$extraPluginsMng = ExtraPluginsMng::getInstance();
|
||||
$plugin = $extraPluginsMng->getBySlug('db-reset-pro/db-reset-pro.php');
|
||||
|
||||
$tplMng->render(
|
||||
'admin_pages/about_us/about_us/extra_plugin_item',
|
||||
array('plugin' => $plugin->skipLite() ? $plugin->getPro() : $plugin)
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
<p>
|
||||
<b>The Simplest Database Reset Solution</b>
|
||||
</p>
|
||||
<div class="two-cols-valig" >
|
||||
<div>
|
||||
<img
|
||||
src="<?php echo DUPLICATOR_PLUGIN_URL ?>assets/img/db-reset-plugin.png"
|
||||
alt="Database Reset Pro Screenshot"
|
||||
></img>
|
||||
</div>
|
||||
<ul class="arrow-list">
|
||||
<li>One-Click Operation – No complex settings or configurations</li>
|
||||
<li>Clear Visual Interface – Know exactly what will happen before you click</li>
|
||||
<li>Instant Reset – Complete database reset in seconds, not minutes</li>
|
||||
<li>No Learning Curve – If you can click a button, you can use this plugin</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
use Duplicator\Utils\LinkManager;
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
wp_kses(
|
||||
__(
|
||||
'In addition to the <a href="%s" target="_blank" rel="noopener noreferrer">classic installer method</a> ' .
|
||||
'on an empty site, Duplicator Pro now supports Drag and Drop migrations and site restores! Simply drag ' .
|
||||
'the bundled site Backup to the site you wish to overwrite.',
|
||||
'duplicator'
|
||||
),
|
||||
array(
|
||||
'a' => array(
|
||||
'href' => array(),
|
||||
'rel' => array(),
|
||||
'target' => array(),
|
||||
)
|
||||
)
|
||||
),
|
||||
LinkManager::getPostUrl('how-to-move-a-wordpress-website-to-a-new-host', 'import_popup', 'classic installer method')
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
@@ -0,0 +1,217 @@
|
||||
<?php
|
||||
|
||||
use Duplicator\Core\Views\TplMng;
|
||||
use Duplicator\Utils\LinkManager;
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
<div class="wrap">
|
||||
<h1 class="margin-bottom-2">
|
||||
<?php esc_html_e('Import', 'duplicator') ?>
|
||||
</h1>
|
||||
<div class="dup-pro-tab-content-wrapper">
|
||||
<div id="dup-pro-import-phase-one">
|
||||
<div class="dup-pro-import-header">
|
||||
<h2 class="title">
|
||||
<i class="fas fa-arrow-alt-circle-down"></i>
|
||||
<?php
|
||||
printf(
|
||||
esc_html_x(
|
||||
'Step %1$s1%2$s of 2: Upload Backup',
|
||||
'%1$s and %2$s are opening and closing span tags',
|
||||
'duplicator'
|
||||
),
|
||||
'<span class="red">',
|
||||
'</span>'
|
||||
);
|
||||
?>
|
||||
</h2>
|
||||
<hr>
|
||||
</div>
|
||||
<!-- ==============================
|
||||
DRAG/DROP AREA -->
|
||||
<div id="dup-pro-import-upload-tabs-wrapper" class="dup-pro-tabs-wrapper margin-bottom-2 mock-blur" aria-hidden="true" style="position: relative;">
|
||||
<div id="dup-pro-import-mode-tab-header" class="clearfix margin-bottom-2">
|
||||
<div id="dup-pro-import-mode-upload-tab" class="active">
|
||||
<i class="far fa-file-archive"></i> Import File <sup> </sup>
|
||||
</div>
|
||||
<div id="dup-pro-import-mode-remote-tab">
|
||||
<i class="fas fa-link"></i> Import Link
|
||||
</div>
|
||||
</div>
|
||||
<div id="dup-pro-import-upload-file-tab" class="tab-content ">
|
||||
<div id="dup-pro-import-upload-file" class="dup-pro-import-upload-box fs-upload-element fs-upload fs-light">
|
||||
<div class="fs-upload-target">
|
||||
<div id="dup-pro-import-upload-file-content" class="center-xy">
|
||||
<i class="fa fa-download fa-2x">
|
||||
</i>
|
||||
<span class="dup-drag-drop-message">
|
||||
Drag & Drop Backup File Here
|
||||
</span>
|
||||
<input
|
||||
id="dup-import-dd-btn"
|
||||
type="button"
|
||||
class="button button-large button-default dup-import-button"
|
||||
name="dpro-files" value="Select File..."
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<input class="fs-upload-input" type="file">
|
||||
</div>
|
||||
<div id="dup-pro-import-upload-file-footer">
|
||||
<i class="fas fa-question-circle fa-sm"></i>
|
||||
<b>Chunk Size:</b> 1 MB |
|
||||
<b>Max Size:
|
||||
</b> No Limit |
|
||||
<span class="pointer link-style">
|
||||
<i>Slow Upload</i>
|
||||
<i class="fas fa-question-circle fa-sm"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="dpro-pro-import-available-packages" class="view-list-item mock-blur" aria-hidden="true">
|
||||
<table class="dup-import-avail-packs packages-list">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="name">Backups</th>
|
||||
<th class="size">Size</th>
|
||||
<th class="created">Created</th>
|
||||
<th class="funcs">Status</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="dup-pro-import-package is-importable" data-path="">
|
||||
<td class="name">
|
||||
<span class="text">20230101_duplicator_package_49809197bde745059228_20221004184822_archive.daf</span>
|
||||
</td>
|
||||
<td class="size">62.67 MB</td>
|
||||
<td class="created">2022-10-04 00:00:00</td>
|
||||
<td class="funcs">
|
||||
<div class="actions">
|
||||
<button type="button" class="button dup-pro-import-action-package-detail-toggle">
|
||||
<i class="fa fa-caret-down"></i> Details
|
||||
</button>
|
||||
<span class="separator"></span>
|
||||
<button type="button" class="dup-pro-import-action-remove button button-secondary">
|
||||
<i class="fa fa-ban"></i> Remove
|
||||
</button>
|
||||
<span class="separator"></span>
|
||||
<button type="button" class="dup-pro-import-action-install button button-primary" data-install-url="">
|
||||
<i class="fa fa-bolt fa-sm"></i> Continue
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="dup-pro-import-package is-importable" data-path="">
|
||||
<td class="name">
|
||||
<span class="text">20230101_duplicator_package_49809197bde745059228_20221004184822_archive.daf</span>
|
||||
</td>
|
||||
<td class="size">62.67 MB</td>
|
||||
<td class="created">2022-10-04 00:00:00</td>
|
||||
<td class="funcs">
|
||||
<div class="actions">
|
||||
<button type="button" class="button dup-pro-import-action-package-detail-toggle">
|
||||
<i class="fa fa-caret-down"></i> Details
|
||||
</button>
|
||||
<span class="separator"></span>
|
||||
<button type="button" class="dup-pro-import-action-remove button button-secondary">
|
||||
<i class="fa fa-ban"></i> Remove
|
||||
</button>
|
||||
<span class="separator"></span>
|
||||
<button type="button" class="dup-pro-import-action-install button button-primary" data-install-url="">
|
||||
<i class="fa fa-bolt fa-sm"></i> Continue
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="dup-pro-import-package is-importable" data-path="">
|
||||
<td class="name">
|
||||
<span class="text">20230101_duplicator_package_49809197bde745059228_20221004184822_archive.daf</span>
|
||||
</td>
|
||||
<td class="size">62.67 MB</td>
|
||||
<td class="created">2022-10-04 00:00:00</td>
|
||||
<td class="funcs">
|
||||
<div class="actions">
|
||||
<button type="button" class="button dup-pro-import-action-package-detail-toggle">
|
||||
<i class="fa fa-caret-down"></i> Details
|
||||
</button>
|
||||
<span class="separator"></span>
|
||||
<button type="button" class="dup-pro-import-action-remove button button-secondary">
|
||||
<i class="fa fa-ban"></i> Remove
|
||||
</button>
|
||||
<span class="separator"></span>
|
||||
<button type="button" class="dup-pro-import-action-install button button-primary" data-install-url="">
|
||||
<i class="fa fa-bolt fa-sm"></i> Continue
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="dup-pro-import-package is-importable" data-path="">
|
||||
<td class="name">
|
||||
<span class="text">20230101_duplicator_package_49809197bde745059228_20221004184822_archive.daf</span>
|
||||
</td>
|
||||
<td class="size">62.67 MB</td>
|
||||
<td class="created">2022-10-04 00:00:00</td>
|
||||
<td class="funcs">
|
||||
<div class="actions">
|
||||
<button type="button" class="button dup-pro-import-action-package-detail-toggle">
|
||||
<i class="fa fa-caret-down"></i> Details
|
||||
</button>
|
||||
<span class="separator"></span>
|
||||
<button type="button" class="dup-pro-import-action-remove button button-secondary">
|
||||
<i class="fa fa-ban"></i> Remove
|
||||
</button>
|
||||
<span class="separator"></span>
|
||||
<button type="button" class="dup-pro-import-action-install button button-primary" data-install-url="">
|
||||
<i class="fa fa-bolt fa-sm"></i> Continue
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="dup-pro-import-package is-importable" data-path="">
|
||||
<td class="name">
|
||||
<span class="text">20230101_duplicator_package_49809197bde745059228_20221004184822_archive.daf</span>
|
||||
</td>
|
||||
<td class="size">62.67 MB</td>
|
||||
<td class="created">2022-10-04 00:00:00</td>
|
||||
<td class="funcs">
|
||||
<div class="actions">
|
||||
<button type="button" class="button dup-pro-import-action-package-detail-toggle">
|
||||
<i class="fa fa-caret-down"></i> Details
|
||||
</button>
|
||||
<span class="separator"></span>
|
||||
<button type="button" class="dup-pro-import-action-remove button button-secondary">
|
||||
<i class="fa fa-ban"></i> Remove
|
||||
</button>
|
||||
<span class="separator"></span>
|
||||
<button type="button" class="dup-pro-import-action-install button button-primary" data-install-url="">
|
||||
<i class="fa fa-bolt fa-sm"></i> Continue
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php TplMng::getInstance()->render(
|
||||
'parts/Education/static-popup',
|
||||
array(
|
||||
'title' => __('Overwrite a WordPress site with Drag and Drop Import!', 'duplicator'),
|
||||
'warning-text' => __('Drag and Drop Import is not available in Duplicator Lite!', 'duplicator'),
|
||||
'content-tpl' => 'mocks/import/content-popup',
|
||||
'upsell-url' => LinkManager::getCampaignUrl('blurred-mocks', 'Import')
|
||||
),
|
||||
true
|
||||
); ?>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
<p>
|
||||
<?php
|
||||
_e(
|
||||
'Recovery Points provides protection against mistakes and bad updates by letting you quickly rollback your system to a known, good state.',
|
||||
'duplicator'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
@@ -0,0 +1,123 @@
|
||||
<?php
|
||||
|
||||
use Duplicator\Core\Views\TplMng;
|
||||
use Duplicator\Utils\LinkManager;
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
<div class="mock-blur" aria-hidden="true">
|
||||
<h2 class="margin-bottom-0"><i class="fas fa-undo-alt"></i> <?php esc_html_e('Recovery Point', 'duplicator') ?></h2>
|
||||
<hr>
|
||||
|
||||
<p class="margin-bottom-1">
|
||||
<?php esc_html_e('Quickly restore this site to a specific point in time.', 'duplicator') ?>
|
||||
<span class="link-style dup-pro-open-help-link"><?php esc_html_e('Need more help?', 'duplicator') ?></span>
|
||||
</p>
|
||||
<div class="dup-pro-recovery-details-max-width-wrapper">
|
||||
<form id="dpro-recovery-form" method="post">
|
||||
<div class="dup-pro-recovery-widget-wrapper">
|
||||
<div class="dup-pro-recovery-point-details margin-bottom-1">
|
||||
<div class="dup-pro-recovery-active-link-wrapper">
|
||||
<div class="dup-pro-recovery-active-link-header">
|
||||
<i class="fas fa-undo-alt main-icon"></i>
|
||||
<div class="main-title">
|
||||
Recovery point is active <i class="fas fa-question-circle fa-sm"></i>
|
||||
</div>
|
||||
<div class="main-subtitle margin-bottom-1">
|
||||
<b>Status:</b>
|
||||
<span class="dup-pro-recovery-status green">ready</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="dup-pro-recovery-package-info margin-bottom-1">
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Name:</td>
|
||||
<td><b>20230101_duplicatorrecovery</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Date:</td>
|
||||
<td><b>2023-01-01 00:00:00</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Age:</td>
|
||||
<td>
|
||||
<b>Created 0 hours ago.</b>
|
||||
<i>All changes made after package creation will be lost.</i>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="dup-pro-recovery-point-selector">
|
||||
<div class="dup-pro-recovery-point-selector-area-wrapper">
|
||||
<span class="dup-pro-opening-packages-windows">
|
||||
<a href="#">[Create New]</a>
|
||||
</span>
|
||||
<label>
|
||||
<i class="fas fa-question-circle fa-sm">
|
||||
</i>
|
||||
<b>Step 1 :</b> <i>Choose Recovery Point Backup</i>
|
||||
</label>
|
||||
<div class="dup-pro-recovery-point-selector-area">
|
||||
<select class="recovery-select" name="recovery_package">
|
||||
<option value=""> -- Not selected --</option>
|
||||
<optgroup label="2023/01/01">
|
||||
<option selected="selected">
|
||||
[2023-01-01 00:00:00] 20230101_duplicatorrecovery
|
||||
</option>
|
||||
</optgroup>
|
||||
</select>
|
||||
<button type="button" class="button recovery-reset">Reset</button>
|
||||
<button type="button" class="button button-primary recovery-set">Set</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="dup-pro-recovery-point-actions">
|
||||
<label>
|
||||
<i class="fas fa-question-circle fa-sm">
|
||||
</i>
|
||||
<b>Step 2 :</b> <i>Copy Recovery URL & Store in Safe Place</i>
|
||||
</label>
|
||||
<div class="copy-link">
|
||||
<div class="content">
|
||||
http://duplicator.com//recover/20230101_duplicatorrecovery_1c38a5948c5a3d2b5881_20230205120338_installer-backup.php
|
||||
</div>
|
||||
<i class="far fa-copy copy-icon"></i>
|
||||
</div>
|
||||
<div class="dup-pro-recovery-buttons">
|
||||
<a href="#"
|
||||
class="button button-primary dup-pro-launch " target="_blank">
|
||||
<i class="fas fa-external-link-alt"></i> Launch Recovery </a>
|
||||
<button type="button" class="button button-primary dup-pro-recovery-download-launcher ">
|
||||
<i class="fa fa-rocket"></i> Download
|
||||
</button>
|
||||
<button type="button" class="button button-primary dup-pro-recovery-copy-url">
|
||||
<i class="far fa-copy copy-icon"></i> Copy URL
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php TplMng::getInstance()->render(
|
||||
'parts/Education/static-popup',
|
||||
array(
|
||||
'title' => __('Rollback your sites with Recovery Points!', 'duplicator'),
|
||||
'warning-text' => __('Recovery Points are not supported in Duplicator Lite!', 'duplicator'),
|
||||
'content-tpl' => 'mocks/recovery/content-popup',
|
||||
'upsell-url' => LinkManager::getCampaignUrl('blurred-mocks', 'Recovery')
|
||||
),
|
||||
true
|
||||
); ?>
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
<p>
|
||||
<?php
|
||||
_e(
|
||||
'Scheduled Backups provide peace of mind and ensure that critical data can be ' .
|
||||
'quickly and easily restored in the event of a disaster or loss. Duplicator Pro supports Hourly, Daily, Weekly and Monthly scheduled backups.',
|
||||
'duplicator'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
_e(
|
||||
'Supported Cloud Storage: Google Drive, Dropbox, Microsoft One Drive, Amazon S3 (or any compatible S3 service), and FTP/SFTP Storage.',
|
||||
'duplicator'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
@@ -0,0 +1,285 @@
|
||||
<?php
|
||||
|
||||
use Duplicator\Core\Views\TplMng;
|
||||
use Duplicator\Utils\LinkManager;
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
<div class="wrap">
|
||||
<h1><?php esc_html_e('Schedules', 'duplicator') ?></h1>
|
||||
<div class="mock-blur">
|
||||
<!-- ====================
|
||||
TOOL-BAR -->
|
||||
<table class="dpro-edit-toolbar">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<select id="bulk_action">
|
||||
<option selected="selected">Bulk Actions</option>
|
||||
<option>Activate</option>
|
||||
<option>Deactivate</option>
|
||||
<option>Delete</option>
|
||||
</select>
|
||||
<input type="button" id="dup-schedule-bulk-apply" class="button action" value="Apply">
|
||||
<span class="btn-separator"></span>
|
||||
<a href="#" class="button grey-icon dup-schedule-settings"><i class="fas fa-sliders-h fa-fw"></i></a>
|
||||
<a href="#" id="btn-logs-dialog" class="button dup-schedule-templates"><i class="far fa-clone"></i></a>
|
||||
</td>
|
||||
<td>
|
||||
<div class="btnnav">
|
||||
<a href="#" class="button dup-schedule-add-new">Add New</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<form id="dup-schedule-form" action="#" method="post">
|
||||
<!-- ====================
|
||||
LIST ALL SCHEDULES -->
|
||||
<table class="widefat schedule-tbl">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:10px;"><input type="checkbox" id="dpro-chk-all"></th>
|
||||
<th style="width:255px;">Name</th>
|
||||
<th>Storage</th>
|
||||
<th>Runs Next</th>
|
||||
<th>Last Ran</th>
|
||||
<th>Active</th>
|
||||
<th class="dup-col-recovery">Recovery</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="schedule-row">
|
||||
<td>
|
||||
<input type="checkbox" class="item-chk">
|
||||
</td>
|
||||
<td>
|
||||
<a id="text-51" href="#" class="name">Daily Schedule - Default Local</a>
|
||||
</td>
|
||||
<td>Default</td>
|
||||
<td>January 1, 2023 0:00 - Daily</td>
|
||||
<td>
|
||||
December 31, 2022 0:00
|
||||
</td>
|
||||
<td><b><span class="green">Yes</span></b></td>
|
||||
<td class="dup-col-recovery">
|
||||
<span class="dup-template-recoveable-info-wrapper">Available<sup><i class="fas fa-undo-alt fa-fw fa-sm"></i></sup></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="schedule-row">
|
||||
<td>
|
||||
<input type="checkbox" class="item-chk">
|
||||
</td>
|
||||
<td>
|
||||
<a id="text-51" href="#" class="name">Weekly Schedule - DropBox</a>
|
||||
</td>
|
||||
<td>DropBox</td>
|
||||
<td>January 8, 2023 0:00 - Weekly</td>
|
||||
<td>
|
||||
January 1, 2023 0:00
|
||||
</td>
|
||||
<td><b><span class="green">Yes</span></b></td>
|
||||
<td class="dup-col-recovery">
|
||||
<span class="dup-template-recoveable-info-wrapper">Available<sup><i class="fas fa-undo-alt fa-fw fa-sm"></i></sup></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="schedule-row">
|
||||
<td>
|
||||
<input type="checkbox" class="item-chk">
|
||||
</td>
|
||||
<td>
|
||||
<a id="text-51" href="#" class="name">Monthly Schedule - GDrive</a>
|
||||
</td>
|
||||
<td>Google Drive</td>
|
||||
<td>February 1, 2023 0:00 - Weekly</td>
|
||||
<td>
|
||||
January 1, 2023 0:00
|
||||
</td>
|
||||
<td><b><span class="green">Yes</span></b></td>
|
||||
<td class="dup-col-recovery">
|
||||
<span class="dup-template-recoveable-info-wrapper">Available<sup><i class="fas fa-undo-alt fa-fw fa-sm"></i></sup></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="schedule-row">
|
||||
<td>
|
||||
<input type="checkbox" class="item-chk">
|
||||
</td>
|
||||
<td>
|
||||
<a id="text-51" href="#" class="name">Monthly Schedule - All Storages</a>
|
||||
</td>
|
||||
<td>Local, Google Drive, FTP, SFTP,</br>S3, OneDrive, DropBox</td>
|
||||
<td>February 1, 2023 0:00 - Weekly</td>
|
||||
<td>
|
||||
January 1, 2023 0:00
|
||||
</td>
|
||||
<td><b><span class="green">Yes</span></b></td>
|
||||
<td class="dup-col-recovery">
|
||||
<span class="dup-template-recoveable-info-wrapper">Available<sup><i class="fas fa-undo-alt fa-fw fa-sm"></i></sup></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="schedule-row">
|
||||
<td>
|
||||
<input type="checkbox" class="item-chk">
|
||||
</td>
|
||||
<td>
|
||||
<a id="text-51" href="#" class="name">Daily Schedule - Default Local</a>
|
||||
</td>
|
||||
<td>Default</td>
|
||||
<td>January 1, 2023 0:00 - Daily</td>
|
||||
<td>
|
||||
December 31, 2022 0:00
|
||||
</td>
|
||||
<td><b><span class="green">Yes</span></b></td>
|
||||
<td class="dup-col-recovery">
|
||||
<span class="dup-template-recoveable-info-wrapper">Available<sup><i class="fas fa-undo-alt fa-fw fa-sm"></i></sup></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="schedule-row">
|
||||
<td>
|
||||
<input type="checkbox" class="item-chk">
|
||||
</td>
|
||||
<td>
|
||||
<a id="text-51" href="#" class="name">Weekly Schedule - DropBox</a>
|
||||
</td>
|
||||
<td>DropBox</td>
|
||||
<td>January 8, 2023 0:00 - Weekly</td>
|
||||
<td>
|
||||
January 1, 2023 0:00
|
||||
</td>
|
||||
<td><b><span class="green">Yes</span></b></td>
|
||||
<td class="dup-col-recovery">
|
||||
<span class="dup-template-recoveable-info-wrapper">Available<sup><i class="fas fa-undo-alt fa-fw fa-sm"></i></sup></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="schedule-row">
|
||||
<td>
|
||||
<input type="checkbox" class="item-chk">
|
||||
</td>
|
||||
<td>
|
||||
<a id="text-51" href="#" class="name">Monthly Schedule - GDrive</a>
|
||||
</td>
|
||||
<td>Google Drive</td>
|
||||
<td>February 1, 2023 0:00 - Weekly</td>
|
||||
<td>
|
||||
January 1, 2023 0:00
|
||||
</td>
|
||||
<td><b><span class="green">Yes</span></b></td>
|
||||
<td class="dup-col-recovery">
|
||||
<span class="dup-template-recoveable-info-wrapper">Available<sup><i class="fas fa-undo-alt fa-fw fa-sm"></i></sup></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="schedule-row">
|
||||
<td>
|
||||
<input type="checkbox" class="item-chk">
|
||||
</td>
|
||||
<td>
|
||||
<a id="text-51" href="#" class="name">Monthly Schedule - All Storages</a>
|
||||
</td>
|
||||
<td>Local, Google Drive, FTP, SFTP,</br>S3, OneDrive, DropBox</td>
|
||||
<td>February 1, 2023 0:00 - Weekly</td>
|
||||
<td>
|
||||
January 1, 2023 0:00
|
||||
</td>
|
||||
<td><b><span class="green">Yes</span></b></td>
|
||||
<td class="dup-col-recovery">
|
||||
<span class="dup-template-recoveable-info-wrapper">Available<sup><i class="fas fa-undo-alt fa-fw fa-sm"></i></sup></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="schedule-row">
|
||||
<td>
|
||||
<input type="checkbox" class="item-chk">
|
||||
</td>
|
||||
<td>
|
||||
<a id="text-51" href="#" class="name">Daily Schedule - Default Local</a>
|
||||
</td>
|
||||
<td>Default</td>
|
||||
<td>January 1, 2023 0:00 - Daily</td>
|
||||
<td>
|
||||
December 31, 2022 0:00
|
||||
</td>
|
||||
<td><b><span class="green">Yes</span></b></td>
|
||||
<td class="dup-col-recovery">
|
||||
<span class="dup-template-recoveable-info-wrapper">Available<sup><i class="fas fa-undo-alt fa-fw fa-sm"></i></sup></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="schedule-row">
|
||||
<td>
|
||||
<input type="checkbox" class="item-chk">
|
||||
</td>
|
||||
<td>
|
||||
<a id="text-51" href="#" class="name">Weekly Schedule - DropBox</a>
|
||||
</td>
|
||||
<td>DropBox</td>
|
||||
<td>January 8, 2023 0:00 - Weekly</td>
|
||||
<td>
|
||||
January 1, 2023 0:00
|
||||
</td>
|
||||
<td><b><span class="green">Yes</span></b></td>
|
||||
<td class="dup-col-recovery">
|
||||
<span class="dup-template-recoveable-info-wrapper">Available<sup><i class="fas fa-undo-alt fa-fw fa-sm"></i></sup></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="schedule-row">
|
||||
<td>
|
||||
<input type="checkbox" class="item-chk">
|
||||
</td>
|
||||
<td>
|
||||
<a id="text-51" href="#" class="name">Monthly Schedule - GDrive</a>
|
||||
</td>
|
||||
<td>Google Drive</td>
|
||||
<td>February 1, 2023 0:00 - Weekly</td>
|
||||
<td>
|
||||
January 1, 2023 0:00
|
||||
</td>
|
||||
<td><b><span class="green">Yes</span></b></td>
|
||||
<td class="dup-col-recovery">
|
||||
<span class="dup-template-recoveable-info-wrapper">Available<sup><i class="fas fa-undo-alt fa-fw fa-sm"></i></sup></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="schedule-row">
|
||||
<td>
|
||||
<input type="checkbox" class="item-chk">
|
||||
</td>
|
||||
<td>
|
||||
<a id="text-51" href="#" class="name">Monthly Schedule - All Storages</a>
|
||||
</td>
|
||||
<td>Local, Google Drive, FTP, SFTP,</br>S3, OneDrive, DropBox</td>
|
||||
<td>February 1, 2023 0:00 - Weekly</td>
|
||||
<td>
|
||||
January 1, 2023 0:00
|
||||
</td>
|
||||
<td><b><span class="green">Yes</span></b></td>
|
||||
<td class="dup-col-recovery">
|
||||
<span class="dup-template-recoveable-info-wrapper">Available<sup><i class="fas fa-undo-alt fa-fw fa-sm"></i></sup></span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th colspan="7" style="text-align:right; white-space: nowrap; font-size:12px">
|
||||
Total: 12 | Active: 12 | Time: <span id="dpro-clock-container">00:00:01</span></th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
TplMng::getInstance()->render(
|
||||
'parts/Education/static-popup',
|
||||
array(
|
||||
'title' => __('Automate your workflow with scheduled backups!', 'duplicator'),
|
||||
'warning-text' => __('Duplicator Lite does not support scheduled backups!', 'duplicator'),
|
||||
'content-tpl' => 'mocks/schedule/content-popup',
|
||||
'upsell-url' => LinkManager::getCampaignUrl('blurred-mocks', 'Schedules')
|
||||
)
|
||||
);
|
||||
?>
|
||||
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
use Duplicator\Core\Views\TplMng;
|
||||
use Duplicator\Utils\LinkManager;
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
<h3 class="title"><?php _e("Roles and Permissions", "duplicator"); ?></h3>
|
||||
<hr size="1">
|
||||
<div class="access-mock mock-blur">
|
||||
<p>
|
||||
<?php _e("Select the user roles and/or users that are allowed to manage different aspects of Duplicator.", "duplicator"); ?> <br>
|
||||
<?php _e("By default, all permissions are provided only to administrator users.", "duplicator") ?> <br>
|
||||
<?php _e("Some capabilities depend on others so If you select for example storage capability automatically the Backup " .
|
||||
"read and Backup edit capabilities are assigned", "duplicator") ?><br>
|
||||
<b><?php _e("It is not possible to self remove the manage settings capabilities.", "duplicator"); ?></b>
|
||||
</p>
|
||||
<table class="form-table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><?php _e("Backup Read ", "duplicator") ?><i class="fas fa-question-circle fa-sm"></i></th>
|
||||
<td>
|
||||
<div class="mock-select2">
|
||||
<div class="select2-option">
|
||||
<?php _e("Administrator", "duplicator") ?>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e(" - Backup Edit ", "duplicator") ?><i class="fas fa-question-circle fa-sm"></i></th>
|
||||
<td>
|
||||
<div class="mock-select2">
|
||||
<div class="select2-option">
|
||||
<?php _e("Administrator", "duplicator") ?>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e(" - - Manage Schedules ", "duplicator") ?><i class="fas fa-question-circle fa-sm"></i></th>
|
||||
<td>
|
||||
<div class="mock-select2">
|
||||
<div class="select2-option">
|
||||
<?php _e("Administrator", "duplicator") ?>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e(" - - Manage Storages ", "duplicator") ?><i class="fas fa-question-circle fa-sm"></i></th>
|
||||
<td>
|
||||
<div class="mock-select2">
|
||||
<div class="select2-option">
|
||||
<?php _e("Administrator", "duplicator") ?>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e(" - Restore Backup ", "duplicator") ?><i class="fas fa-question-circle fa-sm"></i></th>
|
||||
<td>
|
||||
<div class="mock-select2">
|
||||
<div class="select2-option">
|
||||
<?php _e("Administrator", "duplicator") ?>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e(" - - Backup Import ", "duplicator") ?><i class="fas fa-question-circle fa-sm"></i></th>
|
||||
<td>
|
||||
<div class="mock-select2">
|
||||
<div class="select2-option">
|
||||
<?php _e("Administrator", "duplicator") ?>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e(" - Backup Export ", "duplicator") ?><i class="fas fa-question-circle fa-sm"></i></th>
|
||||
<td>
|
||||
<div class="mock-select2">
|
||||
<div class="select2-option">
|
||||
<?php _e("Administrator", "duplicator") ?>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e(" - Manage Settings ", "duplicator") ?><i class="fas fa-question-circle fa-sm"></i></th>
|
||||
<td>
|
||||
<div class="mock-select2">
|
||||
<div class="select2-option">
|
||||
<?php _e("Administrator", "duplicator") ?>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><?php _e(" - - Manage License Settings ", "duplicator") ?><i class="fas fa-question-circle fa-sm"></i></th>
|
||||
<td>
|
||||
<div class="mock-select2">
|
||||
<div class="select2-option">
|
||||
<?php _e("Administrator", "duplicator") ?>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<?php TplMng::getInstance()->render(
|
||||
'parts/Education/static-popup',
|
||||
array(
|
||||
'title' => __('Advanced Backup Permissions', 'duplicator'),
|
||||
'warning-text' => __('Advanced Backup Permissions are not available in Duplicator Lite!', 'duplicator'),
|
||||
'content-tpl' => 'mocks/settings/access/content-popup',
|
||||
'upsell-url' => LinkManager::getCampaignUrl('blurred-mocks', 'Settings Access Tab')
|
||||
),
|
||||
true
|
||||
); ?>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
__(
|
||||
'Elevate your backup capabilities with advanced permissions, allowing for precise control over the creation, ' .
|
||||
'exportation, restoration, and management of control settings. Enjoy granular access control to ensure only ' .
|
||||
'authorized users can perform these critical functions.',
|
||||
'duplicator'
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
use Duplicator\Utils\LinkManager;
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
|
||||
<div class="advanced-storages-popup-content">
|
||||
<img src="<?php echo esc_url(DUPLICATOR_PLUGIN_URL . "assets/img/duplicator-header-logo.svg"); ?>" />
|
||||
<?php esc_html_e('Store to Multiple Endpoints with Duplicator Pro', 'duplicator'); ?>
|
||||
<ul>
|
||||
<?php foreach ($tplData['storages'] as $storage) : ?>
|
||||
<li>
|
||||
<?php if (isset($storage['iconUrl'])) : ?>
|
||||
<img src="<?php echo esc_url($storage['iconUrl']); ?>" class="storage-icon"/>
|
||||
<?php elseif (isset($storage['fa-class'])) : ?>
|
||||
<i class="fab <?php echo esc_attr($storage['fa-class']); ?> fa-fw"></i>
|
||||
<?php endif; ?>
|
||||
<?php echo esc_html($storage['title']); ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<i>
|
||||
<?php esc_html_e('Set up one-time storage locations and automatically push the Backup to your destination.', 'duplicator'); ?><br>
|
||||
</i>
|
||||
<p>
|
||||
<a href="<?php echo esc_url(LinkManager::getCampaignUrl($tplData['utm_medium'], 'Popup Upgrade Now')); ?>"
|
||||
target="_blank"
|
||||
id="dup-storage-upgrade-btn"
|
||||
class="dup-btn dup-btn-green dup-btn-lg" style="padding: 12px 40px;">
|
||||
<?php esc_html_e('Upgrade Now', 'duplicator'); ?>
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,172 @@
|
||||
<?php
|
||||
|
||||
use Duplicator\Controllers\StorageController;
|
||||
use Duplicator\Utils\LinkManager;
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
<style>
|
||||
/*Detail Tables */
|
||||
table.storage-tbl td {
|
||||
height: 45px
|
||||
}
|
||||
|
||||
table.storage-tbl input[type='checkbox'] {
|
||||
margin-left: 5px
|
||||
}
|
||||
|
||||
table.storage-tbl img {
|
||||
vertical-align: middle;
|
||||
margin-right: 5px;
|
||||
width: 20px
|
||||
}
|
||||
|
||||
table tr.storage-detail td {
|
||||
padding: 3px 0 5px 20px
|
||||
}
|
||||
|
||||
table tr.storage-detail div {
|
||||
line-height: 20px;
|
||||
padding: 2px 2px 2px 15px
|
||||
}
|
||||
|
||||
table tr.storage-detail td button {
|
||||
margin: 5px 0 5px 0 !important;
|
||||
display: block
|
||||
}
|
||||
|
||||
tr.storage-detail label {
|
||||
min-width: 150px;
|
||||
display: inline-block;
|
||||
font-weight: bold
|
||||
}
|
||||
|
||||
table.storage-tbl input[type='checkbox'].item-chk {
|
||||
opacity: 0.7;
|
||||
background: rgba(255,255,255,.5);
|
||||
border-color: rgba(220,220,222,.75);
|
||||
box-shadow: inset 0 1px 2px rgb(0 0 0 / 4%);
|
||||
color: rgba(44,51,56,.5);
|
||||
}
|
||||
</style>
|
||||
<div class="wrap"><h1><?php _e('Storage', 'duplicator');?></h1>
|
||||
<div class="notice notice-error">
|
||||
<p><strong><?php echo __('Remote Cloud Backups is a PRO feature', 'duplicator'); ?></strong></p>
|
||||
<p><?php echo __('Back up to Dropbox, FTP, Google Drive, OneDrive, Amazon S3 or Amazon S3 compatible for safe off-site storage.', 'duplicator'); ?></p>
|
||||
<p>
|
||||
<a href="<?php echo esc_url(LinkManager::getCampaignUrl('storage-page', 'Notice Upgrade Now')); ?>"
|
||||
class="dup-btn-green dup-btn-md dup-btn"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer">
|
||||
<?php echo __('Upgrade Now', 'duplicator'); ?>
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
<!-- ====================
|
||||
TOOL-BAR -->
|
||||
<table class="dpro-edit-toolbar">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<select id="bulk_action">
|
||||
<option value="-1"><?php _e('Bulk Actions', 'duplicator');?></option>
|
||||
<option value="1" title="Delete selected storage endpoint(s)">
|
||||
<?php _e('Delete', 'duplicator');?>
|
||||
</option>
|
||||
</select>
|
||||
<input type="button" class="button action" value="<?php esc_html_e('Apply', 'duplicator') ?>">
|
||||
<span class="btn-separator"></span>
|
||||
<a href="#" class="button grey-icon"
|
||||
title="<?php esc_attr_e('Settings', 'duplicator') ?>">
|
||||
<i class="fas fa-sliders-h fa-fw"></i>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div id="new_storage" class="btnnav">
|
||||
<a href="#" id="duplicator-pro-add-new-storage" class="button"><?php _e('Add New', 'duplicator'); ?></a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<form id="dup-storage-form" action="#"
|
||||
method="post">
|
||||
<!-- ====================
|
||||
LIST ALL STORAGE -->
|
||||
<table class="widefat storage-tbl">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:10px;"><input type="checkbox" id="dpro-chk-all" title="Select all storage endpoints"></th>
|
||||
<th style="width:275px;"><?php _e('Name', 'duplicator'); ?></th>
|
||||
<th><?php _e('Type', 'duplicator'); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr id="main-view--2" class="storage-row" data-id="-2" data-name="Default" data-typeid="0"
|
||||
data-typename="Local">
|
||||
<td>
|
||||
<input type="checkbox" onclick="return false" checked="checked">
|
||||
</td>
|
||||
<td>
|
||||
<a href="#"><b><?php esc_html_e('Default', 'duplicator') ?></b></a>
|
||||
</td>
|
||||
<td>
|
||||
<i class="far fa-hdd fa-fw"></i> <?php esc_html_e('Local', 'duplicator') ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php foreach ($tplData['storages'] as $storage) : ?>
|
||||
<tr class="storage-row" data-name="<?php echo esc_attr($storage['title']); ?>">
|
||||
<td>
|
||||
<input class="item-chk" type="checkbox">
|
||||
</td>
|
||||
<td>
|
||||
<a href="#"><b><?php echo $storage['title']; ?></b></a>
|
||||
</td>
|
||||
<td>
|
||||
<?php if (isset($storage['fa-class'])) : ?>
|
||||
<i class="<?php echo $storage['fa-class']; ?> fa-fw"></i>
|
||||
<?php elseif (isset($storage['iconUrl'])) : ?>
|
||||
<img src="<?php echo $storage['iconUrl']; ?>" alt="<?php echo $storage['label']; ?>" title="<?php echo $storage['label']; ?>">
|
||||
<?php endif; ?>
|
||||
<?php echo $storage['label']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th colspan="8" style="text-align:right; font-size:12px"><?php printf(__('Total: %s', 'duplicator'), count($tplData['storages'])); ?></th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<?php
|
||||
$storageAlert = StorageController::getDialogBox('storage-page');
|
||||
?>
|
||||
<script>
|
||||
jQuery(document).ready(function ($) {
|
||||
$(".storage-tbl tr a, .item-chk, #new_storage").click(function (e) {
|
||||
e.preventDefault();
|
||||
let btn = $('#dup-storage-upgrade-btn');
|
||||
let baseUrl = "<?php echo LinkManager::getCampaignUrl('storage-page', 'Popup Upgrade Now'); ?>";
|
||||
let url = baseUrl + '&utm_term=New+Storage';
|
||||
|
||||
if ($(this).is("a") || $(this).hasClass("item-chk")) {
|
||||
url = baseUrl + '&utm_term=' + encodeURIComponent($(this).closest('tr').data('name'));
|
||||
}
|
||||
|
||||
btn.attr('href', url);
|
||||
|
||||
<?php $storageAlert->showAlert(); ?>
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
<p>
|
||||
<?php
|
||||
_e(
|
||||
'If you install the same theme, plugins or content on all your WordPress sites then Duplicator can save you a lot of time.',
|
||||
'duplicator'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
_e(
|
||||
'Instead of manually configuring the same themes and plugins over and over, just configure one site and bundle it into a Duplicator Backup. ' .
|
||||
'Install the Backup to create a pre-configured site on as many locations as you want!',
|
||||
'duplicator'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
@@ -0,0 +1,200 @@
|
||||
<?php
|
||||
|
||||
use Duplicator\Core\Views\TplMng;
|
||||
use Duplicator\Utils\LinkManager;
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
<form class="mock-blur" style="margin-top: 20px;" action="#" method="post">
|
||||
<!-- ====================
|
||||
TOOL-BAR -->
|
||||
<table style="margin-bottom: 10px; width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<select id="bulk_action">
|
||||
<option value="-1" selected="selected">Bulk Actions</option>
|
||||
<option value="delete">Delete</option>
|
||||
</select>
|
||||
<input type="button" class="button action" value="Apply">
|
||||
</td>
|
||||
<td style="text-align: right;">
|
||||
<div class="btnnav">
|
||||
<a href="#" class="button dup-add-template-btn">Add New</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- ====================
|
||||
LIST ALL SCHEDULES -->
|
||||
<table class="widefat dup-template-list-tbl striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="col-check"><input type="checkbox" title="Select all Backups"></th>
|
||||
<th class="col-name">Name</th>
|
||||
<th class="col-recover">Recovery</th>
|
||||
<th class="col-empty"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="col-check">
|
||||
<input type="checkbox" disabled="">
|
||||
</td>
|
||||
<td class="col-name">
|
||||
<a href="#" class="name">Default </a>
|
||||
</td>
|
||||
<td class="col-recover">
|
||||
<span class="dup-template-recoveable-info-wrapper">
|
||||
Available<sup><i class="fas fa-undo-alt fa-fw fa-sm"></i></sup>
|
||||
</span>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="col-check">
|
||||
<input name="selected_id[]" type="checkbox" value="16" class="item-chk">
|
||||
</td>
|
||||
<td class="col-name">
|
||||
<a href="#" class="name">Full site backup</a>
|
||||
</td>
|
||||
<td class="col-recover">
|
||||
<span class="dup-template-recoveable-info-wrapper">
|
||||
Available<sup><i class="fas fa-undo-alt fa-fw fa-sm"></i></sup>
|
||||
</span>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="col-check">
|
||||
<input name="selected_id[]" type="checkbox" value="16" class="item-chk">
|
||||
</td>
|
||||
<td class="col-name">
|
||||
<a href="#" class="name">Database only backup</a>
|
||||
</td>
|
||||
<td class="col-recover">
|
||||
<span class="dup-template-recoveable-info-wrapper">
|
||||
<a href="#" id="dup-template-recoveable-info-2" class="dup-template-recoveable-info"><u>Disabled</u></a>
|
||||
</span>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="col-check">
|
||||
<input name="selected_id[]" type="checkbox" value="16" class="item-chk">
|
||||
</td>
|
||||
<td class="col-name">
|
||||
<a href="#" class="name">Uploads folder filtered</a>
|
||||
</td>
|
||||
<td class="col-recover">
|
||||
<span class="dup-template-recoveable-info-wrapper">
|
||||
Available<sup><i class="fas fa-undo-alt fa-fw fa-sm"></i></sup>
|
||||
</span>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="col-check">
|
||||
<input name="selected_id[]" type="checkbox" value="16" class="item-chk">
|
||||
</td>
|
||||
<td class="col-name">
|
||||
<a href="#" class="name">Non-WP tables filtered</a>
|
||||
</td>
|
||||
<td class="col-recover">
|
||||
<span class="dup-template-recoveable-info-wrapper">
|
||||
<a href="#" id="dup-template-recoveable-info-2" class="dup-template-recoveable-info"><u>Disabled</u></a>
|
||||
</span>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="col-check">
|
||||
<input name="selected_id[]" type="checkbox" value="16" class="item-chk">
|
||||
</td>
|
||||
<td class="col-name">
|
||||
<a href="#" class="name">Full site backup</a>
|
||||
</td>
|
||||
<td class="col-recover">
|
||||
<span class="dup-template-recoveable-info-wrapper">
|
||||
Available<sup><i class="fas fa-undo-alt fa-fw fa-sm"></i></sup>
|
||||
</span>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="col-check">
|
||||
<input name="selected_id[]" type="checkbox" value="16" class="item-chk">
|
||||
</td>
|
||||
<td class="col-name">
|
||||
<a href="#" class="name">Database only backup</a>
|
||||
</td>
|
||||
<td class="col-recover">
|
||||
<span class="dup-template-recoveable-info-wrapper">
|
||||
<a href="#" id="dup-template-recoveable-info-2" class="dup-template-recoveable-info"><u>Disabled</u></a>
|
||||
</span>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="col-check">
|
||||
<input name="selected_id[]" type="checkbox" value="16" class="item-chk">
|
||||
</td>
|
||||
<td class="col-name">
|
||||
<a href="#" class="name">Uploads folder filtered</a>
|
||||
</td>
|
||||
<td class="col-recover">
|
||||
<span class="dup-template-recoveable-info-wrapper">
|
||||
Available<sup><i class="fas fa-undo-alt fa-fw fa-sm"></i></sup>
|
||||
</span>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="col-check">
|
||||
<input name="selected_id[]" type="checkbox" value="16" class="item-chk">
|
||||
</td>
|
||||
<td class="col-name">
|
||||
<a href="#" class="name">Non-WP tables filtered</a>
|
||||
</td>
|
||||
<td class="col-recover">
|
||||
<span class="dup-template-recoveable-info-wrapper">
|
||||
<a href="#" id="dup-template-recoveable-info-2" class="dup-template-recoveable-info"><u>Disabled</u></a>
|
||||
</span>
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th colspan="8" style="text-align:right; font-size:12px">
|
||||
Total: 2
|
||||
</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</form>
|
||||
<?php TplMng::getInstance()->render(
|
||||
'parts/Education/static-popup',
|
||||
array(
|
||||
'title' => __('Easily customize your backups with templates!', 'duplicator'),
|
||||
'warning-text' => __('Templates are not available in Duplicator Lite!', 'duplicator'),
|
||||
'content-tpl' => 'mocks/templates/content-popup',
|
||||
'upsell-url' => LinkManager::getCampaignUrl('blurred-mocks', 'Templates')
|
||||
),
|
||||
true
|
||||
); ?>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
<p>
|
||||
<?php
|
||||
_e(
|
||||
'With manual transfers you can upload your backup to remote storages even after you have created them.',
|
||||
'duplicator'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
@@ -0,0 +1,236 @@
|
||||
<?php
|
||||
|
||||
use Duplicator\Core\Views\TplMng;
|
||||
use Duplicator\Utils\LinkManager;
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
|
||||
<div class="transfer-panel mock-blur">
|
||||
|
||||
<div class="transfer-hdr">
|
||||
<h2 class="title">
|
||||
<i class="fas fa-exchange-alt"></i> Manual Transfer
|
||||
</h2>
|
||||
<hr>
|
||||
</div>
|
||||
<!-- ===================
|
||||
STEP 1 -->
|
||||
<div id="step2-section">
|
||||
<div style="margin:0px 0 0px 0">
|
||||
<h3>Step 1: Choose Location</h3>
|
||||
<input style="display:none" type="radio" name="location" id="location-storage" checked="checked" onclick="DupPro.Pack.Transfer.ToggleLocation()">
|
||||
<label style="display:none" for="location-storage">Storage</label>
|
||||
<input style="display:none" type="radio" name="location" id="location-quick" onclick="DupPro.Pack.Transfer.ToggleLocation()">
|
||||
<label style="display:none" for="location-quick">Quick FTP Connect</label>
|
||||
</div>
|
||||
|
||||
<!-- STEP 1: STORAGE -->
|
||||
<table id="location-storage-opts" class="widefat">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="white-space: nowrap; width:10px;"></th>
|
||||
<th style="width:125px">Type</th>
|
||||
<th style="width:275px">Name</th>
|
||||
<th style="white-space: nowrap">Location</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="package-row alternate">
|
||||
<td>
|
||||
<input name="edit_id" type="hidden" value="1">
|
||||
<input class="duppro-storage-input" id="dup-chkbox-50" name="_storage_ids[]"
|
||||
data-parsley-errors-container="#storage_error_container" data-parsley-mincheck="1"
|
||||
data-parsley-required="true" type="checkbox" value="50">
|
||||
</td>
|
||||
<td>
|
||||
<label for="dup-chkbox-50" class="dup-store-lbl">
|
||||
<i class="fab fa-dropbox fa-fw"></i> Dropbox </label>
|
||||
</td>
|
||||
<td>
|
||||
<a href="?page=duplicator-pro-storage&tab=storage&inner_page=edit&storage_id=50" target="_blank">
|
||||
DropBox </a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="https://dropbox.com/home" target="_blank">https://dropbox.com/home</a> </td>
|
||||
</tr>
|
||||
|
||||
<tr class="package-row ">
|
||||
<td>
|
||||
<input name="edit_id" type="hidden" value="2">
|
||||
<input class="duppro-storage-input" id="dup-chkbox-53"
|
||||
name="_storage_ids[]" data-parsley-errors-container="#storage_error_container" type="checkbox" value="53">
|
||||
</td>
|
||||
<td>
|
||||
<label for="dup-chkbox-53" class="dup-store-lbl">
|
||||
<i class="fab fa-google-drive fa-fw"></i> Google Drive </label>
|
||||
</td>
|
||||
<td>
|
||||
<a href="?page=duplicator-pro-storage&tab=storage&inner_page=edit&storage_id=53" target="_blank">
|
||||
Google Drive </a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="https://drive.google.com/drive/" target="_blank">google://Duplicator Backups/duplicator.com</a> </td>
|
||||
</tr>
|
||||
|
||||
<tr class="package-row alternate">
|
||||
<td>
|
||||
<input name="edit_id" type="hidden" value="3">
|
||||
<input class="duppro-storage-input" id="dup-chkbox-54"
|
||||
name="_storage_ids[]" data-parsley-errors-container="#storage_error_container" type="checkbox" value="54">
|
||||
</td>
|
||||
<td>
|
||||
<label for="dup-chkbox-54" class="dup-store-lbl">
|
||||
<i class="fas fa-cloud fa-fw"></i> OneDrive </label>
|
||||
</td>
|
||||
<td>
|
||||
<a href="?page=duplicator-pro-storage&tab=storage&inner_page=edit&storage_id=54" target="_blank">
|
||||
OneDrive </a>
|
||||
</td>
|
||||
<td>
|
||||
Not Authenticated </td>
|
||||
</tr>
|
||||
|
||||
<tr class="package-row ">
|
||||
<td>
|
||||
<input name="edit_id" type="hidden" value="4">
|
||||
<input class="duppro-storage-input" id="dup-chkbox-55"
|
||||
name="_storage_ids[]" data-parsley-errors-container="#storage_error_container" type="checkbox" value="55">
|
||||
</td>
|
||||
<td>
|
||||
<label for="dup-chkbox-55" class="dup-store-lbl">
|
||||
<i class="fas fa-network-wired fa-fw"></i> FTP </label>
|
||||
</td>
|
||||
<td>
|
||||
<a href="?page=duplicator-pro-storage&tab=storage&inner_page=edit&storage_id=55" target="_blank">
|
||||
FTP </a>
|
||||
</td>
|
||||
<td>
|
||||
<a href="ftp://a:21//mduplicator.test" target="_blank">ftp://duplicator.com:21/duplicator.com</a> </td>
|
||||
</tr>
|
||||
|
||||
<tr class="package-row alternate">
|
||||
<td>
|
||||
<input name="edit_id" type="hidden" value="5">
|
||||
<input class="duppro-storage-input" id="dup-chkbox-56"
|
||||
name="_storage_ids[]" data-parsley-errors-container="#storage_error_container" type="checkbox" value="56">
|
||||
</td>
|
||||
<td>
|
||||
<label for="dup-chkbox-56" class="dup-store-lbl">
|
||||
<i class="fas fa-network-wired fa-fw"></i> SFTP </label>
|
||||
</td>
|
||||
<td>
|
||||
<a href="?page=duplicator-pro-storage&tab=storage&inner_page=edit&storage_id=56" target="_blank">
|
||||
SFTP </a>
|
||||
</td>
|
||||
<td>
|
||||
<a href=":22" target="_blank">duplicator.com:22</a> </td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
<tbody><tr class="dup-choose-loc-new-pack">
|
||||
<td colspan="4">
|
||||
<a href="admin.php?page=duplicator-pro-storage&tab=storage&inner_page=edit" target="_blank">
|
||||
[Create New Storage]
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- ===================
|
||||
STEP 2 -->
|
||||
<div id="step3-section">
|
||||
<h3>
|
||||
Step 2: Transfer Files
|
||||
<button
|
||||
id="dup-pro-transfer-btn"
|
||||
type="button" class="button button-large button-primary"
|
||||
>
|
||||
Start Transfer <i class="fas fa-upload"></i>
|
||||
|
||||
</button>
|
||||
</h3>
|
||||
|
||||
<div style="width: 700px; text-align: center; margin-left: auto; margin-right: auto; display: none;" class="dpro-active-status-area">
|
||||
<div style="display:none; font-size:20px; font-weight:bold" id="dpro-progress-bar-percent"></div>
|
||||
<div style="font-size:14px" id="dpro-progress-bar-text">Processing</div>
|
||||
<div id="dpro-progress-bar-percent-help">
|
||||
<small>Full Backup percentage shown on Backups screen</small>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="dpro-progress-bar-container">
|
||||
<div id="dpro-progress-bar-area" class="dpro-active-status-area" style="display: none;">
|
||||
<div class="dup-pro-meter-wrapper">
|
||||
<div class="dup-pro-meter blue dup-pro-fullsize">
|
||||
<span></span>
|
||||
</div>
|
||||
<span class="text"></span>
|
||||
</div>
|
||||
<button
|
||||
disabled=""
|
||||
id="dup-pro-stop-transfer-btn"
|
||||
type="button"
|
||||
class="button button-large button-primarybutton dpro-btn-stop"
|
||||
value="" onclick="DupPro.Pack.Transfer.StopBuild();"
|
||||
>
|
||||
<i class="fa fa-times fa-sm"></i> Stop Transfer
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ===============================
|
||||
TRANSFER LOG -->
|
||||
<div class="dup-box">
|
||||
<div class="dup-box-title">
|
||||
<i class="fas fa-file-contract fa-fw fa-sm"></i>
|
||||
Transfer Log
|
||||
</div>
|
||||
<div class="dup-box-panel" id="dup-transfer-transfer-log" style="display:block">
|
||||
<table class="widefat package-tbl">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:150px">Started</th>
|
||||
<th style="width:150px">Stopped</th>
|
||||
<th style="white-space: nowrap">Status</th>
|
||||
<th style="white-space: nowrap">Type</th>
|
||||
<th style="width: 60%; white-space: nowrap">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody><tr class="package-row status-normal">
|
||||
<td>Sun, 01 Jan 00:00:00</td>
|
||||
<td>Sun, 01 Jan 00:01:00</td>
|
||||
<td>Succeeded</td>
|
||||
<td>Dropbox</td>
|
||||
<td>Transferred Backup to Dropbox folder duplicator.com</td>
|
||||
</tr></tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="5" id="dup-pack-details-trans-log-count">Log Items: 1</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php TplMng::getInstance()->render(
|
||||
'parts/Education/static-popup',
|
||||
array(
|
||||
'title' => __('Manually transfer backups to remote storages!', 'duplicator'),
|
||||
'warning-text' => __('Remote storages are not available in Duplicator Lite!', 'duplicator'),
|
||||
'content-tpl' => 'mocks/transfer/content-popup',
|
||||
'upsell-url' => LinkManager::getCampaignUrl('blurred-mocks', 'Details Transfer')
|
||||
),
|
||||
true
|
||||
); ?>
|
||||
Reference in New Issue
Block a user