2 <?=("important_msg")><?%("COND:LOGGEDIN", 1, 1, 1, "", ="paging")>
5 <div class="fix_scrollbar_bug message "><form name="enterform" accept-charset="UTF-8" enctype="multipart/form-data" method="POST" action="post">
6 <input type="hidden" name="postseq" value="<?DATE:NOW:NO>">
7 <input type="hidden" name="return_to" value="<?BSTR("return_to")>">
8 <input type="hidden" name="nonce" value="<?NONCE>">
9 <input type="hidden" name="force_room" value="<?ROOMNAME("X")>">
10 <input type="hidden" name="references" value="<?BSTR("references")>">
11 <input type="hidden" name="page" value="<?BSTR("page")>">
13 <p class="send_edit_msg">
14 <?!("COND:BSTR", 1, "__RCPTREQUIRED")><input type="submit" name="send_button" value="<?_("Send message")>"><?!("X", 1)>
15 <??("COND:BSTR", 2, "__RCPTREQUIRED")><input type="submit" name="send_button" value="<?_("Post message")>"><?!("X", 2)>
17 <input type="submit" name="save_button" value="<?_("Save to Drafts")>">
19 <input type="submit" name="cancel_button" value="<?_("Cancel")>">
21 <img src="static/newmess3_24x.gif" class="imgedit"> <?DATE:NOW:STR>
22 <table width="100%" class="edit_msg_table">
23 <tr><th><label for="from_id" > <i><?_("from")></i> </label></th><td colspan="2">
25 <??("COND:BSTR", 4, "__RCPTREQUIRED")>
26 <select name="display_name" size=1 id="from_id">
27 <?ITERATE("PREF:VALID:EMAIL:NAME", ="prefs_section_msg_handle_select")>
28 <?!("COND:THISROOM:FLAG:QR", 3, #"QR_ANONOPT")>
29 <option <?%("COND:BSTR", 1, "__ANONYMOUS__", "selected", "")> value="__ANONYMOUS__"><?_("Anonymous")></option>
34 <?!("COND:BSTR", 5, "__RCPTREQUIRED")>
35 <select name="display_name" size=1 id="from_id">
36 <?ITERATE("PREF:VALID:EMAIL:NAME", ="prefs_section_msg_sender_name_select")>
37 <?!("COND:THISROOM:FLAG:QR", 3, #"QR_ANONOPT")>
38 <option <?%("COND:BSTR", 1, "__ANONYMOUS__", "selected", "")> value="__ANONYMOUS__"><?_("Anonymous")></option>
42 <select name="my_email_addr" size=1>
43 <?ITERATE("PREF:VALID:EMAIL:ADDR", ="prefs_section_msg_sender_from_select")>
47 <i><?_("in")></i> <?ROOMNAME></td></tr>
49 <?!("COND:BSTR", 5, "__RCPTREQUIRED")>
51 <th><label for="recp_id"> <?_("To:")></label></th>
52 <td><input autocomplete="off" type="text" name="recp" id="recp_id" value="<?BSTR("recp", "H")>" size=45 maxlength=1000 />
53 <div class="auto_complete" id="recp_name_choices"></div>
55 <td rowspan="3" align="left" valign="top">
56 <a href="javascript:PopOpenAddressBook('recp_id|<?_("To:")>|cc_id|<?_("CC:")>|bcc_id|<?_("BCC:")>');" title="<?_("Contacts")>">
57 <img align=middle border=0 width=24 height=24 src="static/viewcontacts_24x.gif"> <?_("Contacts")>
62 <th><label for="cc_id"><?_("CC:")></label></th>
63 <td><input autocomplete="off" type="text" name="cc" id="cc_id" value="<?BSTR("cc", "H")>" size=45 maxlength=1000 />
64 <div class="auto_complete" id="cc_name_choices"></div>
68 <th><label for="bcc_id"><?_("BCC:")></label></th>
69 <td><input autocomplete="off" type="text" name="bcc" id="bcc_id" value="<?BSTR("bcc", "H")>" size=45 maxlength=1000 />
70 <div class="auto_complete" id="bcc_name_choices"></div>
75 <th><label for="subject_id" >
76 <?%("COND:BSTR", 6, "__SUBJREQUIRED", 0, _("Subject:"), _("Subject (optional):")>
79 <input type="text" name="subject" id="subject_id" value="<?BSTR("subject", "H")>" size=45 maxlength=70>
83 <input type="hidden" name="sig_inserted" value="yes">
88 <textarea name="msgtext" cols="80" rows="15">
89 <?BSTR("msgtext", "X")><?!("COND:BSTR", 1, "fwdquote")><br />
90 <div align=center>
92 <?_("--- forwarded message ---")>
95 <?MAIL:QUOTETEXT("fwdquote", "X")>
96 <br /><?!("X", 1)><?!("COND:BSTR", 2, "replyquote")>
98 <?MAIL:QUOTETEXT("replyquote", "X")>
99 <br /><?!("X", 2)><?!("COND:BSTR", 3, "edit")><?MAIL:EDITTEXT("edit", "X")><?!("X", 3)>
100 <??("COND:BSTR", 4, "edit")><??("COND:BSTR", 5, "sig_inserted", "yes")><?!("COND:PREF", 6, "use_sig", "yes")>
101 <br><p>-- <br><?PREF:VALUE("signature","H")>
103 <?!("X", 6)><??("X", 5)><?!("X", 4)><?!("COND:ROOM:TYPE_IS", 7, #"VIEW_WIKI")><?MAIL:EDITWIKI("X")><?!("X", 7)>
111 <div class="attachment buttons">
112 <img src="static/diskette_24x.gif" class="imgedit" ><?_("Attachments:")>
113 <select name="which_attachment" size=1>
114 <?ITERATE("MSG:ATTACHNAMES", ="edit_message_section_attach_select")>
116 <?_("Attach file:")>
117 <input name="attachfile" class="attachfile" size=16 type="file">
118 <input type="submit" name="attach_button" value="<?_("Add")>">
119 <input type="submit" name="remove_attach_button" value="<?_("Remove")>">
121 </div></td></tr></table></form>
123 <script type="text/javascript">
124 activate_entmsg_autocompleters();
130 <?=("addressbook_popup")>