Revision d29b0238
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/Dispatcher.pm | ||
---|---|---|
88 | 88 |
# canonial globals. if it's not here, chances are it will get refactored someday. |
89 | 89 |
{ |
90 | 90 |
no warnings 'once'; |
91 |
$::menufile = "menu.ini"; |
|
92 | 91 |
$::lxdebug = LXDebug->new; |
93 | 92 |
$::auth = SL::Auth->new; |
94 | 93 |
$::form = undef; |
bin/mozilla/menu.pl | ||
---|---|---|
82 | 82 |
$::lxdebug->enter_sub; |
83 | 83 |
|
84 | 84 |
my $framesize = _calc_framesize() - 2; |
85 |
my $menu = Menu->new($::menufile);
|
|
85 |
my $menu = Menu->new("menu.ini");
|
|
86 | 86 |
$mainlevel = $::form->{level}; |
87 | 87 |
$::form->{title} = $::locale->text('Lx-Office'); |
88 | 88 |
$::form->header; |
bin/mozilla/menuXML.pl | ||
---|---|---|
99 | 99 |
|
100 | 100 |
my $mainlevel = $form->{level}; |
101 | 101 |
$mainlevel =~ s/$mainlevel--//g; |
102 |
my $menu = Menu->new($::menufile);
|
|
102 |
my $menu = Menu->new("menu.ini");
|
|
103 | 103 |
|
104 | 104 |
$| = 1; |
105 | 105 |
|
bin/mozilla/menujs.pl | ||
---|---|---|
136 | 136 |
|
137 | 137 |
my $mainlevel = $form->{level}; |
138 | 138 |
$mainlevel =~ s/$mainlevel--//g; |
139 |
my $menu = Menu->new($::menufile);
|
|
139 |
my $menu = Menu->new("menu.ini");
|
|
140 | 140 |
|
141 | 141 |
$| = 1; |
142 | 142 |
|
bin/mozilla/menuv3.pl | ||
---|---|---|
85 | 85 |
|
86 | 86 |
my $mainlevel = $form->{level}; |
87 | 87 |
$mainlevel =~ s/\Q$mainlevel\E--//g; |
88 |
my $menu = Menu->new($::menufile);
|
|
88 |
my $menu = Menu->new("menu.ini");
|
|
89 | 89 |
|
90 | 90 |
$| = 1; |
91 | 91 |
|
bin/mozilla/menuv4.pl | ||
---|---|---|
87 | 87 |
|
88 | 88 |
my $mainlevel = $form->{level}; |
89 | 89 |
$mainlevel =~ s/\Q$mainlevel\E--//g; |
90 |
my $menu = Menu->new($::menufile);
|
|
90 |
my $menu = Menu->new("menu.ini");
|
|
91 | 91 |
|
92 | 92 |
$| = 1; |
93 | 93 |
|
Auch abrufbar als: Unified diff
Globale Variable $::menufile entfernt