message_components.inc
上传用户:xiao730204
上传日期:2007-01-04
资源大小:141k
文件大小:1k
- <?php
- /*
- $struct_item = $current_structure;
- $struct_item->description = 'Full Message';
- include( './pimp/templates/read/message_part_row.inc' );
- */
- if ( is_array( $current_structure->parts ) ) {
- include( './pimp/templates/read/message_part_title.inc' );
- for( $i = 0; $i < count( $current_structure->parts ); $i++ ) {
- $struct_item = $current_structure->parts[ $i ] ;
- if ( $struct_item->type == 0 ) {
- /* This shoudle be a piece of a message */
- list( $ret, $bar ) = $folder_obj->GetMessageBodySection(
- $message_id,
- $i + 1
- );
- $current_body .= $bar;
- }
- /* if ( $struct_item->type == 2 ) { */
- /* This is a forwarded message component */
- /*
- list( $ret, $bar ) = $folder_obj->GetMessageBodySection(
- $message_id,
- $i + 1
- );
- $current_encapsulated_body .= $bar;
- */
- /*} */
- include( './pimp/templates/read/message_part_row.inc' );
- }
- include( './pimp/templates/read/message_part_bottom.inc' );
- }
- ?>