From 3afb427511525237a3686e9b254dbe01dfb51052 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 18 Jan 2012 13:38:21 +0100 Subject: [PATCH] L.date_tag: kalenderpicker nicht anzeigen, wenn das Feld readonly ist. --- SL/Template/Plugin/L.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Template/Plugin/L.pm b/SL/Template/Plugin/L.pm index bc3808820..8d5b9f62a 100644 --- a/SL/Template/Plugin/L.pm +++ b/SL/Template/Plugin/L.pm @@ -295,7 +295,7 @@ sub date_tag { onChange => $onchange, ) : ()), %params, - ) . ((!$params{no_cal}) ? + ) . ((!$params{no_cal} && !$params{readonly}) ? $self->html_tag('img', undef, src => 'image/calendar.png', alt => $::locale->text('Calendar'), -- 2.20.1