From 8d0665daac0c4deea67bf39bf4a13a9eaed51735 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 16 Dec 2009 17:35:59 +0000 Subject: [PATCH] tweak attachment adding UI: table consistency, input sizes and maxlengths, RT#4964 --- httemplate/edit/cust_main_attach.cgi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/httemplate/edit/cust_main_attach.cgi b/httemplate/edit/cust_main_attach.cgi index a00731050..ebbaf3cf3 100755 --- a/httemplate/edit/cust_main_attach.cgi +++ b/httemplate/edit/cust_main_attach.cgi @@ -8,22 +8,22 @@

-<% include('/elements/table.html') %> + % if(defined $attach) { % if($curuser->access_right("Download attachment")) { Download this file
% } - + - + % } % else { # !defined $attach - - + + % }
Filename >
>
Description
MIME type
Size <% $attach->size %>
Filename
Description
Filename
Description

@@ -44,7 +44,7 @@ onclick="return(confirm('Delete this file?'));"> <%init> my $curuser = $FS::CurrentUser::CurrentUser; -die "access denied" if !$curuser->access_right('View attachments'); + my $attachnum = ''; my $attach; if ( $cgi->param('error') ) { -- 2.11.0