BUG 7480 ahora los campos readOnly son mas oscuros
This commit is contained in:
@@ -1150,6 +1150,16 @@ INPUT {
|
|||||||
color :#333333;
|
color :#333333;
|
||||||
font :normal 8pt sans-serif;
|
font :normal 8pt sans-serif;
|
||||||
}
|
}
|
||||||
|
.module_app_input___gray_readOnly
|
||||||
|
{
|
||||||
|
padding:1px;
|
||||||
|
border:1px solid #AAA;
|
||||||
|
padding-left:3px;
|
||||||
|
background: #EBEBE4;/*#FFFFFF url(../images/input_back.gif) repeat-x;*/
|
||||||
|
background-position:0px 0px;
|
||||||
|
color :#333333;
|
||||||
|
font :normal 8pt sans-serif;
|
||||||
|
}
|
||||||
.module_app_inputHover___gray
|
.module_app_inputHover___gray
|
||||||
{
|
{
|
||||||
border:1px solid #AAA;
|
border:1px solid #AAA;
|
||||||
|
|||||||
@@ -1010,7 +1010,10 @@ class XmlForm_Field_Text extends XmlForm_Field_SimpleText
|
|||||||
$html .= 'type="hidden" value="'.$this->htmlentities($value, ENT_QUOTES, 'utf-8').'" />';
|
$html .= 'type="hidden" value="'.$this->htmlentities($value, ENT_QUOTES, 'utf-8').'" />';
|
||||||
}
|
}
|
||||||
|
|
||||||
$html .= $this->renderHint();
|
$html .= $this->renderHint();
|
||||||
|
if (($this->readOnly == 1)&&($this->renderMode == 'edit'))
|
||||||
|
$html = str_replace("class=\"module_app_input___gray\"","class=\"module_app_input___gray_readOnly\"",$html);
|
||||||
|
|
||||||
return $html;
|
return $html;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user