# Surgeweb plain HTML interface # Include file that shows "one message" #||define||msg_display_parameters||foobar|| ||tcmd_load_msg_info|| ||tcmd_process_message|| ||iftrue(h_unread)|| ||tcmd_mark_read|| ||endif||
$$st_hdr_from$$ ||show_rcpts_3(h_from)||
$$st_hdr_subject$$ ||web_encode(h_subject)||
$$st_hdr_to$$ ||macro((addr1),h_to)||
$$st_hdr_cc$$ ||macro((addr1),h_cc)||
$$st_txt_parts_show$$ $$st_cmd_parts_raw$$ ||ifdef||text_part|| $$st_cmd_parts_text$$ ||endif|| ||ifdef||html_part|| $$st_cmd_parts_html$$ ||endif||
$$st_hdr_date$$ ||msg_date|| ||msg_time||
||ifdef||attachments|| ||if(equal(attachments,1))|| $$st_msg_attachments_1$$ ||begin_list_attachments|| ||part_name|| ||bytes_basic(part_size)|| ||end_list_attachments|| ||else|| ||attachments|| $$st_msg_attachments_m$$ $$st_msg_attachments_dl$$ | ||define||list_max||4|| ||begin_list_attachments|| ||part_name|| ||bytes_basic(part_size)||||ifdef||more||,||endif|| ||ifdef||max_hit||...||endif|| ||end_list_attachments|| ||endif|| ||endif||
||ifdef||images_disabled||
$$st_msg_img_disable1$$ $$st_msg_img_disable2$$, $$st_msg_img_disable3$$
||endif||
||msg_show||
||undef||done_some|| ||begin_list_msg_extra|| ||ifndef||done_some||
$$st_msg_img_attach$$
||endif|| ||define||done_some||true||

| ||part_name|| ||if(istrue(pref_devt_mode))||[PART=||part_id||]||endif|| ||bytes_basic(part_size)|| $$st_msg_img_attach_vw$$ $$st_msg_img_attach_dl$$

||end_list_msg_extra||