X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fview%2Fcust_msg.html;h=91a08ebdaa60cdd6494acf274eb4f41fbfa7dc63;hp=67ceef799bc3637e65cf5a49eef8744777294879;hb=9fae251fc1e3069694ebaf4fae62bde844f45cff;hpb=c2f4d21edfe3434c02c9dbd666e684c2deb3258e 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/ ) { +%#