Changeset 48726 in spip-zone


Ignore:
Timestamp:
Jun 12, 2011, 9:52:35 AM (10 years ago)
Author:
eric@…
Message:

Tant qu'à faire utilisons header_prive_css.

Location:
_plugins_/svp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/svp/plugin.xml

    r48725 r48726  
    5555        </pipeline>
    5656        <pipeline>
    57                 <nom>header_prive</nom>
     57                <nom>header_prive_css</nom>
    5858                <inclure>svp_pipelines.php</inclure>
    5959        </pipeline>
  • _plugins_/svp/svp_pipelines.php

    r48725 r48726  
    2323
    2424/**
    25  * Insertion dans le pipeline header_prive
     25 * Insertion dans le pipeline header_prive_css
    2626 * Inclure les css prive de la svp (formulaire d'ajout de plugin)
    2727 *
     
    2929 * @return $flux
    3030 */
    31 function svp_header_prive($flux){
     31function svp_header_prive_css($flux){
    3232        $css = find_in_path('css/svp_prive.css');
    3333        $flux .= "\n<link rel='stylesheet' href='$css' type='text/css' />\n";
Note: See TracChangeset for help on using the changeset viewer.