Revision 0f179c9a
Von Sven Schöling vor etwa 12 Jahren hinzugefügt
SL/Controller/Layout/Classic.pm | ||
---|---|---|
14 | 14 |
$self->{top} = SL::Controller::Layout::Top->new; |
15 | 15 |
$self->{left} = SL::Controller::Layout::MenuLeft->new; |
16 | 16 |
|
17 |
$self->use_stylesheet( |
|
18 |
$self->{top}->stylesheets, |
|
19 |
$self->{left}->stylesheets, |
|
20 |
); |
|
21 |
|
|
22 |
$self->use_javascript( |
|
23 |
$self->{top}->javascripts, |
|
24 |
$self->{left}->javascripts, |
|
25 |
); |
|
26 |
|
|
17 | 27 |
$self; |
18 | 28 |
} |
19 | 29 |
|
... | ... | |
30 | 40 |
"</div>\n"; |
31 | 41 |
} |
32 | 42 |
|
33 |
sub stylesheets { |
|
34 |
$_[0]{top}->stylesheets, |
|
35 |
$_[0]{left}->stylesheets; |
|
36 |
} |
|
37 |
|
|
38 |
sub javascripts { |
|
39 |
$_[0]{top}->javascripts, |
|
40 |
$_[0]{left}->javascripts; |
|
41 |
} |
|
42 |
|
|
43 | 43 |
1; |
Auch abrufbar als: Unified diff
stylesheet/javascript handling verbessert