Changeset 109689 in spip-zone for _plugins_/google_analytics


Ignore:
Timestamp:
Mar 26, 2018, 3:53:55 PM (8 months ago)
Author:
cedric@…
Message:

complement a r107628 et r107791 pour etre conforme au code original

Location:
_plugins_/google_analytics/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/google_analytics/trunk/googleanalytics_insert_head.php

    r107791 r109689  
    3535        $id_google = lire_config('googleanalytics/idGoogle');
    3636        $cookiebar = (isset($_COOKIE["cb-enabled"]) ? $_COOKIE["cb-enabled"] : '');
    37         $displayCookieConsent = (isset($_COOKIE["displayCookieConsent"]) ? $_COOKIE["displayCookieConsent"] : 'y');
     37        $displayCookieConsent = ((isset($_COOKIE["displayCookieConsent"]) and strlen($_COOKIE["displayCookieConsent"])) ? $_COOKIE["displayCookieConsent"] : 'y');
    3838        if ($id_google
    3939          AND $id_google !== '_'
  • _plugins_/google_analytics/trunk/paquet.xml

    r107791 r109689  
    22        prefix="googleanalytics"
    33        categorie="statistique"
    4         version="0.5.3"
     4        version="0.5.4"
    55        etat="stable"
    66        compatibilite="[1.9.2;3.2.*]"
Note: See TracChangeset for help on using the changeset viewer.