Revision 9218e5a1
Von Sven Schöling vor etwa 12 Jahren hinzugefügt
SL/Menu.pm | ||
---|---|---|
46 | 46 |
|
47 | 47 |
my ($type, $menufile) = @_; |
48 | 48 |
|
49 |
return $instance if $instance; |
|
49 |
if ($instance) { |
|
50 |
$::lxdebug->leave_sub; |
|
51 |
return $instance; |
|
52 |
} |
|
50 | 53 |
|
51 | 54 |
my $self = {}; |
52 | 55 |
my $inifile = Inifile->new($menufile); |
bin/mozilla/menu.pl | ||
---|---|---|
53 | 53 |
|
54 | 54 |
my $sections = [ section_menu($menu) ]; |
55 | 55 |
|
56 |
$::lxdebug->leave_sub; |
|
56 | 57 |
$::form->parse_html_template('menu/menu', { |
57 | 58 |
sections => $sections, |
58 | 59 |
inline => 1, |
Auch abrufbar als: Unified diff
debug enter/leave_sub balanciert