Browse Source

ne pas activer l'option html5 si on est pas côté public (merci Real3t et Rastapopoulos)

svn/root/tags/v1.17.5
maieul@maieul.net 2 years ago
parent
commit
677b9a1284
3 changed files with 7 additions and 4 deletions
  1. +1
    -1
      paquet.xml
  2. +0
    -3
      ressourcotheque_administrations.php
  3. +6
    -0
      ressourcotheque_options.php

+ 1
- 1
paquet.xml View File

@ -1,7 +1,7 @@
<paquet
prefix="ressourcotheque"
categorie="squelette"
version="1.15.0"
version="1.15.1"
etat="test"
compatibilite="[3.1.0;3.2.*]"
schema="0.5.0"


+ 0
- 3
ressourcotheque_administrations.php View File

@ -41,9 +41,6 @@ function ressourcotheque_create() {
// Configurer mots
ecrire_config('articles_mots', 'oui');
ecrire_config('config_precise_groupes', 'oui');
// html 5
ecrire_config('version_html_max', 'html5');
}
function ressourcotheque_vider_tables($nom_meta_base_version) {


+ 6
- 0
ressourcotheque_options.php View File

@ -14,3 +14,9 @@ if (isset($_REQUEST['recherche'])) {
}
define('_TITRER_DOCUMENTS', true );
if (!test_espace_prive()) {
$GLOBALS['meta']['version_html_max'] = 'html5';
} else {
$GLOBALS['meta']['version_html_max'] = 'html4';
}

Loading…
Cancel
Save