From: Jens Frank Date: Thu, 20 May 2004 11:26:33 +0000 (+0000) Subject: hide 'guess timezone' button if javascript is not available. X-Git-Tag: 1.3.0beta1~19 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=11a29970dc56b0600c4f69361faa531be3433fd0;p=lhc%2Fweb%2Fwiklou.git hide 'guess timezone' button if javascript is not available. (fix for bug #928031) --- diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index ff805b5073..11696a02ef 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -430,7 +430,7 @@ class PreferencesForm {
$tzServerTime: $nowserver
$ltz: $nowlocal
-
+
* {$tzt}
\n\n" ); diff --git a/stylesheets/wikibits.js b/stylesheets/wikibits.js index 074a9d21c4..c65af895f5 100644 --- a/stylesheets/wikibits.js +++ b/stylesheets/wikibits.js @@ -150,6 +150,7 @@ function tabbedprefs() { } prefform.insertBefore(toc, children[0]); document.getElementById('prefsubmit').id = 'prefcontrol'; + document.getElementById('guesstimezonebutton').style.display = 'inline'; } function uncoversection() { oldsecid = this.parentNode.parentNode.selectedid;