source: spip-zone/_plugins_/switcher/trunk/head.php @ 84023

Last change on this file since 84023 was 84023, checked in by prigent.yohann@…, 7 years ago

SPIP 3 appelle déjà insert_head_css même si il n'est pas inséré.

File size: 371 bytes
Line 
1<?php
2
3if (!defined('_ECRIRE_INC_VERSION')) return;
4
5function switcher_insert_head_css($flux){
6        $flux .='
7<style type="text/css" media="print">
8/* <![CDATA[ */
9#plugin_switcher { display: none; }
10/* ]]> */
11</style>
12';
13        return $flux;
14}
15function switcher_insert_head($flux){ 
16        $flux .= switcher_insert_head_css($flux); // au cas ou il n'est pas implemente
17        return $flux;
18}
Note: See TracBrowser for help on using the repository browser.