forked from LiveCarta/LiveCartaWP
Changed source root directory
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
*
|
||||
* @package Duplicator
|
||||
* @copyright (c) 2023, Snap Creek LLC
|
||||
*/
|
||||
|
||||
use Duplicator\Utils\LinkManager;
|
||||
use Duplicator\Utils\Upsell;
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
<div class="dup-settings-lite-cta">
|
||||
<a href="#" class="dismiss" title="<?php esc_attr_e('Dismiss this message', 'duplicator'); ?>"><i class="fa fa-times-circle" aria-hidden="true"></i></a>
|
||||
<h5><?php esc_html_e('Get Duplicator Pro and Unlock all the Powerful Features', 'duplicator'); ?></h5>
|
||||
<p>
|
||||
<?php esc_html_e(
|
||||
'Thanks for being a loyal Duplicator Lite user. Upgrade to Duplicator Pro to unlock all the ' .
|
||||
'awesome features and experience why Duplicator is consistently rated the best WordPress migration plugin.',
|
||||
'duplicator'
|
||||
); ?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
wp_kses( /* translators: %s - star icons. */
|
||||
__(
|
||||
'We know that you will truly love Duplicator. It has over 4000+ five star ratings (%s) and is active on ' .
|
||||
'over 1 million websites.',
|
||||
'duplicator'
|
||||
),
|
||||
array(
|
||||
'i' => array(
|
||||
'class' => array(),
|
||||
'aria-hidden' => array(),
|
||||
),
|
||||
)
|
||||
),
|
||||
str_repeat('<i class="fa fa-star" aria-hidden="true"></i>', 5) // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<h6><?php esc_html_e('Pro Features:', 'duplicator'); ?></h6>
|
||||
<ul class="list">
|
||||
<?php
|
||||
foreach (Upsell::getCalloutCTAFeatureList() as $feature) {
|
||||
?>
|
||||
<li class="item">
|
||||
<span>
|
||||
<?php echo esc_html($feature); ?>
|
||||
</span>
|
||||
</li>
|
||||
<?php
|
||||
};
|
||||
?>
|
||||
</ul>
|
||||
<p>
|
||||
<a href="<?php echo esc_url(LinkManager::getCampaignUrl('settings-upgrade')); ?>" target="_blank" rel="noopener noreferrer">
|
||||
<?php esc_html_e('Get Duplicator Pro Today and Unlock all the Powerful Features »', 'duplicator'); ?>
|
||||
</a>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
__(
|
||||
'<strong>Bonus:</strong> Duplicator Lite users get <span class="green">%1$d%% off regular price</span>,' .
|
||||
'automatically applied at checkout.',
|
||||
'duplicator'
|
||||
),
|
||||
DUP_Constants::UPSELL_DEFAULT_DISCOUNT
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
*
|
||||
* @package Duplicator
|
||||
* @copyright (c) 2023, Snap Creek LLC
|
||||
*/
|
||||
|
||||
use Duplicator\Utils\LinkManager;
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
<div id="duplicator-did-you-know">
|
||||
<i class="fas fa-info-circle"></i>
|
||||
<?php printf(__('Did you know Duplicator Pro has: %s?', 'duplicator'), $tplData['feature']);?>
|
||||
<a href="<?php echo LinkManager::getCampaignUrl('scan_did-you-know', $tplData['feature']) ?>" target="_blank">
|
||||
<?php esc_html_e('Upgrade To Pro', 'duplicator'); ?>
|
||||
</a>
|
||||
</div>
|
||||
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
*
|
||||
* @package Duplicator
|
||||
* @copyright (c) 2023, Snap Creek LLC
|
||||
*/
|
||||
|
||||
use Duplicator\Utils\LinkManager;
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
<tr>
|
||||
<th colspan="11">
|
||||
<div id="dup-packages-bottom-bar">
|
||||
<div class="icon">
|
||||
<i class="fas fa-info-circle"></i>
|
||||
</div>
|
||||
<div class="feature">
|
||||
<p><strong><?php _e('Upgrade to Pro to Unlock...', 'duplicator'); ?></strong></p>
|
||||
<p>
|
||||
<?php echo $tplData['feature'];?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="upsell">
|
||||
<a href="<?php echo LinkManager::getCampaignUrl('packages_bottom-bar', $tplData['feature']) ?>"
|
||||
class="dup-btn dup-btn-md dup-btn-green"
|
||||
target="_blank">
|
||||
<?php esc_html_e('Upgrade Now & Save!', 'duplicator'); ?>
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<button type="button" id="dup-packages-bottom-bar-dismiss" title="Dismiss recommended plugin">
|
||||
<span class="dashicons dashicons-no-alt"></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</th>
|
||||
</tr>
|
||||
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Duplicator
|
||||
*/
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
use Duplicator\Core\Views\TplMng;
|
||||
use Duplicator\Utils\LinkManager;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
<div class="static-popup">
|
||||
<div class="static-popup-content-top-notice">
|
||||
<i class="fas fa-exclamation-triangle"></i><?php echo $tplData['warning-text']; ?>
|
||||
</div>
|
||||
<div class="static-popup-content">
|
||||
<h2>
|
||||
<?php echo $tplData['title']; ?>
|
||||
</h2>
|
||||
<?php echo TplMng::getInstance()->render($tplData['content-tpl']); ?>
|
||||
</div>
|
||||
<div class="static-popup-button">
|
||||
<a href="<?php echo esc_url($tplData['upsell-url']); ?>" class="dup-btn-green dup-btn-lg dup-btn" target="_blank" rel="noopener noreferrer">
|
||||
<?php echo __('Upgrade to Duplicator Pro Now', 'duplicator'); ?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
*
|
||||
* @package Duplicator
|
||||
* @copyright (c) 2023, Snap Creek LLC
|
||||
*/
|
||||
|
||||
use Duplicator\Utils\LinkManager;
|
||||
|
||||
defined("ABSPATH") || exit;
|
||||
|
||||
/**
|
||||
* Variables
|
||||
*
|
||||
* @var \Duplicator\Core\Views\TplMng $tplMng
|
||||
* @var array<string, mixed> $tplData
|
||||
*/
|
||||
?>
|
||||
<div class="dup-subscribe-form">
|
||||
<div class="input-area">
|
||||
<input type="email"
|
||||
name="email"
|
||||
placeholder="<?php _e('Email Address', 'duplicator'); ?>"
|
||||
value="<?php echo wp_get_current_user()->user_email; ?>"><button
|
||||
type="button" class="dup-btn dup-btn-md dup-btn-green"><?php _e('Subscribe', 'duplicator'); ?></button>
|
||||
</div>
|
||||
<div class="desc">
|
||||
<small><?php _e('Get tips and product updates straight to your inbox.', 'duplicator'); ?></small>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user