Addin freeze class for items in the formvalidator

skala
Julio Montoya 13 years ago
parent c7b150b0e9
commit 87da1f2253
  1. 7
      main/css/base.css
  2. 4
      main/inc/lib/pear/HTML/QuickForm/element.php

@ -3563,9 +3563,14 @@ span.form_error {
}
form .row {
margin-bottom: 18px;
margin-bottom: 18px;
}
form .formw .freeze {
display: block;
padding-top: 8px;
}
form .label {
color: #404040;
float: left;

@ -238,8 +238,10 @@ class HTML_QuickForm_element extends HTML_Common
// Modified by Ivan Tcholakov, 16-MAR-2010.
//return ('' != $value? htmlspecialchars($value): ' ') .
// $this->_getPersistantData();
return ('' != $value ? @htmlspecialchars($value, ENT_COMPAT, HTML_Common::charset()): ' ') .
$value = ('' != $value ? @htmlspecialchars($value, ENT_COMPAT, HTML_Common::charset()): ' ') .
$this->_getPersistantData();
return '<span class="freeze">'.$value.'</span>';
//
} //end func getFrozenHtml

Loading…
Cancel
Save