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

Last change on this file since 93047 was 93047, checked in by teddy.spip@…, 4 years ago
  • Indentation de code et nettoyage.
File size: 471 bytes
Line 
1<?php
2
3function babbi_insert_head_css($flux)
4{
5        static $done = false;
6        if (!$done) {
7                $done = true;
8                $flux .= '<link rel="stylesheet" href="'.find_in_path('menu_babbi.css').'" type="text/css" media="projection, screen, tv" />';
9        }
10
11        return $flux;
12}
13
14function babbi_insert_head($flux)
15{
16        $flux .= "<script type='text/javascript' src='".find_in_path('js/menu_babbi.js')."'></script>\n";
17        $flux .= babbi_insert_head_css(''); // compat pour les vieux spip
18        return $flux;
19}
Note: See TracBrowser for help on using the repository browser.