Changeset 48785 in spip-zone


Ignore:
Timestamp:
Jun 14, 2011, 1:12:13 PM (10 years ago)
Author:
eric@…
Message:

On utilise plus spip_version_compare pour éviter de la chercher partout quand elle change de place suivant les version SPIP :p

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/boussole/boussole_fonctions.php

    r43598 r48785  
    105105// -------------------- Filtres de compatibilite avec SPIP 2.0 ------------------------
    106106
    107 include_spip('inc/plugin');
    108 if (spip_version_compare($GLOBALS['spip_version_branche'], '2.1', '<')) {
     107if (substr($GLOBALS['spip_version_branche'],0, 3) == '2.0') {
    109108        function bouton_action($libelle, $url, $class="", $confirm="", $title=""){
    110109                $onclick = $confirm?" onclick='return confirm(\"" . attribut_html($confirm) . "\");'":"";
Note: See TracChangeset for help on using the changeset viewer.