2018-04-02 08:29:19 +02:00
< ? php echo template :: formOpen ( 'themeFooterForm' ); ?>
2019-06-27 21:10:50 +02:00
< div class = " row " >
< div class = " col2 " >
< ? php echo template :: button ( 'themeFooterBack' , [
2018-04-02 08:29:19 +02:00
'class' => 'buttonGrey' ,
'href' => helper :: baseUrl () . 'theme' ,
'ico' => 'left' ,
'value' => 'Retour'
]); ?>
2019-06-27 21:10:50 +02:00
</ div >
< div class = " col2 offset8 " >
< ? php echo template :: submit ( 'themeFooterSubmit' ); ?>
</ div >
</ div >
< div class = " row " >
< div class = " col6 " >
< div class = " block " >
< h4 > Couleurs </ h4 >
< div class = " row " >
< div class = " col6 " >
< ? php echo template :: text ( 'themeFooterBackgroundColor' , [
2018-04-02 08:29:19 +02:00
'class' => 'colorPicker' ,
'label' => 'Fond' ,
2019-12-06 17:06:28 +01:00
'value' => $this -> getData ([ 'theme' , 'footer' , 'backgroundColor' ]),
'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.'
2018-04-02 08:29:19 +02:00
]); ?>
2019-06-27 21:10:50 +02:00
</ div >
< div class = " col6 " >
< ? php echo template :: text ( 'themeFooterTextColor' , [
2018-04-02 08:29:19 +02:00
'class' => 'colorPicker' ,
'label' => 'Texte' ,
'value' => $this -> getData ([ 'theme' , 'footer' , 'textColor' ])
]); ?>
2019-06-27 21:10:50 +02:00
</ div >
</ div >
</ div >
</ div >
< div class = " col6 " >
< div class = " block " >
2019-07-07 19:33:48 +02:00
< h4 > Informations </ h4 >
2019-06-27 21:10:50 +02:00
< div class = " row " >
< div class = " col6 " >
< div class = " row " >
2019-07-07 19:33:48 +02:00
< ? php echo template :: checkbox ( 'themefooterDisplayCopyright' , true , 'Motorisé par' , [
2019-06-27 16:21:43 +02:00
'checked' => $this -> getData ([ 'theme' , 'footer' , 'displayCopyright' ])
]); ?>
2019-06-27 21:10:50 +02:00
</ div >
< div class = " row " >
< ? php echo template :: checkbox ( 'themefooterDisplayVersion' , true , 'Numéro de version' , [
2019-06-27 16:21:43 +02:00
'checked' => $this -> getData ([ 'theme' , 'footer' , 'displayVersion' ])
]); ?>
</ div >
2019-07-03 19:46:53 +02:00
< div class = " row " >
< ? php echo template :: checkbox ( 'themeFooterDisplayLegal' , true , 'Mentions légales' , [
'checked' => $this -> getData ([ 'config' , 'legalPageId' ]) === '' ? false : $this -> getData ([ 'theme' , 'footer' , 'displayLegal' ]),
]); ?>
</ div >
2019-06-27 21:10:50 +02:00
</ div >
< div class = " col6 " >
< div class = " row " >
< ? php echo template :: checkbox ( 'themefooterDisplaySiteMap' , true , 'Plan du site' , [
2019-06-27 16:21:43 +02:00
'checked' => $this -> getData ([ 'theme' , 'footer' , 'displaySiteMap' ]),
'help' => 'Un plan du site permet un meilleur référencement.'
]); ?>
2019-06-27 21:10:50 +02:00
</ div >
< div class = " row " >
< ? php echo template :: checkbox ( 'themeFooterLoginLink' , true , 'Lien de connexion' , [
2019-06-27 16:21:43 +02:00
'checked' => $this -> getData ([ 'theme' , 'footer' , 'loginLink' ])
]); ?>
</ div >
2019-06-27 21:10:50 +02:00
< div class = " row " >
2019-07-03 19:46:53 +02:00
< ? php echo template :: checkbox ( 'themeFooterDisplaySearch' , true , 'Rechercher' , [
'checked' => $this -> getData ([ 'theme' , 'footer' , 'displaySearch' ]),
2019-06-27 16:21:43 +02:00
]); ?>
2019-06-27 21:10:50 +02:00
</ div >
2019-07-03 19:46:53 +02:00
</ div >
< div class = " col12 " >
< em > Le paramétrage des mentions légales s ' effectue dans la configuration du site .</ em >
2019-06-27 16:21:43 +02:00
</ div >
</ div >
</ div >
</ div >
2019-06-27 21:10:50 +02:00
</ div >
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
< h4 > Contenu personnalisé </ h4 >
< ? php echo template :: textarea ( 'themeFooterText' , [
2019-07-07 19:33:48 +02:00
'label' => '<strong>Texte ou HTML</strong>' ,
2019-06-27 16:21:43 +02:00
'value' => $this -> getData ([ 'theme' , 'footer' , 'text' ]),
'class' => 'editorWysiwyg'
]); ?>
2019-06-27 21:10:50 +02:00
</ div >
</ div >
</ div >
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
< h4 > Mise en forme du texte </ h4 >
< div class = " row " >
< div class = " col3 " >
< ? php echo template :: select ( 'themeFooterFont' , $module :: $fonts , [
2019-03-20 20:05:03 +01:00
'label' => 'Police' ,
'selected' => $this -> getData ([ 'theme' , 'footer' , 'font' ])
2019-03-19 06:59:28 +01:00
]); ?>
2019-06-27 21:10:50 +02:00
</ div >
< div class = " col3 " >
< ? php echo template :: select ( 'themeFooterFontSize' , $module :: $footerFontSizes , [
2019-03-19 06:59:28 +01:00
'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' ])
]); ?>
2019-06-27 21:10:50 +02:00
</ div >
< div class = " col3 " >
< ? php echo template :: select ( 'themeFooterFontWeight' , $module :: $fontWeights , [
2019-03-20 20:05:03 +01:00
'label' => 'Style' ,
'selected' => $this -> getData ([ 'theme' , 'footer' , 'fontWeight' ])
2019-03-19 06:59:28 +01:00
]); ?>
2019-06-27 21:10:50 +02:00
</ div >
< div class = " col3 " >
< ? php echo template :: select ( 'themeFooterTextTransform' , $module :: $textTransforms , [
2019-03-20 20:05:03 +01:00
'label' => 'Casse' ,
'selected' => $this -> getData ([ 'theme' , 'footer' , 'textTransform' ])
]); ?>
2019-06-27 21:10:50 +02:00
</ div >
</ div >
</ div >
</ div >
</ div >
< div class = " row " >
< div class = " col12 " >
< div class = " block " >
< h4 > Configuration </ h4 >
< div class = " row " >
< div class = " col4 " >
2019-06-27 16:21:43 +02:00
< ? php $footerBlockPosition = $module :: $footerblocks [ $this -> getData ([ 'theme' , 'footer' , 'template' ])]; ?>
< ? php echo template :: select ( 'themeFooterTemplate' , $module :: $footerTemplate , [
2019-07-07 19:33:48 +02:00
'label' => 'Disposition' ,
2019-06-27 16:21:43 +02:00
'selected' => $this -> getData ([ 'theme' , 'footer' , 'template' ])
]); ?>
2019-06-27 21:10:50 +02:00
</ div >
< div class = " col4 " >
< ? php echo template :: select ( 'themeFooterPosition' , $module :: $footerPositions , [
2019-06-27 16:21:43 +02:00
'label' => 'Position' ,
'selected' => $this -> getData ([ 'theme' , 'footer' , 'position' ])
]); ?>
2019-06-27 21:10:50 +02:00
</ div >
< div class = " col4 " >
< ? php echo template :: select ( 'themeFooterHeight' , $module :: $footerHeights , [
2019-06-27 16:21:43 +02:00
'label' => 'Marges verticales' ,
2019-07-07 19:33:48 +02:00
'selected' => $this -> getData ([ 'theme' , 'footer' , 'height' ])
2019-06-27 16:21:43 +02:00
]); ?>
</ div >
2019-06-27 21:10:50 +02:00
</ div >
< div class = " row " >
< div class = " col4 " >
< p >< strong > Contenu personnalisé </ strong ></ p >
< ? php echo template :: select ( 'themeFooterTextPosition' , $footerBlockPosition , [
2019-06-27 16:21:43 +02:00
'label' => 'Emplacement' ,
'selected' => $this -> getData ([ 'theme' , 'footer' , 'textPosition' ]),
'class' => 'themeFooterContent'
]); ?>
2019-06-27 21:10:50 +02:00
< ? php echo template :: select ( 'themeFooterTextAlign' , $module :: $aligns , [
2019-06-27 16:21:43 +02:00
'label' => 'Alignement' ,
'selected' => $this -> getData ([ 'theme' , 'footer' , 'textAlign' ])
]); ?>
2019-06-27 21:10:50 +02:00
</ div >
< div class = " col4 " >
< p >< strong > Réseaux sociaux </ strong ></ p >
< ? php echo template :: select ( 'themeFooterSocialsPosition' , $footerBlockPosition , [
2019-06-27 16:21:43 +02:00
'label' => 'Emplacement' ,
'selected' => $this -> getData ([ 'theme' , 'footer' , 'socialsPosition' ]),
'class' => 'themeFooterContent'
]); ?>
2019-06-27 21:10:50 +02:00
< ? php echo template :: select ( 'themeFooterSocialsAlign' , $module :: $aligns , [
2019-06-27 16:21:43 +02:00
'label' => 'Alignement' ,
'selected' => $this -> getData ([ 'theme' , 'footer' , 'socialsAlign' ])
]); ?>
2019-06-27 21:10:50 +02:00
</ div >
< div class = " col4 " >
2019-07-07 19:33:48 +02:00
< p >< strong > Informations </ strong ></ p >
2019-06-27 21:10:50 +02:00
< ? php echo template :: select ( 'themeFooterCopyrightPosition' , $footerBlockPosition , [
2019-06-27 16:21:43 +02:00
'label' => 'Emplacement' ,
'selected' => $this -> getData ([ 'theme' , 'footer' , 'copyrightPosition' ]),
'class' => 'themeFooterContent'
]); ?>
2019-06-27 21:10:50 +02:00
< ? php echo template :: select ( 'themeFooterCopyrightAlign' , $module :: $aligns , [
2019-06-27 16:21:43 +02:00
'label' => 'Alignement' ,
'selected' => $this -> getData ([ 'theme' , 'footer' , 'copyrightAlign' ])
]); ?>
2019-06-27 21:10:50 +02:00
</ div >
< div class = " col6 " >
2019-11-12 08:41:19 +01:00
< div id = " themeFooterPositionOptions " >
2019-11-12 19:01:53 +01:00
< ? php echo template :: checkbox ( 'themeFooterMargin' , true , 'Alignement avec le contenu' , [
2019-06-27 16:21:43 +02:00
'checked' => $this -> getData ([ 'theme' , 'footer' , 'margin' ])
]); ?>
</ div >
2019-11-12 08:41:19 +01:00
</ div >
2019-06-27 16:21:43 +02:00
</ div >
2019-06-27 21:10:50 +02:00
</ div >
</ div >
</ div >
2019-05-02 13:21:48 +02:00
< ? php echo template :: formClose (); ?>