From b4cc2a3e3f47602a442fa52d7817db0ea55262d7 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 11 Sep 2007 17:38:59 +0000 Subject: [PATCH] Poke about with spacing in the contribs form... It still feels busy to me, but adjusts some wrapping issues. * Space now present between 'Namespace:' label and selector drop-down * Added no-wrap spans wrapping label and control for the namespace, year, and month selectors, so the form is more legible at smaller window sizes where the long lines don't make it through intact --- includes/SpecialContributions.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index cc1b2e6f64..e85ec43bfb 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -426,13 +426,20 @@ function contributionsForm( $options ) { Xml::radioLabel( wfMsgExt( 'sp-contributions-newbies', array( 'parseinline' ) ), 'contribs' , 'newbie' , 'newbie', $options['contribs'] == 'newbie' ? true : false ) . '
' . Xml::radioLabel( wfMsgExt( 'sp-contributions-username', array( 'parseinline' ) ), 'contribs' , 'user', 'user', $options['contribs'] == 'user' ? true : false ) . ' ' . Xml::input( 'target', 20, $options['target']) . ' '. - Xml::label( wfMsg( 'namespace' ), 'namespace' ) . + '' . + Xml::label( wfMsg( 'namespace' ), 'namespace' ) . ' ' . Xml::namespaceSelector( $options['namespace'], '' ) . + '' . Xml::openElement( 'p' ) . + '' . Xml::label( wfMsg( 'year' ), 'year' ) . ' '. - Xml::input( 'year', 4, $options['year'], array('id' => 'year', 'maxlength' => 4) ) . ' '. + Xml::input( 'year', 4, $options['year'], array('id' => 'year', 'maxlength' => 4) ) . + '' . + ' '. + '' . Xml::label( wfMsg( 'month' ), 'month' ) . ' '. Xml::monthSelector( $options['month'], -1 ) . ' '. + '' . Xml::submitButton( wfMsg( 'sp-contributions-submit' ) ) . Xml::closeElement( 'p' ); -- 2.20.1