Changeset 5754 in spip-zone


Ignore:
Timestamp:
Sep 28, 2006, 1:48:08 PM (13 years ago)
Author:
franck.ducas@…
Message:

Preparation a la gestion des styles par feuille de style.

Location:
_plugins_/_dev_/rangement_plugs
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_dev_/rangement_plugs/pipelines_rangement_plugs.php

    r5744 r5754  
    3939}
    4040
     41function rangement_plugs_header_prive($flux) {
     42        $exec = _request('exec');
     43        if ($exec == "rangement_plugin") {
     44                $flux .= '<link rel="stylesheet" type="text/css" href="../'._DIR_PLUGIN_RANGEMENT_PLUGS.'/../img_pack/rangement_plugs.css">';
     45                }
     46        return $flux;
     47}
     48
    4149?>
  • _plugins_/_dev_/rangement_plugs/plugin.xml

    r5737 r5754  
    2929                <inclure>pipelines_rangement_plugs.php</inclure>
    3030        </pipeline>
     31        <pipeline>
     32        <nom>header_prive</nom>
     33        <inclure>pipelines_rangement_plugs.php</inclure>
     34        </pipeline>
    3135</plugin>
Note: See TracChangeset for help on using the changeset viewer.