Changeset 107904 in spip-zone
- Timestamp:
- Dec 7, 2017, 11:40:48 AM (3 years ago)
- Location:
- _plugins_/coloration_code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/coloration_code/trunk/paquet.xml
r107602 r107904 2 2 prefix="coloration_code" 3 3 categorie="edition" 4 version="0.9.1 3"4 version="0.9.14" 5 5 etat="stable" 6 6 compatibilite="[2.0.0;3.2.*]" -
_plugins_/coloration_code/trunk/plugin.xml
r106215 r107904 16 16 <icon>coloration-32.png</icon> 17 17 <auteur>Pierre Andrews (Mortimer) - ARNO*</auteur> 18 <version>0.9.1 1</version>18 <version>0.9.14</version> 19 19 <etat>stable</etat> 20 20 <description> -
_plugins_/coloration_code/trunk/public/format_html_geshi.php
r107601 r107904 234 234 235 235 /** 236 * <INCLURE> 236 * <INCLURE> 237 237 * Fonction automatiquement appelee par le decompilateur 238 238 * pour recreer le code d'une inclusion. 239 239 * 240 **/ 241 function format_inclure_html_geshi ($file, $args, $prof) { 242 $t = _format_parametre_html_geshi("fond=" . $file); 240 **/ 241 function format_inclure_html_geshi ($file, $args, $prof) 242 { 243 if ( 244 strpos($file, '#') === false 245 and substr($file,-4) === '.php' 246 ) { 247 $t = format_geshi_spip("(", 'inclure') 248 . format_geshi_spip($file, 'inclure_fichier') 249 . format_geshi_spip(")", 'inclure'); 250 } else { 251 $t = _format_parametre_html_geshi("fond=" . $file, false); 252 } 243 253 $args = _format_parametre_html_geshi($args, false); 244 254 245 255 return ( 246 256 format_geshi_spip("<INCLURE", 'inclure') 247 257 . $t . $args 248 258 . format_geshi_spip(" />", 'inclure'));
Note: See TracChangeset
for help on using the changeset viewer.