[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[3685] trunk/scripts/setup.pl



Revision: 3685
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3685&view=rev
Author:   einhverfr
Date:     2011-08-25 23:13:59 +0000 (Thu, 25 Aug 2011)
Log Message:
-----------
Pre-upgrade checks partly working, nearly finished with post-upgrade-check work as well

Modified Paths:
--------------
    trunk/scripts/setup.pl

Modified: trunk/scripts/setup.pl
===================================================================
--- trunk/scripts/setup.pl	2011-08-25 02:57:07 UTC (rev 3684)
+++ trunk/scripts/setup.pl	2011-08-25 23:13:59 UTC (rev 3685)
@@ -209,7 +209,7 @@
     my ($request, $check, $sth) = @_;
     my $template = LedgerSMB::Template->new(
             path => 'UI',
-            template => 'form_dynatable',
+            template => 'form-dynatable',
             format => 'HTML',
     );
     my $rows = [];
@@ -234,8 +234,13 @@
              text => $request->{_locale}->text('Save and Retry'),
             class => 'submit' },
     ];
-
-     # TODO:  Add this template render stuff.
+    $template->render({
+           form     => $request,
+           columns  => $check->{cols},
+           rows     => $rows,
+           hiddens  => $hiddens,
+           buttons  => $buttons
+    });
 }
 
 =item create_db

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.