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

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Apr 24 14:34:48 EDT 2008


Author: sunnavy
Date: Thu Apr 24 14:34:48 2008
New Revision: 11877

Added:
   rt/branches/3.8-TESTING/html/installation/Elements/Edit
   rt/branches/3.8-TESTING/html/installation/Elements/Process

Log:
added edit and process option comp

Added: rt/branches/3.8-TESTING/html/installation/Elements/Edit
==============================================================================
--- (empty file)
+++ rt/branches/3.8-TESTING/html/installation/Elements/Edit	Thu Apr 24 14:34:48 2008
@@ -0,0 +1,13 @@
+% for ( @$Types ) {
+<& $RT::Installer->{Option}{$_}{'Widget'},
+    Default      => 0,
+    %{ $RT::Installer->{Option}{$_}{'WidgetArguments'} },
+    Name         => $_,
+    CurrentValue => $RT::Installer->{InstallConfig}{$_} || scalar RT->Config->Get($_),
+&>
+% }
+
+
+<%args>
+$Types
+</%args>

Added: rt/branches/3.8-TESTING/html/installation/Elements/Process
==============================================================================
--- (empty file)
+++ rt/branches/3.8-TESTING/html/installation/Elements/Process	Thu Apr 24 14:34:48 2008
@@ -0,0 +1,13 @@
+<%init>
+for ( @$Types ) {
+    $RT::Installer->{InstallConfig}{$_} =
+        $m->comp( $RT::Installer->{Option}{$_}{Widget} . ':Process', Name =>
+                $_, Arguments => $Arguments );
+}
+$RT::Installer->{TimeStamp} = time; # need this to force %session update
+</%init>
+
+<%args>
+$Arguments
+$Types
+</%args>


More information about the Rt-commit mailing list