source: spip-zone/_plugins_/inserer_modeles/modalbox/modalbox_pipelines.php @ 43717

Last change on this file since 43717 was 43717, checked in by joseph@…, 9 years ago

Eviter que le / ne soit transformé en entité html

File size: 562 bytes
Line 
1<?php
2
3function inserer_modeles_modalbox_insert_head($flux){
4        if (!defined('_DIR_PLUGIN_MEDIABOX') && !defined('_DIR_PLUGIN_GESTDOC')) {
5                // Insertion des librairies js
6                $flux .='<script src="'.find_in_path('modalbox/jquery.simplemodal-1.3.3.js').'" type="text/javascript"></script>';
7                $flux .='<script src="'.find_in_path('modalbox/modalbox.js').'" type="text/javascript"></script>';
8                $css = generer_url_public('modalbox/style_prive_plugin_modalbox','',true);
9                $flux .= "\n<link rel='stylesheet' href='$css' type='text/css' />\n";
10        }
11
12        return $flux;
13}
14
15?>
Note: See TracBrowser for help on using the repository browser.