Merge branch '12000'

This commit is contained in:
Fred Tempez 2022-02-15 13:27:33 +01:00
commit 51e4b03c1c
2 changed files with 21 additions and 10 deletions

View File

@ -791,3 +791,15 @@ if ($this->getData(['core', 'dataVersion']) < 11300) {
// Mise à jour
$this->setData(['core', 'dataVersion', 11300]);
}
// Version 12.0.00
if ($this->getData(['core', 'dataVersion']) < 12000) {
// Effacer le dossier
if (is_dir('core/module/addon')) {
$this->removeDir('core/module/addon');
}
// Mise à jour
$this->setData(['core', 'dataVersion', 12000]);
}

View File

@ -1,17 +1,16 @@
<div class="row">
<div class="col2">
<div class="col1">
<?php echo template::button('themeFontBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . 'theme',
'ico' => 'left',
'value' => 'Retour'
'value' => template::ico('left')
]); ?>
</div>
<div class="col2 offset8">
<div class="col1 offset10">
<?php echo template::button('themeFontAdd', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/fontAdd',
'ico' => 'plus',
'value' => 'Fonte'
'value' => template::ico('plus'),
'help' => 'Ajouter une fonte'
]); ?>
</div>
</div>