Files
2024-07-15 11:28:08 +02:00

55 lines
1.8 KiB
PHP

<?php
/**
* @package solo
* @copyright Copyright (c)2014-2022 Nicholas K. Dionysopoulos / Akeeba Ltd
* @license GNU General Public License version 3, or later
*/
defined('_AKEEBA') or die();
// Used for type hinting
/** @var \Solo\View\Main\Html $this */
// Only show in the Core version with a 10% probability
if (AKEEBABACKUP_PRO) return;
// Only show if it's at least 15 days since the last time the user dismissed the upsell
if (time() - $this->lastUpsellDismiss < 1296000) return;
?>
<div class="akeeba-panel--orange">
<header class="akeeba-block-header">
<h3>
<span class="akion-ios-star"></span>
@lang('COM_AKEEBA_CONTROLPANEL_HEAD_PROUPSELL')
</h3>
</header>
<p>@lang('COM_AKEEBA_CONTROLPANEL_HEAD_LBL_PROUPSELL_1')</p>
<p class="akeeba-block--info">@sprintf('COM_AKEEBA_CONTROLPANEL_HEAD_LBL_DISCOUNT',
base64_decode('SVdBTlRJVEFMTA=='))</p>
<p>@lang('COM_AKEEBA_CONTROLPANEL_HEAD_LBL_PROUPSELL_2')</p>
<p>
@if (!$this->getContainer()->segment->get('insideCMS', false))
<a href="https://www.akeeba.com/landing/akeeba-solo.html" class="akeeba-btn--large--primary">
<span class="aklogo-solo"></span>
@lang('COM_AKEEBA_CONTROLPANEL_BTN_LEARNMORE')
</a>
@else
<a href="https://www.akeeba.com/landing/akeeba-backup-wordpress.html"
class="akeeba-btn--large--primary">
<span class="aklogo-backup-wp"></span>
@lang('COM_AKEEBA_CONTROLPANEL_BTN_LEARNMORE')
</a>
@endif
<a href="@route('index.php?view=Main&task=dismissUpsell')" class="akeeba-btn--ghost--small">
<span class="akion-ios-alarm"></span>
@lang('COM_AKEEBA_CONTROLPANEL_BTN_HIDE')
</a>
</p>
</div>