forked from spip-contrib-extensions/menu_anime
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
686 B
PHP
27 lines
686 B
PHP
<?php
|
|
/**
|
|
* Utilisations de pipelines par Menu animé
|
|
*
|
|
* @plugin Menu animé
|
|
* @copyright 2015
|
|
* @author Louis Possoz
|
|
* @licence GNU/GPL
|
|
* @package SPIP\Menu_anime\Pipelines
|
|
*/
|
|
|
|
if (!defined('_ECRIRE_INC_VERSION')) return;
|
|
|
|
function menu_anime_insert_head_css($flux){
|
|
static $done = false;
|
|
if (!$done) {
|
|
$done = true;
|
|
$flux .= '<link rel="stylesheet" href="'.find_in_path('css/menu_anime.css').'" type="text/css" media="projection, screen, tv, print" />';
|
|
}
|
|
return $flux;
|
|
}
|
|
|
|
function menu_anime_insert_head($flux){
|
|
$flux .= '<script type="text/javascript" src="'.find_in_path('javascript/menu_anime.js').'"></script>';
|
|
return $flux;
|
|
}
|
|
?>
|