X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FTemplate%2FPlugin%2FL.pm;h=abb6046936e536139b641f65976acd10b994405b;hb=549f187d3a2b1d15f96c4556714666ed954447bb;hp=b88f7b9fee1ec57a17de27359acf57561c6b0fb5;hpb=94ca5d5182fbe9e07ac9217f191751a156bd230f;p=kivitendo-erp.git diff --git a/SL/Template/Plugin/L.pm b/SL/Template/Plugin/L.pm index b88f7b9fe..abb604693 100644 --- a/SL/Template/Plugin/L.pm +++ b/SL/Template/Plugin/L.pm @@ -84,20 +84,15 @@ sub textarea_tag { return _call_presenter('textarea_tag', sub date_tag { return _call_presenter('date_tag', @_); } sub div_tag { return _call_presenter('div_tag', @_); } sub radio_button_tag { return _call_presenter('radio_button_tag', @_); } +sub img_tag { return _call_presenter('img_tag', @_); } +sub restricted_html { return _call_presenter('restricted_html', @_); } +sub stripped_html { return _call_presenter('stripped_html', @_); } sub _set_id_attribute { my ($attributes, $name, $unique) = @_; SL::Presenter::Tag::_set_id_attribute($attributes, $name, $unique); } -sub img_tag { - my ($self, %options) = _hashify(1, @_); - - $options{alt} ||= ''; - - return $self->html_tag('img', undef, %options); -} - sub ul_tag { my ($self, $content, @slurp) = @_; return $self->html_tag('ul', $content, @slurp);