diff --git a/module/gallery/gallery.php b/module/gallery/gallery.php index 14bcae07..27a7d9d2 100755 --- a/module/gallery/gallery.php +++ b/module/gallery/gallery.php @@ -19,7 +19,7 @@ class gallery extends common { const SORT_ASC = 'SORT_ASC'; const SORT_DSC = 'SORT_DSC'; const SORT_HAND = 'SORT_HAND'; - const GALLERY_VERSION = '2.25'; + const GALLERY_VERSION = '2.26'; public static $directories = []; @@ -66,7 +66,16 @@ class gallery extends common { 'right' => 'À droite' ]; - public static $galleryThemeSize = [ + public static $galleryThemeSizeWidth = [ + '9em' => 'Très petite', + '12em' => 'Petite', + '15em' => 'Moyenne', + '18em' => 'Grande', + '21em' => 'Très grande', + '100%' => 'Proportionnelle' + ]; + + public static $galleryThemeSizeHeight = [ '9em' => 'Très petite', '12em' => 'Petite', '15em' => 'Moyenne', diff --git a/module/gallery/view/theme/theme.php b/module/gallery/view/theme/theme.php index 5e756cc9..704cb0c7 100755 --- a/module/gallery/view/theme/theme.php +++ b/module/gallery/view/theme/theme.php @@ -10,7 +10,7 @@
-
+
@@ -18,17 +18,17 @@

Configuration des vignettes

- 'Largeur', 'selected' => $this->getData(['theme', $this->getUrl(0),'thumbWidth']) ]); ?>
- 'Hauteur', 'selected' => $this->getData(['theme', $this->getUrl(0),'thumbHeight']) ]); ?> -
+
'Alignement', @@ -48,15 +48,15 @@ 'label' => 'Bordure', 'selected' => $this->getData(['theme', $this->getUrl(0),'thumbBorder']) ]); ?> -
+
'colorPicker', - 'help' => 'Le curseur horizontal règle le niveau de transparence.', + 'help' => 'Le curseur horizontal règle le niveau de transparence.', 'label' => 'Couleur de la bordure', 'value' => $this->getData(['theme', $this->getUrl(0),'thumbBorderColor']) ]); ?> -
+
'Arrondi des angles', @@ -64,7 +64,7 @@ ]); ?>
-
+
'Ombre', @@ -74,20 +74,20 @@
'colorPicker', - 'help' => 'Le curseur horizontal règle le niveau de transparence.', + 'help' => 'Le curseur horizontal règle le niveau de transparence.', 'label' => 'Couleur de l\'ombre', 'value' => $this->getData(['theme', $this->getUrl(0),'thumbShadowsColor']) ]); ?> -
+
'Opacité au survol', 'selected' => $this->getData(['theme', $this->getUrl(0),'thumbOpacity']) ]); ?> -
+
- - + +
@@ -97,19 +97,19 @@
'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', $this->getUrl(0),'legendTextColor']) - ]); ?> + ]); ?>
'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', $this->getUrl(0),'legendBgColor']) - ]); ?> -
+ ]); ?> +
'Hauteur', @@ -125,11 +125,11 @@
- +
Version n°
-
\ No newline at end of file + \ No newline at end of file