projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e10f86e
)
add_[stylesheets|javascripts] aliase für use[stylesheet|javascript]
author
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 16 Oct 2012 14:23:11 +0000
(16:23 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 17 Oct 2012 14:03:52 +0000
(16:03 +0200)
SL/Layout/Base.pm
patch
|
blob
|
history
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
########################################
+sub add_stylesheets {
+ &use_stylesheet;
+}
+
sub use_stylesheet {
my $self = shift;
push @{ $self->{stylesheets} ||= [] }, @_ if @_;
@@
-105,6
+109,9
@@
sub get_stylesheet_for_user {
return $css_path;
}
+sub add_javascripts {
+ &use_javascript
+}
sub use_javascript {
my $self = shift;