forked from ZwiiCMS-Team/ZwiiCMS
[9.2.00.dev] organisation de config.php
This commit is contained in:
parent
7c1bce467f
commit
f9825f1d11
@ -64,15 +64,17 @@
|
|||||||
<div class="col6">
|
<div class="col6">
|
||||||
<?php echo template::select('configTimezone', $module::$timezones, [
|
<?php echo template::select('configTimezone', $module::$timezones, [
|
||||||
'label' => 'Fuseau horaire',
|
'label' => 'Fuseau horaire',
|
||||||
'selected' => $this->getData(['config', 'timezone'])
|
'selected' => $this->getData(['config', 'timezone']),
|
||||||
|
'help' => 'Le fuseau horaire est utile au bon référencement'
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col6">
|
<div class="col6">
|
||||||
<?php $listePageId = array_merge(['' => 'Sélectionner'] , helper::arrayCollumn($this->getData(['page']), 'title', 'SORT_ASC') );
|
<?php $listePageId = array_merge(['' => 'Sélectionner'] , helper::arrayCollumn($this->getData(['page']), 'title', 'SORT_ASC') );
|
||||||
?>
|
?>
|
||||||
<?php echo template::select('configLegalPageId', $listePageId , [
|
<?php echo template::select('configLegalPageId', $listePageId , [
|
||||||
'label' => 'Page des mentions légales',
|
'label' => 'Mentions légales',
|
||||||
'selected' => $this->getData(['config', 'legalPageId'])
|
'selected' => $this->getData(['config', 'legalPageId']),
|
||||||
|
'help' => 'Les mentions légales sont obligatoires en France'
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -81,7 +83,7 @@
|
|||||||
'checked' => $this->getData(['config', 'cookieConsent'])
|
'checked' => $this->getData(['config', 'cookieConsent'])
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col6">
|
<div class="col12">
|
||||||
<?php echo template::checkbox('rewrite', true, 'Réécriture d\'URL', [
|
<?php echo template::checkbox('rewrite', true, 'Réécriture d\'URL', [
|
||||||
'checked' => helper::checkRewrite(),
|
'checked' => helper::checkRewrite(),
|
||||||
'help' => 'Vérifiez d\'abord que votre serveur l\'autorise : ce n\'est pas le cas chez Free.'
|
'help' => 'Vérifiez d\'abord que votre serveur l\'autorise : ce n\'est pas le cas chez Free.'
|
||||||
@ -155,7 +157,6 @@
|
|||||||
<div class="block">
|
<div class="block">
|
||||||
<h4>Gestion et sauvegarde</h4>
|
<h4>Gestion et sauvegarde</h4>
|
||||||
<div class="col12">
|
<div class="col12">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<?php echo template::checkbox('configMaintenance', true, 'Site en maintenance', [
|
<?php echo template::checkbox('configMaintenance', true, 'Site en maintenance', [
|
||||||
'checked' => $this->getData(['config', 'maintenance'])
|
'checked' => $this->getData(['config', 'maintenance'])
|
||||||
@ -296,4 +297,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php echo template::formClose(); ?>
|
<?php echo template::formClose(); ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user