Changed source root directory

This commit is contained in:
2026-03-05 16:30:11 +01:00
parent dc85447ee1
commit 538f85d7a2
5868 changed files with 749734 additions and 99 deletions

View File

@@ -0,0 +1,105 @@
<?php
/**
*
* @package Duplicator
* @copyright (c) 2023, Snap Creek LLC
*/
defined("ABSPATH") || exit;
/**
* Variables
*
* @var \Duplicator\Core\Views\TplMng $tplMng
* @var array<string, mixed> $tplData
*/
?>
<div class="features">
<div class="block">
<h1><?php esc_html_e('Duplicator Features', 'duplicator'); ?></h1>
<h6><?php esc_html_e('Duplicator is both easy to use and extremely powerful. We have tons of helpful features ' .
'that allow us to give you everything you need from a backup & migration plugin.', 'duplicator'); ?></h6>
<div class="feature-list dup-clearfix">
<div class="feature-block first">
<img src="<?php echo DUPLICATOR_PLUGIN_URL; ?>assets/img/welcome/scheduled-backups.svg">
<h5><?php esc_html_e('Scheduled Backups', 'duplicator'); ?></h5>
<p>
<?php esc_html_e('Ensure that important data is regularly and consistently backed up, allowing for ' .
'quick and efficient recovery in case of data loss.', 'duplicator'); ?>
</p>
</div>
<div class="feature-block last">
<img src="<?php echo DUPLICATOR_PLUGIN_URL; ?>assets/img/welcome/cloud-backups.svg">
<h5><?php esc_html_e('Cloud Backups', 'duplicator'); ?></h5>
<p>
<?php esc_html_e('Back up to Dropbox, FTP, Google Drive, OneDrive, or Amazon S3 and more for safe storage.', 'duplicator'); ?>
</p>
</div>
<div class="feature-block first">
<img src="<?php echo DUPLICATOR_PLUGIN_URL; ?>assets/img/welcome/recovery-points.svg">
<h5><?php esc_html_e('Recovery Points', 'duplicator'); ?></h5>
<p>
<?php esc_html_e('Recovery Points provides protection against mistakes and bad updates by letting ' .
'you quickly rollback your system to a known, good state.', 'duplicator'); ?>
</p>
</div>
<div class="feature-block last">
<img src="<?php echo DUPLICATOR_PLUGIN_URL; ?>assets/img/welcome/secure-file-encryption.svg">
<h5><?php esc_html_e('Secure File Encryption', 'duplicator'); ?></h5>
<p>
<?php esc_html_e('Protect and secure the Backup file with industry-standard AES-256 encryption.', 'duplicator'); ?>
</p>
</div>
<div class="feature-block first">
<img src="<?php echo DUPLICATOR_PLUGIN_URL; ?>assets/img/welcome/server-to-server-import.svg">
<h5><?php esc_html_e('Server to Server Import', 'duplicator'); ?></h5>
<p>
<?php esc_html_e('Direct Backup import from source server or cloud storage using URL. No need to ' .
'download the Backup to your desktop machine first.', 'duplicator'); ?>
</p>
</div>
<div class="feature-block last">
<img src="<?php echo DUPLICATOR_PLUGIN_URL; ?>assets/img/welcome/file-and-database-filters.svg">
<h5><?php esc_html_e('File & Database Table Filters', 'duplicator'); ?></h5>
<p>
<?php esc_html_e('Use file and database filters to pick and choose exactly what you want to backup or ' .
'transfer. No bloat!', 'duplicator'); ?>
</p>
</div>
<div class="feature-block first">
<img src="<?php echo DUPLICATOR_PLUGIN_URL; ?>assets/img/welcome/large-site-support.svg">
<h5><?php esc_html_e('Large Site Support', 'duplicator'); ?></h5>
<p>
<?php esc_html_e('Duplicator Pro has developed a new way to package backups especially tailored for ' .
'larger site. No server timeouts or other restrictions.', 'duplicator'); ?>
</p>
</div>
<div class="feature-block last">
<img src="<?php echo DUPLICATOR_PLUGIN_URL; ?>assets/img/welcome/multisite-support.svg">
<h5><?php esc_html_e('Multisite Support', 'duplicator'); ?></h5>
<p>
<?php esc_html_e('Duplicator Pro supports multisite network backup & migration. You can even install ' .
' a subsite as a standalone site.', 'duplicator'); ?>
</p>
</div>
</div>
<div class="button-wrap">
<a href="<?php echo \Duplicator\Utils\LinkManager::getCampaignUrl('welcome-page', 'See All Features') ?>"
class="dup-btn dup-btn-lg dup-btn-grey" rel="noopener noreferrer"
target="_blank">
<?php esc_html_e('See All Features', 'duplicator'); ?>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,41 @@
<?php
/**
*
* @package Duplicator
* @copyright (c) 2023, Snap Creek LLC
*/
defined("ABSPATH") || exit;
/**
* Variables
*
* @var \Duplicator\Core\Views\TplMng $tplMng
* @var array<string, mixed> $tplData
*/
?>
<div class="footer">
<div class="block dup-clearfix">
<div class="button-wrap">
<div class="left">
<a href="<?php echo esc_url($tplData['packageNonceUrl']); ?>"
class="dup-btn dup-btn-block dup-btn-lg dup-btn-orange">
<?php esc_html_e('Create Your First Backup', 'duplicator'); ?>
</a>
</div>
<div class="right">
<a href="<?php echo esc_url(\Duplicator\Utils\LinkManager::getCampaignUrl('welcome-page', 'Upgrade to Duplicator Pro')); ?>"
target="_blank"
rel="noopener noreferrer"
class="dup-btn dup-btn-block dup-btn-lg dup-btn-trans-green">
<span class="underline">
<?php esc_html_e('Upgrade to Duplicator Pro', 'duplicator'); ?> <span
class="dashicons dashicons-arrow-right"></span>
</span>
</a>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,148 @@
<?php
/**
*
* @package Duplicator
* @copyright (c) 2023, Snap Creek LLC
*/
use Duplicator\Core\Controllers\ControllersManager;
defined("ABSPATH") || exit;
/**
* Variables
*
* @var \Duplicator\Core\Views\TplMng $tplMng
* @var array<string, mixed> $tplData
*/
?>
<div class="intro">
<div class="sullie">
<img src="<?php echo DUPLICATOR_PLUGIN_URL; ?>assets/img/welcome/willie.svg"
alt="<?php esc_attr_e('Willie the Duplicator mascot', 'duplicator'); ?>">
</div>
<div class="block">
<h1><?php esc_html_e('Never miss an important update', 'duplicator'); ?></h1>
</div>
<div class="block">
<h6>
<?php esc_html_e(
'Opt in to get email notifications for security & feature updates, educational content, ' .
'and occasional offers, and to share some basic WordPress environment info. This will ' .
'help us make the plugin more compatible with your site and better at doing what you need it to.',
'duplicator'
); ?>
</h6>
<div class="button-wrap">
<div>
<button id="enable-usage-stats-btn" class="dup-btn dup-btn-lg dup-btn-orange dup-btn-block">
<?php esc_html_e('Allow & Continue', 'duplicator'); ?>
<i class="fas fa-arrow-right"></i>
</button>
</div>
<div>
<a href="<?php echo ControllersManager::getMenuLink(ControllersManager::PACKAGES_SUBMENU_SLUG); ?>"
class="dup-btn dup-btn-lg dup-btn-grey dup-btn-block"
rel="noopener noreferrer">
<?php esc_html_e('Skip', 'duplicator'); ?>
</a>
</div>
</div>
</div>
<div class="block terms-container">
<div class="terms-list-toggle">
<?php esc_html_e('This will allow Duplicator to', 'duplicator'); ?>
<i class="fas fa-chevron-right fa-sm"></i>
</div>
<ul class="terms-list" style="display: none;">
<li>
<i class="fas fa-user"></i>
<div>
<b>
<?php esc_html_e('View Basic Profile Info', 'duplicator'); ?>
<i
class="fas fa-question-circle"
data-tooltip-title="<?php esc_attr_e("Basic Profile Info", 'duplicator'); ?>"
data-tooltip="<?php
esc_attr_e(
'Never miss important updates, get security warnings before they ' .
'become public knowledge, and receive notifications about special offers and awesome new features.',
'duplicator'
); ?>"
aria-expanded="false"
></i>
</b>
<p>
<?php esc_html_e(
'Your WordPress user\'s: first & last name, and email address',
'duplicator'
); ?>
</p>
</div>
</li>
<li>
<i class="fas fa-globe"></i>
<div>
<b>
<?php esc_html_e('View Basic Website Info', 'duplicator'); ?>
<i
class="fas fa-question-circle"
data-tooltip-title="<?php esc_attr_e("Basic Website Info", 'duplicator'); ?>"
data-tooltip="<?php
esc_attr_e(
'To provide additional functionality that\'s relevant to your website, avoid WordPress ' .
'or PHP version incompatibilities that can break your website, and recognize which ' .
'languages & regions the plugin should be translated and tailored to.',
'duplicator'
); ?>"
aria-expanded="false"
></i>
</b>
<p>
<?php esc_html_e(
'Homepage URL & title, WP & PHP versions, and site language',
'duplicator'
); ?>
</p>
</div>
</li>
<li>
<i class="fas fa-plug"></i>
<div>
<b><?php esc_html_e('View Basic Plugin Info', 'duplicator'); ?></b>
<p>
<?php esc_html_e(
'Current plugin & SDK versions, and if active or uninstalled',
'duplicator'
); ?>
</p>
</div>
</li>
<li>
<i class="fas fa-palette"></i>
<div>
<b>
<?php esc_html_e('View Plugins & Themes List', 'duplicator'); ?>
<i
class="fas fa-question-circle"
data-tooltip-title="<?php esc_attr_e("Plugins & Themes List", 'duplicator'); ?>"
data-tooltip="<?php
esc_attr_e(
'To ensure compatibility and avoid conflicts with your installed plugins and themes.',
'duplicator'
); ?>"
aria-expanded="false"
></i>
</b>
<p>
<?php esc_html_e(
'Names, slugs, versions, and if active or not',
'duplicator'
); ?>
</p>
</div>
</li>
</ul>
</div>
</div>

