[Rt-commit] r11909 - rt/branches/3.8-TESTING/html/installation

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sun Apr 27 11:48:13 EDT 2008


Author: sunnavy
Date: Sun Apr 27 11:48:13 2008
New Revision: 11909

Modified:
   rt/branches/3.8-TESTING/html/installation/Basics.html

Log:
use widget for timezone too

Modified: rt/branches/3.8-TESTING/html/installation/Basics.html
==============================================================================
--- rt/branches/3.8-TESTING/html/installation/Basics.html	(original)
+++ rt/branches/3.8-TESTING/html/installation/Basics.html	Sun Apr 27 11:48:13 2008
@@ -52,11 +52,6 @@
 <form method="post">
 <& /Widgets/BulkEdit, Types => \@Types,Meta => $RT::Installer->{Meta},
     CurrentValue => RT::Installer->CurrentValues(@Types) &>
-<div id="form-box-timezone">
-<span class="label">Timezone</span>
-<span class="value">
-<& /Elements/SelectTimezone, Name => 'Timezone',  &>
-</div>
 
 <input type="hidden" name="Run" value="1">
 <& /Elements/Submit, Label => loc('Next: Customize Emails'), Back => 1,
@@ -69,9 +64,7 @@
 my @results;
 push @results, 'Connected Database with success!' unless $RT::Installer->{InstallConfig}{DatabaseType} eq 'SQLite';
 
-my @Types = qw/rtname Organization MinimumPasswordLength/;
-# XXX treat TimeZone specially, since it's not compatibal with /Widgets/
-
+my @Types = qw/rtname Organization MinimumPasswordLength Timezone/;
 
 if ( $Run ) {
 
@@ -79,8 +72,6 @@
             Store => $RT::Installer->{InstallConfig},
             Meta => $RT::Installer->{Meta} );
     
-    $RT::Installer->{InstallConfig}{TimeZone} = $ARGS{TimeZone};
-
     for ( qw/MininumPasswordLength/ ) {
         if ( $ARGS{$_} && $ARGS{$_} !~ /^\d+$/ ) {
             push @results, "Invalid $_: it should be a number";


More information about the Rt-commit mailing list