Changeset 1804654
- Timestamp:
- 01/17/2018 05:04:52 PM (8 years ago)
- Location:
- aklamator-pro-adsense
- Files:
-
- 8 edited
- 7 copied
-
tags/2.1 (copied) (copied from aklamator-pro-adsense/trunk)
-
tags/2.1/aklamator-pro-adsense-admin.php (copied) (copied from aklamator-pro-adsense/trunk/aklamator-pro-adsense-admin.php)
-
tags/2.1/aklamator-pro-adsense.php (copied) (copied from aklamator-pro-adsense/trunk/aklamator-pro-adsense.php) (1 diff)
-
tags/2.1/assets/css/admin-style.css (modified) (4 diffs)
-
tags/2.1/assets/js/main.js (modified) (1 diff)
-
tags/2.1/includes/class-aklamator-pro-adsense.php (copied) (copied from aklamator-pro-adsense/trunk/includes/class-aklamator-pro-adsense.php) (2 diffs)
-
tags/2.1/includes/class-aklamator-pro-widget-adsense.php (copied) (copied from aklamator-pro-adsense/trunk/includes/class-aklamator-pro-widget-adsense.php)
-
tags/2.1/readme.txt (copied) (copied from aklamator-pro-adsense/trunk/readme.txt) (3 diffs)
-
tags/2.1/views/admin-page.php (copied) (copied from aklamator-pro-adsense/trunk/views/admin-page.php) (4 diffs)
-
trunk/aklamator-pro-adsense.php (modified) (1 diff)
-
trunk/assets/css/admin-style.css (modified) (4 diffs)
-
trunk/assets/js/main.js (modified) (1 diff)
-
trunk/includes/class-aklamator-pro-adsense.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/views/admin-page.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
aklamator-pro-adsense/tags/2.1/aklamator-pro-adsense.php
r1794203 r1804654 4 4 Plugin URI: https://www.aklamator.com/wordpress 5 5 Description: Aklamator Pro AdSense digital PR plugin enables you to easily place AdSense or other custom Ad code on your wordpress site. It also enables you to sell PR announcements, cross promote web sites using RSS feed and provide new services to your clients in digital advertising. 6 Version: 2. 0.06 Version: 2.1 7 7 Author: Aklamator 8 8 Author URI: https://www.aklamator.com/ -
aklamator-pro-adsense/tags/2.1/assets/css/admin-style.css
r1514665 r1804654 6 6 7 7 8 .aklamator-signup-button { 9 float: left; 8 .aklamator_button { 10 9 vertical-align: top; 11 10 width: auto; … … 13 12 line-height: 30px; 14 13 padding: 10px; 15 font-size: 2 2px;14 font-size: 20px; 16 15 color: white; 17 16 text-align: center; … … 24 23 box-shadow: inset 0 -2px #b53224; 25 24 text-decoration: none; 26 margin-top: 10px;25 margin-top: 3px; 27 26 margin-bottom: 10px; 28 clear: both;29 27 } 30 28 31 a.aklamator-signup-button:hover { 29 .aklamator-login-button { 30 float: left; 31 } 32 33 34 .aklamator-login-button:hover { 32 35 cursor: pointer; 33 color: #f8f8f8; 36 color: lightskyblue; 37 } 38 39 h3 { 40 margin-bottom: 3px; 41 } 42 p { 43 margin-top: 3px; 44 } 45 46 .alert_red{ 47 margin-bottom: 18px; 48 margin-top: 10px; 49 color: #c09853; 50 text-shadow: 0 1px 0 rgba(255,255,255,0.5); 51 background-color: #fcf8e3; 52 border: 1px solid #fbeed5; 53 -webkit-border-radius: 4px; 54 -moz-border-radius: 4px; 55 border-radius: 4px; 56 padding: 8px 35px 8px 14px; 57 } 58 .alert-msg_red { 59 color: #8f0100; 60 background-color: #f6cbd2; 61 border-color: #f68d89; 34 62 } 35 63 textarea { … … 64 92 border-color: #bce8f1; 65 93 } 94 95 .aklamator_INlogin { 96 padding: 10px; 97 background-color: #000058; 98 color: white; 99 text-decoration: none; 100 font-size: 15px; 101 text-align: center; 102 text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); 103 border-radius: 5px; 104 cursor: pointer; 105 -webkit-box-shadow:0 0 4px #909090; 106 box-shadow:0 0 4px #909090; 107 } 108 109 .aklamator_INlogin:hover { 110 color: lightskyblue; 111 } -
aklamator-pro-adsense/tags/2.1/assets/js/main.js
r1514665 r1804654 29 29 jQuery(document).ready(function(){ 30 30 31 jQuery('#aklamator_adsense_save').on('click', function (event) { 32 var aklapopaplicationID = jQuery('#aklamatorProApplicationID'); 33 if (aklapopaplicationID.val() == "") 34 { 35 alert("Paste your Aklamator Application ID"); 36 aklapopaplicationID.focus(); 37 event.preventDefault(); 38 } 39 }); 40 41 jQuery('#aklamatorProApplicationID').on('input', function () 42 { 43 jQuery('#aklamator_error').css('display', 'none'); 44 }); 45 46 jQuery('#aklamator_login_button').click(function () { 47 var akla_login_window = window.open(signup_url,'_blank'); 48 var aklamator_interval = setInterval(function() { 49 var aklamator_hash = akla_login_window.location.hash; 50 var aklamator_api_id = ""; 51 if (akla_login_window.location.href.indexOf('aklamator_wordpress_api_id') !== -1) { 52 53 aklamator_api_id = aklamator_hash.substring(28); 54 jQuery("#aklamatorProApplicationID").val(aklamator_api_id); 55 akla_login_window.close(); 56 clearInterval(aklamator_interval); 57 jQuery('#aklamator_error').css('display', 'none'); 58 } 59 }, 1000); 60 61 }); 31 62 32 63 jQuery("#aklamatorProSingleWidgetID").change(function(){ -
aklamator-pro-adsense/tags/2.1/includes/class-aklamator-pro-adsense.php
r1794203 r1804654 213 213 214 214 215 if(isset($this->api_data->data) && $this->api_data->flag) {215 if(isset($this->api_data->data) && isset($this->api_data->flag) && $this->api_data->flag) { 216 216 217 217 if (get_option('aklamatorProSingleWidgetID') !== 'none') { … … 239 239 public function getSignupUrl() 240 240 { 241 242 return $this->aklamator_url . 'registration/publisher?utm_source=wordpress_pro&utm_medium=wpadsense&e=' . urlencode(get_option('admin_email')) . '&pub=' . preg_replace('/^www\./','',$_SERVER['SERVER_NAME']). 243 '&un=' . urlencode(wp_get_current_user()->display_name).'&domain='.site_url().'&pl=pro-adsense'; 241 $user_info = wp_get_current_user(); 242 243 return $this->aklamator_url . 'login/application_id?utm_source=wordpress&utm_medium=wpadsense&e=' . urlencode(get_option('admin_email')) . 244 '&pub=' . preg_replace('/^www\./','',$_SERVER['SERVER_NAME']). 245 '&un=' . urlencode($user_info->user_login). '&fn=' . urlencode($user_info->user_firstname) . '&ln=' . urlencode($user_info->user_lastname) . 246 '&pl=pro-adsense&return_uri=' . admin_url("admin.php?page=aklamator-pro-adsense"); 244 247 245 248 } -
aklamator-pro-adsense/tags/2.1/readme.txt
r1794203 r1804654 4 4 Tags: adSense, custom ad, ads, aklamator.com, aklamator, aclamator, digital pr, widget, widgets, content promotion, earn, income, statistic, tracking, cross promotion, Technorati, ContextWeb, Amazon Associates, Chitika, Tribal Fusion, Propeller Ads Media, Adversal, Revenue Hits, AdWords, Ad Sense, crosspromote 5 5 Requires at least: 3.0.1 6 Tested up to: 4.9. 17 Stable tag: 2. 0.06 Tested up to: 4.9.2 7 Stable tag: 2.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 56 56 [Step by step instructions >>](https://www.aklamator.com/wordpress?utm_source=wordpress&utm_medium=store&utm_campaign=wordpress) 57 57 58 **How to activate and use Aklamator on your wordpress website** 59 60 If already have registered Aklamator account and own website that is using Wordpress please skip to step 2 61 62 **1. step** : [Sign Up](https://aklamator.com/registration/publisher) Aklamator and get free Aklamator account and Aklamator Application ID. 63 64 Fill your information and click “Create new account” 65 You will get verification email with activation link 66 (please check SPAM folder if it is missing). After activating your account proceed to login to Aklamator. 67 68 **2. step** : [Sign in](https://aklamator.com/login) and get your Aklamator Application ID 69 70 After logging in, go to your profile and copy Application ID 71 72 After pasting Application ID to your wordpress plugin, it will automatically create first plugin for your blog and populate it with your RSS feed. 58 **How to activate and use Aklamator on your wordpress website, after plugin installation ** 59 60 **1. step** : Click on red button "Create your FREE account" and get free Aklamator account. 61 After submitting registration form you will get verification email with activation link (please check SPAM folder if it is missing). 62 Click on activation link in received email. Now your Application ID should be autofilled, just click SAVE to proceed. 63 64 Now first widget is automatically created for your blog and populate it with yout wordpress posts. 73 65 It becomes visible in plugin settings (list below). 74 66 Widget is 4x1 150x150px. If you want to change widget dimensions you can do that by logging to [Aklamator web](https://aklamator.com/login) 75 67 76 **3. step** : Download Aklamator wordpress plugin and paste your Aklamator Application ID 77 78 * Upload and unzip plugin `aklamator_widget.zip` to the `/wp-content/plugins/` directory 79 * Activate the Aklamator plugin through the 'Plugins' menu in WordPress 80 81 Go to your WordPress administration panel and paste the Aklamator Application ID 68 **2. step OPTIONAL** : 69 Optionally if you didn't get Application ID in previous step you can copy paste it manually 70 [Sign in](https://aklamator.com/login) and get your Aklamator Application ID 71 After logging in, go to your profile and copy Application ID from Aklamator and paste it in wordpress plugin. 82 72 83 73 **WELL DONE!** Aklamator is now active on your Wordpress website and you should be able to see available aklamator widgets in the bottom half of the screen. 74 84 75 85 76 * Go to Appearance then Widgets and drag and drop Aklamator Digital PR field and choose desired widget … … 120 111 121 112 == Changelog == 113 114 = 2.1 = 115 * Simplified user creation and automatic Application ID fetching. 116 122 117 = 2.0.0 = 123 118 * Added new option to select posts category -
aklamator-pro-adsense/tags/2.1/views/admin-page.php
r1794203 r1804654 27 27 <?php 28 28 29 if ($this->application_id == '') : ?> 30 <h3 style="float: left">Step 1:</h3> 31 <a class='aklamator-signup-button' target='_blank' href="<?php echo $this->getSignupUrl(); ?>">Click here to create your FREE account!</a> 32 29 if (isset($this->api_data->error) || $this->application_id == '') : ?> 30 <h3 style="float: left">Step 1: Get your Aklamator Aplication ID</h3> 31 <a class='aklamator_button aklamator-login-button' id="aklamator_login_button" >Click here for FREE registration/login</a> 32 <div style="clear: both"></div> 33 <p>Or you can manually <a href="<?php echo $this->aklamator_url . 'registration/publisher'; ?>" target="_blank">register</a> or <a href="<?php echo $this->aklamator_url . 'login'; ?>" target="_blank">login</a> and copy paste your Application ID</p> 34 <script>var signup_url = '<?php echo $this->getSignupUrl(); ?>';</script> 33 35 <?php endif; ?> 34 36 … … 64 66 </p> 65 67 66 <?php if( $this->api_data->flag === false): ?>67 <p ><span style="color:red"><?php echo $this->api_data->error; ?></span></p>68 <?php if(isset($this->api_data->flag) && $this->api_data->flag === false): ?> 69 <p id="aklamator_error" class="alert_red alert-msg_red"><span style="color:red"><?php echo $this->api_data->error; ?></span></p> 68 70 <?php endif; ?> 69 71 … … 144 146 </p> 145 147 <?php endif; ?> 146 <input style ="margin: 15px 0px;" type="submit" value="<?php echo (_e("Save Changes")); ?>" /> 148 <input id="aklamator_adsense_save" class="aklamator_INlogin" style ="margin: 0; border: 0; float: left;" type="submit" value="<?php echo (_e("Save Changes")); ?>" /> 149 <?php if(!isset($this->api_data->flag) || !$this->api_data->flag): ?> 150 <div style="float: left; padding: 7px 0 0 10px; color: red; font-weight: bold; font-size: 16px"> <-- In order to proceed save changes</div> 151 <?php endif ?> 147 152 </form> 148 153 </div> … … 152 157 <div style="margin-top: 20px; margin-left: 0px; width: 810px;" class="box"> 153 158 154 <?php if ( $this->curlfailovao && $this->application_id != ''): ?>159 <?php if (isset($this->curlfailovao) && $this->curlfailovao && $this->application_id != ''): ?> 155 160 <h2 style="color:red">Error communicating with Aklamator server, please refresh plugin page or try again later. </h2> 156 161 <?php endif;?> 157 <?php if(! $this->api_data_table->flag): ?>162 <?php if(!isset($this->api_data_table->flag) || $this->api_data_table->flag == false): ?> 158 163 <a href="<?php echo $this->getSignupUrl(); ?>" target="_blank"><img style="border-radius:5px;border:0px;" src=" <?php echo AKLA_PRO_PLUGIN_URL .'images/teaser-810x262.png'; ?>" /></a> 159 164 <?php else : ?> -
aklamator-pro-adsense/trunk/aklamator-pro-adsense.php
r1794203 r1804654 4 4 Plugin URI: https://www.aklamator.com/wordpress 5 5 Description: Aklamator Pro AdSense digital PR plugin enables you to easily place AdSense or other custom Ad code on your wordpress site. It also enables you to sell PR announcements, cross promote web sites using RSS feed and provide new services to your clients in digital advertising. 6 Version: 2. 0.06 Version: 2.1 7 7 Author: Aklamator 8 8 Author URI: https://www.aklamator.com/ -
aklamator-pro-adsense/trunk/assets/css/admin-style.css
r1514665 r1804654 6 6 7 7 8 .aklamator-signup-button { 9 float: left; 8 .aklamator_button { 10 9 vertical-align: top; 11 10 width: auto; … … 13 12 line-height: 30px; 14 13 padding: 10px; 15 font-size: 2 2px;14 font-size: 20px; 16 15 color: white; 17 16 text-align: center; … … 24 23 box-shadow: inset 0 -2px #b53224; 25 24 text-decoration: none; 26 margin-top: 10px;25 margin-top: 3px; 27 26 margin-bottom: 10px; 28 clear: both;29 27 } 30 28 31 a.aklamator-signup-button:hover { 29 .aklamator-login-button { 30 float: left; 31 } 32 33 34 .aklamator-login-button:hover { 32 35 cursor: pointer; 33 color: #f8f8f8; 36 color: lightskyblue; 37 } 38 39 h3 { 40 margin-bottom: 3px; 41 } 42 p { 43 margin-top: 3px; 44 } 45 46 .alert_red{ 47 margin-bottom: 18px; 48 margin-top: 10px; 49 color: #c09853; 50 text-shadow: 0 1px 0 rgba(255,255,255,0.5); 51 background-color: #fcf8e3; 52 border: 1px solid #fbeed5; 53 -webkit-border-radius: 4px; 54 -moz-border-radius: 4px; 55 border-radius: 4px; 56 padding: 8px 35px 8px 14px; 57 } 58 .alert-msg_red { 59 color: #8f0100; 60 background-color: #f6cbd2; 61 border-color: #f68d89; 34 62 } 35 63 textarea { … … 64 92 border-color: #bce8f1; 65 93 } 94 95 .aklamator_INlogin { 96 padding: 10px; 97 background-color: #000058; 98 color: white; 99 text-decoration: none; 100 font-size: 15px; 101 text-align: center; 102 text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); 103 border-radius: 5px; 104 cursor: pointer; 105 -webkit-box-shadow:0 0 4px #909090; 106 box-shadow:0 0 4px #909090; 107 } 108 109 .aklamator_INlogin:hover { 110 color: lightskyblue; 111 } -
aklamator-pro-adsense/trunk/assets/js/main.js
r1514665 r1804654 29 29 jQuery(document).ready(function(){ 30 30 31 jQuery('#aklamator_adsense_save').on('click', function (event) { 32 var aklapopaplicationID = jQuery('#aklamatorProApplicationID'); 33 if (aklapopaplicationID.val() == "") 34 { 35 alert("Paste your Aklamator Application ID"); 36 aklapopaplicationID.focus(); 37 event.preventDefault(); 38 } 39 }); 40 41 jQuery('#aklamatorProApplicationID').on('input', function () 42 { 43 jQuery('#aklamator_error').css('display', 'none'); 44 }); 45 46 jQuery('#aklamator_login_button').click(function () { 47 var akla_login_window = window.open(signup_url,'_blank'); 48 var aklamator_interval = setInterval(function() { 49 var aklamator_hash = akla_login_window.location.hash; 50 var aklamator_api_id = ""; 51 if (akla_login_window.location.href.indexOf('aklamator_wordpress_api_id') !== -1) { 52 53 aklamator_api_id = aklamator_hash.substring(28); 54 jQuery("#aklamatorProApplicationID").val(aklamator_api_id); 55 akla_login_window.close(); 56 clearInterval(aklamator_interval); 57 jQuery('#aklamator_error').css('display', 'none'); 58 } 59 }, 1000); 60 61 }); 31 62 32 63 jQuery("#aklamatorProSingleWidgetID").change(function(){ -
aklamator-pro-adsense/trunk/includes/class-aklamator-pro-adsense.php
r1794203 r1804654 213 213 214 214 215 if(isset($this->api_data->data) && $this->api_data->flag) {215 if(isset($this->api_data->data) && isset($this->api_data->flag) && $this->api_data->flag) { 216 216 217 217 if (get_option('aklamatorProSingleWidgetID') !== 'none') { … … 239 239 public function getSignupUrl() 240 240 { 241 242 return $this->aklamator_url . 'registration/publisher?utm_source=wordpress_pro&utm_medium=wpadsense&e=' . urlencode(get_option('admin_email')) . '&pub=' . preg_replace('/^www\./','',$_SERVER['SERVER_NAME']). 243 '&un=' . urlencode(wp_get_current_user()->display_name).'&domain='.site_url().'&pl=pro-adsense'; 241 $user_info = wp_get_current_user(); 242 243 return $this->aklamator_url . 'login/application_id?utm_source=wordpress&utm_medium=wpadsense&e=' . urlencode(get_option('admin_email')) . 244 '&pub=' . preg_replace('/^www\./','',$_SERVER['SERVER_NAME']). 245 '&un=' . urlencode($user_info->user_login). '&fn=' . urlencode($user_info->user_firstname) . '&ln=' . urlencode($user_info->user_lastname) . 246 '&pl=pro-adsense&return_uri=' . admin_url("admin.php?page=aklamator-pro-adsense"); 244 247 245 248 } -
aklamator-pro-adsense/trunk/readme.txt
r1794203 r1804654 4 4 Tags: adSense, custom ad, ads, aklamator.com, aklamator, aclamator, digital pr, widget, widgets, content promotion, earn, income, statistic, tracking, cross promotion, Technorati, ContextWeb, Amazon Associates, Chitika, Tribal Fusion, Propeller Ads Media, Adversal, Revenue Hits, AdWords, Ad Sense, crosspromote 5 5 Requires at least: 3.0.1 6 Tested up to: 4.9. 17 Stable tag: 2. 0.06 Tested up to: 4.9.2 7 Stable tag: 2.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 56 56 [Step by step instructions >>](https://www.aklamator.com/wordpress?utm_source=wordpress&utm_medium=store&utm_campaign=wordpress) 57 57 58 **How to activate and use Aklamator on your wordpress website** 59 60 If already have registered Aklamator account and own website that is using Wordpress please skip to step 2 61 62 **1. step** : [Sign Up](https://aklamator.com/registration/publisher) Aklamator and get free Aklamator account and Aklamator Application ID. 63 64 Fill your information and click “Create new account” 65 You will get verification email with activation link 66 (please check SPAM folder if it is missing). After activating your account proceed to login to Aklamator. 67 68 **2. step** : [Sign in](https://aklamator.com/login) and get your Aklamator Application ID 69 70 After logging in, go to your profile and copy Application ID 71 72 After pasting Application ID to your wordpress plugin, it will automatically create first plugin for your blog and populate it with your RSS feed. 58 **How to activate and use Aklamator on your wordpress website, after plugin installation ** 59 60 **1. step** : Click on red button "Create your FREE account" and get free Aklamator account. 61 After submitting registration form you will get verification email with activation link (please check SPAM folder if it is missing). 62 Click on activation link in received email. Now your Application ID should be autofilled, just click SAVE to proceed. 63 64 Now first widget is automatically created for your blog and populate it with yout wordpress posts. 73 65 It becomes visible in plugin settings (list below). 74 66 Widget is 4x1 150x150px. If you want to change widget dimensions you can do that by logging to [Aklamator web](https://aklamator.com/login) 75 67 76 **3. step** : Download Aklamator wordpress plugin and paste your Aklamator Application ID 77 78 * Upload and unzip plugin `aklamator_widget.zip` to the `/wp-content/plugins/` directory 79 * Activate the Aklamator plugin through the 'Plugins' menu in WordPress 80 81 Go to your WordPress administration panel and paste the Aklamator Application ID 68 **2. step OPTIONAL** : 69 Optionally if you didn't get Application ID in previous step you can copy paste it manually 70 [Sign in](https://aklamator.com/login) and get your Aklamator Application ID 71 After logging in, go to your profile and copy Application ID from Aklamator and paste it in wordpress plugin. 82 72 83 73 **WELL DONE!** Aklamator is now active on your Wordpress website and you should be able to see available aklamator widgets in the bottom half of the screen. 74 84 75 85 76 * Go to Appearance then Widgets and drag and drop Aklamator Digital PR field and choose desired widget … … 120 111 121 112 == Changelog == 113 114 = 2.1 = 115 * Simplified user creation and automatic Application ID fetching. 116 122 117 = 2.0.0 = 123 118 * Added new option to select posts category -
aklamator-pro-adsense/trunk/views/admin-page.php
r1794203 r1804654 27 27 <?php 28 28 29 if ($this->application_id == '') : ?> 30 <h3 style="float: left">Step 1:</h3> 31 <a class='aklamator-signup-button' target='_blank' href="<?php echo $this->getSignupUrl(); ?>">Click here to create your FREE account!</a> 32 29 if (isset($this->api_data->error) || $this->application_id == '') : ?> 30 <h3 style="float: left">Step 1: Get your Aklamator Aplication ID</h3> 31 <a class='aklamator_button aklamator-login-button' id="aklamator_login_button" >Click here for FREE registration/login</a> 32 <div style="clear: both"></div> 33 <p>Or you can manually <a href="<?php echo $this->aklamator_url . 'registration/publisher'; ?>" target="_blank">register</a> or <a href="<?php echo $this->aklamator_url . 'login'; ?>" target="_blank">login</a> and copy paste your Application ID</p> 34 <script>var signup_url = '<?php echo $this->getSignupUrl(); ?>';</script> 33 35 <?php endif; ?> 34 36 … … 64 66 </p> 65 67 66 <?php if( $this->api_data->flag === false): ?>67 <p ><span style="color:red"><?php echo $this->api_data->error; ?></span></p>68 <?php if(isset($this->api_data->flag) && $this->api_data->flag === false): ?> 69 <p id="aklamator_error" class="alert_red alert-msg_red"><span style="color:red"><?php echo $this->api_data->error; ?></span></p> 68 70 <?php endif; ?> 69 71 … … 144 146 </p> 145 147 <?php endif; ?> 146 <input style ="margin: 15px 0px;" type="submit" value="<?php echo (_e("Save Changes")); ?>" /> 148 <input id="aklamator_adsense_save" class="aklamator_INlogin" style ="margin: 0; border: 0; float: left;" type="submit" value="<?php echo (_e("Save Changes")); ?>" /> 149 <?php if(!isset($this->api_data->flag) || !$this->api_data->flag): ?> 150 <div style="float: left; padding: 7px 0 0 10px; color: red; font-weight: bold; font-size: 16px"> <-- In order to proceed save changes</div> 151 <?php endif ?> 147 152 </form> 148 153 </div> … … 152 157 <div style="margin-top: 20px; margin-left: 0px; width: 810px;" class="box"> 153 158 154 <?php if ( $this->curlfailovao && $this->application_id != ''): ?>159 <?php if (isset($this->curlfailovao) && $this->curlfailovao && $this->application_id != ''): ?> 155 160 <h2 style="color:red">Error communicating with Aklamator server, please refresh plugin page or try again later. </h2> 156 161 <?php endif;?> 157 <?php if(! $this->api_data_table->flag): ?>162 <?php if(!isset($this->api_data_table->flag) || $this->api_data_table->flag == false): ?> 158 163 <a href="<?php echo $this->getSignupUrl(); ?>" target="_blank"><img style="border-radius:5px;border:0px;" src=" <?php echo AKLA_PRO_PLUGIN_URL .'images/teaser-810x262.png'; ?>" /></a> 159 164 <?php else : ?>
Note: See TracChangeset
for help on using the changeset viewer.