9 lines
502 B
PHP
Executable File
9 lines
502 B
PHP
Executable File
<?php
|
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
?>
|
|
|
|
<?php if($this->hasNewerVersion()): //if there is a newer version, show the upgrade message?>
|
|
<div class="syc-update-nag">
|
|
<strong><?php echo SyC::t('sdk','{link}ShareYourCart {version}</a> is available! {link}Please update now</a>.', array('{version}' => $this->getConfigValue('latest_version'), '{link}' => '<a href="'.$this->getConfigValue("download_url").'" target="_blank">')); ?></strong>
|
|
</div>
|
|
<?php endif; ?>
|