source: spip-zone/_plugins_/menuder/trunk/menuder_fonctions.php @ 89385

Last change on this file since 89385 was 89385, checked in by maat-ml@…, 4 years ago

[SCM] Re-organisation en trunk/tags/branches

File size: 536 bytes
Line 
1<?php
2if (!defined("_ECRIRE_INC_VERSION")) return;
3
4function menuder_insert_head_css($flux){
5        static $done = false;
6        if (!$done) {
7                $done = true;
8                $flux .= "\n".'<link rel="stylesheet" href="'.direction_css(find_in_path('css/menuder.css')).'" type="text/css" media="projection, screen" />';
9        }
10        return $flux;
11}
12
13function menuder_insert_head($flux){
14        $flux .= "<script type='text/javascript' src='".find_in_path('js/menuder.js')."'></script>\n";
15        $flux .= menuder_insert_head_css(''); // compat pour les vieux spip
16        return $flux;
17}
18?>
Note: See TracBrowser for help on using the repository browser.