From 30a52319c024fefb2b4e4aa7bd974e4af7af30cd Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Mon, 21 Feb 2005 01:03:09 +0000 Subject: Bug 252272: Allow extremely large attachments to be stored locally r=wurblzap.a=justdave --- template/en/default/attachment/create.html.tmpl | 12 ++++++++++++ template/en/default/global/user-error.html.tmpl | 9 +++++++++ 2 files changed, 21 insertions(+) (limited to 'template') diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl index 82ad73ce1..43af6e638 100644 --- a/template/en/default/attachment/create.html.tmpl +++ b/template/en/default/attachment/create.html.tmpl @@ -65,6 +65,18 @@ + [% IF Param("maxlocalattachment") %] + + BigFile: + + + + + + [% END %] diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 6a29f975d..ac2cba6d3 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -156,6 +156,10 @@ [% title = "Access Denied" %] You are not authorized to access this attachment. + [% ELSIF error == "attachment_removed" %] + [% title = "Attachment Removed" %] + The attachment you are attempting to access has been removed. + [% ELSIF error == "bug_access_denied" %] [% title = "Access Denied" %] You are not authorized to access [% terms.bug %] #[% bug_id FILTER html %]. @@ -604,6 +608,11 @@ [% title = "Invalid Keyword Name" %] You may not use commas or whitespace in a keyword name. + [% ELSIF error == "local_file_too_large" %] + [% title = "Local File Too Large" %] + Local file uploads must not exceed + [% Param('maxlocalattachment') %] MB in size. + [% ELSIF error == "login_needed_for_password_change" %] [% title = "Login Name Required" %] You must enter a login name when requesting to change your password. -- cgit v1.2.3-24-g4f1b