From: <var...@us...> - 2016-03-17 18:04:40
|
Revision: 9813 http://sourceforge.net/p/phpwiki/code/9813 Author: vargenau Date: 2016-03-17 18:04:37 +0000 (Thu, 17 Mar 2016) Log Message: ----------- Revert r9808: Use <button> tag Revision Links: -------------- http://sourceforge.net/p/phpwiki/code/9808 Modified Paths: -------------- trunk/lib/WikiTheme.php Modified: trunk/lib/WikiTheme.php =================================================================== --- trunk/lib/WikiTheme.php 2016-03-17 09:41:08 UTC (rev 9812) +++ trunk/lib/WikiTheme.php 2016-03-17 18:04:37 UTC (rev 9813) @@ -1796,11 +1796,11 @@ * @param $text string The text for the button. * @param $name string The name of the form field. * @param $class string The CSS class for the button. - * @param $options array Additional attributes for the <button> tag. + * @param $options array Additional attributes for the <input> tag. */ function SubmitButton($text, $name = '', $class = '', $options = array()) { - $this->__construct('button', array('type' => 'submit'), $text); + $this->__construct('input', array('type' => 'submit', 'value' => $text)); if ($name) $this->setAttr('name', $name); if ($class) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |