X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_msg.html;h=91a08ebdaa60cdd6494acf274eb4f41fbfa7dc63;hb=9fae251fc1e3069694ebaf4fae62bde844f45cff;hp=67ceef799bc3637e65cf5a49eef8744777294879;hpb=c9d57a5a0083a91bc5d1427b6198bd7ee894cad1;p=freeside.git diff --git a/httemplate/view/cust_msg.html b/httemplate/view/cust_msg.html index 67ceef799..91a08ebda 100755 --- a/httemplate/view/cust_msg.html +++ b/httemplate/view/cust_msg.html @@ -1,4 +1,16 @@ <& /elements/header-popup.html &> + + @@ -8,31 +20,35 @@ % if ( $cust_msg->error ) { % } - - +<& /elements/menubar.html, + { 'newstyle' => 1, + 'url_base' => $cgi->self_url . ';part=', + 'selected' => $selected_index, + }, + map { $partnames[$_] => $_ } (0 .. scalar(@parts) - 1), +&>
From:<% $cust_msg->env_from %>
To:<% $env_to %>
Error:<% encode_entities($cust_msg->error) %>
-
- - Header - Body -
-
- - -
+
+% if ( $selected_part->isa('MIME::Entity') ) { +% my $type = $selected_part->mime_type; +% if ( $type =~ /^text/ ) { +%#