Changeset 64562 in spip-zone for _plugins_/sjcycle


Ignore:
Timestamp:
Aug 7, 2012, 2:45:28 PM (7 years ago)
Author:
yffic@…
Message:

Plus besoin d'artifice pour insérer les css en spip3
+ passage en stable

Location:
_plugins_/sjcycle/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/sjcycle/trunk/paquet.xml

    r61609 r64562  
    22        prefix="sjcycle"
    33        categorie="multimedia"
    4         version="2.2.1"
    5         etat="test"
    6         compatibilite="[3.0.0-dev;3.1.99]"
     4        version="2.2.2"
     5        etat="stable"
     6        compatibilite="[3.0.0;3.1.*]"
    77        logo="prive/themes/spip/images/sjcycle-32.png"
    88        schema="0.5"
  • _plugins_/sjcycle/trunk/sjcycle_pipelines.php

    r60577 r64562  
    66
    77function sjcycle_insert_head_css($flux){
    8         static $done = false;
    9         if (!$done) {
    10                 $done = true;
    11                 $conf_jcycle = lire_config('sjcycle');
    12                 if($conf_jcycle["tooltip"]) {
    13                         $flux .="\n".'<link rel="stylesheet" href="'.find_in_path('javascript/jquery.tooltip.css').'" type="text/css" media="all" />';
    14                 }
    15                 $flux .= '<link rel="stylesheet" href="'.generer_url_public('sjcycle.css').'" type="text/css" media="all" />';
     8        $conf_jcycle = lire_config('sjcycle');
     9        if($conf_jcycle["tooltip"]) {
     10                $flux .="\n".'<link rel="stylesheet" href="'.find_in_path('javascript/jquery.tooltip.css').'" type="text/css" media="all" />';
     11        $flux .= '<link rel="stylesheet" href="'.generer_url_public('sjcycle.css').'" type="text/css" media="all" />';
    1612        }
    1713        return $flux;
     
    2521        }
    2622       
    27         $flux .= sjcycle_insert_head_css(''); // compat pour les vieux spip
    2823        return $flux;
    2924}
Note: See TracChangeset for help on using the changeset viewer.