2016-11-28 21:52:15 -08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed');
|
|
|
|
|
|
|
|
if (!empty($prefix)) echo $prefix.' ';
|
|
|
|
echo $title.': ';
|
|
|
|
|
|
|
|
echo empty($text_plain) ? $text : $text_plain;
|
|
|
|
|
|
|
|
if (!empty($discount_code)) echo $discount_code.' ';
|
|
|
|
|
2018-01-26 15:50:15 +01:00
|
|
|
// if (isset($text2)) {
|
|
|
|
// echo "\r\n\r\n" . $text2 . "\r\n\r\n";
|
|
|
|
// }
|
2016-11-28 21:52:15 -08:00
|
|
|
|
|
|
|
if (!empty($button_link) && !empty($button_meta)) {
|
|
|
|
|
|
|
|
echo ' ';
|
|
|
|
|
|
|
|
$link = apply_filters('updraftplus_com_link', $button_link);
|
|
|
|
|
2018-01-26 15:50:15 +01:00
|
|
|
if ('updraftcentral' == $button_meta) {
|
2016-11-28 21:52:15 -08:00
|
|
|
_e('Get UpdraftCentral', 'updraftplus');
|
2018-01-26 15:50:15 +01:00
|
|
|
} elseif ('review' == $button_meta) {
|
2016-11-28 21:52:15 -08:00
|
|
|
_e('Review UpdraftPlus', 'updraftplus');
|
2018-01-26 15:50:15 +01:00
|
|
|
} elseif ('updraftplus' == $button_meta) {
|
2016-11-28 21:52:15 -08:00
|
|
|
_e('Get Premium', 'updraftplus');
|
2018-01-26 15:50:15 +01:00
|
|
|
} elseif ('signup' == $button_meta) {
|
2016-11-28 21:52:15 -08:00
|
|
|
_e('Sign up', 'updraftplus');
|
2018-01-26 15:50:15 +01:00
|
|
|
} elseif ('go_there' == $button_meta) {
|
2016-11-28 21:52:15 -08:00
|
|
|
_e('Go there', 'updraftplus');
|
2018-01-26 15:50:15 +01:00
|
|
|
} else {
|
|
|
|
_e('Read more', 'updraftplus');
|
2016-11-28 21:52:15 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
echo ' - '.$link;
|
|
|
|
echo "\r\n";
|
|
|
|
|
|
|
|
}
|