From 0e2ea68e886628033f9afeba99f90144b4f85510 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 12 Jan 2008 23:20:50 +0000 Subject: Bug 411437: Clipping of "Free Text" fields when user enters more then 255 characters - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/global/user-error.html.tmpl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'template/en/default/global/user-error.html.tmpl') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 46ed901a2..7bce4ad98 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -592,6 +592,13 @@ The sort key must be an integer between 0 and 32767 inclusive. It cannot be [% sortkey FILTER html %]. + [% ELSIF error == "freetext_too_long" %] + [% title = "Text Too Long" %] + The text you entered is too long ([% text.length FILTER html %] characters, + above the maximum length allowed of [% constants.MAX_FREETEXT_LENGTH FILTER none %] + characters): +

[% text FILTER html %]

+ [% ELSIF error == "group_cannot_delete" %] [% title = "Cannot Delete Group" %] The [% name FILTER html %] group cannot be deleted because -- cgit v1.2.3-24-g4f1b