source: spip-zone/_plugins_/menu_babbibel/trunk/fonctions_menu.php @ 66444

Last change on this file since 66444 was 66444, checked in by babbibel@…, 7 years ago

Nettoyage du dépot

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