source: spip-zone/_plugins_/infobox/infobox_fonctions.php @ 32503

Last change on this file since 32503 was 32503, checked in by cyril@…, 11 years ago

Infobox : travail sur la balise

File size: 518 bytes
Line 
1<?php
2/**
3 * Plugin Infobox pour Spip 2.0
4 * Licence GPL (c) 2009 - Ateliers CYM
5 */
6
7
8//
9// Ajout de la feuille de style et du script javascript
10//
11function infobox_insert_head($flux){
12        $flux .= '<!-- insertion de la css infobox --><link rel="stylesheet" type="text/css" href="'.find_in_path('infobox.css').'" media="all" />';
13       
14        $jsFile = generer_url_public('infobox.js');
15        $flux .= "<!-- insertion du js infobox --><script src='$jsFile' type='text/javascript'></script>";
16       
17        return $flux;
18}
19
20
21?>
Note: See TracBrowser for help on using the repository browser.