X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_msg.html;h=d2b043c929e2b2834d06c80df976976081c66fc9;hb=d0b9bf2f18ea8c5b6a4267f7498df954bfaeafde;hp=a5846109ac065fafcdb0734f8d61ee66788eafe0;hpb=bb119c4cc86e906f698a205437790bd8f96bb3d0;p=freeside.git diff --git a/httemplate/view/cust_msg.html b/httemplate/view/cust_msg.html index a5846109a..d2b043c92 100755 --- a/httemplate/view/cust_msg.html +++ b/httemplate/view/cust_msg.html @@ -1,4 +1,16 @@ <& /elements/header-popup.html &> + + @@ -8,48 +20,76 @@ % 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/ ) { +%#