Libellés dans le thème

This commit is contained in:
Fred Tempez 2023-03-03 09:03:27 +01:00
parent a1e1b9dace
commit e4d3b100a8
3 changed files with 26 additions and 18 deletions

View File

@ -22,7 +22,9 @@
<div class="row"> <div class="row">
<div class="col12"> <div class="col12">
<div class="block"> <div class="block">
<h4><?php echo helper::translate('Paramètres'); ?></h4> <h4>
<?php echo helper::translate('Paramètres'); ?>
</h4>
<div class="row"> <div class="row">
<div class="col6"> <div class="col6">
<?php echo template::select('themeFooterPosition', $module::$footerPositions, [ <?php echo template::select('themeFooterPosition', $module::$footerPositions, [
@ -59,7 +61,9 @@
<div class="row"> <div class="row">
<div class="col12"> <div class="col12">
<div class="block"> <div class="block">
<h4><?php echo helper::translate('Couleurs'); ?></h4> <h4>
<?php echo helper::translate('Couleurs'); ?>
</h4>
<div class="row"> <div class="row">
<div class="col6"> <div class="col6">
<?php echo template::text('themeFooterTextColor', [ <?php echo template::text('themeFooterTextColor', [
@ -83,7 +87,9 @@
<div class="row"> <div class="row">
<div class="col12"> <div class="col12">
<div class="block"> <div class="block">
<?php echo helper::translate('Contenu'); ?></h4> <h4>
<?php echo helper::translate('Éléments'); ?>
</h4>
<div class="row"> <div class="row">
<div class="col3"> <div class="col3">
<?php echo template::checkbox('themefooterDisplayCopyright', true, 'Motorisé par', [ <?php echo template::checkbox('themefooterDisplayCopyright', true, 'Motorisé par', [
@ -159,7 +165,7 @@
<div class="row"> <div class="row">
<div class="col12"> <div class="col12">
<?php echo template::textarea('themeFooterText', [ <?php echo template::textarea('themeFooterText', [
'label' => '<div class="titleWysiwygContent">' . helper::translate('Contenu personnalisé') . '</div>', 'label' => '<div class="titleWysiwygContent">' . helper::translate('Contenu HTML') . '</div>',
'value' => $this->getData(['theme', 'footer', 'text']), 'value' => $this->getData(['theme', 'footer', 'text']),
'class' => 'editorWysiwyg' 'class' => 'editorWysiwyg'
]); ?> ]); ?>
@ -168,7 +174,8 @@
<div class="row"> <div class="row">
<div class="col12"> <div class="col12">
<div class="block"> <div class="block">
<h4><?php echo helper::translate('Mise en forme du texte'); ?> <h4>
<?php echo helper::translate('Mise en forme du texte'); ?>
</h4> </h4>
<div class="row"> <div class="row">
<div class="col3"> <div class="col3">
@ -204,7 +211,8 @@
<div class="row"> <div class="row">
<div class="col12"> <div class="col12">
<div class="block"> <div class="block">
<h4><?php echo helper::translate('Disposition'); ?> <h4>
<?php echo helper::translate('Disposition'); ?>
</h4> </h4>
<div class="row"> <div class="row">
<div class="col4"> <div class="col4">
@ -219,7 +227,7 @@
<div class="col4"> <div class="col4">
<p> <p>
<strong> <strong>
<?php echo helper::translate('Contenu personnalisé'); ?> <?php echo helper::translate('Contenu HTML'); ?>
</strong> </strong>
</p> </p>
<div class="row"> <div class="row">

View File

@ -33,7 +33,7 @@
</div> </div>
<div class="col4"> <div class="col4">
<?php echo template::select('themeHeaderFeature', $module::$headerFeatures, [ <?php echo template::select('themeHeaderFeature', $module::$headerFeatures, [
'label' => 'Nature de contenu', 'label' => 'Contenu',
'selected' => $this->getData(['theme', 'header', 'feature']) 'selected' => $this->getData(['theme', 'header', 'feature'])
]); ?> ]); ?>
</div> </div>
@ -104,7 +104,7 @@
</h4> </h4>
<div class="row"> <div class="row">
<div class="col4"> <div class="col4">
<?php echo template::checkbox('themeHeaderTextHide', true, 'Masquer le Titre', [ <?php echo template::checkbox('themeHeaderTextHide', true, 'Titre masqué', [
'checked' => $this->getData(['theme', 'header', 'textHide']) 'checked' => $this->getData(['theme', 'header', 'textHide'])
]); ?> ]); ?>
</div> </div>

View File

@ -39,7 +39,7 @@
</div> </div>
<div class="col4"> <div class="col4">
<?php echo template::select('themeSiteShadow', $module::$shadows, [ <?php echo template::select('themeSiteShadow', $module::$shadows, [
'label' => 'Ombre sur les bords du site', 'label' => 'Ombre',
'selected' => $this->getData(['theme', 'site', 'shadow']) 'selected' => $this->getData(['theme', 'site', 'shadow'])
]); ?> ]); ?>
</div> </div>