Add upstream

This commit is contained in:
root
2019-10-24 00:12:05 +02:00
parent 85d41e4216
commit ac980f592c
3504 changed files with 1049983 additions and 29971 deletions

View File

@@ -0,0 +1,40 @@
<?php if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed'); ?>
<div class="updraft-ad-container updated">
<div class="updraft_notice_container">
<div class="updraft_advert_content_left">
<img src="<?php echo UPDRAFTPLUS_URL.'/images/'.$image;?>" width="60" height="60" alt="<?php _e('notice image', 'updraftplus');?>" />
</div>
<div class="updraft_advert_content_right">
<h3 class="updraft_advert_heading">
<?php
if (!empty($prefix)) echo $prefix.' ';
echo $title;
?>
<div class="updraft-advert-dismiss">
<?php if (!empty($dismiss_time)) { ?>
<a href="#" onclick="jQuery('.updraft-ad-container').slideUp(); jQuery.post(ajaxurl, {action: 'updraft_ajax', subaction: '<?php echo $dismiss_time;?>', nonce: '<?php echo wp_create_nonce('updraftplus-credentialtest-nonce');?>' });"><?php _e('Dismiss', 'updraftplus'); ?></a>
<?php } else { ?>
<a href="#" onclick="jQuery('.updraft-ad-container').slideUp();"><?php _e('Dismiss', 'updraftplus'); ?></a>
<?php } ?>
</div>
</h3>
<p>
<?php
echo $text;
?>
</p>
<p>
<?php
echo $text2;
?>
</p>
<p>
<?php
echo $text3;
?>
</p>
</div>
</div>
<div class="clear"></div>
</div>

View File

@@ -0,0 +1,40 @@
<?php if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed'); ?>
<div class="updraft_advert_bottom">
<div class="updraft_advert_content_right">
<h4 class="updraft_advert_heading">
<?php
if (!empty($prefix)) echo $prefix.' ';
echo $title;
?>
</h4>
<p>
<?php
echo $text;
if (isset($discount_code)) echo ' <b>' . $discount_code . '</b>';
if (!empty($button_link) && !empty($button_meta)) {
?>
<a class="updraft_notice_link" href="<?php esc_attr_e(apply_filters('updraftplus_com_link', $button_link));?>"><?php
if ('updraftcentral' == $button_meta) {
_e('Get UpdraftCentral', 'updraftplus');
} elseif ('review' == $button_meta) {
_e('Review UpdraftPlus', 'updraftplus');
} elseif ('updraftplus' == $button_meta) {
_e('Get Premium', 'updraftplus');
} elseif ('signup' == $button_meta) {
_e('Sign up', 'updraftplus');
} elseif ('go_there' == $button_meta) {
_e('Go there', 'updraftplus');
} else {
_e('Read more', 'updraftplus');
}
?></a>
<?php
}
?>
</p>
</div>
<div class="clear"></div>
</div>

View File

@@ -0,0 +1,52 @@
<?php if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed'); ?>
<div class="updraft-ad-container updated">
<div class="updraft_notice_container">
<div class="updraft_advert_content_left">
<img src="<?php echo UPDRAFTPLUS_URL.'/images/'.$image;?>" width="60" height="60" alt="<?php _e('notice image', 'updraftplus');?>" />
</div>
<div class="updraft_advert_content_right">
<h3 class="updraft_advert_heading">
<?php
if (!empty($prefix)) echo $prefix.' ';
echo $title;
?>
<div class="updraft-advert-dismiss">
<?php if (!empty($dismiss_time)) { ?>
<a href="#" onclick="jQuery('.updraft-ad-container').slideUp(); jQuery.post(ajaxurl, {action: 'updraft_ajax', subaction: '<?php echo $dismiss_time;?>', nonce: '<?php echo wp_create_nonce('updraftplus-credentialtest-nonce');?>' });"><?php _e('Dismiss', 'updraftplus'); ?></a>
<?php } else { ?>
<a href="#" onclick="jQuery('.updraft-ad-container').slideUp();"><?php _e('Dismiss', 'updraftplus'); ?></a>
<?php } ?>
</div>
</h3>
<p>
<?php
echo $text;
if (isset($discount_code)) echo ' <b>' . $discount_code . '</b>';
if (!empty($button_link) && !empty($button_meta)) {
?>
<a class="updraft_notice_link" href="<?php esc_attr_e(apply_filters('updraftplus_com_link', $button_link));?>"><?php
if ('updraftcentral' == $button_meta) {
_e('Get UpdraftCentral', 'updraftplus');
} elseif ('review' == $button_meta) {
_e('Review UpdraftPlus', 'updraftplus');
} elseif ('updraftplus' == $button_meta) {
_e('Get Premium', 'updraftplus');
} elseif ('signup' == $button_meta) {
_e('Sign up', 'updraftplus');
} elseif ('go_there' == $button_meta) {
_e('Go there', 'updraftplus');
} else {
_e('Read more', 'updraftplus');
}
?></a>
<?php
}
?>
</p>
</div>
</div>
<div class="clear"></div>
</div>

View File

@@ -0,0 +1,39 @@
<?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.' ';
// if (isset($text2)) {
// echo "\r\n\r\n" . $text2 . "\r\n\r\n";
// }
if (!empty($button_link) && !empty($button_meta)) {
echo ' ';
$link = apply_filters('updraftplus_com_link', $button_link);
if ('updraftcentral' == $button_meta) {
_e('Get UpdraftCentral', 'updraftplus');
} elseif ('review' == $button_meta) {
_e('Review UpdraftPlus', 'updraftplus');
} elseif ('updraftplus' == $button_meta) {
_e('Get Premium', 'updraftplus');
} elseif ('signup' == $button_meta) {
_e('Sign up', 'updraftplus');
} elseif ('go_there' == $button_meta) {
_e('Go there', 'updraftplus');
} else {
_e('Read more', 'updraftplus');
}
echo ' - '.$link;
echo "\r\n";
}

