Ignore:
Timestamp:
May 26, 2011, 3:28:42 PM (10 years ago)
Author:
cedric@…
Message:

propager le var_mode=recalcul aux css et js calculees dont l'url est inseree dans le head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/porte_plume/porte_plume_pipelines.php

    r44955 r48148  
    5858        $js_previsu = find_in_path('javascript/jquery.previsu_spip.js');
    5959        $js_start = parametre_url(generer_url_public('porte_plume_start.js'), 'lang', $lang);
     60        if (_VAR_MODE=="recalcul")
     61                $js_start = parametre_url($js_start, 'var_mode', 'recalcul');
    6062
    6163        $flux
     
    8587                $css = direction_css(find_in_path('css/barre_outils.css'), lang_dir());
    8688                $css_icones = generer_url_public('barre_outils_icones.css');
     89                if (_VAR_MODE=="recalcul")
     90                        $css_icones = parametre_url($css_icones, 'var_mode', 'recalcul');
    8791                $flux
    8892                        .= "<link rel='stylesheet' type='text/css' media='all' href='$css' />\n"
Note: See TracChangeset for help on using the changeset viewer.