summaryrefslogtreecommitdiff
path: root/LedgerSMB/Menu.pm
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-18 02:00:29 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-18 02:00:29 +0000
commitd2945f08850519b58cba4c5550a132f7c394ffdb (patch)
tree1b9e9ed741a216a8ef25fe5b54bba9fcf14e08ce /LedgerSMB/Menu.pm
parent4b891da16cd5d0d8fe16b49282d58aa6e12c5042 (diff)
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
Diffstat (limited to 'LedgerSMB/Menu.pm')
-rwxr-xr-xLedgerSMB/Menu.pm8
1 files changed, 7 insertions, 1 deletions
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|<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}|.