[Rt-commit] r11879 - rt/branches/3.8-TESTING/html/installation/Elements
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu Apr 24 14:54:50 EDT 2008
Author: sunnavy
Date: Thu Apr 24 14:54:50 2008
New Revision: 11879
Modified:
rt/branches/3.8-TESTING/html/installation/Elements/Edit
rt/branches/3.8-TESTING/html/installation/Elements/Process
Log:
don't be too lazy: Elements/ is not safe sometimes
Modified: rt/branches/3.8-TESTING/html/installation/Elements/Edit
==============================================================================
--- rt/branches/3.8-TESTING/html/installation/Elements/Edit (original)
+++ rt/branches/3.8-TESTING/html/installation/Elements/Edit Thu Apr 24 14:54:50 2008
@@ -1,9 +1,10 @@
-% for ( @$Types ) {
-<& $RT::Installer->{Option}{$_}{'Widget'},
+% for my $type ( @$Types ) {
+<& $RT::Installer->{Option}{$type}{'Widget'},
Default => 0,
- %{ $RT::Installer->{Option}{$_}{'WidgetArguments'} },
- Name => $_,
- CurrentValue => $RT::Installer->{InstallConfig}{$_} || scalar RT->Config->Get($_),
+ %{ $RT::Installer->{Option}{$type}{'WidgetArguments'} },
+ Name => $type,
+ CurrentValue => $RT::Installer->{InstallConfig}{$_} ||
+ scalar RT->Config->Get($type),
&>
% }
Modified: rt/branches/3.8-TESTING/html/installation/Elements/Process
==============================================================================
--- rt/branches/3.8-TESTING/html/installation/Elements/Process (original)
+++ rt/branches/3.8-TESTING/html/installation/Elements/Process Thu Apr 24 14:54:50 2008
@@ -1,8 +1,8 @@
<%init>
-for ( @$Types ) {
- $RT::Installer->{InstallConfig}{$_} =
- $m->comp( $RT::Installer->{Option}{$_}{Widget} . ':Process', Name =>
- $_, Arguments => $Arguments );
+for my $type ( @$Types ) {
+ $RT::Installer->{InstallConfig}{$type} =
+ $m->comp( $RT::Installer->{Option}{$type}{Widget} . ':Process', Name =>
+ $type, Arguments => $Arguments );
}
$RT::Installer->{TimeStamp} = time; # need this to force %session update
</%init>
More information about the Rt-commit
mailing list