dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0843630
)
Made HTMLForm wrap the submit buttons in a container for styling
author
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 11 Sep 2013 21:47:11 +0000
(14:47 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 11 Sep 2013 21:47:19 +0000
(14:47 -0700)
Change-Id: I6510493a80c18ba5a466a16e3ca39396f9a60f60
includes/HTMLForm.php
patch
|
blob
|
history
diff --git
a/includes/HTMLForm.php
b/includes/HTMLForm.php
index
ed9440c
..
5de34d6
100644
(file)
--- a/
includes/HTMLForm.php
+++ b/
includes/HTMLForm.php
@@
-700,7
+700,7
@@
class HTMLForm extends ContextSource {
* @return String HTML.
*/
function getButtons() {
- $html = '';
+ $html = '
<span class="mw-htmlform-submit-buttons">
';
if ( $this->mShowSubmit ) {
$attribs = array();
@@
-750,6
+750,8
@@
class HTMLForm extends ContextSource {
$html .= Html::element( 'input', $attrs );
}
+ $html .= '</span>';
+
return $html;
}