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

SF.net SVN: ledger-smb:[3659] trunk



Revision: 3659
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3659&view=rev
Author:   einhverfr
Date:     2011-08-15 23:49:33 +0000 (Mon, 15 Aug 2011)

Log Message:
-----------
First half of COA selection working sorta

Modified Paths:
--------------
    trunk/UI/setup/select_coa.html
    trunk/scripts/setup.pl

Modified: trunk/UI/setup/select_coa.html
===================================================================
--- trunk/UI/setup/select_coa.html	2011-08-15 23:30:23 UTC (rev 3658)
+++ trunk/UI/setup/select_coa.html	2011-08-15 23:49:33 UTC (rev 3659)
@@ -1,8 +1,10 @@
-<?lsmb INCLUDE "ui-header.html" stylesheet="UI/setup/stylesheet.css" ?>
+<?lsmb INCLUDE "ui-header.html" 
+stylesheet="ledgersmb.css"
+include_stylesheet=["UI/setup/stylesheet.css"] ?>
 <?lsmb PROCESS elements.html ?>
 <body>
+<h2>Database Management Console</h2>
 <div class="listtop"><?lsmb title ?></div>
-<div 
 <form action="setup.pl" method="POST" name="credentials">
 <?lsmb INCLUDE input element_data = {
     name = 'database'
@@ -30,27 +32,15 @@
             name = 'coa_lc'
        text_attr = 'code'
       value_attr = 'code'
+           label = text('Country Code') #'
     };
 END ?>
 </div>
 <div class="inputrow">
 <?lsmb INCLUDE input element_data = {
-    name = 's_password'
-   value = s_password
-    type = 'password'
-    size = '15'
-   class = 'password'
-   label = text('Password') 
-} ?>
-</div>
-<div class="inputrow">
-<?lsmb INCLUDE input element_data = {
     name = 'database'
    value = database
-    type = 'text'
-    size = '15'
-   class = 'database'
-   label = text('Database') 
+    type = 'hidden'
 } ?>
 </div>
 <div class="inputrow">
@@ -58,11 +48,12 @@
     name = 'action'
    value = 'select_coa'
     type = 'submit'
-   class = 'database'
+   class = 'submit'
     text = text('Next') 
 } ?>
 </div>
 </div>
 </form>
+</div>
 </body>
 </html>

Modified: trunk/scripts/setup.pl
===================================================================
--- trunk/scripts/setup.pl	2011-08-15 23:30:23 UTC (rev 3658)
+++ trunk/scripts/setup.pl	2011-08-15 23:49:33 UTC (rev 3659)
@@ -173,7 +173,7 @@
 
     #COA Directories
     opendir(COA, 'sql/coa');
-    my @coa = !/^(\.\.?|[Ss]ample.*)$/, readdir(COA);
+    my @coa = grep !/^(\.|[Ss]ample.*)/, readdir(COA);
     closedir(COA); 
 
     $request->{coa_lcs} =[];
@@ -190,6 +190,8 @@
     
 }
 
+=item select_coa
+
 =item cancel
 
 Cancels work.  If the confirm is set to no, returns to the credential screen


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