diff -r 5b37998e522e -r 162c1de6545a web/lib/Zend/View/Helper/Form.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/Zend/View/Helper/Form.php Fri Mar 11 15:05:35 2011 +0100 @@ -0,0 +1,71 @@ +_getInfo($name, $content, $attribs); + extract($info); + + if (!empty($id)) { + $id = ' id="' . $this->view->escape($id) . '"'; + } else { + $id = ''; + } + + if (array_key_exists('id', $attribs) && empty($attribs['id'])) { + unset($attribs['id']); + } + + $xhtml = '_htmlAttribs($attribs) + . '>'; + + if (false !== $content) { + $xhtml .= $content + . ''; + } + + return $xhtml; + } +}