View File

@@ -0,0 +1,56 @@
<?php
/**
*
* @package Duplicator
* @copyright (c) 2023, Snap Creek LLC
*/
defined("ABSPATH") || exit;
/**
* Variables
*
* @var \Duplicator\Core\Views\TplMng $tplMng
* @var array<string, mixed> $tplData
*/
?>
<div class="testimonials upgrade">
<div class="block">
<h1><?php esc_html_e('Testimonials', 'duplicator'); ?></h1>
<div class="testimonial-block dup-clearfix">
<img src="<?php echo DUPLICATOR_PLUGIN_URL; ?>assets/img/welcome/welcome-testimonial-Karina.png">
<p>
<?php
echo wp_kses(
__(
'It walked me step-by-step through the process of migrating a WordPress website. If you want to save ' .
'a ton of time with <b>WP migration</b>, I very much recommend this plugin!',
'duplicator'
),
array('b' => array())
);
?>
<p>
<p><strong>Karina Caidez</strong>, Website Designer</p>
</div>
<div class="testimonial-block dup-clearfix">
<img src="<?php echo DUPLICATOR_PLUGIN_URL; ?>assets/img/welcome/welcome-testimonial-Blake.png">
<p>
<?php
echo wp_kses(
__(
'Duplicator Pro is the best <b>WordPress migration & backup</b> plugin I have ever used. I will be ' .
'recommending this plugin to everyone I can.',
'duplicator'
),
array('b' => array())
);
?>
<p>
<p><strong>Blake Stiller</strong>, Website Development Instructor</p>
</div>
</div>
</div>

