Browse Source

On passe la max de config via fonctions.php

master
jeanmarie 1 year ago
parent
commit
28ae5b5cc5
2 changed files with 2 additions and 1 deletions
  1. +2
    -0
      html5up_hyperspace_fonctions.php
  2. +0
    -1
      html5up_hyperspace_options.php

+ 2
- 0
html5up_hyperspace_fonctions.php View File

@ -6,6 +6,8 @@ if (!defined('_ECRIRE_INC_VERSION')) {return;}
// Intertitres commençant par h2
$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')) {


+ 0
- 1
html5up_hyperspace_options.php View File

@ -4,7 +4,6 @@
if (!defined('_ECRIRE_INC_VERSION')) {return;}
$GLOBALS['z_blocs'] = array('content', 'head', 'head_js', 'header', 'footer');
$GLOBALS['meta']['version_html_max'] = 'html5';
$GLOBALS['spip_pipeline']['affichage_final'] .= '|tinytypo';
function tinytypo($texte) {


Loading…
Cancel
Save