diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php
index a0725a371..8a1bfe09a 100644
--- a/gulliver/system/class.xmlform.php
+++ b/gulliver/system/class.xmlform.php
@@ -1267,9 +1267,11 @@ class XmlForm_Field_Password extends XmlForm_Field {
return $html;
}
} elseif ($this->mode === 'view') {
- return $this->htmlentities ( str_repeat ( '*', 10 ), ENT_COMPAT, 'utf-8' );
+ $html= 'htmlentities ( $value, ENT_COMPAT, 'utf-8' ) . '\' readOnly="readOnly"/>';
+ $html.= $this->htmlentities ( str_repeat ( '*', 10 ), ENT_COMPAT, 'utf-8' );
+ return $html;
} else {
- return $this->htmlentities ( str_repeat ( '*', 10 ), ENT_COMPAT, 'utf-8' );
+ return $this->htmlentities ( str_repeat ( '*', 10 ), ENT_COMPAT, 'utf-8' );
}
}
}
@@ -2473,6 +2475,12 @@ class XmlForm_Field_Listbox extends XmlForm_Field
$html .= '';
}
$html .= '';
+ foreach ( $this->option as $optionName => $option ) {
+ $html .= '';
+ }
+ foreach ( $this->sqlOption as $optionName => $option ) {
+ $html .= '';
+ }
return $html;
} else {
return $this->htmlentities ( $value, ENT_COMPAT, 'utf-8' );
@@ -2558,7 +2566,10 @@ class XmlForm_Field_RadioGroup extends XmlForm_Field {
$html = '';
foreach ( $this->options as $optionName => $option ) {
$html .= '' . $option . '
';
+ if($optionName == $value)
+ $html .= '';
}
+
return $html;
} else {
return $this->htmlentities ( $value, ENT_COMPAT, 'utf-8' );
@@ -2651,6 +2662,7 @@ class XmlForm_Field_CheckGroup extends XmlForm_Field
$html = '';
foreach ( $this->options as $optionName => $option ) {
$html .= '' . $option . '
';
+ $html .= '';
}
return $html;
} else {
@@ -3255,6 +3267,7 @@ class XmlForm_Field_Date extends XmlForm_Field_SimpleText
///-- $html = 'maxLength ) ? ' maxlength="' . $this->maxLength . '"' : '') . ' value=\'' . htmlentities ( $value, ENT_COMPAT, 'utf-8' ) . '\' style="display:none;' . htmlentities ( $this->style, ENT_COMPAT, 'utf-8' ) . '" />' . htmlentities ( $value, ENT_COMPAT, 'utf-8' );
$html = "$valueaux";
+ $html .= '';
}
//