diff --git a/core/class/template.class.php b/core/class/template.class.php index 7f59f265..82554bf5 100755 --- a/core/class/template.class.php +++ b/core/class/template.class.php @@ -244,7 +244,7 @@ class template { 'value' => $attributes['value'] ]); // Champ d'upload - $html .= '
'; + $html .= '
'; $html .= sprintf( ' nav { @@ -1020,10 +1020,10 @@ label { } /* Empêche le débordement et les sauts de ligne */ -.inputFileWrapper { +.inputFileManagerWrapper { display: inline; } -.inputFileWrapper > .inputFile { +.inputFileManagerWrapper > .inputFile { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; diff --git a/core/module/theme/view/body/body.php b/core/module/theme/view/body/body.php index 04746e48..b65db690 100755 --- a/core/module/theme/view/body/body.php +++ b/core/module/theme/view/body/body.php @@ -41,21 +41,26 @@ 'help' => 'Le curseur horizontal règle le niveau de transparence.', 'label' => 'Icône haut de page', 'value' => $this->getData(['theme', 'body', 'toTopColor']) - ]); ?> + ]); ?>
- +

Image

- getData(['theme', 'body', 'image'])) ? $this->getData(['theme', 'body', 'image']) : ""; - echo template::file('themeBodyImage', [ - 'label' => 'Fond', - 'type' => 1, - 'value' => $imageFile - ]); ?> +
+
+ getData(['theme', 'body', 'image'])) ? $this->getData(['theme', 'body', 'image']) : ""; + echo template::file('themeBodyImage', [ + 'help' => 'Sélectionner une image', + 'label' => 'Fond', + 'type' => 1, + 'value' => $imageFile + ]); ?> +
+
diff --git a/core/module/theme/view/header/header.php b/core/module/theme/view/header/header.php index 8d3b41cf..34b54e91 100755 --- a/core/module/theme/view/header/header.php +++ b/core/module/theme/view/header/header.php @@ -20,7 +20,7 @@
'colorPicker', - 'help' => 'Le curseur horizontal règle le niveau de transparence.', + 'help' => 'Le curseur horizontal règle le niveau de transparence.', 'label' => 'Fond', 'value' => $this->getData(['theme', 'header', 'backgroundColor']) ]); ?> @@ -30,7 +30,7 @@
'colorPicker', - 'help' => 'Le curseur horizontal règle le niveau de transparence.', + 'help' => 'Le curseur horizontal règle le niveau de transparence.', 'label' => 'Texte', 'value' => $this->getData(['theme', 'header', 'textColor']) ]); ?> @@ -47,6 +47,7 @@ $imageFile = file_exists(self::FILE_DIR.'source/'.$this->getData(['theme', 'header', 'image'])) ? $this->getData(['theme', 'header', 'image']) : ""; echo template::file('themeHeaderImage', [ + 'help' => 'Sélectionner une image aux dimensions recommandées ci-dessous :', 'label' => 'Fond', 'type' => 1, 'value' => $imageFile @@ -77,15 +78,15 @@
$this->getData(['theme', 'header', 'linkHomePage']) - ]); ?> -
+ ]); ?> +
Dimensions de l'image : largeur - hauteur - ratio -
+
@@ -110,7 +111,7 @@ Cover pour une image plus grande que la bannière, Contain pour une image plus petite. Les modes Auto et Etiré ne provoquent pas de modification de la hauteur de la bannière.' ]); ?> -
+
'Hauteur maximale',