summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/menu.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/menu.pl b/bin/menu.pl
index 1d44caaf..f2bd469e 100644
--- a/bin/menu.pl
+++ b/bin/menu.pl
@@ -16,7 +16,7 @@
#######################################################################
$menufile = "menu.ini";
-use LedgerSMB::Menu;
+use LedgerSMB::Menufile;
1;
@@ -26,7 +26,7 @@ sub display {
if ( $form->{lynx} ) {
- $menu = new Menu "$menufile";
+ $menu = new LedgerSMB::Menufile "$menufile";
$menu->add_file("custom_$menufile") if -f "custom_$menufile";
$menu->add_file("$form->{login}_$menufile")
if -f "$form->{login}_$menufile";
@@ -81,7 +81,7 @@ sub acc_menu {
}
else {
- my $menu = new Menu "$menufile";
+ my $menu = new LedgerSMB::Menufile "$menufile";
$menu->add_file("custom_$menufile") if -f "custom_$menufile";
$menu->add_file("$form->{login}_$menufile")
if -f "$form->{login}_$menufile";
@@ -136,7 +136,7 @@ sub section_menu {
if ( $form->{lynx} ) {
- $menu = new Menu "$menufile", $form->{level};
+ $menu = new LedgerSMB::Menufile "$menufile", $form->{level};
$menu->add_file("custom_$menufile") if -f "custom_$menufile";
$menu->add_file("$form->{login}_$menufile")
@@ -344,7 +344,7 @@ sub menubar {
if ( $form->{lynx} ) {
- $menu = new Menu "$menufile", "";
+ $menu = new LedgerSMB::Menufile "$menufile", "";
# build menubar
@menuorder = $menu->access_control( \%myconfig, "" );