| 1 |
<?php |
| 2 |
if (!defined('ABSPATH')) |
| 3 |
{ |
| 4 |
exit; // Exit if accessed directly. |
| 5 |
} |
| 6 |
$plugin_name = $this->data->get('plugin_name'); |
| 7 |
$plugin_alias = $this->data->get('plugin_alias'); |
| 8 |
$current_version = $this->data->get('current_version'); |
| 9 |
$version = $this->data->get('version'); |
| 10 |
?> |
| 11 |
<div class="fpf-update-notice-wrapper"> |
| 12 |
<div class="update-notice"> |
| 13 |
<div class="title"><?php echo esc_html(sprintf(fpframework()->_('FPF_X_VERSION_IS_AVAILABLE'), $plugin_name . ' ' . $version)); ?></div> |
| 14 |
<div class="subtitle"><?php echo esc_html(sprintf(fpframework()->_('FPF_YOUR_CURRENT_VERSION_IS_X'), $current_version)); ?> <a href="<?php echo esc_url(sprintf(FPF_PLUGIN_CHANGELOG_URL, $plugin_alias)); ?>"><?php echo esc_html(fpframework()->_('FPF_VIEW_CHANGELOG')) ?></a></div> |
| 15 |
<a href="<?php echo admin_url('plugins.php'); ?>" class="fpf-button small primary"><i class="icon dashicons dashicons-download"></i><?php echo esc_html(fpframework()->_('FPF_UPDATE')) ?></a> |
| 16 |
</div> |
| 17 |
</div> |