Changeset 107154 in spip-zone
- Timestamp:
- Oct 25, 2017, 6:08:13 AM (3 years ago)
- Location:
- _plugins_/couteau_suisse
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/couteau_suisse/cout_utils.php
r107153 r107154 476 476 } 477 477 $temp_jq = count($temp_jq)?"\njQuery(document).ready(function(){\n\t".join("\n\t", $temp_jq)."\n});":''; 478 $temp_js[] = "if(window.jQuery) {\nvar cs_sel_jQuery=typeof jQuery(document).selector=='undefined'?'@':'';\nvar cs_CookiePlugin=\"<cs_html>#CHEMIN{javascript/jquery.cookie.js}</cs_html>\";$temp_jq\n}"; 478 $temp_js[] = "if(window.jQuery) {\nvar cs_sel_jQuery=" 479 . (defined('_SPIP30200')?'':"typeof jQuery(document).selector=='undefined'?'@':") 480 . "'';\nvar cs_CookiePlugin=\"<cs_html>#CHEMIN{javascript/jquery.cookie.js}</cs_html>\";$temp_jq\n}"; 479 481 // la fonction prop() remplace attr() sous jQuery 1.6 480 482 if(!defined('_SPIP30000')) $temp_js[] = "if(typeof jQuery.fn.prop !== 'function') jQuery.fn.prop=function(name, value){ … … 728 730 } else { 729 731 // tant que le webmestre n'a pas poste, on prend la valeur (dynamique) par defaut 732 730 733 $rempl = cs_retire_guillemets(cs_get_defaut($matches[1])); 731 734 } -
_plugins_/couteau_suisse/couteau_suisse_options.php
r107153 r107154 28 28 $GLOBALS['spip_version_code'] = str_replace(',','.',$GLOBALS['spip_version_code']); 29 29 // constantes de compatibilite 30 // (pour info : SPIP 2.0 => 12691, SPIP 2.1 => 15133, SPIP 2.2 => ??, , SPIP 3.0 => 17743, SPIP 3.1 => 22159) 31 if ($GLOBALS['spip_version_code']>=22159) 30 // (pour info : SPIP 2.0 => 12691, SPIP 2.1 => 15133, SPIP 2.2 => ??, , SPIP 3.0 => 17743, SPIP 3.1 => 22159, SPIP 3.2 => 22653) 31 if ($GLOBALS['spip_version_code']>=22653) 32 { @define('_SPIP30200', 1); @define('_SPIP30100', 1); @define('_SPIP30000', 1); @define('_SPIP20200', 1); @define('_SPIP20100', 1); @define('_SPIP19300', 1); @define('_SPIP19200', 1); } 33 elseif ($GLOBALS['spip_version_code']>=22159) 32 34 { @define('_SPIP30100', 1); @define('_SPIP30000', 1); @define('_SPIP20200', 1); @define('_SPIP20100', 1); @define('_SPIP19300', 1); @define('_SPIP19200', 1); } 33 35 elseif ($GLOBALS['spip_version_code']>=17743) -
_plugins_/couteau_suisse/paquet.xml
r107153 r107154 2 2 prefix="couteau_suisse" 3 3 categorie="maintenance" 4 version="1.10.0 "4 version="1.10.01" 5 5 etat="stable" 6 compatibilite="[1.9.2;3. 1.*]"6 compatibilite="[1.9.2;3.2.*]" 7 7 logo="img/couteau-50.gif" 8 8 schema="1.11" -
_plugins_/couteau_suisse/plugin.xml
r107153 r107154 3 3 <slogan>... ou plus de fonctionnalités pour SPIP !</slogan> 4 4 <icon>img/couteau-50.gif</icon> 5 <version>1.10.0 </version>5 <version>1.10.01</version> 6 6 <version_base>1.11</version_base> 7 7 <auteur>Patrice Vanneufville … … 295 295 <inclure>cout_pipelines.php</inclure> 296 296 </pipeline> 297 <necessite id="SPIP" version="[1.9.2;3. 1.99]" />297 <necessite id="SPIP" version="[1.9.2;3.2.99]" /> 298 298 <categorie>maintenance</categorie> 299 299 <traduire gestionnaire="salvatore" module="couteau" reference="fr" />
Note: See TracChangeset
for help on using the changeset viewer.