From: Sven Schöling Date: Tue, 16 Oct 2012 14:23:11 +0000 (+0200) Subject: add_[stylesheets|javascripts] aliase für use[stylesheet|javascript] X-Git-Tag: release-3.0.0beta1~121 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=4e7776aa3fa5ba3c1fd932c79ce741a4eb8d89fd;p=kivitendo-erp.git add_[stylesheets|javascripts] aliase für use[stylesheet|javascript] --- diff --git a/SL/Layout/Base.pm b/SL/Layout/Base.pm index 1d31a8228..18ef133e9 100644 --- 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;