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

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



Revision: 6700
          http://sourceforge.net/p/ledger-smb/code/6700
Author:   einhverfr
Date:     2014-01-29 06:03:52 +0000 (Wed, 29 Jan 2014)
Log Message:
-----------
Fixing new user button directing to new templates.
Fixing bug 1010

Modified Paths:
--------------
    trunk/LedgerSMB/Scripts/setup.pm
    trunk/UI/setup/confirm_operation.html
    trunk/UI/setup/new_user.html
    trunk/UI/setup/stylesheet.css

Modified: trunk/LedgerSMB/Scripts/setup.pm
===================================================================
--- trunk/LedgerSMB/Scripts/setup.pm	2014-01-29 03:08:02 UTC (rev 6699)
+++ trunk/LedgerSMB/Scripts/setup.pm	2014-01-29 06:03:52 UTC (rev 6700)
@@ -1018,6 +1018,7 @@
 sub create_initial_user {
     my ($request) = @_;
 
+   my $database = _init_db($request) unless $request->{dbh};
    @{$request->{salutations}} 
     = $request->call_procedure(procname => 'person__list_salutations' ); 
           

Modified: trunk/UI/setup/confirm_operation.html
===================================================================
--- trunk/UI/setup/confirm_operation.html	2014-01-29 03:08:02 UTC (rev 6699)
+++ trunk/UI/setup/confirm_operation.html	2014-01-29 06:03:52 UTC (rev 6700)
@@ -46,7 +46,7 @@
 <div><?lsmb text('Users') ?></div>
 <?lsmb INCLUDE button element_data = {
     name = 'action'
-   value = 'skip_coa'
+   value = 'create_initial_user'
     type = 'submit'
    class = 'submit'
     text = text('Add User') #'

Modified: trunk/UI/setup/new_user.html
===================================================================
--- trunk/UI/setup/new_user.html	2014-01-29 03:08:02 UTC (rev 6699)
+++ trunk/UI/setup/new_user.html	2014-01-29 06:03:52 UTC (rev 6700)
@@ -30,21 +30,21 @@
 </div>
 <div class="input_row">
 <label><?lsmb text('Import') ?></label>
-<div id="yesno">
+<div id="yesno"><span>
                 <?lsmb INCLUDE input element_data = {
                            label   = 'Yes'
                            value   = '1'
                            checked = ''
                            name    = 'pls_import'
                            type    = 'radio'
-                   };
+                   }; ?></span> <span><?lsmb
                    INCLUDE input element_data = {
                            label   = 'No'
                            value   = '0'
                            checked = 'CHECKED'
                            name    = 'pls_import'
                            type    = 'radio'
-                   } ?>
+                   } ?></span>
 </div>
 </div>
 <div class="input_row">

Modified: trunk/UI/setup/stylesheet.css
===================================================================
--- trunk/UI/setup/stylesheet.css	2014-01-29 03:08:02 UTC (rev 6699)
+++ trunk/UI/setup/stylesheet.css	2014-01-29 06:03:52 UTC (rev 6700)
@@ -45,6 +45,11 @@
     margin-right: 3em;
 }
 
+#yesno span {
+    float: left;
+    display: block;
+}
+
 img.logo {
     border-style: none;
     width: 16em;

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


------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits