diff --git a/core/module/theme/view/menu/menu.php b/core/module/theme/view/menu/menu.php index 34ccbd0d..87746bb6 100644 --- a/core/module/theme/view/menu/menu.php +++ b/core/module/theme/view/menu/menu.php @@ -15,158 +15,53 @@
-

Couleur

+

Paramètres

-
- 'colorPicker', - 'help' => 'Le curseur horizontal règle le niveau de transparence.', - 'label' => 'Texte', - 'value' => $this->getData(['theme', 'menu', 'textColor']) - ]); ?> -
-
- 'colorPicker', - 'help' => 'Le curseur horizontal règle le niveau de transparence.', - 'label' => 'Fond', - 'value' => $this->getData(['theme', 'menu', 'backgroundColor']) - ]); ?> -
-
- 'colorPicker', - 'help' => 'Le curseur horizontal règle le niveau de transparence.', - 'label' => 'Fond du sous-menu', - 'value' => $this->getData(['theme', 'menu', 'backgroundColorSub']) - ]); ?> -
-
-
-
-
-
-
-
-

Page active

-
-
- 'colorPicker', - 'help' => 'Le curseur horizontal règle le niveau de transparence.', - 'label' => 'Texte', - 'value' => $this->getData(['theme', 'menu', 'activeTextColor']) - ]); ?> -
-
+
$this->getData(['theme', 'menu', 'activeColorAuto']), - 'help' => 'La couleur de fond de la page active peut être définie automatique ou selon une couleur définie, comme par exemple celle de fond des pages.' + if ( $this->getData(['theme', 'header', 'position']) == "site") + { echo template::select('themeMenuPosition', $module::$menuPositionsSite, [ + 'label' => 'Position', + 'selected' => $this->getData(['theme', 'menu', 'position']) + ]); + }else{ + echo template::select('themeMenuPosition', $module::$menuPositionsBody, [ + 'label' => 'Position', + 'selected' => $this->getData(['theme', 'menu', 'position']) + ]); } + ?> +
+
+ 'Bords arrondis', + 'selected' => $this->getData(['theme', 'menu', 'radius']), + 'help' => 'Autour de la page sélectionnée' ]); ?>
-
- 'colorPicker', - 'help' => 'Couleur de fond de la page sélectionnée dans le menu.
Le curseur horizontal règle le niveau de transparence.', - 'label' => 'Fond', - 'value' => $this->getData(['theme', 'menu', 'activeColor']) - ]); ?> -
-
-
-
-
-
-
-
-

Mise en forme du texte

-
-
- 'Police', - 'selected' => $this->getData(['theme', 'menu', 'font']), - 'fonts' => true - ]); ?> -
-
- 'Taille', - 'help' => 'Proportionnelle à celle définie dans le site', - 'selected' => $this->getData(['theme', 'menu', 'fontSize']) - ]); ?> -
- 'Style', - 'selected' => $this->getData(['theme', 'menu', 'fontWeight']) - ]); ?> + 'Hauteur', + 'selected' => $this->getData(['theme', 'menu', 'height']) + ]); ?>
- 'Casse', - 'selected' => $this->getData(['theme', 'menu', 'textTransform']) - ]); ?> + 'Alignement du contenu', + 'selected' => $this->getData(['theme', 'menu', 'textAlign']) + ]); ?>
-
+
+ $this->getData(['theme', 'menu', 'margin']) + ]); ?>
-
-
-
-
-

Configuration

-
-
- getData(['theme', 'header', 'position']) == "site") - { echo template::select('themeMenuPosition', $module::$menuPositionsSite, [ - 'label' => 'Position', - 'selected' => $this->getData(['theme', 'menu', 'position']) - ]); - }else{ - echo template::select('themeMenuPosition', $module::$menuPositionsBody, [ - 'label' => 'Position', - 'selected' => $this->getData(['theme', 'menu', 'position']) - ]); } - ?> -
-
- 'Bords arrondis', - 'selected' => $this->getData(['theme', 'menu', 'radius']), - 'help' => 'Autour de la page sélectionnée' - ]); ?> -
-
-
-
- 'Hauteur', - 'selected' => $this->getData(['theme', 'menu', 'height']) - ]); ?> -
-
- 'Alignement du contenu', - 'selected' => $this->getData(['theme', 'menu', 'textAlign']) - ]); ?> -
-
-
- $this->getData(['theme', 'menu', 'margin']) - ]); ?> -
-
- $this->getData(['theme', 'menu', 'fixed']) - ]); ?> -
- -
+
+ $this->getData(['theme', 'menu', 'fixed']) + ]); ?>
@@ -211,4 +106,99 @@
+
+
+
+

Couleurs

+
+
+ 'colorPicker', + 'help' => 'Le curseur horizontal règle le niveau de transparence.', + 'label' => 'Texte', + 'value' => $this->getData(['theme', 'menu', 'textColor']) + ]); ?> +
+
+ 'colorPicker', + 'help' => 'Le curseur horizontal règle le niveau de transparence.', + 'label' => 'Fond', + 'value' => $this->getData(['theme', 'menu', 'backgroundColor']) + ]); ?> +
+
+ 'colorPicker', + 'help' => 'Le curseur horizontal règle le niveau de transparence.', + 'label' => 'Fond du sous-menu', + 'value' => $this->getData(['theme', 'menu', 'backgroundColorSub']) + ]); ?> +
+
+
+
+ 'colorPicker', + 'help' => 'Le curseur horizontal règle le niveau de transparence.', + 'label' => 'Texte page active', + 'value' => $this->getData(['theme', 'menu', 'activeTextColor']) + ]); ?> +
+
+ $this->getData(['theme', 'menu', 'activeColorAuto']), + 'help' => 'La couleur de fond de la page active peut être définie automatique ou selon une couleur définie, comme par exemple celle de fond des pages.' + ]); ?> +
+
+ 'colorPicker', + 'help' => 'Couleur de fond de la page sélectionnée dans le menu.
Le curseur horizontal règle le niveau de transparence.', + 'label' => 'Fond page active', + 'value' => $this->getData(['theme', 'menu', 'activeColor']) + ]); ?> +
+
+
+
+
+
+
+
+

Mise en forme du texte

+
+
+ 'Police', + 'selected' => $this->getData(['theme', 'menu', 'font']), + 'fonts' => true + ]); ?> +
+
+ 'Taille', + 'help' => 'Proportionnelle à celle définie dans le site', + 'selected' => $this->getData(['theme', 'menu', 'fontSize']) + ]); ?> +
+
+
+
+ 'Style', + 'selected' => $this->getData(['theme', 'menu', 'fontWeight']) + ]); ?> +
+
+ 'Casse', + 'selected' => $this->getData(['theme', 'menu', 'textTransform']) + ]); ?> +
+
+
+
+