|
|
|
|
@ -416,7 +416,7 @@ class HTML_QuickForm_date extends HTML_QuickForm_group |
|
|
|
|
$options = array($this->_options['emptyOptionValue'] => $this->_options['emptyOptionText']) + $options; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
$this->_elements[] =& new HTML_QuickForm_select($sign, null, $options, $this->getAttributes()); |
|
|
|
|
$this->_elements[] = new HTML_QuickForm_select($sign, null, $options, $this->getAttributes()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
@ -504,7 +504,7 @@ class HTML_QuickForm_date extends HTML_QuickForm_group |
|
|
|
|
function toHtml() |
|
|
|
|
{ |
|
|
|
|
include_once('HTML/QuickForm/Renderer/Default.php'); |
|
|
|
|
$renderer =& new HTML_QuickForm_Renderer_Default(); |
|
|
|
|
$renderer = new HTML_QuickForm_Renderer_Default(); |
|
|
|
|
$renderer->setElementTemplate('{element}'); |
|
|
|
|
parent::accept($renderer); |
|
|
|
|
return $this->_wrap[0] . $renderer->toHtml() . $this->_wrap[1]; |
|
|
|
|
|