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

SF.net SVN: ledger-smb: [942] branches/1.2



Revision: 942
          http://svn.sourceforge.net/ledger-smb/?rev=942&view=rev
Author:   einhverfr
Date:     2007-03-17 19:00:29 -0700 (Sat, 17 Mar 2007)

Log Message:
-----------
Making lynx menu horizontal again, and ammending INSTALL

Modified Paths:
--------------
    branches/1.2/INSTALL
    branches/1.2/LedgerSMB/Menu.pm

Modified: branches/1.2/INSTALL
===================================================================
--- branches/1.2/INSTALL	2007-03-18 01:19:59 UTC (rev 941)
+++ branches/1.2/INSTALL	2007-03-18 02:00:29 UTC (rev 942)
@@ -143,10 +143,10 @@
 
     After the creation of user accounts, the commant to reset the admin password
     is:
-    UPDATE users_conf SET password=mp5('password') WHERE id = 
+    UPDATE users_conf SET password=mp5('MYPASSWORD') WHERE id = 
         (select id FROM user WHERE username = 'admin');
 
-    Of course, substitute 'password' for your chosen password.
+    Of course, substitute 'MYPASSWORD' for your chosen password.
 
 2)  The central database may have been created with a different user than you 
     are using for the connection and you may not have permission to access the

Modified: branches/1.2/LedgerSMB/Menu.pm
===================================================================
--- branches/1.2/LedgerSMB/Menu.pm	2007-03-18 01:19:59 UTC (rev 941)
+++ branches/1.2/LedgerSMB/Menu.pm	2007-03-18 02:00:29 UTC (rev 942)
@@ -48,7 +48,13 @@
 		? $self->{$item}{target} : "";
 
 	my $level = $form->escape($item);
-	my $str = qq|<a style="display:block;"|. 
+	my $style;
+	if ($form->{menubar}){
+		$style = "";
+	} else {
+		$style = "display:block;";
+	}
+	my $str = qq|<a style="$style"|. 
 		qq|href="$module?path=$form->{path}&amp;action=$action&amp;|.
 		qq|level=$level&amp;login=$form->{login}&amp;|.
 		qq|timeout=$form->{timeout}&amp;sessionid=$form->{sessionid}|.


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