From: Aaron Schulz Date: Wed, 11 Sep 2013 21:47:11 +0000 (-0700) Subject: Made HTMLForm wrap the submit buttons in a container for styling X-Git-Tag: 1.31.0-rc.0~18781 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=5cb69843dbd3077c1cd12aa300806cfc6414bbad;p=lhc%2Fweb%2Fwiklou.git Made HTMLForm wrap the submit buttons in a container for styling Change-Id: I6510493a80c18ba5a466a16e3ca39396f9a60f60 --- diff --git a/includes/HTMLForm.php b/includes/HTMLForm.php index ed9440ca15..5de34d6712 100644 --- a/includes/HTMLForm.php +++ b/includes/HTMLForm.php @@ -700,7 +700,7 @@ class HTMLForm extends ContextSource { * @return String HTML. */ function getButtons() { - $html = ''; + $html = ''; if ( $this->mShowSubmit ) { $attribs = array(); @@ -750,6 +750,8 @@ class HTMLForm extends ContextSource { $html .= Html::element( 'input', $attrs ); } + $html .= ''; + return $html; }