projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add_[stylesheets|javascripts] aliase für use[stylesheet|javascript]
[kivitendo-erp.git]
/
SL
/
Layout
/
Base.pm
diff --git
a/SL/Layout/Base.pm
b/SL/Layout/Base.pm
index
1d31a82
..
18ef133
100644
(file)
--- a/
SL/Layout/Base.pm
+++ b/
SL/Layout/Base.pm
@@
-65,6
+65,10
@@
sub javascripts_inline {
# Interface
########################################
# Interface
########################################
+sub add_stylesheets {
+ &use_stylesheet;
+}
+
sub use_stylesheet {
my $self = shift;
push @{ $self->{stylesheets} ||= [] }, @_ if @_;
sub use_stylesheet {
my $self = shift;
push @{ $self->{stylesheets} ||= [] }, @_ if @_;
@@
-105,6
+109,9
@@
sub get_stylesheet_for_user {
return $css_path;
}
return $css_path;
}
+sub add_javascripts {
+ &use_javascript
+}
sub use_javascript {
my $self = shift;
sub use_javascript {
my $self = shift;