Changeset 1449843
- Timestamp:
- 07/06/2016 09:19:21 AM (10 years ago)
- Location:
- vikinguard/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
vikinguard.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vikinguard/trunk/readme.txt
r1428243 r1449843 3 3 Tags: vikinguard, real user monitoring, rum, web performance, user experience, availability, seo,uptime, availability 4 4 Requires at least: 2.1 5 Tested up to: 4.5. 16 Stable tag: 2. 0.07 Version: 2. 0.05 Tested up to: 4.5.3 6 Stable tag: 2.1.0 7 Version: 2.1.0 8 8 9 9 With Vikinguard you'll know the real user experience of your site and you'll be notified when something is not performing as expected. … … 59 59 * JavaScript bug register fixed. 60 60 61 = 1.2.2 =62 * Fixed js escape63 64 61 = 2.0.0 = 65 62 * Added multishop support. 66 63 64 = 2.1.0 = 65 * Added multiuser support. 66 -
vikinguard/trunk/vikinguard.php
r1428238 r1449843 5 5 * Description: it checks your site uptime and real user experience. This module provides all the infomation about your site\'s perfomance. 6 6 * Author: Vikinguard. This is not just a software company. 7 * Version: 2. 0.07 * Version: 2.1 8 8 * Author URI: https://www.vikinguard.com 9 9 */ … … 150 150 } 151 151 function multishop_render() { 152 153 $customer_info = stripcslashes($_GET ['heimdalapm_customer_info']); 154 $customer_info_decoded = json_decode($customer_info); 155 $rights=$customer_info_decoded->rights; 152 156 ?> 153 157 <div class="wrap"> … … 156 160 <h2>VIKINGUARD</h2> 157 161 <hr /> 162 163 <?php 164 if($rights=="CUSTOMER_ADMIN"||$rights=="SHOP_ADMIN"){ 165 166 ?> 158 167 <div id="register" class="form-signin"> 159 168 <span class="heimdal-inp-hed"><?php esc_attr_e('Mail', 'Vikinguard' );?></span> … … 169 178 <select id="multishop_selector" name="shop" class="heimdal--input"> 170 179 <?php 171 $customer_info = stripcslashes($_GET ['heimdalapm_customer_info']); 172 $customer_info_decoded = json_decode($customer_info); 180 173 181 174 182 foreach ($customer_info_decoded->shops as $element) { … … 186 194 <br><br><br> 187 195 </div> 196 <?php 197 if($rights=="CUSTOMER_ADMIN"){ 198 199 ?> 188 200 <div class="heimdal-form-pereira"> 189 201 <h3 class="form-signin-heading"><?php esc_attr_e('... or add a new one', 'Vikinguard' );?></h3> … … 210 222 </ul> 211 223 </div> 224 225 226 <?php 227 228 } 229 } 230 231 ?> 232 <?php 233 if($rights=="NO_ADMIN"){ 234 235 ?> 236 <div class="heimdal-form-pereira"> 237 238 <h3> 239 <?php esc_attr_e('You do not have enough rights to configure this shop.', 'Vikinguard' );?></span> 240 </h3> 241 <a onclick="reconfigured();"> <?php esc_attr_e('to reset the configuration' , 'Vikinguard');?></a> 242 </div> 243 <?php 244 } 245 ?> 246 212 247 </div> 213 248 214 249 215 250 <?php 216 }251 } 217 252 function mail_Vikinguard_Render() { 218 253 ?>
Note: See TracChangeset
for help on using the changeset viewer.