diff --git a/gulliver/js/maborak/core/stylesheet/default.css b/gulliver/js/maborak/core/stylesheet/default.css index a32d29af6..71ffeacfa 100755 --- a/gulliver/js/maborak/core/stylesheet/default.css +++ b/gulliver/js/maborak/core/stylesheet/default.css @@ -1160,6 +1160,17 @@ INPUT { color :#333333; font :normal 8pt sans-serif; } +.module_ListBoxView +{ + + color: white; + background:#CCDDFF; + padding:1px; + border:1px solid #AAA; + padding-left:3px; + background-position:0px 0px; + font :normal 8pt sans-serif; +} .module_app_inputHover___gray { border:1px solid #AAA; diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index 23d152245..ba730e766 100755 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -2785,16 +2785,19 @@ class XmlForm_Field_Listbox extends XmlForm_Field $html .= $this->renderHint(); return $html; } elseif ($this->mode === 'view') { - $html = '';//disabled>'; foreach ( $this->option as $optionName => $option ) { - $html .= ''; + if((in_array ( $optionName, $value ))==1) + $html .= ' '; + else + $html .= ''; } foreach ( $this->sqlOption as $optionName => $option ) { $html .= ''; - } + } $html .= ''; foreach ( $this->option as $optionName => $option ) { - $html .= ''; + $html .= ''; } foreach ( $this->sqlOption as $optionName => $option ) { $html .= '';