Changeset 107792 in spip-zone
- Timestamp:
- Nov 30, 2017, 7:09:31 AM (3 years ago)
- Location:
- _plugins_/google_analytics/branches/v0
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/google_analytics/branches/v0/googleanalytics_insert_head.php
r105532 r107792 34 34 include_spip('inc/config'); 35 35 $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'); 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/branches/v0/paquet.xml
r105532 r107792 2 2 prefix="googleanalytics" 3 3 categorie="statistique" 4 version="0.5. 1"4 version="0.5.3" 5 5 etat="stable" 6 compatibilite="[1.9.2;3. 1.*]"6 compatibilite="[1.9.2;3.2.*]" 7 7 logo="images/ga-32.png" 8 8 documentation="https://contrib.spip.net/?article2495" -
_plugins_/google_analytics/branches/v0/plugin.xml
r105532 r107792 3 3 <slogan>Utiliser le service Google Analytics</slogan> 4 4 <auteur>Phil</auteur> 5 <version>0.5. 1</version>5 <version>0.5.3</version> 6 6 <etat>stable</etat> 7 7 <licence>GNU/GPL</licence> … … 22 22 </pipeline> 23 23 24 <necessite id="SPIP" version="[1.9.2;3. 1.99]" />24 <necessite id="SPIP" version="[1.9.2;3.2.99]" /> 25 25 <necessite id="spip_bonux" /> 26 26
Note: See TracChangeset
for help on using the changeset viewer.