From: <var...@us...> - 2016-03-10 17:11:18
|
Revision: 9808 http://sourceforge.net/p/phpwiki/code/9808 Author: vargenau Date: 2016-03-10 17:11:15 +0000 (Thu, 10 Mar 2016) Log Message: ----------- Use <button> tag Modified Paths: -------------- trunk/lib/WikiTheme.php Modified: trunk/lib/WikiTheme.php =================================================================== --- trunk/lib/WikiTheme.php 2016-03-10 16:36:57 UTC (rev 9807) +++ trunk/lib/WikiTheme.php 2016-03-10 17:11:15 UTC (rev 9808) @@ -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 <input> tag. + * @param $options array Additional attributes for the <button> tag. */ function SubmitButton($text, $name = '', $class = '', $options = array()) { - $this->__construct('input', array('type' => 'submit', 'value' => $text)); + $this->__construct('button', array('type' => 'submit'), $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. |