Diff of /branches/2.6/cgi-bin/yabb2/Admin/Settings_Main.pm [r1451] .. [r1452] Maximize Restore

  Switch to side-by-side view

--- a/branches/2.6/cgi-bin/yabb2/Admin/Settings_Main.pm
+++ b/branches/2.6/cgi-bin/yabb2/Admin/Settings_Main.pm
@@ -16,7 +16,7 @@
 use CGI::Carp qw(fatalsToBrowser);
 our $VERSION = '2.6.0';
 
-our $settings_mainpmver = 'YaBB 2.6.0 $Revision: 1451 $';
+our $settings_mainpmver = 'YaBB 2.6.0 $Revision: 1452 $';
 if ($action eq 'detailedversion') { return 1; }
 
 # Language requirements
@@ -108,19 +108,19 @@
 # End time
 
 # Timezone selector
-my @usertimeoffset = split /\./xsm, $timeoffset;
-my $timeoffsetselect = q~<br /><select name="usertimesign" id="usertimesign"><option value="">+</option><option value="-"~ . ($usertimeoffset[0] < 0 ? ' selected="selected"' : q{}) . q~>-</option></select> <select name="usertimehour">~;
-    for my $i ( 0 .. 14 ) {
-        $i = sprintf '%02d', $i;
-        $timeoffsetselect .= qq~<option value="$i"~ . (($usertimeoffset[0] == $i || $usertimeoffset[0] == -$i) ? ' selected="selected"' : q{}) . qq~>$i</option>~;
-    }
-    $timeoffsetselect .= qq~</select> : <select name="usertimemin">~;
-    for my $i( 0 .. 59 ) {
-        my $j = $i / 60;
-        $j = (split /\./xsm, $j)[1] || 0;
-        $timeoffsetselect .= qq~<option value="$j"~ . ($usertimeoffset[1] eq $j ? ' selected="selected"' : q{}) . q~>~ . sprintf('%02d', $i) . q~</option>~;
-    }
-    $timeoffsetselect .= q~</select>~;
+#my @usertimeoffset = split /\./xsm, $timeoffset;
+#my $timeoffsetselect = q~<br /><select name="usertimesign" id="usertimesign"><option value="">+</option><option value="-"~ . ($usertimeoffset[0] < 0 ? ' selected="selected"' : q{}) . q~>-</option></select> <select name="usertimehour">~;
+#    for my $i ( 0 .. 14 ) {
+#        $i = sprintf '%02d', $i;
+#        $timeoffsetselect .= qq~<option value="$i"~ . (($usertimeoffset[0] == $i || $usertimeoffset[0] == -$i) ? ' selected="selected"' : q{}) . qq~>$i</option>~;
+#    }
+#    $timeoffsetselect .= qq~</select> : <select name="usertimemin">~;
+#    for my $i( 0 .. 59 ) {
+#        my $j = $i / 60;
+#        $j = (split /\./xsm, $j)[1] || 0;
+#        $timeoffsetselect .= qq~<option value="$j"~ . ($usertimeoffset[1] eq $j ? ' selected="selected"' : q{}) . q~>~ . sprintf('%02d', $i) . q~</option>~;
+#    }
+#    $timeoffsetselect .= q~</select>~;
 
 # Language selector
 opendir LNGDIR, $langdir;