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'); ?>
+