r18625 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r18624‎ | r18625 | r18626 >
Date:17:09, 28 December 2006
Author:robchurch
Status:old
Tags:
Comment:
Some spacing under the "underline links" preference to make it look prettier
Modified paths:
  • /trunk/phase3/includes/SpecialPreferences.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialPreferences.php
@@ -916,14 +916,13 @@
917917 $s1 = $uopt == 1 ? ' selected="selected"' : '';
918918 $s2 = $uopt == 2 ? ' selected="selected"' : '';
919919 $wgOut->addHTML("
920 -<div class='toggle'><label for='wpOpunderline'>$msgUnderline</label>
 920+<div class='toggle'><p><label for='wpOpunderline'>$msgUnderline</label>
921921 <select name='wpOpunderline' id='wpOpunderline'>
922922 <option value=\"0\"$s0>$msgUnderlinenever</option>
923923 <option value=\"1\"$s1>$msgUnderlinealways</option>
924924 <option value=\"2\"$s2>$msgUnderlinedefault</option>
925 -</select>
926 -</div>
927 -");
 925+</select></p></div>");
 926+
928927 foreach ( $togs as $tname ) {
929928 if( !array_key_exists( $tname, $this->mUsedToggles ) ) {
930929 $wgOut->addHTML( $this->getToggle( $tname ) );