forked from ZwiiCMS-Team/ZwiiCMS
Disposition footer
This commit is contained in:
parent
800e95a92e
commit
1021300f11
@ -15,9 +15,21 @@
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4>Couleurs</h4>
|
||||
<h4>Paramètres</h4>
|
||||
<div class="row">
|
||||
<div class="col6">
|
||||
<div class="col3">
|
||||
<?php echo template::select('themeFooterPosition', $module::$footerPositions, [
|
||||
'label' => 'Position',
|
||||
'selected' => $this->getData(['theme', 'footer', 'position'])
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col3">
|
||||
<?php echo template::select('themeFooterHeight', $module::$footerHeights, [
|
||||
'label' => 'Marges verticales',
|
||||
'selected' => $this->getData(['theme', 'footer', 'height'])
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col3">
|
||||
<?php echo template::text('themeFooterBackgroundColor', [
|
||||
'class' => 'colorPicker',
|
||||
'label' => 'Fond',
|
||||
@ -25,7 +37,7 @@
|
||||
'help' => 'Quand le pied de page est dans le site, l\'arrière plan transparent montre le fond de la page. Quand le pied de page est hors du site, l\'arrière plan transparent montre le fond du site.'
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col6">
|
||||
<div class="col3">
|
||||
<?php echo template::text('themeFooterTextColor', [
|
||||
'class' => 'colorPicker',
|
||||
'label' => 'Texte',
|
||||
@ -39,76 +51,68 @@
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4>Informations</h4>
|
||||
<h4>Contenu</h4>
|
||||
<div class="row">
|
||||
<div class="col4">
|
||||
<div class="col2">
|
||||
<?php echo template::checkbox('themefooterDisplayCopyright', true, 'Motorisé par', [
|
||||
'checked' => $this->getData(['theme', 'footer','displayCopyright']),
|
||||
'help' => 'Affiche cette mention devant ZwiiCMS'
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<div class="col2">
|
||||
<?php echo template::checkbox('themefooterDisplayVersion', true, 'Version', [
|
||||
'checked' => $this->getData(['theme', 'footer','displayVersion']),
|
||||
'help' => 'Affiche le numéro de version après ZwiiCMS'
|
||||
]); ?>
|
||||
</div>
|
||||
|
||||
<div class="col4">
|
||||
<div class="col2">
|
||||
<?php echo template::checkbox('themefooterDisplaySiteMap', true, 'Plan du site', [
|
||||
'checked' => $this->getData(['theme', 'footer', 'displaySiteMap'])
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col6">
|
||||
<div class="col2">
|
||||
<?php echo template::checkbox('themeFooterLoginLink', true, 'Lien de connexion', [
|
||||
'checked' => $this->getData(['theme', 'footer', 'loginLink']),
|
||||
'help' => 'Pour limiter les tentatives de piratage, enregistrez la page de connexion en favori et désactivez cette option.'
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col6">
|
||||
<div class="col2">
|
||||
<?php echo template::checkbox('themeFooterDisplayMemberBar', true, 'Barre du membre', [
|
||||
'checked' => $this->getData(['theme', 'footer', 'displayMemberBar']),
|
||||
'help' => 'Affiche les icônes de gestion du compte et de déconnexion des membres simples connectés, ne s\'applique pas aux éditeurs et administrateurs.'
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4>Pages spéciales</h4>
|
||||
<div class="row">
|
||||
<div class="col3 textAlignRight">
|
||||
<div class="col2">
|
||||
<?php echo template::checkbox('themeFooterDisplayLegal', true, 'Mentions légales', [
|
||||
'checked' => $this->getData(['locale', 'legalPageId']) === 'none' ? false : $this->getData(['theme', 'footer', 'displayLegal']),
|
||||
'disabled' => $this->getData(['locale', 'legalPageId']) === 'none' ? true : false,
|
||||
'help' => $this->getData(['locale', 'legalPageId']) === 'none' ? 'Une page contenant les mentions légales n\'est pas définie dans la configuration du site / pages spéciales.' : ''
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col3">
|
||||
<?php echo template::select('configLegalPageId', array_merge(['none' => 'Aucune'] , helper::arrayCollumn($module::$pagesList, 'title', 'SORT_ASC') ) , [
|
||||
'label' => 'Page Mentions légales ' . template::flag('site', '20px'),
|
||||
'selected' => $this->getData(['locale', 'legalPageId'])
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col3 textAlignRight">
|
||||
<div class="col4">
|
||||
<?php echo template::select('configLegalPageId', array_merge(['none' => 'Aucune'] , helper::arrayCollumn($module::$pagesList, 'title', 'SORT_ASC') ) , [
|
||||
'label' => 'Page Mentions légales ' . template::flag('site', '20px'),
|
||||
'selected' => $this->getData(['locale', 'legalPageId'])
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col2">
|
||||
<?php echo template::checkbox('themeFooterDisplaySearch', true, 'Rechercher', [
|
||||
'checked' => $this->getData(['locale', 'searchPageId']) === 'none' ? false : $this->getData(['theme', 'footer', 'displaySearch']),
|
||||
'disabled' => $this->getData(['locale', 'searchPageId']) === 'none' ? true : false,
|
||||
'help' => $this->getData(['locale', 'searchPageId']) === 'none' ? 'Une page contenant un module de recherche n\'est pas définie dans la configuration du site / pages spéciales.' : ''
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col3">
|
||||
<?php echo template::select('configSearchPageId', array_merge(['none' => 'Aucune'] , helper::arrayCollumn($module::$pagesList, 'title', 'SORT_ASC') ) , [
|
||||
'label' => 'Page Rechercher ' . template::flag('site', '20px'),
|
||||
'selected' => $this->getData(['locale', 'searchPageId']),
|
||||
'help' => 'Options identique à la configuration du site',
|
||||
<div class="col4">
|
||||
<?php echo template::select('configSearchPageId', array_merge(['none' => 'Aucune'] , helper::arrayCollumn($module::$pagesList, 'title', 'SORT_ASC') ) , [
|
||||
'label' => 'Page Rechercher ' . template::flag('site', '20px'),
|
||||
'selected' => $this->getData(['locale', 'searchPageId']),
|
||||
'help' => 'Options identique à la configuration du site',
|
||||
|
||||
]); ?>
|
||||
</div>
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -163,27 +167,15 @@
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4>Configuration des blocs</h4>
|
||||
<h4>Dispositions</h4>
|
||||
<div class="row">
|
||||
<div class="col4">
|
||||
<?php $footerBlockPosition = is_null($this->getData(['theme', 'footer', 'template'])) ? $module::$footerblocks[3] : $module::$footerblocks [$this->getData(['theme', 'footer', 'template'])] ;?>
|
||||
<?php echo template::select('themeFooterTemplate', $module::$footerTemplate, [
|
||||
'label' => 'Disposition',
|
||||
'label' => 'Répartition',
|
||||
'selected' => is_null($this->getData(['theme', 'footer', 'template'])) ? 4 : $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'])
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col4">
|
||||
@ -191,7 +183,7 @@
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<?php echo template::select('themeFooterTextPosition', $footerBlockPosition, [
|
||||
'label' => 'Emplacement',
|
||||
'label' => 'Position',
|
||||
'selected' => $this->getData(['theme', 'footer', 'textPosition']),
|
||||
'class' => 'themeFooterContent'
|
||||
]); ?>
|
||||
@ -211,7 +203,7 @@
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<?php echo template::select('themeFooterSocialsPosition', $footerBlockPosition, [
|
||||
'label' => 'Emplacement',
|
||||
'label' => 'Position',
|
||||
'selected' => $this->getData(['theme', 'footer', 'socialsPosition']),
|
||||
'class' => 'themeFooterContent'
|
||||
]); ?>
|
||||
@ -231,7 +223,7 @@
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<?php echo template::select('themeFooterCopyrightPosition', $footerBlockPosition, [
|
||||
'label' => 'Emplacement',
|
||||
'label' => 'Position',
|
||||
'selected' => $this->getData(['theme', 'footer', 'copyrightPosition']),
|
||||
'class' => 'themeFooterContent'
|
||||
]); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user