View File

@@ -0,0 +1,40 @@
<?php
/**
*
* @package Duplicator
* @copyright (c) 2023, Snap Creek LLC
*/
defined("ABSPATH") || exit;
/**
* Variables
*
* @var \Duplicator\Core\Views\TplMng $tplMng
* @var array<string, mixed> $tplData
*/
?>
<div class="upgrade-cta upgrade">
<div class="block dup-clearfix">
<div class="">
<h2><?php esc_html_e('Upgrade to PRO', 'duplicator'); ?></h2>
<ul>
<?php foreach (\Duplicator\Utils\Upsell::getCalloutCTAFeatureList() as $feature) : ?>
<li>
<span class="dashicons dashicons-yes"></span> <?php echo esc_html($feature); ?>
</li>
<?php endforeach; ?>
</ul>
</div>
<div class="">
<a href="<?php echo esc_url(\Duplicator\Utils\LinkManager::getCampaignUrl('welcome-page', 'Upgrade Now')); ?>"
rel="noopener noreferrer"
target="_blank"
class="dup-btn dup-btn-block dup-btn-lg dup-btn-green">
<?php esc_html_e('Upgrade Now', 'duplicator'); ?>
</a>
</div>
</div>
</div>

View File

@@ -0,0 +1,48 @@
<?php
/**
*
* @package Duplicator
* @copyright (c) 2023, Snap Creek LLC
*/
use Duplicator\Core\Controllers\ControllersManager;
use Duplicator\Core\Views\TplMng;
defined("ABSPATH") || exit;
/**
* Variables
*
* @var \Duplicator\Core\Views\TplMng $tplMng
* @var array<string, mixed> $tplData
*/
?>
<div id="duplicator-welcome">
<div class="container">
<?php
$packageUrl = ControllersManager::getMenuLink(ControllersManager::PACKAGES_SUBMENU_SLUG, 'new1');
$packageNonceUrl = wp_nonce_url($packageUrl, 'new1-package');
TplMng::getInstance()->render(
'admin_pages/welcome/intro',
array(
'packageNonceUrl' => $packageNonceUrl
)
);
TplMng::getInstance()->render('admin_pages/welcome/features');
TplMng::getInstance()->render('admin_pages/welcome/upgrade-cta');
TplMng::getInstance()->render('admin_pages/welcome/testimonials');
TplMng::getInstance()->render(
'admin_pages/welcome/footer',
array(
'packageNonceUrl' => $packageNonceUrl
)
);
?>
</div>
</div>