* add transitional beginboxx template and move some places to the new syntax
[citadel.git] / webcit / static / t / edit_message.html
1 <?=("head")>
2 <?=("important_msg")>
3 <?ICONBAR>
4 <?ROOMBANNER>
5 </div>
6 <div id="content">
7 <div class="fix_scrollbar_bug message "><form enctype="multipart/form-data" method="POST" accept-charset="UTF-8" action="post" name="enterform">
8 <input type="hidden" name="postseq" value="<?DATE:NOW:NO>">
9 <input type="hidden" name="return_to" value="<?BSTR("return_to")>">
10 <input type="hidden" name="nonce" value="<?NONCE>">
11 <input type="hidden" name="force_room" value="<?ROOMNAME>">
12 <input type="hidden" name="references" value="<?BSTR("references")>">
13
14 <p class="send_edit_msg">
15 <?!("COND:SUBST", 1, "RCPTREQUIRED")><input type="submit" name="send_button" value="<?_("Send message")>"><?!("X", 1)>
16 <??("COND:SUBST", 2, "RCPTREQUIRED")><input type="submit" name="send_button" value="<?_("Post message")>"><?!("X", 2)>
17 &nbsp;
18   <input type="submit" name="cancel_button" value="<?_("Cancel")>">
19 </p>
20 <img src="static/newmess3_24x.gif" class="imgedit">  <?DATE:NOW:STR>
21 <table width="100%" class="edit_msg_table">
22 <TODO: anonym>
23 <tr><th><label for="from_id" >  <i><?_("from")></i> </label></th><td colspan="2">
24
25 <??("COND:SUBST", 4, "RCPTREQUIRED")>
26 <select name="display_name" size=1 id="from_id">
27 <?ITERATE("PREF:VALID:EMAIL:NAME", "section_msg_handle_select")>
28 <?!("COND:ROOM:FLAGS:QR_ANONOPT", 3)>
29 <option <?%("COND:BSTR", 1, "__ANONYMOUS__", "selected", "")> value="__ANONYMOUS__"><?_("Anonymous")></option>
30 <?!("X", 3)>
31 </select>
32 <??("X", 4)>
33
34 <?!("COND:SUBST", 5, "RCPTREQUIRED")>
35 <select name="display_name" size=1 id="from_id">
36 <?ITERATE("PREF:VALID:EMAIL:NAME", "section_msg_sender_name_select")>
37 <?!("COND:ROOM:FLAGS:QR_ANONOPT", 3)>
38 <option <?%("COND:BSTR", 1, "__ANONYMOUS__", "selected", "")> value="__ANONYMOUS__"><?_("Anonymous")></option>
39 <?!("X", 3)>
40 </select>
41
42 <select name="my_email_addr" size=1>
43 <?ITERATE("PREF:VALID:EMAIL:ADDR", "section_msg_sender_from_select")>
44 </select>
45 <?!("X", 4)>
46
47  <i><?_("in")></i> <?ROOMNAME></td></tr>
48
49 <?!("COND:SUBST", 5, "RCPTREQUIRED")>
50 <tr>
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>
54   </td>
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">&nbsp;<?_("Contacts")>
58     </a>
59   </td>
60 </tr>
61 <tr>
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>
65   </td>
66 </tr>
67 <tr>
68   <th><label for="bcc_id"><?_("BCC:")></label></th>
69   <td><input autocomplete="off" type="text" name="bcc" id="bcc_id" value="<?BSTR("cc", "H")>" size=45 maxlength=1000 />
70    <div class="auto_complete" id="bcc_name_choices"></div>
71   </td>
72 </tr>
73 <script type="text/javascript"> 
74  activate_entmsg_autocompleters();      
75
76 </script>
77 <??("X", 5)>            
78 <tr>
79   <th><label for="subject_id" > 
80       <?!("COND:SUBST", 6, "SUBJREQUIRED")><?_("Subject:")><?!("X", 6)>
81       <??("COND:SUBST", 7, "SUBJREQUIRED")><?_("Subject (optional):")><??("X", 7)>
82   </label></th>
83   <td colspan="2">
84     <input type="text" name="subject" id="subject_id" value="<?BSTR("subject", "U")>" size=45 maxlength=70>
85   </td>
86 </tr>
87 <tr><td colspan="3">
88
89
90 <textarea name="msgtext" cols="80" rows="15">
91 <?BSTR("msgtext")>
92 <?!("COND:BSTR", 1, "fwdquote")>
93 <br><div align=center><i>
94 <?_("--- forwarded message ---")>
95 </i></div><br>
96 <?MAIL:QUOTETEXT("fwdquote")>
97 <?!("X", 1)><?!("COND:BSTR", 2, "replyquote")>
98 <br>
99 <blockquote>
100 <?MAIL:QUOTETEXT("replyquote")>
101 </blockquote><br>
102 <?!("X", 2)><?!("COND:BSTR", 3, "sig_inserted", "yes")>
103 <?!("COND:PREF", 4, "use_sig", "yes")>
104 <br>--<br>
105 <?PREF:VALUE("signature","H")>
106 <?!("X", 4)>
107 <?!("X", 3)>
108 </textarea>
109 <?=("richedit")>
110
111
112 <div class="attachment buttons">
113 <img src="static/diskette_24x.gif" class="imgedit" ><?_("Attachments:")>
114 <select name="which_attachment" size=1>
115 <?ITERATE("MSG:ATTACHNAMES", "section_attach_select")><TODO>
116 </select>
117 &nbsp;&nbsp;&nbsp;<?_("Attach file:")>
118 <input name="attachfile" class="attachfile" size=16 type="file">
119 &nbsp;&nbsp;<input type="submit" name="attach_button" value="<?_("Add")>">
120
121 </div></td></tr></table></form>
122
123 </div>
124 </div>
125 <?=("addressbook_popup")>
126
127 <?=("trailing")>