2018-04-02 08:29:19 +02:00
|
|
|
<?php echo template::formOpen('themeFooterForm'); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('themeFooterBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . 'theme',
|
|
|
|
'ico' => 'left',
|
|
|
|
'value' => 'Retour'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2 offset8">
|
|
|
|
<?php echo template::submit('themeFooterSubmit'); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<div class="block">
|
2019-06-18 20:08:04 +02:00
|
|
|
<h4>Couleurs</h4>
|
2018-04-02 08:29:19 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('themeFooterBackgroundColor', [
|
|
|
|
'class' => 'colorPicker',
|
|
|
|
'label' => 'Fond',
|
|
|
|
'value' => $this->getData(['theme', 'footer', 'backgroundColor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::text('themeFooterTextColor', [
|
|
|
|
'class' => 'colorPicker',
|
|
|
|
'label' => 'Texte',
|
|
|
|
'value' => $this->getData(['theme', 'footer', 'textColor'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-06-27 16:21:43 +02:00
|
|
|
<div class="col6">
|
|
|
|
<div class="block">
|
|
|
|
<h4>Contenu Copyright</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<div class="row">
|
|
|
|
<?php echo template::checkbox('themefooterDisplayCopyright', true, 'Mention "Motorisé par"', [
|
|
|
|
'checked' => $this->getData(['theme', 'footer','displayCopyright'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<?php echo template::checkbox('themefooterDisplayVersion', true, 'Numéro de version', [
|
|
|
|
'checked' => $this->getData(['theme', 'footer','displayVersion'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<div class="row">
|
|
|
|
<?php echo template::checkbox('themefooterDisplaySiteMap', true, 'Plan du site', [
|
|
|
|
'checked' => $this->getData(['theme', 'footer', 'displaySiteMap']),
|
|
|
|
'help' => 'Un plan du site permet un meilleur référencement.'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<?php echo template::checkbox('themeFooterLoginLink', true, 'Lien de connexion', [
|
|
|
|
'checked' => $this->getData(['theme', 'footer', 'loginLink'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col12">
|
|
|
|
<div class="row">
|
|
|
|
<?php
|
|
|
|
echo template::checkbox('themeFooterDisplayLegal', true, 'Mentions légales', [
|
|
|
|
'checked' => $this->getData(['config', 'legalPageId']) === '' ? false : $this->getData(['theme', 'footer', 'displayLegal']),
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col12">
|
|
|
|
<em>Le paramétrage des mentions légales s'effectue dans la configuration du site.</em>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
2018-04-02 08:29:19 +02:00
|
|
|
<div class="block">
|
2019-06-27 16:21:43 +02:00
|
|
|
<h4>Contenu personnalisé</h4>
|
|
|
|
<?php echo template::textarea('themeFooterText', [
|
|
|
|
'label' => '<strong>Texte ou HTML personnalisé :</strong>',
|
|
|
|
'value' => $this->getData(['theme', 'footer', 'text']),
|
|
|
|
'class' => 'editorWysiwyg'
|
|
|
|
]); ?>
|
2018-04-02 08:29:19 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-03-19 06:59:28 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>Mise en forme du texte</h4>
|
|
|
|
<div class="row">
|
2019-06-18 23:29:42 +02:00
|
|
|
<div class="col3">
|
2019-03-20 20:05:03 +01:00
|
|
|
<?php echo template::select('themeFooterFont', $module::$fonts, [
|
|
|
|
'label' => 'Police',
|
|
|
|
'selected' => $this->getData(['theme', 'footer', 'font'])
|
2019-03-19 06:59:28 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::select('themeFooterFontSize', $module::$footerFontSizes, [
|
|
|
|
'label' => 'Taille',
|
2019-05-02 13:21:48 +02:00
|
|
|
'help' => 'Proportionnelle à celle définie dans le site.',
|
2019-03-19 06:59:28 +01:00
|
|
|
'selected' => $this->getData(['theme', 'footer', 'fontSize'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
2019-03-20 20:05:03 +01:00
|
|
|
<?php echo template::select('themeFooterFontWeight', $module::$fontWeights, [
|
|
|
|
'label' => 'Style',
|
|
|
|
'selected' => $this->getData(['theme', 'footer', 'fontWeight'])
|
2019-03-19 06:59:28 +01:00
|
|
|
]); ?>
|
2019-03-20 20:05:03 +01:00
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::select('themeFooterTextTransform', $module::$textTransforms, [
|
|
|
|
'label' => 'Casse',
|
|
|
|
'selected' => $this->getData(['theme', 'footer', 'textTransform'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2019-03-19 06:59:28 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-06-18 20:08:04 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
2019-06-27 16:21:43 +02:00
|
|
|
<h4>Configuration</h4>
|
2019-06-18 23:29:42 +02:00
|
|
|
<div class="row">
|
2019-06-27 16:21:43 +02:00
|
|
|
<div class="col4">
|
|
|
|
<?php $footerBlockPosition = $module::$footerblocks [$this->getData(['theme', 'footer', 'template'])]; ?>
|
|
|
|
<?php echo template::select('themeFooterTemplate', $module::$footerTemplate, [
|
|
|
|
'label' => 'Gabarits de mise en page',
|
|
|
|
'selected' => $this->getData(['theme', 'footer', 'template'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::select('themeFooterPosition', $module::$footerPositions, [
|
|
|
|
'label' => 'Position',
|
|
|
|
'selected' => $this->getData(['theme', 'footer', 'position'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<?php echo template::select('themeFooterHeight', $module::$footerHeights, [
|
|
|
|
'label' => 'Marges verticales',
|
|
|
|
'selected' => $this->getData(['theme', 'footer', 'height']),
|
|
|
|
'help' => 'La hauteur du pied de page est dynmamique selon le contenu.Ces marges sont ajoutées au-dessus et en-dessous.'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col4">
|
|
|
|
<p><strong>Contenu personnalisé</strong></p>
|
|
|
|
<?php echo template::select('themeFooterTextPosition', $footerBlockPosition, [
|
|
|
|
'label' => 'Emplacement',
|
|
|
|
'selected' => $this->getData(['theme', 'footer', 'textPosition']),
|
|
|
|
'class' => 'themeFooterContent'
|
|
|
|
]); ?>
|
|
|
|
<?php echo template::select('themeFooterTextAlign', $module::$aligns, [
|
|
|
|
'label' => 'Alignement',
|
|
|
|
'selected' => $this->getData(['theme', 'footer', 'textAlign'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<p><strong>Réseaux sociaux</strong></p>
|
|
|
|
<?php echo template::select('themeFooterSocialsPosition', $footerBlockPosition, [
|
|
|
|
'label' => 'Emplacement',
|
|
|
|
'selected' => $this->getData(['theme', 'footer', 'socialsPosition']),
|
|
|
|
'class' => 'themeFooterContent'
|
|
|
|
]); ?>
|
|
|
|
<?php echo template::select('themeFooterSocialsAlign', $module::$aligns, [
|
|
|
|
'label' => 'Alignement',
|
|
|
|
'selected' => $this->getData(['theme', 'footer', 'socialsAlign'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col4">
|
|
|
|
<p><strong>Info et copyright</strong></p>
|
|
|
|
<?php echo template::select('themeFooterCopyrightPosition', $footerBlockPosition, [
|
|
|
|
'label' => 'Emplacement',
|
|
|
|
'selected' => $this->getData(['theme', 'footer', 'copyrightPosition']),
|
|
|
|
'class' => 'themeFooterContent'
|
|
|
|
]); ?>
|
|
|
|
<?php echo template::select('themeFooterCopyrightAlign', $module::$aligns, [
|
|
|
|
'label' => 'Alignement',
|
|
|
|
'selected' => $this->getData(['theme', 'footer', 'copyrightAlign'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<div id="themeFooterPositionOptions" class="displayNone">
|
|
|
|
<?php echo template::checkbox('themeFooterMargin', true, 'Aligner le bas de page avec le contenu', [
|
|
|
|
'checked' => $this->getData(['theme', 'footer', 'margin'])
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-05-02 13:21:48 +02:00
|
|
|
</div>
|
2019-06-18 23:29:42 +02:00
|
|
|
</div>
|
2019-06-27 16:21:43 +02:00
|
|
|
|
2019-05-02 13:21:48 +02:00
|
|
|
<?php echo template::formClose(); ?>
|