Limitation dimension champs CSS et Script
This commit is contained in:
parent
df24c95a5d
commit
e49b5c16c1
@ -2,6 +2,7 @@
|
||||
|
||||
## Version 12.3.02
|
||||
- Amélioration de l'obfuscation.
|
||||
- Corrige la limitation de 500 caractères des scripts JS et du style CSS stockés avec la page.
|
||||
|
||||
## Version 12.3.01
|
||||
### Améliorations :
|
||||
|
@ -578,7 +578,7 @@ class page extends common
|
||||
{
|
||||
// Soumission du formulaire
|
||||
if ($this->isPost()) {
|
||||
$css = $this->getInput('pageCssEditorContent') === null ? '' : $this->getInput('pageCssEditorContent');
|
||||
$css = $this->getInput('pageCssEditorContent', helper::FILTER_STRING_LONG) === null ? '' : $this->getInput('pageCssEditorContent', helper::FILTER_STRING_LONG);
|
||||
// Enregistre le CSS
|
||||
$this->setData([
|
||||
'page', $this->getUrl(2),
|
||||
@ -609,7 +609,7 @@ class page extends common
|
||||
{
|
||||
// Soumission du formulaire
|
||||
if ($this->isPost()) {
|
||||
$js = $this->getInput('pageJsEditorContent') === null ? '' : $this->getInput('pageJsEditorContent');
|
||||
$js = $this->getInput('pageJsEditorContent', helper::FILTER_STRING_LONG) === null ? '' : $this->getInput('pageJsEditorContent', helper::FILTER_STRING_LONG);
|
||||
// Enregistre le JS
|
||||
$this->setData([
|
||||
'page', $this->getUrl(2),
|
||||
|
Loading…
Reference in New Issue
Block a user