Last change
on this file since 94961 was
94961,
checked in by louis.possoz@…, 5 years ago
|
suppression appel jquery externe + divers details
|
File size:
686 bytes
|
Line | |
---|
1 | <?php |
---|
2 | /** |
---|
3 | * Utilisations de pipelines par Menu animé |
---|
4 | * |
---|
5 | * @plugin Menu animé |
---|
6 | * @copyright 2015 |
---|
7 | * @author Louis Possoz |
---|
8 | * @licence GNU/GPL |
---|
9 | * @package SPIP\Menu_anime\Pipelines |
---|
10 | */ |
---|
11 | |
---|
12 | if (!defined('_ECRIRE_INC_VERSION')) return; |
---|
13 | |
---|
14 | function menu_anime_insert_head_css($flux){ |
---|
15 | static $done = false; |
---|
16 | if (!$done) { |
---|
17 | $done = true; |
---|
18 | $flux .= '<link rel="stylesheet" href="'.find_in_path('css/menu_anime.css').'" type="text/css" media="projection, screen, tv, print" />'; |
---|
19 | } |
---|
20 | return $flux; |
---|
21 | } |
---|
22 | |
---|
23 | function menu_anime_insert_head($flux){ |
---|
24 | $flux .= '<script type="text/javascript" src="'.find_in_path('javascript/menu_anime.js').'"></script>'; |
---|
25 | return $flux; |
---|
26 | } |
---|
27 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.