$callback = URI->new($callback)->rel($callback) if $callback;
$callback = "login.pl?action=company_logo" if $callback =~ /^(\.\/)?$/;
- $form->parse_html_template("menu/menunew", {
-# $self->render("menu/menunew", { no_menu => 1, no_output => 1 }, # buggy, no idea why
+ $self->render("menu/menunew", { partial => 1, no_output => 1 },
force_ul_width => 1,
date => $self->clock_line,
menu_items => $self->acc_menu,
callback => $callback,
- });
+ );
}
sub clock_line {
[<a href="JavaScript:top.main_window.print()">[% 'print' | $T8 %]</a>]
</td>
<td align="right" nowrap>
- [[% 'User' | $T8 %]: [% HTML.escape(login) %] -
+ [[% 'User' | $T8 %]: [% HTML.escape(MYCONFIG.login) %] -
<a href="controller.pl?action=LoginScreen/logout" target="_top">[% 'logout' | $T8 %]</a>]
[% date %] <span id='clock_id' style='position:relative'></span>
</td>