first
This commit is contained in:
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace Nextend\SmartSlider3\Application\Admin\GoPro\BlockAlreadyPurchased;
|
||||
|
||||
use Nextend\SmartSlider3\SmartSlider3Info;
|
||||
|
||||
/**
|
||||
* @var BlockAlreadyPurchased $this
|
||||
*/
|
||||
?>
|
||||
<div class="n2_page_free_go_pro_already_purchased">
|
||||
|
||||
<div class="n2_page_free_go_pro_already_purchased__logo">
|
||||
<i class="ssi_48 ssi_48--protect"></i>
|
||||
</div>
|
||||
|
||||
<div class="n2_page_free_go_pro_already_purchased__heading">
|
||||
<?php n2_e('How to upgrade to Smart Slider 3 Pro?'); ?>
|
||||
</div>
|
||||
|
||||
<div class="n2_page_free_go_pro_already_purchased__paragraph">
|
||||
<?php echo sprintf(n2_('After making your purchase, %1$slog in to your account%3$s and download the Pro installer. To get started with Smart Slider 3 Pro, simply %2$sinstall it on your website%3$s.'), '<a href="' . esc_url(SmartSlider3Info::decorateExternalUrl('https://secure.nextendweb.com/', array('utm_source' => 'already-purchased'))) . '" target="_blank">', '<a href="https://smartslider.helpscoutdocs.com/category/1696-installation" target="_blank">', '</a>'); ?>
|
||||
</div>
|
||||
|
||||
<a href="<?php echo esc_url(SmartSlider3Info::decorateExternalUrl('https://secure.nextendweb.com/', array('utm_source' => 'already-purchased'))); ?>" target="_blank" class="n2_page_free_go_pro_already_purchased__button">
|
||||
<?php n2_e('Download Pro'); ?>
|
||||
</a>
|
||||
|
||||
<div class="n2_page_free_go_pro_already_purchased__paragraph">
|
||||
<?php n2_e('Feel free to remove the Free version, as you no longer need it. Your sliders will stay!'); ?>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace Nextend\SmartSlider3\Application\Admin\GoPro\BlockAlreadyPurchased;
|
||||
|
||||
use Nextend\Framework\View\AbstractBlock;
|
||||
|
||||
class BlockAlreadyPurchased extends AbstractBlock {
|
||||
|
||||
public function display() {
|
||||
$this->renderTemplatePart('AlreadyPurchased');
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace Nextend\SmartSlider3\Application\Admin\GoPro;
|
||||
|
||||
use Nextend\SmartSlider3\Application\Admin\AbstractControllerAdmin;
|
||||
|
||||
class ControllerGoPro extends AbstractControllerAdmin {
|
||||
|
||||
public function actionIndex() {
|
||||
|
||||
$view = new ViewGoProIndex($this);
|
||||
$view->display();
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
namespace Nextend\SmartSlider3\Application\Admin\GoPro;
|
||||
|
||||
|
||||
use Nextend\SmartSlider3\Application\Admin\GoPro\BlockAlreadyPurchased\BlockAlreadyPurchased;
|
||||
use Nextend\SmartSlider3\Application\Admin\Layout\Block\Dashboard\DashboardManager\Boxes\BlockDashboardUpgradePro;
|
||||
|
||||
/**
|
||||
* @var $this ViewGoProIndex
|
||||
*/
|
||||
?>
|
||||
|
||||
<div class="n2_page_free_go_pro">
|
||||
<div class="n2_page_free_go_pro__col">
|
||||
|
||||
<div class="n2_page_free_go_pro__heading">
|
||||
<?php n2_e('Ready to go Pro?'); ?>
|
||||
</div>
|
||||
|
||||
<div class="n2_page_free_go_pro__subheading">
|
||||
<?php n2_e('Supercharge Smart Slider 3 with powerful functionality!'); ?>
|
||||
</div>
|
||||
<?php
|
||||
$upgradePro = new BlockDashboardUpgradePro($this);
|
||||
$upgradePro->setHasDismiss(false);
|
||||
$upgradePro->setSource('page-go-pro');
|
||||
$upgradePro->display();
|
||||
?>
|
||||
</div>
|
||||
<div class="n2_page_free_go_pro__col">
|
||||
|
||||
<div class="n2_page_free_go_pro__heading">
|
||||
<?php n2_e('Already purchased?'); ?>
|
||||
</div>
|
||||
|
||||
<div class="n2_page_free_go_pro__subheading">
|
||||
<?php n2_e('Get started with the Pro version now!'); ?>
|
||||
</div>
|
||||
<?php
|
||||
$alreadyPurchased = new BlockAlreadyPurchased($this);
|
||||
$alreadyPurchased->display();
|
||||
?>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace Nextend\SmartSlider3\Application\Admin\GoPro;
|
||||
|
||||
use Nextend\Framework\View\AbstractView;
|
||||
use Nextend\SmartSlider3\Application\Admin\Layout\LayoutDefault;
|
||||
use Nextend\SmartSlider3\Application\Admin\TraitAdminUrl;
|
||||
|
||||
class ViewGoProIndex extends AbstractView {
|
||||
|
||||
use TraitAdminUrl;
|
||||
|
||||
|
||||
public function __construct($controller) {
|
||||
parent::__construct($controller);
|
||||
|
||||
}
|
||||
|
||||
public function display() {
|
||||
|
||||
$this->layout = new LayoutDefault($this);
|
||||
|
||||
$this->layout->addBreadcrumb(n2_('Go Pro'));
|
||||
|
||||
$this->layout->addContent($this->render('Index'));
|
||||
|
||||
$this->layout->render();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user