moved section help texts inside the fieldsets, added help string for user data, some...
authorGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 20 May 2004 11:02:27 +0000 (11:02 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 20 May 2004 11:02:27 +0000 (11:02 +0000)
includes/SpecialPreferences.php
languages/Language.php
stylesheets/common.css
stylesheets/monobook/main.css

index 7bdcf8d..ff805b5 100644 (file)
@@ -350,7 +350,8 @@ class PreferencesForm {
        <div><label>$npw: <input type='password' name=\"wpNewpass\" value=\"{$this->mNewpass}\" size='20' /></label></div>
        <div><label>$rpw: <input type='password' name=\"wpRetypePass\" value=\"{$this->mRetypePass}\" size='20' /></label></div>
        " . $this->getToggle( "rememberpassword" ) . "
-       </fieldset>\n</fieldset>\n" );
+       </fieldset>
+       <div class='prefsectiontip'>".wfMsg('prefs-help-userdata')."</div>\n</fieldset>\n" );
 
        
                # Quickbar setting
@@ -430,6 +431,7 @@ class PreferencesForm {
                <div><b>$ltz:</b> $nowlocal</div>
                <div><label>$tzo*: <input type='text' name=\"wpHourDiff\" value=\"{$this->mHourDiff}\" size='6' /></label></div>
                <div><input type=\"button\" value=\"$tzGuess\" onClick=\"javascript:guessTimezone()\" /></div>
+               <div class='prefsectiontip'>* {$tzt}</div>
        </fieldset>\n\n" );
 
                $wgOut->addHTML( "
@@ -471,7 +473,6 @@ class PreferencesForm {
                <input type='submit' name=\"wpReset\" value=\"$rsp\" />
        </div>
        
-       <div>* {$tzt}</div>
        </div>
        
        </form>\n" );
index 4c3b035..4a9e5fc 100644 (file)
@@ -636,6 +636,9 @@ Don't forget to change your {{SITENAME}} preferences.",
 "yournick"             => "Your nickname (for signatures)",
 "emailforlost" => "Fields marked with a star (*) are optional.  Storing an email address enables people to contact you through the website without you having to reveal your 
 email address to them, and it can be used to send you a new password if you forget it.<br /><br />Your real name, if you choose to provide it, will be used for giving you attribution for your work.",
+'prefs-help-userdata' => '* <strong>Real name</strong> (optional): if you choose to provide it this will be used for giving you attribution for your work.<br/>
+* <strong>Email</strong> (optional): Enables people to contact you through the website without you having to reveal your 
+email address to them, and it can be used to send you a new password if you forget it.',
 "loginerror"   => "Login error",
 "nocookiesnew" => "The user account was created, but you are not logged in. {{SITENAME}} uses cookies to log in users. You have cookies disabled. Please enable them, then log in with your new username and password.",
 "nocookieslogin"       => "{{SITENAME}} uses cookies to log in users. You have cookies disabled. Please enable them and try again.",
index 89ebd70..1d7d545 100644 (file)
@@ -137,5 +137,9 @@ img.tex { vertical-align: middle; }
     float: left;
     margin-top: 1em;
 }
+div.prefsectiontip { 
+    font-size: 94%;
+    margin-top: 1em;
+}
 fieldset.prefsection { margin-top: 1em }
 fieldset.operaprefsection { margin-left: 15em }
index b279bed..c2d1bed 100644 (file)
@@ -809,6 +809,10 @@ form #content {
     float: left;
     margin-top: 1em;
 }
+div.prefsectiontip { 
+    font-size: 95%;
+    margin-top: 1em;
+}
 fieldset.operaprefsection { margin-left: 15em }
 
 /*