Changeset 94456 in spip-zone
- Timestamp:
- Jan 5, 2016, 6:48:11 PM (5 years ago)
- Location:
- _plugins_/coloration_code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/coloration_code/trunk/inc/spip_geshi.php
r93880 r94456 62 62 function handle_multiline_regexps($matches) { 63 63 $key = $this->_hmr_key; 64 if ( isset($this->language_data['REGEXPS'][$key][SPIP_GESHI_REGEXP_FUNCTION]) 65 and $func = $this->language_data['REGEXPS'][$key][SPIP_GESHI_REGEXP_FUNCTION] 66 and function_exists($func)) { 67 return $func($matches, $this); 64 if ( is_array($this->language_data['REGEXPS'][$key]) 65 and isset($this->language_data['REGEXPS'][$key][SPIP_GESHI_REGEXP_FUNCTION]) 66 and $func = $this->language_data['REGEXPS'][$key][SPIP_GESHI_REGEXP_FUNCTION]) { 67 68 if (function_exists($func)) { 69 return $func($matches, $this); 70 } 71 spip_log("$func inexistante dans this->language_data['REGEXPS'][$key]=" . var_export($this->language_data['REGEXPS'][$key],true), "geshi" . _LOG_ERREUR); 68 72 } 69 73 … … 80 84 function handle_singleline_regexps($stuff_to_parse, $regexp, $key) { 81 85 82 if ( isset($regexp[SPIP_GESHI_REGEXP_FUNCTION]) 86 if ( is_array($regexp) 87 and isset($regexp[SPIP_GESHI_REGEXP_FUNCTION]) 83 88 and $func = $regexp[SPIP_GESHI_REGEXP_FUNCTION] 84 89 and function_exists($func)) { -
_plugins_/coloration_code/trunk/paquet.xml
r93880 r94456 2 2 prefix="coloration_code" 3 3 categorie="edition" 4 version="0.9. 3"4 version="0.9.4" 5 5 etat="stable" 6 6 compatibilite="[2.0.0;3.1.*]" -
_plugins_/coloration_code/trunk/plugin.xml
r93881 r94456 16 16 <icon>coloration-32.png</icon> 17 17 <auteur>Pierre Andrews (Mortimer) - ARNO*</auteur> 18 <version>0.9. 3</version>18 <version>0.9.4</version> 19 19 <etat>stable</etat> 20 20 <description>
Note: See TracChangeset
for help on using the changeset viewer.