View File

@@ -0,0 +1,34 @@
<?php if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed'); ?>
<strong><?php
if (!empty($prefix)) echo $prefix.' ';
echo $title;
?></strong>:
<?php
echo $text;
if (isset($discount_code)) echo ' <b>' . $discount_code . '</b>';
// if (isset($text2)) {
// echo '</p><p>' . $text2 . '</p><p>';
// }
if (!empty($button_link) && !empty($button_meta)) {
?>
<a class="updraft_notice_link" href="<?php esc_attr_e(apply_filters('updraftplus_com_link', $button_link));?>"><?php
if ('updraftcentral' ==$button_meta) {
_e('Get UpdraftCentral', 'updraftplus');
} elseif ('review' == $button_meta) {
_e('Review UpdraftPlus', 'updraftplus');
} elseif ('updraftplus' == $button_meta) {
_e('Get Premium', 'updraftplus');
} elseif ('signup' == $button_meta) {
_e('Sign up', 'updraftplus');
} elseif ('go_there' == $button_meta) {
_e('Go there', 'updraftplus');
} else {
_e('Read more', 'updraftplus');
}
?></a><br> <br>
<?php }

View File

@@ -0,0 +1,37 @@
<div id="updraft-dashnotice" class="updated">
<div style="float:right;"><a href="#" onclick="jQuery('#updraft-dashnotice').slideUp(); jQuery.post(ajaxurl, {action: 'updraft_ajax', subaction: 'dismissdashnotice', nonce: '<?php echo wp_create_nonce('updraftplus-credentialtest-nonce');?>' });"><?php printf(__('Dismiss (for %s months)', 'updraftplus'), 12); ?></a></div>
<h3><?php _e('Thank you for installing UpdraftPlus!', 'updraftplus');?></h3>
<a href="<?php echo apply_filters('updraftplus_com_link', 'https://updraftplus.com/');?>"><img style="border: 0px; float: right; height: 150px; width: 150px; margin: 20px 15px 15px 35px;" alt="UpdraftPlus" src="<?php echo UPDRAFTPLUS_URL.'/images/ud-logo-150.png'; ?>"></a>
<?php
echo '<p>'.__('Super-charge and secure your WordPress site with our other top plugins:', 'updraftplus').'</p>';
?>
<p>
<?php echo '<strong><a href="'.apply_filters('updraftplus_com_link', "https://updraftplus.com/shop/updraftplus-premium/").'" target="_blank">'.__('UpdraftPlus Premium', 'updraftplus').'</a>: </strong>'.__("For personal support, the ability to copy sites, more storage destinations, encrypted backups for security, multiple backup destinations, better reporting, no adverts and plenty more, take a look at the premium version of UpdraftPlus - the world's most popular backup plugin.", 'updraftplus');
echo ' <a href="'.apply_filters('updraftplus_com_link', "https://updraftplus.com/comparison-updraftplus-free-updraftplus-premium/").'" target="_blank">'.__('Compare with the free version', 'updraftplus').'</a> / <a href="'.apply_filters('updraftplus_com_link', "https://updraftplus.com/shop/updraftplus-premium/").'" target="_blank">'.__('Go to the shop.', 'updraftplus').'</a>';
?>
</p>
<p>
<?php echo '<strong><a href="'.apply_filters('updraftplus_com_link', "https://updraftplus.com/updraftcentral/").'" target="_blank">'.__('UpdraftCentral', 'updraftplus').'</a> </strong>'.__('is a highly efficient way to manage, update and backup multiple websites from one place.', 'updraftplus'); ?>
</p>
<p>
<?php echo '<strong><a href="https://www.metaslider.com" target="_blank">MetaSlider</a>: </strong>'.__('Add style and flare easily with beautifully-designed sliders on the #1 WP slider plugin', 'updraftplus'); ?>
</p>
<p>
<?php echo '<strong><a href="https://getwpo.com" target="_blank">WP-Optimize</a>: </strong>'.__('Auto-clean your WordPress database so that it runs at maximum efficiency. 800,000 users!', 'updraftplus'); ?>
</p>
<p>
<?php echo '<strong><a href="https://getkeyy.com/" target="_blank">Keyy: </a></strong>'.__('Simple and secure login with a wave of your phone.', 'updraftplus'); ?>
</p>
<p>
<?php echo '<strong><a href="'.apply_filters('updraftplus_com_link', "https://updraftplus.com/newsletter-signup").'" target="_blank">'.__('Free Newsletter', 'updraftplus').'</a>: </strong>'.__('UpdraftPlus news, high-quality training materials for WordPress developers and site-owners, and general WordPress news. You can de-subscribe at any time.', 'updraftplus'); ?>
</p>
<p>
<?php echo '<strong>'.__('More quality plugins', 'updraftplus').' :</strong>';?>
<a href="https://www.simbahosting.co.uk/s3/shop/" target="_blank"><?php echo __('Premium WooCommerce plugins', 'updraftplus').'</a> | <a href="https://wordpress.org/plugins/two-factor-authentication/" target="_blank">'.__('Free two-factor security plugin', 'updraftplus');?></a>
</p>
<div style="float:right;"><a href="#>" onclick="jQuery('#updraft-dashnotice').slideUp(); jQuery.post(ajaxurl, {action: 'updraft_ajax', subaction: 'dismissdashnotice', nonce: '<?php echo wp_create_nonce('updraftplus-credentialtest-nonce');?>' });"><?php printf(__('Dismiss (for %s months)', 'updraftplus'), 12); ?></a></div>
<p>&nbsp;</p>
</div>