diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php
index f1f34f027..05bf861df 100644
--- a/gulliver/system/class.xmlform.php
+++ b/gulliver/system/class.xmlform.php
@@ -2147,11 +2147,11 @@ class XmlForm_Field_Checkbox extends XmlForm_Field
// $res = "" . $this->label ;
return $res;
- } elseif ($this->mode === 'view') {
- if ($this->labelOnRight) {
+ } elseif ($this->mode === 'view') {
+ if ($this->labelOnRight) {
$html = "" . $this->label . '';
- } else {
- $html = "";
+ } else {
+ $html = "";
}
if($this->hint){
$html .= '
@@ -3384,7 +3384,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 .= '';
+ $html .= '';
}
//