Browse Source

récupérer la configuration html5up_editorial dans html5up (marcimat)

svn/attic/html5up_editorial/118729
chankalan@choc0.net 5 years ago
parent
commit
d6821af3be
  1. 5
      html5up_editorial_administrations.php
  2. 2
      paquet.xml

5
html5up_editorial_administrations.php

@ -26,10 +26,13 @@ if (!defined('_ECRIRE_INC_VERSION')) {
function html5up_editorial_upgrade($nom_meta_base_version, $version_cible) {
$maj = array();
$maj['create'] = array(
array('ecrire_config','html5up', array(
array('ecrire_config','html5up_editorial', array(
'couleur_accent' => '#f56a6a'
))
);
$maj['1.1.0'] = array(
array('ecrire_config','html5up', lire_config('html5up_editorial'))
);
include_spip('base/upgrade');
maj_plugin($nom_meta_base_version, $version_cible, $maj);
}

2
paquet.xml

@ -2,11 +2,11 @@
prefix="html5up_editorial"
categorie="squelette"
version="1.1.1"
schema="1.1.0"
etat="test"
compatibilite="[3.1.0;3.2.*]"
logo="prive/themes/spip/images/html5up_editorial-64.png"
documentation="https://contrib.spip.net/?article4947"
schema="1.0.0"
>
<nom>Html5up Editorial </nom>
<!-- Squelette responsive «Editorial» de HTML5UP -->

Loading…
Cancel
Save