Changeset 41407 in spip-zone


Ignore:
Timestamp:
Oct 2, 2010, 1:13:19 PM (9 years ago)
Author:
kent1@…
Message:

Avoir un <head> un peu plus clair (suite) +passage par insert_head_css

Location:
_plugins_/spipmotion
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/spipmotion/plugin.xml

    r41261 r41407  
    88        </auteur>
    99        <version>
    10         0.6.2
     10        0.6.3
    1111        </version>
    1212        <version_base>0.7.4</version_base>
     
    5757        </pipeline>
    5858        <pipeline>
    59                 <nom>insert_head</nom>
     59                <nom>insert_head_css</nom>
    6060                <inclure>spipmotion_pipelines.php</inclure>
    6161        </pipeline>
  • _plugins_/spipmotion/spipmotion_pipelines.php

    r41321 r41407  
    160160}
    161161
    162 function spipmotion_insert_head($flux){
    163         $flux .= '<link rel="stylesheet" media="all" type="text/css" href="'.find_in_path('spipmotion.css', 'css/', false).'" />';
     162function spipmotion_insert_head_css($flux){
     163        $flux .= '
     164<link rel="stylesheet" href="'.direction_css(find_in_path('spipmotion.css', 'css/', false)).'" type="text/css" media="all" />
     165';
    164166        return $flux;
    165167}
    166168
    167169function spipmotion_header_prive($flux){
    168         $flux .= '<link rel="stylesheet" media="all" type="text/css" href="'.find_in_path('spipmotion.css', 'css/', false).'" />';
     170        $flux .= '
     171<link rel="stylesheet" href="'.direction_css(find_in_path('spipmotion.css', 'css/', false)).'" type="text/css" media="all" />
     172';
    169173        return $flux;
    170174}
Note: See TracChangeset for help on using the changeset viewer.