Revision 2219d158
Von Sven Schöling vor etwa 12 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
485 | 485 |
push @header, map { qq|<link rel="stylesheet" href="$_" type="text/css" title="Stylesheet">| } $layout->stylesheets; |
486 | 486 |
push @header, "<style type='text/css'>\@page { size:landscape; }</style> " if $self->{landscape}; |
487 | 487 |
push @header, "<link rel='shortcut icon' href='$self->{favicon}' type='image/x-icon'>" if -f $self->{favicon}; |
488 |
push @header, map { qq|<script type="text/javascript" src="$_"></script>| } $layout->javascripts; |
|
488 |
push @header, map { qq|<script type="text/javascript" src="$_"></script>| } $layout->javascripts;
|
|
489 | 489 |
push @header, $self->{javascript} if $self->{javascript}; |
490 | 490 |
push @header, map { $_->show_javascript } @{ $self->{AJAX} || [] }; |
491 | 491 |
push @header, "<script type='text/javascript'>function fokus(){ document.$self->{fokus}.focus(); }</script>" if $self->{fokus}; |
... | ... | |
525 | 525 |
print $::request->{layout}->pre_content; |
526 | 526 |
print $::request->{layout}->start_content; |
527 | 527 |
|
528 |
$layout->header_done; |
|
529 |
|
|
528 | 530 |
$::lxdebug->leave_sub; |
529 | 531 |
} |
530 | 532 |
|
531 | 533 |
sub footer { |
532 | 534 |
# TODO: fix abort conditions |
533 | 535 |
|
536 |
return unless $::request->{layout}->need_footer; |
|
537 |
|
|
534 | 538 |
print $::request->{layout}->end_content; |
535 | 539 |
print $::request->{layout}->post_content; |
536 | 540 |
# print "<script type='text/javascript' src='$_'></script>\n" for $::request->{layout}->javascripts; |
Auch abrufbar als: Unified diff
form->footer