From d2945f08850519b58cba4c5550a132f7c394ffdb Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sun, 18 Mar 2007 02:00:29 +0000 Subject: Making lynx menu horizontal again, and ammending INSTALL git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@942 4979c152-3d1c-0410-bac9-87ea11338e46 --- INSTALL | 4 ++-- LedgerSMB/Menu.pm | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/INSTALL b/INSTALL index c8246c01..3d33f150 100644 --- a/INSTALL +++ b/INSTALL @@ -143,10 +143,10 @@ Likely causes: 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 diff --git a/LedgerSMB/Menu.pm b/LedgerSMB/Menu.pm index 344bb7d7..d6ce2053 100755 --- a/LedgerSMB/Menu.pm +++ b/LedgerSMB/Menu.pm @@ -48,7 +48,13 @@ sub menuitem { ? $self->{$item}{target} : ""; my $level = $form->escape($item); - my $str = qq|{menubar}){ + $style = ""; + } else { + $style = "display:block;"; + } + my $str = qq|