source: subversion/trunk/roundcubemail/skins/default/templates/compose.html @ 277

Last change on this file since 277 was 277, checked in by thomasb, 7 years ago

Improved usability (Ticket #1483807) and HTML validity; applied patch #1328032; fixed bug #1443200

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.6 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<title><roundcube:object name="productname" /> :: <roundcube:label name="compose" /></title>
5<roundcube:include file="/includes/links.html" />
6<link rel="stylesheet" type="text/css" href="/mail.css" />
7<link rel="stylesheet" type="text/css" href="/googiespell.css" />
8<script type="text/javascript">
9<!--
10
11function rcmail_toggle_display(id)
12  {
13  var row, disp;
14  if (row = document.getElementById(id))
15    {
16    disp = (!row.style.display || row.style.display=='none') ? ((document.all && !window.opera) ? 'block' : 'table-row') : 'none';
17    row.style.display = disp;
18    }
19   
20  return false;
21  }
22
23function rcmail_auto_save()
24  {
25  rcmail.command('savedraft','',this);
26  self.setTimeout('rcmail_auto_save()',300000);
27  }
28self.setTimeout('rcmail_auto_save()',300000);
29 
30//-->
31</script>
32</head>
33<body>
34
35<roundcube:include file="/includes/taskbar.html" />
36<roundcube:include file="/includes/header.html" />
37
38<form name="form" action="./" method="post">
39
40<div id="messagetoolbar">
41<!--<roundcube:button command="list" image="/images/buttons/back_act.png" imageSel="/images/buttons/back_sel.png" imageAct="/images/buttons/back_act.png" width="32" height="32" title="backtolist" />-->
42<roundcube:button command="send" imageSel="/images/buttons/send_sel.png" imageAct="/images/buttons/send_act.png" imagePas="/images/buttons/send_pas.png" width="32" height="32" title="sendmessage" />
43<roundcube:button command="spellcheck" imageSel="/images/buttons/spellcheck_sel.png" imageAct="/images/buttons/spellcheck_act.png" imagePas="/images/buttons/spellcheck_pas.png" width="32" height="32" title="checkspelling" />
44<roundcube:button command="add-attachment" imageSel="/images/buttons/attach_sel.png" imageAct="/images/buttons/attach_act.png" imagePas="/images/buttons/attach_pas.png" width="32" height="32" title="addattachment" />
45<roundcube:button command="savedraft" imageSel="/images/buttons/drafts_sel.png" imageAct="/images/buttons/drafts_act.png" imagePas="/images/buttons/drafts_pas.png" width="32" height="32" title="savemessage" />
46
47<div id="priority-selector">
48<label for="rcmcomposepriority"><roundcube:label name="priority" />:</label>&nbsp;<roundcube:object name="prioritySelector" form="form" id="rcmcomposepriority" />
49</div>
50
51<div id="receipt-selector">
52<roundcube:object name="receiptCheckBox" form="form" id="rcmcomposereceipt" />&nbsp;<label for="rcmcomposereceipt"><roundcube:label name="returnreceipt" /></label>
53</div>
54
55</div>
56
57<div id="compose-container">
58<table border="0" cellspacing="0" cellpadding="1" style="width:100%; height:99%;" summary="">
59<tbody>
60<tr>
61<td>
62
63<table border="0" cellspacing="0" cellpadding="1" id="compose-headers" summary="">
64<tbody><tr>
65
66<td class="title"><label for="rcmcomposefrom"><roundcube:label name="from" /></label></td>
67<td><roundcube:object name="composeHeaders" part="from" form="form" id="rcmcomposefrom" tabindex="1" /></td>
68
69</tr><tr>
70
71<td class="title top"><label for="rcmcomposeto"><roundcube:label name="to" /></label></td>
72<td><roundcube:object name="composeHeaders" part="to" form="form" id="rcmcomposeto" cols="80" rows="2" tabindex="2" /></td>
73<td class="add-button"><a href="#" onclick="return rcmail_toggle_display('compose-cc')">[Cc]</a><br />
74<a href="#" onclick="return rcmail_toggle_display('compose-bcc')">[Bcc]</a><br /></td>
75
76</tr><tr id="compose-cc">
77
78<td class="title top"><label for="rcmcomposecc"><roundcube:label name="cc" /></label></td>
79<td><roundcube:object name="composeHeaders" part="cc" form="form" id="rcmcomposecc" cols="80" rows="2" tabindex="3" /></td>
80
81</tr><tr id="compose-bcc">
82
83<td class="title top"><label for="rcmcomposebcc"><roundcube:label name="bcc" /></label></td>
84<td><roundcube:object name="composeHeaders" part="bcc" form="form" id="rcmcomposebcc" cols="80" rows="2" tabindex="4" /></td>
85
86</tr><tr id="compose-replyto">
87
88<td class="title top"><label for="rcmcomposereplyto"><roundcube:label name="replyto" /></label></td>
89<td><roundcube:object name="composeHeaders" part="replyto" form="form" id="rcmcomposereplyto" size="80" tabindex="5" /></td>
90
91</tr><tr>
92
93<td class="title"><label for="compose-subject"><roundcube:label name="subject" /></label></td>
94<td><roundcube:object name="composeSubject" id="compose-subject" form="form" tabindex="6" /></td>
95
96</tr>
97</tbody>
98</table>
99
100</td>
101
102</tr><tr>
103
104<td style="width:100%; height:95%; vertical-align:top;">
105<roundcube:object name="composeBody" id="compose-body" form="form" cols="80" rows="20" wrap="virtual" tabindex="7" />
106</td>
107
108</tr><tr>
109
110<td>
111
112<table border="0" cellspacing="0" width="100%" summary=""><tbody><tr>
113
114<td>
115<roundcube:button type="input" command="send" class="button" label="sendmessage" />
116<roundcube:button type="input" command="list" class="button" label="cancel" />
117</td>
118<td align="right">
119<roundcube:label name="charset" />:&nbsp;<roundcube:object name="charsetSelector" tabindex="8" />
120</td>
121
122</tr></tbody></table>
123
124</td>
125</tr>
126</tbody>
127</table>
128
129</div>
130
131<div id="compose-attachments">
132<div id="attachment-title"><roundcube:label name="attachments" /></div>
133<roundcube:object name="composeAttachmentList" deleteIcon="/images/icons/remove-attachment.png"/ >
134<p><roundcube:button command="add-attachment" imagePas="/images/buttons/add_pas.png" imageSel="/images/buttons/add_sel.png" imageAct="/images/buttons/add_act.png" width="23" height="18" title="addattachment" />
135</div>
136
137</form>
138
139<roundcube:object name="composeAttachmentForm" id="attachment-form" />
140
141<script type="text/javascript">
142<!--
143
144var cc_field = document.form._cc;
145if (cc_field && cc_field.value!='')
146  rcmail_toggle_display('compose-cc');
147
148//-->
149</script>
150
151
152</body>
153</html>
Note: See TracBrowser for help on using the repository browser.