Changeset 27400 in spip-zone for _plugins_/_stable_/coloration_code


Ignore:
Timestamp:
Mar 17, 2009, 9:24:21 PM (11 years ago)
Author:
marcimat@…
Message:
  • petit nettoyage, et respecter la doc qui propose des classe "telechargement" et "sans_telechargement"...
Location:
_plugins_/_stable_/coloration_code/spip-2.0
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/coloration_code/spip-2.0/coloration_code.php

    r27365 r27400  
    5353        if ($language=='spip') $language = PLUGIN_COLORATION_CODE_COLORIEUR_SPIP;
    5454       
    55         include_once _DIR_PLUGIN_COLORATION_CODE . '/geshi/geshi.php';
     55        include_spip('geshi/geshi');
    5656        //
    5757        // Create a GeSHi object
     
    7777
    7878        $telecharge =
    79                 (PLUGIN_COLORATION_CODE_TELECHARGE || in_array('telecharge', $params))
    80          && (strpos($code, "\n") !== false) && !in_array('sans_telecharge', $params);
     79                (PLUGIN_COLORATION_CODE_TELECHARGE || in_array('telechargement', $params))
     80         && (strpos($code, "\n") !== false) && !in_array('sans_telechargement', $params);
    8181        if ($telecharge) {
    8282                // Gerer le fichier contenant le code au format texte
  • _plugins_/_stable_/coloration_code/spip-2.0/plugin.xml

    r27365 r27400  
    1111        </auteur>
    1212        <version>
    13           0.5.1
     13          0.5.2
    1414        </version>
    1515        <etat>
     
    7878          coloration_code
    7979        </prefix>
    80         <necessite id="SPIP" version="[1.9.0;]" />
     80        <necessite id="SPIP" version="[2.0;]" />
    8181</plugin>
Note: See TracChangeset for help on using the changeset viewer.