X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main_attach.cgi;h=ebbaf3cf3aaff068d4fb252049e368079aeedbea;hb=d6741df87df9e3352d7ae47a02d0e3f46154fef9;hp=5e9b16c9956ae3ff02a3a28af23dbbd00949139b;hpb=e5e706ef5cebf3db8754801a9bedf90e9a796ef9;p=freeside.git diff --git a/httemplate/edit/cust_main_attach.cgi b/httemplate/edit/cust_main_attach.cgi index 5e9b16c99..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,6 +44,7 @@ onclick="return(confirm('Delete this file?'));"> <%init> my $curuser = $FS::CurrentUser::CurrentUser; + my $attachnum = ''; my $attach; if ( $cgi->param('error') ) {