# Surgeweb plain HTML interface # Primary page template that displays a "message for editing" ||include||_head.htm|| ||define||formdata||true|| ||include||_layout_begin.htm|| ||define((menu),(attach))|| ||include||_menu_bar.htm|| # Bunch of hidden fields to keep our message intact

$$st_attach_info$$

# Show everything we need to regarding existing attachments $$st_attach_txt_done$$
||if(longer(attach_ids,0))|| ||tcmd_attach_get|| ||define((foreach),attach_ids)|| ||begin_list_foreach||
||lookup(concat((attach_fname_),item))|| ||bytes_basic(lookup(concat((attach_fsize_),item)))||
||end_list_foreach||
||endif||
$$st_attach_txt_new$$

# surgemail's webio.c:web_decode_form only supports the upload of a single attachment at a time currently # this should probably be improved at some stage... # File 1:
# File 2:
# File 3:
#
$$st_attach_txt_file$$

||include||_layout_end.htm||\