|
|
|
@ -26,12 +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_editorial', array(
|
|
|
|
|
array('ecrire_config','html5up', array(
|
|
|
|
|
'couleur_accent' => '#f56a6a'
|
|
|
|
|
))
|
|
|
|
|
);
|
|
|
|
|
$maj['1.1.0'] = array(
|
|
|
|
|
array('ecrire_config','html5up', lire_config('html5up_editorial'))
|
|
|
|
|
$maj['1.1.1'] = array(
|
|
|
|
|
array('ecrire_config','html5up', lire_config('html5up_editorial')),
|
|
|
|
|
array('effacer_meta','html5up_editorial')
|
|
|
|
|
);
|
|
|
|
|
include_spip('base/upgrade');
|
|
|
|
|
maj_plugin($nom_meta_base_version, $version_cible, $maj);
|
|
|
|
@ -47,4 +48,5 @@ function html5up_editorial_upgrade($nom_meta_base_version, $version_cible) {
|
|
|
|
|
**/
|
|
|
|
|
function html5up_editorial_vider_tables($nom_meta_base_version) {
|
|
|
|
|
effacer_meta($nom_meta_base_version);
|
|
|
|
|
effacer_meta('html5up');
|
|
|
|
|
}
|
|
|
|
|