Initial commit: Atomaste website
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
<?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 esc_url(UPDRAFTPLUS_URL.'/images/'.$image);?>" width="60" height="60" alt="<?php esc_attr_e('notice image', 'updraftplus');?>" />
|
||||
</div>
|
||||
<div class="updraft_advert_content_right">
|
||||
<h3 class="updraft_advert_heading">
|
||||
<?php
|
||||
if (!empty($prefix)) echo esc_html($prefix).' ';
|
||||
echo esc_html($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 esc_js($dismiss_time);?>', nonce: '<?php echo esc_js(wp_create_nonce('updraftplus-credentialtest-nonce'));?>' });"><?php esc_html_e('Dismiss', 'updraftplus'); ?></a>
|
||||
<?php } else { ?>
|
||||
<a href="#" onclick="jQuery('.updraft-ad-container').slideUp();"><?php esc_html_e('Dismiss', 'updraftplus'); ?></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</h3>
|
||||
<p>
|
||||
<?php
|
||||
echo wp_kses_post($text);
|
||||
|
||||
if (isset($discount_code)) echo ' <b>'.esc_html($discount_code).'</b>';
|
||||
|
||||
if (!empty($button_link) && (!empty($button_meta) || !empty($button_text))) {
|
||||
?>
|
||||
<a class="updraft_notice_link" href="<?php echo esc_attr(apply_filters('updraftplus_com_link', $button_link));?>"><?php
|
||||
global $updraftplus_admin;
|
||||
$updraftplus_admin->include_template(
|
||||
'wp-admin/notices/button-label.php',
|
||||
false,
|
||||
array(
|
||||
'button_meta' => isset($button_meta) ? $button_meta : '',
|
||||
'button_text' => isset($button_text) ? $button_text : ''
|
||||
)
|
||||
);
|
||||
?></a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
@@ -0,0 +1,36 @@
|
||||
<?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 esc_html($prefix).' ';
|
||||
echo esc_html($title);
|
||||
?>
|
||||
</h4>
|
||||
<p>
|
||||
<?php
|
||||
echo wp_kses_post($text);
|
||||
|
||||
if (isset($discount_code)) echo ' <b>'.esc_html($discount_code).'</b>';
|
||||
|
||||
if (!empty($button_link) && (!empty($button_meta) || !empty($button_text))) {
|
||||
?>
|
||||
<a class="updraft_notice_link" href="<?php echo esc_attr(apply_filters('updraftplus_com_link', $button_link));?>"><?php
|
||||
global $updraftplus_admin;
|
||||
$updraftplus_admin->include_template(
|
||||
'wp-admin/notices/button-label.php',
|
||||
false,
|
||||
array(
|
||||
'button_meta' => isset($button_meta) ? $button_meta : '',
|
||||
'button_text' => isset($button_text) ? $button_text : ''
|
||||
)
|
||||
);
|
||||
?></a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
if (!empty($button_meta)) {
|
||||
if ('updraftcentral' == $button_meta) {
|
||||
esc_html_e('Get UpdraftCentral', 'updraftplus');
|
||||
} elseif ('updraftplus' == $button_meta) {
|
||||
esc_html_e('Get Premium', 'updraftplus');
|
||||
} elseif ('signup' == $button_meta) {
|
||||
esc_html_e('Sign up', 'updraftplus');
|
||||
} elseif ('learnmore' == $button_meta) {
|
||||
esc_html_e('Learn more', 'updraftplus');
|
||||
} elseif ('go_there' == $button_meta) {
|
||||
esc_html_e('Go there', 'updraftplus');
|
||||
} else {
|
||||
esc_html_e('Read more', 'updraftplus');
|
||||
}
|
||||
} elseif (!empty($button_text)) {
|
||||
echo esc_html($button_text);
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
<?php if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed'); ?>
|
||||
|
||||
<?php if (!empty($button_meta) && 'review' == $button_meta) : ?>
|
||||
|
||||
<div class="updraft-ad-container updated">
|
||||
<div class="updraft_notice_container updraft_review_notice_container">
|
||||
<div class="updraft_advert_content_left_extra">
|
||||
<img src="<?php echo esc_url(UPDRAFTPLUS_URL.'/images/'.$image);?>" width="100" alt="<?php esc_html_e('notice image', 'updraftplus');?>" />
|
||||
</div>
|
||||
<div class="updraft_advert_content_right">
|
||||
<p>
|
||||
<?php echo wp_kses_post($text); ?>
|
||||
</p>
|
||||
|
||||
<?php if (!empty($button_link)) { ?>
|
||||
<div class="updraft_advert_button_container">
|
||||
<a class="button button-primary" href="<?php echo esc_attr(apply_filters('updraftplus_com_link', $button_link));?>" target="_blank" onclick="jQuery('.updraft-ad-container').slideUp(); jQuery.post(ajaxurl, {action: 'updraft_ajax', subaction: '<?php echo esc_js($dismiss_time);?>', nonce: '<?php echo esc_js(wp_create_nonce('updraftplus-credentialtest-nonce'));?>', dismiss_forever: '1' });">
|
||||
<?php esc_html_e('Ok, you deserve it', 'updraftplus'); ?>
|
||||
</a>
|
||||
<div class="dashicons dashicons-calendar"></div>
|
||||
<a class="updraft_notice_link" href="#" onclick="jQuery('.updraft-ad-container').slideUp(); jQuery.post(ajaxurl, {action: 'updraft_ajax', subaction: '<?php echo esc_js($dismiss_time);?>', nonce: '<?php echo esc_js(wp_create_nonce('updraftplus-credentialtest-nonce'));?>', dismiss_forever: '0' });">
|
||||
<?php esc_html_e('Maybe later', 'updraftplus'); ?>
|
||||
</a>
|
||||
<div class="dashicons dashicons-no-alt"></div>
|
||||
<a class="updraft_notice_link" href="#" onclick="jQuery('.updraft-ad-container').slideUp(); jQuery.post(ajaxurl, {action: 'updraft_ajax', subaction: '<?php echo esc_js($dismiss_time);?>', nonce: '<?php echo esc_js(wp_create_nonce('updraftplus-credentialtest-nonce'));?>', dismiss_forever: '1' });"><?php esc_html_e('Never', 'updraftplus'); ?></a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<div class="updraft-ad-container updated">
|
||||
<div class="updraft_notice_container">
|
||||
<div class="updraft_advert_content_left">
|
||||
<img src="<?php echo esc_url(UPDRAFTPLUS_URL.'/images/'.$image);?>" width="60" height="60" alt="<?php esc_attr_e('notice image', 'updraftplus');?>" />
|
||||
</div>
|
||||
<div class="updraft_advert_content_right">
|
||||
<h3 class="updraft_advert_heading">
|
||||
<?php
|
||||
if (!empty($prefix)) echo esc_html($prefix).' ';
|
||||
echo esc_html($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 esc_js($dismiss_time);?>', nonce: '<?php echo esc_js(wp_create_nonce('updraftplus-credentialtest-nonce'));?>' });"><?php esc_html_e('Dismiss', 'updraftplus'); ?></a>
|
||||
<?php } else { ?>
|
||||
<a href="#" onclick="jQuery('.updraft-ad-container').slideUp();"><?php esc_html_e('Dismiss', 'updraftplus'); ?></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</h3>
|
||||
<p>
|
||||
<?php
|
||||
echo wp_kses_post($text);
|
||||
|
||||
if (isset($button_meta) && 'inline' == $button_meta) {
|
||||
?>
|
||||
<br>
|
||||
<a href="<?php echo esc_attr(apply_filters('updraftplus_com_link', $button_link));?>"><b><?php echo esc_html($button_text); ?></b></a>
|
||||
<?php
|
||||
echo wp_kses_post($text2);
|
||||
}
|
||||
|
||||
if (isset($discount_code)) echo ' <b>'.esc_html($discount_code).'</b>';
|
||||
|
||||
if (!empty($button_link) && ((!empty($button_meta) && 'inline' != $button_meta) || !empty($button_text))) {
|
||||
?>
|
||||
<a class="updraft_notice_link" href="<?php echo esc_attr(apply_filters('updraftplus_com_link', $button_link));?>"><?php
|
||||
global $updraftplus_admin;
|
||||
$updraftplus_admin->include_template(
|
||||
'wp-admin/notices/button-label.php',
|
||||
false,
|
||||
array(
|
||||
'button_meta' => isset($button_meta) ? $button_meta : '',
|
||||
'button_text' => isset($button_text) ? $button_text : ''
|
||||
)
|
||||
);
|
||||
?></a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
||||
endif;
|
||||
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed');
|
||||
|
||||
if (!empty($prefix)) echo wp_kses_post($prefix).' ';
|
||||
echo wp_kses_post($title).': ';
|
||||
|
||||
echo wp_kses_post($text);
|
||||
|
||||
if (!empty($discount_code)) echo esc_html($discount_code).' ';
|
||||
|
||||
if (!empty($button_link) && (!empty($button_meta) || !empty($button_text))) {
|
||||
|
||||
echo ' ';
|
||||
|
||||
$link = apply_filters('updraftplus_com_link', $button_link);
|
||||
|
||||
global $updraftplus_admin;
|
||||
$updraftplus_admin->include_template(
|
||||
'wp-admin/notices/button-label.php',
|
||||
false,
|
||||
array(
|
||||
'button_meta' => isset($button_meta) ? $button_meta : '',
|
||||
'button_text' => isset($button_text) ? $button_text : ''
|
||||
)
|
||||
);
|
||||
|
||||
echo ' - '.esc_url($link);
|
||||
echo "\r\n";
|
||||
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed'); ?>
|
||||
<div style="max-width: 700px; border: 1px solid; border-radius: 4px; font-size:110%; line-height: 110%; padding:8px; margin: 6px 0 12px; clear:left;">
|
||||
<strong><?php
|
||||
if (!empty($prefix)) echo esc_html($prefix).' ';
|
||||
echo esc_html($title);
|
||||
?></strong>:
|
||||
<?php
|
||||
echo wp_kses_post($text);
|
||||
|
||||
if (isset($discount_code)) echo ' <b>'.esc_html($discount_code).'</b>';
|
||||
|
||||
if (!empty($button_link) && (!empty($button_meta) || !empty($button_text))) {
|
||||
?>
|
||||
<a class="updraft_notice_link" href="<?php echo esc_attr(apply_filters('updraftplus_com_link', $button_link));?>"><?php
|
||||
global $updraftplus_admin;
|
||||
$updraftplus_admin->include_template(
|
||||
'wp-admin/notices/button-label.php',
|
||||
false,
|
||||
array(
|
||||
'button_meta' => isset($button_meta) ? $button_meta : '',
|
||||
'button_text' => isset($button_text) ? $button_text : ''
|
||||
)
|
||||
);
|
||||
?></a><br><br>
|
||||
<?php }
|
||||
?>
|
||||
</div>
|
||||
@@ -0,0 +1,45 @@
|
||||
<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 esc_js(wp_create_nonce('updraftplus-credentialtest-nonce'));?>' });"><?php printf(esc_html__('Dismiss (for %s months)', 'updraftplus'), 12); ?></a></div>
|
||||
|
||||
<h3><?php esc_html_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
|
||||
if (!file_exists(UPDRAFTPLUS_DIR.'/udaddons')) {
|
||||
echo '<p>'.esc_html__("If you like UpdraftPlus, you'll love UpdraftPlus Premium!").' '.__('Protect your WordPress investment with premium features, or check out our other 5* rated plugins below:', 'updraftplus').'</p>';
|
||||
} else {
|
||||
echo '<p>'.esc_html__("If you like UpdraftPlus, you'll love our other plugins.", 'updraftplus').' '.__('All 5* rated and actively installed on millions of WordPress websites:', 'updraftplus').'</p>';
|
||||
}
|
||||
|
||||
if (!file_exists(UPDRAFTPLUS_DIR.'/udaddons')) {
|
||||
?>
|
||||
<p>
|
||||
<?php echo '<strong><a href="'.esc_url($updraftplus->get_url('premium')).'" target="_blank">'.esc_html__('UpdraftPlus Premium', 'updraftplus').'</a>: </strong>'.__(" Upgrade for automatic backups before updates, incremental backups, more remote storage locations, premium support and", 'updraftplus');
|
||||
echo ' <a href="'.esc_url($updraftplus->get_url('premium')).'" target="_blank">'.esc_html__('more', 'updraftplus').'</a>';
|
||||
?>
|
||||
</p>
|
||||
<?php } ?>
|
||||
<p>
|
||||
<?php echo '<strong><a href="https://getwpo.com/buy/" target="_blank">WP-Optimize</a>: </strong>'.esc_html__('Speed up and optimize your WordPress website.', 'updraftplus').' '.__('Cache your site, clean the database and compress images.', 'updraftplus'); ?>
|
||||
</p>
|
||||
<p>
|
||||
<?php echo '<strong><a href="https://aiosplugin.com/" target="_blank">'.esc_html__('All-In-One Security (AIOS)', 'updraftplus').'</a>: </strong>'. esc_html__("Still on the fence?", 'updraftplus').' '.esc_html__("Secure your WordPress website with AIOS.", 'updraftplus').' '.esc_html__(" Comprehensive, cost-effective, 5* rated and easy to use.", 'updraftplus');
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php echo '<strong><a href="https://www.internallinkjuicer.com/" target="_blank">'.esc_html__('Internal Link Juicer', 'updraftplus').'</a>: </strong>'.__('Automate the building of internal links on your WordPress website.', 'updraftplus').' '.esc_html__('Save time and boost SEO!', 'updraftplus').' '. __('You don’t need to be an SEO expert to use this plugin.', 'updraftplus');
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php echo '<strong><a href="https://wpovernight.com/" target="_blank">'.__('WP Overnight', 'updraftplus').'</a>: </strong>'.esc_html__("Quality add-ons for WooCommerce.", 'updraftplus').' '.esc_html__("Designed to optimize your store, enhance user experience and increase revenue!", 'updraftplus');
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php echo '<strong>'.esc_html__('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>
|
||||
<p></p>
|
||||
<div style="float:right;"><a href="#" onclick="jQuery('#updraft-dashnotice').slideUp(); jQuery.post(ajaxurl, {action: 'updraft_ajax', subaction: 'dismissdashnotice', nonce: '<?php echo esc_js(wp_create_nonce('updraftplus-credentialtest-nonce'));?>' });"><?php printf(esc_html__('Dismiss (for %s months)', 'updraftplus'), 12); ?></a></div>
|
||||
<p> </p>
|
||||
</div>
|
||||
Reference in New Issue
Block a user