X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fattachments.html;h=d51d826453cb6ff153dbe69d8ee7c6667709b7f8;hb=ecacdc093c236a548e819406dbbd56067ec352e4;hp=570b65120d35be071a1469e04c05cb2a97872d4e;hpb=93519f9371b41ded713a93fba031ed7a361be04c;p=freeside.git diff --git a/httemplate/view/cust_main/attachments.html b/httemplate/view/cust_main/attachments.html index 570b65120..d51d82645 100755 --- a/httemplate/view/cust_main/attachments.html +++ b/httemplate/view/cust_main/attachments.html @@ -48,35 +48,35 @@ % my $clickjs = popup('edit/process/cust_main_attach.cgi?'. % "custnum=$custnum;attachnum=$attachnum;". % "undelete=1", -% mt('Undelete attachment')); -% $edit .= linkstr($clickjs, mt('undelete')); +% emt('Undelete attachment')); +% $edit .= linkstr($clickjs, emt('undelete')); % } % if ($curuser->access_right('Purge attachment')) { % my $clickjs = popup('edit/process/cust_main_attach.cgi?'. % "custnum=$custnum;attachnum=$attachnum;". % "purge=1", -% mt('Purge attachment'), -% mt('Permanently remove this file?') ); -% $edit .= linkstr($clickjs,mt('purge')); +% emt('Purge attachment'), +% emt('Permanently remove this file?') ); +% $edit .= linkstr($clickjs,emt('purge')); % } % } % else { # you can download or edit it % if ($curuser->access_right('Edit attachment') ) { % my $clickjs = popup('edit/cust_main_attach.cgi?'. % "custnum=$custnum;attachnum=$attachnum", -% mt('Edit attachment properties')); -% $edit .= linkstr($clickjs,mt('edit')); +% emt('Edit attachment properties')); +% $edit .= linkstr($clickjs,emt('edit')); % } % if($curuser->access_right('Delete attachment') ) { % my $clickjs = popup('edit/process/cust_main_attach.cgi?'. % "custnum=$custnum;attachnum=$attachnum;delete=1", % 'Delete attachment', % 'Delete this file?'); -% $edit .= linkstr($clickjs,mt('delete')); +% $edit .= linkstr($clickjs,emt('delete')); % } % if ($curuser->access_right('Download attachment') ) { % $edit .= qq!  (! -% . mt('download') .')'; +% . emt('download') .')'; % } % } @@ -86,12 +86,12 @@  <% $attach->usernum ? $attach->access_user->name : $attach->otaker %> -  <% $attach->filename %> +  <% $attach->filename |h %> -  <% $attach->title %> +  <% $attach->title |h %> -  <% $attach->mime_type %> +  <% $attach->mime_type |h %>  <% size_units( $attach->size ) %> @@ -134,7 +134,7 @@ sub note_datestr { sub linkstr { my ($clickjs, $label) = (shift,shift); - '  (' . mt($label) . ')'; + '  (' . emt($label) . ')'; } sub size_units {