diff --git a/core/module/page/page.php b/core/module/page/page.php index 4671376d..65acfa33 100644 --- a/core/module/page/page.php +++ b/core/module/page/page.php @@ -597,7 +597,7 @@ class page extends common // Supprime les balises scripts si elles ont été saisies $js = $this->getInput('pageJsEditorContent', null); $js = str_replace('', '', $js); if ($this->isPost()) { // Enregistre le JS $this->setData([ diff --git a/core/module/page/view/cssEditor/cssEditor.php b/core/module/page/view/cssEditor/cssEditor.php index 0d439466..48bd27c7 100644 --- a/core/module/page/view/cssEditor/cssEditor.php +++ b/core/module/page/view/cssEditor/cssEditor.php @@ -12,9 +12,6 @@
-
- '); ?> -
empty($this->getData(['page', $this->getUrl(2), 'css'])) ? '' : $this->getData(['page', $this->getUrl(2), 'css']), diff --git a/core/module/page/view/jsEditor/jsEditor.php b/core/module/page/view/jsEditor/jsEditor.php index d4fe85c4..6e1cee1b 100644 --- a/core/module/page/view/jsEditor/jsEditor.php +++ b/core/module/page/view/jsEditor/jsEditor.php @@ -12,9 +12,6 @@
-
- '); ?> -
empty($this->getData(['page', $this->getUrl(2), 'js'])) ? '' : $this->getData(['page', $this->getUrl(2), 'js']),