From ec9b5fd81dc74c7f69d221fa529be1c2543a12a0 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 21 Jul 2015 12:58:36 +0800 Subject: Bug 1180572 - create attachment_storage parameter --- template/en/default/global/user-error.html.tmpl | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (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 f8d8985f9..e8510b134 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -688,13 +688,9 @@ [% ELSIF error == "file_too_large" %] [% title = "File Too Large" %] - [%# Convert maxlocalattachment from Mb to Kb %] - [% max_local = Param('maxlocalattachment') * 1024 %] - [% max_limit = [Param('maxattachmentsize'), max_local] %] The file you are trying to attach is [% filesize FILTER html %] kilobytes (KB) in size. Attachments cannot be more than - [%# Hack to get the max value between both limits %] - [%+ max_limit.nsort.last FILTER html %] KB.
+ [%+ Param('maxattachmentsize') FILTER html %] KB.
We recommend that you store your attachment elsewhere and then paste the URL to this file on the attachment creation page in the appropriate text field. -- cgit v1.2.3-24-g4f1b