From: <var...@us...> - 2016-05-23 18:52:50
|
Revision: 9840 http://sourceforge.net/p/phpwiki/code/9840 Author: vargenau Date: 2016-05-23 18:52:48 +0000 (Mon, 23 May 2016) Log Message: ----------- Use __construct Modified Paths: -------------- trunk/lib/WikiTheme.php Modified: trunk/lib/WikiTheme.php =================================================================== --- trunk/lib/WikiTheme.php 2016-05-23 18:45:55 UTC (rev 9839) +++ trunk/lib/WikiTheme.php 2016-05-23 18:52:48 UTC (rev 9840) @@ -1798,9 +1798,9 @@ * @param $class string The CSS class for the button. * @param $options array Additional attributes for the <input> tag. */ - function SubmitButton($text, $name = '', $class = '', $options = array()) + function __construct($text, $name = '', $class = '', $options = array()) { - $this->__construct('input', array('type' => 'submit', 'value' => $text)); + parent::__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. |