From: Brion Vibber Date: Tue, 11 Sep 2007 17:38:59 +0000 (+0000) Subject: Poke about with spacing in the contribs form... It still feels busy to me, but adjust... X-Git-Tag: 1.31.0-rc.0~51414 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=b4cc2a3e3f47602a442fa52d7817db0ea55262d7;p=lhc%2Fweb%2Fwiklou.git 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 --- 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' );