Changeset 107792 in spip-zone


Ignore:
Timestamp:
Nov 30, 2017, 7:09:31 AM (16 months ago)
Author:
pierrekuhn82@…
Message:

Version 0.5.3 : report sur la branche zip

Location:
_plugins_/google_analytics/branches/v0
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/google_analytics/branches/v0/googleanalytics_insert_head.php

    r105532 r107792  
    3434        include_spip('inc/config');
    3535        $id_google = lire_config('googleanalytics/idGoogle');
    36         $cookiebar = $_COOKIE["cb-enabled"];
    37         if ($_COOKIE["displayCookieConsent"] != '') {
    38                 $displayCookieConsent = $_COOKIE["displayCookieConsent"];
    39         } else {
    40                 $displayCookieConsent = 'y';
    41         }
     36        $cookiebar = (isset($_COOKIE["cb-enabled"]) ? $_COOKIE["cb-enabled"] : '');
     37        $displayCookieConsent = (isset($_COOKIE["displayCookieConsent"]) ? $_COOKIE["displayCookieConsent"] : 'y');
    4238        if ($id_google
    4339          AND $id_google !== '_'
    44           AND (strncmp($id_google,"UA-xxx",6)!=0)
     40          AND (strncmp($id_google,"UA-xxx",6) != '0')
    4541          AND $cookiebar !== 'declined'
    4642          AND $displayCookieConsent === 'y') {
  • _plugins_/google_analytics/branches/v0/paquet.xml

    r105532 r107792  
    22        prefix="googleanalytics"
    33        categorie="statistique"
    4         version="0.5.1"
     4        version="0.5.3"
    55        etat="stable"
    6         compatibilite="[1.9.2;3.1.*]"
     6        compatibilite="[1.9.2;3.2.*]"
    77        logo="images/ga-32.png"
    88        documentation="https://contrib.spip.net/?article2495"
  • _plugins_/google_analytics/branches/v0/plugin.xml

    r105532 r107792  
    33        <slogan>Utiliser le service Google Analytics</slogan>
    44        <auteur>Phil</auteur>
    5         <version>0.5.1</version>
     5        <version>0.5.3</version>
    66        <etat>stable</etat>
    77        <licence>GNU/GPL</licence>
     
    2222        </pipeline>
    2323
    24         <necessite id="SPIP" version="[1.9.2;3.1.99]" />
     24        <necessite id="SPIP" version="[1.9.2;3.2.99]" />
    2525        <necessite id="spip_bonux" />
    2626
Note: See TracChangeset for help on using the changeset viewer.