Changeset 48148 in spip-zone


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

Location:
_core_/plugins/porte_plume
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/porte_plume/plugin.xml

    r47653 r48148  
    44        [mysitemyway pour l'icone->http://icons.mysitemyway.com/free-clipart-icons/1/traditional-ink-bottle-pen-icon-id/83350/style-id/614/high-resolution-dark-blue-denim-jeans-icons/business/]</auteur>
    55        <licence>GNU/GPL</licence>
    6         <version>1.8.3</version>
     6        <version>1.8.4</version>
    77        <description>
    88        <multi>[fr]Une barre d'outil pour bien &#233;crire
  • _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.