diff --git a/module/gallery/lang/en/lex_gallery.php b/module/gallery/lang/en/lex_gallery.php index d2312bf..451c385 100644 --- a/module/gallery/lang/en/lex_gallery.php +++ b/module/gallery/lang/en/lex_gallery.php @@ -10,6 +10,8 @@ $text['gallery_view']['config'][6] = 'Target folder'; $text['gallery_view']['config'][7] = 'No galleries'; $text['gallery_view']['config'][8] = 'Version no.'; $text['gallery_view']['config'][9] = "Are you sure you want to delete this gallery ?"; +$text['gallery_view']['config'][10] = 'Help'; +$text['gallery_view']['config'][11] = 'module/gallery/view/config/config.help_en.html'; $text['gallery_view']['edit'][0] = 'Back'; $text['gallery_view']['edit'][1] = 'Save'; $text['gallery_view']['edit'][2] = 'Image setting'; diff --git a/module/gallery/lang/fr/lex_gallery.php b/module/gallery/lang/fr/lex_gallery.php index d2afc13..3fc30a5 100644 --- a/module/gallery/lang/fr/lex_gallery.php +++ b/module/gallery/lang/fr/lex_gallery.php @@ -10,6 +10,8 @@ $text['gallery_view']['config'][6] = 'Dossier cible'; $text['gallery_view']['config'][7] = 'Aucune galerie.'; $text['gallery_view']['config'][8] = 'Version n°'; $text['gallery_view']['config'][9] = "Êtes-vous sûr de vouloir supprimer cette galerie ?"; +$text['gallery_view']['config'][10] = 'Aide'; +$text['gallery_view']['config'][11] = 'module/gallery/view/config/config.help.html'; $text['gallery_view']['edit'][0] = 'Retour'; $text['gallery_view']['edit'][1] = 'Enregistrer'; $text['gallery_view']['edit'][2] = 'Paramètre des images'; diff --git a/module/gallery/view/config/config.help.html b/module/gallery/view/config/config.help.html new file mode 100644 index 0000000..2befea3 --- /dev/null +++ b/module/gallery/view/config/config.help.html @@ -0,0 +1,2 @@ +

GALERIE

+ \ No newline at end of file diff --git a/module/gallery/view/config/config.help_en.html b/module/gallery/view/config/config.help_en.html new file mode 100644 index 0000000..c67613a --- /dev/null +++ b/module/gallery/view/config/config.help_en.html @@ -0,0 +1,2 @@ +

GALERIE

+ \ No newline at end of file diff --git a/module/gallery/view/config/config.php b/module/gallery/view/config/config.php index c675858..b4ccb67 100644 --- a/module/gallery/view/config/config.php +++ b/module/gallery/view/config/config.php @@ -13,13 +13,24 @@ echo template::formOpen('galleryConfigForm'); ?> 'value' => $text['gallery_view']['config'][0] ]); ?> -
+
+ 'buttonHelp', + 'ico' => 'help', + 'value' => $text['gallery_view']['config'][10] + ]); ?> +
+
helper::baseUrl() . $this->getUrl(0) . '/theme/' . $_SESSION['csrf'], 'value' => template::ico('brush','right') . $text['gallery_view']['config'][1], ]); ?>
+ +
+ +