Changeset 107791 in spip-zone
- Timestamp:
- Nov 30, 2017, 7:08:42 AM (3 years ago)
- Location:
- _plugins_/google_analytics/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/google_analytics/trunk/googleanalytics_insert_head.php
r107628 r107791 34 34 include_spip('inc/config'); 35 35 $id_google = lire_config('googleanalytics/idGoogle'); 36 if (isset($_COOKIE["cb-enabled"])) $cookiebar = $_COOKIE["cb-enabled"]; 37 if (isset($_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'); 42 38 if ($id_google 43 39 AND $id_google !== '_' 44 AND (strncmp($id_google,"UA-xxx",6) !=0)40 AND (strncmp($id_google,"UA-xxx",6) != '0') 45 41 AND $cookiebar !== 'declined' 46 42 AND $displayCookieConsent === 'y') { -
_plugins_/google_analytics/trunk/paquet.xml
r107628 r107791 2 2 prefix="googleanalytics" 3 3 categorie="statistique" 4 version="0.5. 2"4 version="0.5.3" 5 5 etat="stable" 6 6 compatibilite="[1.9.2;3.2.*]" -
_plugins_/google_analytics/trunk/plugin.xml
r107628 r107791 3 3 <slogan>Utiliser le service Google Analytics</slogan> 4 4 <auteur>Phil</auteur> 5 <version>0.5. 2</version>5 <version>0.5.3</version> 6 6 <etat>stable</etat> 7 7 <licence>GNU/GPL</licence>
Note: See TracChangeset
for help on using the changeset viewer.