diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index c6b07d6..fb6a6c4 100644 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -523,7 +523,8 @@ class theme extends common { $this->addOutput([ 'title' => $text['core_theme']['header'][1], 'vendor' => [ - 'tinycolorpicker' + 'tinycolorpicker', + 'tinymce' ], 'view' => 'header' ]); diff --git a/core/module/theme/view/header/header.php b/core/module/theme/view/header/header.php index 0ba6a1a..2e44d73 100644 --- a/core/module/theme/view/header/header.php +++ b/core/module/theme/view/header/header.php @@ -3,18 +3,8 @@ include('./core/module/theme/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) . '/lex_theme.php'); // Passage de la langue d'administration à Tinymce ?> - -'; -echo ''; -echo ''; -echo template::formOpen('themeFooterForm'); - -echo template::formOpen('themeHeaderForm'); -?> + +
addOutput([ 'title' => $text['blog']['add'][1], 'vendor' => [ - 'flatpickr' + 'flatpickr', + 'tinymce' ], 'view' => 'add' ]); @@ -704,7 +705,8 @@ class blog extends common { $this->addOutput([ 'title' => $this->getData(['module', $this->getUrl(0), 'posts', $this->getUrl(2), 'title']), 'vendor' => [ - 'flatpickr' + 'flatpickr', + 'tinymce' ], 'view' => 'edit' ]); diff --git a/module/blog/view/add/add.php b/module/blog/view/add/add.php index 9807ded..2bb31bd 100644 --- a/module/blog/view/add/add.php +++ b/module/blog/view/add/add.php @@ -6,12 +6,10 @@ include('./module/blog/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) . // Passage de la langue d'administration à Tinymce et flatpickr $lang_admin = $text['blog_view']['add'][24]; $lang_flatpickr = $text['blog_view']['add'][25]; -?>'; -echo ''; -echo ''; +?> + -echo template::formOpen('blogAddForm'); ?> +
getData(['config', 'i18n', 'langAdmin']) . // Passage de la langue d'administration à Tinymce et flatpickr $lang_admin = $text['blog_view']['edit'][24]; $lang_flatpickr = $text['blog_view']['edit'][25]; -?>'; -echo ''; -echo ''; +?> + -echo template::formOpen('blogEditForm'); ?> +
addOutput([ 'title' => $text['news']['add'][1], 'vendor' => [ - 'flatpickr' + 'flatpickr', + 'tinymce' ], 'view' => 'add' ]); @@ -376,7 +377,8 @@ class news extends common { $this->addOutput([ 'title' => $this->getData(['module', $this->getUrl(0),'posts', $this->getUrl(2), 'title']), 'vendor' => [ - 'flatpickr' + 'flatpickr', + 'tinymce' ], 'view' => 'edit' ]); diff --git a/module/news/view/add/add.php b/module/news/view/add/add.php index 1c4b7cc..4404258 100644 --- a/module/news/view/add/add.php +++ b/module/news/view/add/add.php @@ -5,12 +5,9 @@ include('./module/news/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) . // Passage de la langue d'administration à Tinymce et flatpickr $lang_admin = $text['news_view']['add'][12]; $lang_flatpickr = $text['news_view']['add'][13]; -?>'; -echo ''; -echo ''; +?> -echo template::formOpen('newsAddForm'); ?> +
getData(['config', 'i18n', 'langAdmin']) . // Passage de la langue d'administration à Tinymce et flatpickr $lang_admin = $text['news_view']['edit'][12]; $lang_flatpickr = $text['news_view']['edit'][13]; -?>'; -echo ''; -echo ''; +?> -echo template::formOpen('newsEditForm'); ?> +