# extra code is currently only used by menuv3 and menuv4 to set their css.
# it is strongly deprecated, and will be changed in a future version.
- my ($self, $extra_code) = @_;
+ my ($self, %params) = @_;
my $db_charset = $::lx_office_conf{system}->{dbcharset} || Common::DEFAULT_CHARSET;
my @header;
***********************************************/
</script>
- $extra_code
+ $params{extra_code}
$title_hack
</head>
sub display {
my $form = $main::form;
- $form->header(qq|<link rel="stylesheet" href="css/menuv3.css?id=" type="text/css">|);
+ $form->header(extra_code => qq|<link rel="stylesheet" href="css/menuv3.css?id=" type="text/css">|);
$form->{date} = clock_line();
$form->{menu} = acc_menu();
sub display {
my $form = $main::form;
- $form->header(qq|<link rel="stylesheet" href="css/menuv4.css?id=" type="text/css">|);
+ $form->header(extra_code => qq|<link rel="stylesheet" href="css/menuv4.css?id=" type="text/css">|);
$form->{date} = clock_line();
$form->{menu} = acc_menu();