Revision 268ed982
Von Sven Schöling vor mehr als 3 Jahren hinzugefügt
SL/Layout/None.pm | ||
---|---|---|
23 | 23 |
); |
24 | 24 |
} |
25 | 25 |
|
26 |
sub use_javascript { |
|
27 |
my $self = shift; |
|
26 |
sub static_javascripts { |
|
28 | 27 |
qw( |
29 | 28 |
jquery.js |
30 | 29 |
common.js |
... | ... | |
33 | 32 |
kivi.js |
34 | 33 |
), |
35 | 34 |
'locale/'. $::myconfig{countrycode} .'.js', |
36 |
$self->SUPER::use_javascript(@_); |
|
37 | 35 |
} |
38 | 36 |
|
39 |
sub use_stylesheet { |
|
40 |
my $self = shift; |
|
37 |
sub static_stylesheets { |
|
41 | 38 |
qw( |
42 | 39 |
main.css |
43 | 40 |
menu.css |
44 | 41 |
), |
45 |
$self->SUPER::use_stylesheet(@_); |
|
46 | 42 |
} |
47 | 43 |
|
48 | 44 |
1; |
Auch abrufbar als: Unified diff
Layout: Anpassung von den meisten Layouts an die neue javascript/stylesheet Struktur