Slightly better prefs layout
authorTom Gilder <tomgilder@users.mediawiki.org>
Tue, 11 Oct 2005 01:47:41 +0000 (01:47 +0000)
committerTom Gilder <tomgilder@users.mediawiki.org>
Tue, 11 Oct 2005 01:47:41 +0000 (01:47 +0000)
includes/SpecialPreferences.php
languages/Language.php
skins/monobook/main.css

index d85cf3b..e20da14 100644 (file)
@@ -804,7 +804,7 @@ class PreferencesForm {
        <input type='hidden' name='wpEditToken' value='{$token}' />
        </div></form>\n" );
 
-       $wgOut->addWikiText( wfMsg('clearyourcache') );
+       $wgOut->addWikiText( '<div class="prefcache">' . wfMsg('clearyourcache') . '</div>' );
 
        }
 }
index 2fb743d..0c3df79 100644 (file)
@@ -295,9 +295,9 @@ parent class in order maintain consistency across languages.
 'tog-previewontop' => 'Show preview before edit box',
 'tog-previewonfirst' => 'Show preview on first edit',
 'tog-nocache' => 'Disable page caching',
-'tog-enotifwatchlistpages'     => 'Send me an email on page changes',
-'tog-enotifusertalkpages'      => 'Send me an email when my user talk page is changed',
-'tog-enotifminoredits'                 => 'Send me an email also for minor edits of pages',
+'tog-enotifwatchlistpages'     => 'Email me on page changes',
+'tog-enotifusertalkpages'      => 'Email me when my user talk page is changed',
+'tog-enotifminoredits'                 => 'Email me also for minor edits of pages',
 'tog-enotifrevealaddr'                 => 'Reveal my email address in notification mails',
 'tog-shownumberswatching'      => 'Show the number of watching users',
 'tog-fancysig' => 'Raw signatures (without automatic link)',
@@ -639,8 +639,7 @@ to confirm that the account is actually yours.",
 'emailauthenticated'        => 'Your email address was authenticated on $1.',
 'emailnotauthenticated'     => 'Your email address is <strong>not yet authenticated</strong>. No email
 will be sent for any of the following features.',
-'noemailprefs'              => '<strong>No email address has been specified</strong>, the following
-features will not work.',
+'noemailprefs'              => '<strong>Specify an email address for these features to work.</strong>',
 'emailconfirmlink' => 'Confirm your e-mail address',
 'invalidemailaddress'  => 'The email address cannot be accepted as it appears to have an invalid
 format. Please enter a well-formatted address or empty that field.',
index 5c9853b..5f2d1d1 100644 (file)
@@ -969,6 +969,14 @@ head:first-child+body #footer li { white-space: nowrap; }
     padding: 0;
     margin: 0;
 }
+.prefsection fieldset {
+    border: 1px solid #aaa;
+    float: left;
+    margin-right: 2em;
+}
+.prefsection legend {
+    font-weight: bold;   
+}
 .prefsection table, .prefsection legend {
     background-color: #F9F9F9;
 }
@@ -980,6 +988,7 @@ div.prefsectiontip {
     margin-top: 0;
     background-color: #FFC1C1;
     padding: .2em .7em;
+    clear: left;
 }
 .btnSavePrefs {
     font-weight: bold;
@@ -999,6 +1008,11 @@ div.prefsectiontip {
     margin-bottom: 1.5em;
 }
 
+.prefcache {
+    font-size: 90%;
+    margin-top: 2em;
+}
+
 /*
 ** IE/Mac fixes, hope to find a validating way to move this
 ** to a separate stylesheet. This would work but doesn't validate: