Browse Source

Merge pull request 'compat4.1' (#1) from compat4.1 into master

Reviewed-on: louis.possoz/menu_anime#1
pull/2/head
louis.possoz 3 months ago
parent
commit
a6935eb5ad
  1. 16
      menu_anime_pipelines.php
  2. 34
      paquet.xml

16
menu_anime_pipelines.php

@ -3,7 +3,7 @@
* Utilisations de pipelines par Menu animé
*
* @plugin Menu animé
* @copyright 2015-2017
* @copyright 2015-2022
* @author Louis Possoz
* @licence GNU/GPL
* @package SPIP\Menu_anime\Pipelines
@ -11,13 +11,13 @@
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_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){

34
paquet.xml

@ -1,20 +1,20 @@
<paquet
prefix="menu_anime"
categorie="navigation"
version="1.1.1"
etat="stable"
compatibilite="[3.0.0;4.0.*]"
logo="img/menu_anime-64.png"
documentation="https://contrib.spip.net/Menu-anime-deroulant"
>
<nom>Menu animé</nom>
<paquet
prefix="menu_anime"
categorie="navigation"
version="1.1.2"
etat="stable"
compatibilite="[3.0.0;4.1.*]"
logo="img/menu_anime-64.png"
documentation="https://contrib.spip.net/Menu-anime-deroulant"
>
<nom>Menu animé</nom>
<auteur lien="https://www.quelfutur.org/archive/louis_possoz.html">Louis Possoz</auteur>
<credit lien="https://red-team-design.com/css3-dropdown-menu/">Catalin Rosu - Red Team Design</credit>
<copyright>2011-2017</copyright>
<licence lien="https://www.gnu.org/licenses/gpl-3.0.html">GNU/GPL</licence>
<credit lien="https://red-team-design.com/css3-dropdown-menu/">Catalin Rosu - Red Team Design</credit>
<copyright>2011-2022</copyright>
<licence lien="https://www.gnu.org/licenses/gpl-3.0.html">GNU/GPL</licence>
<pipeline nom="insert_head_css" inclure="menu_anime_pipelines.php" />
<pipeline nom="insert_head" inclure="menu_anime_pipelines.php" />
<pipeline nom="insert_head_css" inclure="menu_anime_pipelines.php" />
<pipeline nom="insert_head" inclure="menu_anime_pipelines.php" />
</paquet>

Loading…
Cancel
Save