diff --git a/pages/UI.php b/pages/UI.php index 05b0e6bef..cbd8932e7 100644 --- a/pages/UI.php +++ b/pages/UI.php @@ -1,6 +1,6 @@ GetAsHash(); foreach( $oAppContext->GetNames() as $key) { - $aArgs[$key] = $oAppContext->GetCurrentValue($key); + $aArgs[$key] = $oAppContext->GetCurrentValue($key); } +*/ // If the specified class has subclasses, ask the user an instance of which class to create $aSubClasses = MetaModel::EnumChildClasses($sClass, ENUM_CHILD_CLASSES_ALL); // Including the specified class itself $aPossibleClasses = array(); @@ -779,18 +781,21 @@ EOF { foreach($value2 as $key3 => $value3) { - $oP->add("\n"); + $sValue = htmlentities($value3, ENT_QUOTES, 'UTF-8'); + $oP->add("\n"); } } else { - $oP->add("\n"); + $sValue = htmlentities($value2, ENT_QUOTES, 'UTF-8'); + $oP->add("\n"); } } } else { - $oP->add("\n"); + $sValue = htmlentities($value, ENT_QUOTES, 'UTF-8'); + $oP->add("\n"); } } $oP->add('