Changeset 48988 in spip-zone


Ignore:
Timestamp:
Jun 22, 2011, 10:24:29 AM (10 years ago)
Author:
brunobergot@…
Message:

find_in_path pour trouver les css des themes aussi bien dans le privé que dans le public

Location:
_plugins_/jquery_ui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/jquery_ui/jqueryui_pipelines.php

    r48711 r48988  
    167167        foreach ($config['plugins'] as $plug) {
    168168                if (in_array($plug, $Tjquery_css)) {
    169                         $flux .= "<link rel='stylesheet' type='text/css' media='all' href='"._DIR_JQUERYUI_CSS.$theme.$plug.".css' />\n";
     169                        $flux .= "<link rel='stylesheet' type='text/css' media='all' href='".find_in_path(_DIR_JQUERYUI_CSS.$theme.$plug.'.css')."' />\n";
    170170                }
    171171        }
  • _plugins_/jquery_ui/jqueryui_pipelines_20.php

    r48716 r48988  
    125125        foreach ($config['plugins'] as $plug) {
    126126                if (in_array($plug, $Tjquery_css)) {
    127                         $flux .= "<link rel='stylesheet' type='text/css' media='all' href='"._DIR_JQUERYUI_CSS.$theme.$plug.".css' />\n";
     127                        $flux .= "<link rel='stylesheet' type='text/css' media='all' href='".find_in_path(_DIR_JQUERYUI_CSS.$theme.$plug.'.css')."' />\n";
    128128                }
    129129        }
Note: See TracChangeset for help on using the changeset viewer.