--- a/web/lib/Zend/View/Helper/FormReset.php Thu Mar 21 17:31:31 2013 +0100
+++ b/web/lib/Zend/View/Helper/FormReset.php Thu Mar 21 19:50:53 2013 +0100
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_View
* @subpackage Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: FormReset.php 20096 2010-01-06 02:05:09Z bkarwin $
+ * @version $Id: FormReset.php 24750 2012-05-05 01:24:21Z adamlundrigan $
*/
@@ -33,7 +33,7 @@
* @category Zend
* @package Zend_View
* @subpackage Helper
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_View_Helper_FormReset extends Zend_View_Helper_FormElement
@@ -64,12 +64,6 @@
$disabled = ' disabled="disabled"';
}
- // get closing tag
- $endTag = '>';
- if ($this->view->doctype()->isXhtml()) {
- $endTag = ' />';
- }
-
// Render button
$xhtml = '<input type="reset"'
. ' name="' . $this->view->escape($name) . '"'
@@ -82,7 +76,7 @@
}
// add attributes, close, and return
- $xhtml .= $this->_htmlAttribs($attribs) . $endTag;
+ $xhtml .= $this->_htmlAttribs($attribs) . $this->getClosingBracket();
return $xhtml;
}
}