Plugin Directory

Changeset 1449843


Ignore:
Timestamp:
07/06/2016 09:19:21 AM (10 years ago)
Author:
vikinguard
Message:

2.1.0 =

  • Added multiuser support
Location:
vikinguard/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vikinguard/trunk/readme.txt

    r1428243 r1449843  
    33Tags: vikinguard, real user monitoring, rum, web performance, user experience, availability, seo,uptime, availability
    44Requires at least: 2.1
    5 Tested up to: 4.5.1
    6 Stable tag: 2.0.0
    7 Version: 2.0.0
     5Tested up to: 4.5.3
     6Stable tag: 2.1.0
     7Version: 2.1.0
    88
    99With Vikinguard you'll know the real user experience of your site and you'll be notified when something is not performing as expected.
     
    5959* JavaScript bug register fixed.
    6060
    61 = 1.2.2 =
    62 * Fixed js escape
    63 
    6461= 2.0.0 =
    6562* Added multishop support.
    6663
     64= 2.1.0 =
     65* Added multiuser support.
     66
  • vikinguard/trunk/vikinguard.php

    r1428238 r1449843  
    55 * Description: it checks your site uptime and real user experience. This module provides all the infomation about your site\'s perfomance.
    66 * Author: Vikinguard. This is not just a software company.
    7  * Version: 2.0.0
     7 * Version: 2.1
    88 * Author URI: https://www.vikinguard.com
    99 */
     
    150150}
    151151function 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;
    152156    ?>
    153157<div class="wrap">
     
    156160    <h2>VIKINGUARD</h2>
    157161    <hr />
     162   
     163        <?php
     164            if($rights=="CUSTOMER_ADMIN"||$rights=="SHOP_ADMIN"){
     165   
     166    ?>
    158167    <div id="register" class="form-signin">
    159168        <span class="heimdal-inp-hed"><?php esc_attr_e('Mail', 'Vikinguard' );?></span>
     
    169178                <select id="multishop_selector" name="shop" class="heimdal--input">
    170179                <?php
    171                 $customer_info = stripcslashes($_GET ['heimdalapm_customer_info']);
    172                 $customer_info_decoded = json_decode($customer_info);               
     180                           
    173181               
    174182                foreach ($customer_info_decoded->shops as $element) {
     
    186194                <br><br><br>
    187195        </div>
     196        <?php
     197            if($rights=="CUSTOMER_ADMIN"){
     198   
     199        ?>
    188200        <div class="heimdal-form-pereira">
    189201            <h3 class="form-signin-heading"><?php esc_attr_e('... or add a new one', 'Vikinguard' );?></h3>
     
    210222            </ul>
    211223        </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               
    212247    </div>
    213248
    214249
    215250<?php
    216 }
     251    }
    217252function mail_Vikinguard_Render() {
    218253    ?>
Note: See TracChangeset for help on using the changeset viewer.