Browse Source

V3.0.1: var_mode=css est un truc spécifique au plugin lesscss/scss donc inutisable ici (b_b)

master v3.0.1
jeanmarie 1 year ago
parent
commit
2e07144a14
3 changed files with 2 additions and 17 deletions
  1. +1
    -10
      html5up_hyperspace_fonctions.php
  2. +1
    -3
      paquet.xml
  3. +0
    -4
      prive/bouton/calculer_css.html

+ 1
- 10
html5up_hyperspace_fonctions.php View File

@ -7,13 +7,4 @@ if (!defined('_ECRIRE_INC_VERSION')) {return;}
$GLOBALS['debut_intertitre'] = "\n<h2 class=\"spip\">\n";
$GLOBALS['fin_intertitre'] = "</h2>\n";
// Activer html5 depuis le plugin
$GLOBALS['meta']['version_html_max'] = 'html5';
function html5up_hyperspace_formulaire_admin($flux) {
if (autoriser('configurer', 'html5up_hyperspace')) {
$btn = recuperer_fond('prive/bouton/calculer_css');
$flux['data'] = preg_replace('%(<!--extra-->)%is', $btn.'$1', $flux['data']);
}
return $flux;
}
$GLOBALS['meta']['version_html_max'] = 'html5';

+ 1
- 3
paquet.xml View File

@ -1,7 +1,7 @@
<paquet
prefix='html5up_hyperspace'
categorie='squelette'
version='3.0.0'
version='3.0.1'
etat='dev'
compatibilite="[3.2.0;3.3.*]"
logo="prive/themes/spip/images/html5up_hyperspace-32.png"
@ -16,8 +16,6 @@
<style source="css/fontawesome-all.min.css" />
<style source="css/main.css" type="public" />
<pipeline nom="formulaire_admin" />
<necessite nom="adaptive_images" compatibilite="[1.18.0;]" />
<utilise nom="contact" compatibilite="[0.16.0;]" />
<utilise nom="identite_extra" compatibilite="[1.4.0;]" />


+ 0
- 4
prive/bouton/calculer_css.html View File

@ -1,4 +0,0 @@
#CACHE{0}
[(#PLUGIN{minibando}|non)
[<a href="(#SELF|parametre_url{var_mode,css})" class="spip-admin-boutons" id="html5up_hyperspace_calculer_css"><:html5up_hyperspace:bouton_calculer_css:></a>]
]

Loading…
Cancel
Save