diff options
Diffstat (limited to 'includes/HTMLForm.php')
-rw-r--r-- | includes/HTMLForm.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/HTMLForm.php b/includes/HTMLForm.php index 189e5c79..715c8c88 100644 --- a/includes/HTMLForm.php +++ b/includes/HTMLForm.php @@ -2,13 +2,11 @@ /** * This file contain a class to easily build HTML forms as well as custom * functions used by SpecialUserrights.php - * @package MediaWiki */ /** * Class to build various forms * - * @package MediaWiki * @author jeluf, hashar */ class HTMLForm { @@ -125,6 +123,7 @@ class HTMLForm { function HTMLSelectGroups($selectname, $selectmsg, $selected=array(), $multiple=false, $size=6, $reverse=false) { $groups = User::getAllGroups(); $out = htmlspecialchars( wfMsg( $selectmsg ) ); + $out .= "<br />"; if( $multiple ) { $attribs = array( @@ -134,6 +133,7 @@ function HTMLSelectGroups($selectname, $selectmsg, $selected=array(), $multiple= } else { $attribs = array( 'name' => $selectname ); } + $attribs['style'] = 'width: 100%'; $out .= wfElement( 'select', $attribs, null ); foreach( $groups as $group ) { |