commit 1a05fd5683afb8acbce5fcef2ef9f079011fa92c
parent 3e299c69fe996bf0a4027ff663637405c2f83d33
Author: dankert <devnull@localhost>
Date: Tue, 22 May 2007 23:33:14 +0200
Korrektur f?r Anzeige und Abspeichern von Parametern f?r dynamische Klassen.
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/actionClasses/ElementAction.class.php b/actionClasses/ElementAction.class.php
@@ -433,8 +433,8 @@ class ElementAction extends Action
}
$this->setTemplateVar('dynamic_class_description',$dynEl->description );
- $this->setTemplateVar('dynamic_class_parameters' ,$paramList );
- $this->setTemplateVar('parameters',htmlentities($parameters) );
+ $this->setTemplateVar('dynamic_class_parameters' ,$paramList );
+ $this->setTemplateVar('parameters' ,$parameters );
}
}
@@ -579,6 +579,9 @@ class ElementAction extends Action
if ( $this->hasRequestVar('linkelement') )
$this->element->setPrefix( $this->getRequestVar('linkelement') );
+ if ( $this->hasRequestVar('parameters'))
+ $this->element->code = $this->getRequestVar('parameters');
+
// if ( $this->hasRequestVar('elementid'))
// $this->element->code = $this->getRequestVar('elementid');