Changeset 100140 in spip-zone for _plugins_/chosen/trunk


Ignore:
Timestamp:
Oct 25, 2016, 11:17:58 AM (22 months ago)
Author:
kent1@…
Message:

Pouvoir surcharger la CSS simplement là où on en a l'habitude dans css/

Version 1.7.1

Location:
_plugins_/chosen/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/chosen/trunk/chosen_pipelines.php

    r97719 r100140  
    6565function chosen_header_prive_css($texte) {
    6666
    67         $css = find_in_path('lib/chosen/chosen.css');
     67        $css = sinon(find_in_path('css/chosen.css'), find_in_path('lib/chosen/chosen.css'));
    6868        $texte .= "<link rel='stylesheet' type='text/css' media='all' href='".direction_css($css)."' />\n";
    6969        $css = find_in_path('css/spip.chosen.css');
     
    8383        $config = lire_config('chosen', array());
    8484        if (isset($config['active']) and $config['active']=='oui') {
    85                 $css = find_in_path('lib/chosen/chosen.css');
     85                $css = sinon(find_in_path('css/chosen.css'), find_in_path('lib/chosen/chosen.css'));
    8686                $flux .= '<link rel="stylesheet" href="'.direction_css($css).'" type="text/css" media="all" />';
    8787                $css = find_in_path('css/spip.chosen.css');
  • _plugins_/chosen/trunk/paquet.xml

    r100139 r100140  
    22        prefix="chosen"
    33        categorie="navigation"
    4         version="1.7.0"
     4        version="1.7.1"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.