diff --git a/module/news/lang/en/lex_news.php b/module/news/lang/en/lex_news.php index 1566cde..75a7ff6 100644 --- a/module/news/lang/en/lex_news.php +++ b/module/news/lang/en/lex_news.php @@ -31,6 +31,8 @@ $text['news_view']['config'][28] = "Are you sure you want to delete this news ? $text['news_view']['config'][29] = "This setting only concerns paragraphs or groups of simple paragraphs (p tag). A title, an image or an iframe are not concerned. In a truncated paragraph all html tags disappear (no formatting, no links). For links use images or h2, h3,... "; $text['news_view']['config'][30] = "Image or iframe without margin"; $text['news_view']['config'][31] = "An image or iframe will appear without margin, otherwise the margins are identical to those of a paragraph"; +$text['news_view']['config'][32] = 'Help'; +$text['news_view']['config'][33] = 'module/news/view/config/config.help_en.html'; $text['news_view']['index'][0] = 'read more'; $text['news_view']['index'][1] = 'No news.'; $text['news_view']['index'][2] = ' Edit'; diff --git a/module/news/lang/fr/lex_news.php b/module/news/lang/fr/lex_news.php index e786e05..97afde2 100644 --- a/module/news/lang/fr/lex_news.php +++ b/module/news/lang/fr/lex_news.php @@ -31,6 +31,8 @@ $text['news_view']['config'][28] = "Êtes-vous sûr de vouloir supprimer cette n $text['news_view']['config'][29] = "Ce réglage ne concerne que les paragraphes ou les groupes de paragraphes simples (balise p). Un titre, une image, un iframe ne sont pas concernés. Dans un paragraphe tronqué toutes les balises html disparaissent (pas de mise en forme, pas de liens). Pour les liens utilisez les images ou h2, h3,..."; $text['news_view']['config'][30] = "Image ou iframe sans marge"; $text['news_view']['config'][31] = "Une image ou un iframe apparaîtront sans marge, sinon les marges sont identiques à celles d'un paragraphe"; +$text['news_view']['config'][32] = 'Aide'; +$text['news_view']['config'][33] = 'module/news/view/config/config.help.html'; $text['news_view']['index'][0] = 'lire la suite'; $text['news_view']['index'][1] = 'Aucune news.'; $text['news_view']['index'][2] = ' Editer'; diff --git a/module/news/view/config/config.help.html b/module/news/view/config/config.help.html new file mode 100644 index 0000000..712f4d7 --- /dev/null +++ b/module/news/view/config/config.help.html @@ -0,0 +1,2 @@ +

NEWS

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

NEWS

+ diff --git a/module/news/view/config/config.php b/module/news/view/config/config.php index 25eb531..591974f 100644 --- a/module/news/view/config/config.php +++ b/module/news/view/config/config.php @@ -12,7 +12,14 @@ echo template::formOpen('newsConfig'); ?> 'value' => $text['news_view']['config'][0] ]); ?> -
+
+ 'buttonHelp', + 'ico' => 'help', + 'value' => $text['news_view']['config'][32] + ]); ?> +
+
helper::baseUrl() . $this->getUrl(0) . '/add', 'ico' => 'plus', @@ -25,6 +32,10 @@ echo template::formOpen('newsConfig'); ?> ]); ?>
+ +
+ +