]> git.donarmstrong.com Git - roundcube.git/blob - skins/default/templates/mail.html
Merge commit 'upstream/0.3' into unstable-import
[roundcube.git] / skins / default / templates / mail.html
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="pagetitle" /></title>
5 <roundcube:include file="/includes/links.html" />
6 <script type="text/javascript" src="/splitter.js"></script>
7 <script type="text/javascript" src="/functions.js"></script>
8 <style type="text/css">
9 <roundcube:if condition="config:preview_pane == true" />
10 #mailcontframe { height: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter-5 : 195" />px; }
11 #mailpreviewframe { top: <roundcube:exp expression="!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter+5 : 205" />px;
12 <roundcube:exp expression="browser:ie ? ('height: expression((parseInt(this.parentNode.offsetHeight)-'.(!empty(cookie:mailviewsplitter) ? cookie:mailviewsplitter+25 : 245).')+\\'px\\');') : ''" />
13 }
14 <roundcube:endif />
15 #mailleftcontainer { width: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv-5 : 175" />px; }
16 #mailrightcontainer { left: <roundcube:exp expression="!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv+5 : 185" />px;
17 <roundcube:exp expression="browser:ie ? ('width: expression((parseInt(this.parentNode.offsetWidth)-'.(!empty(cookie:mailviewsplitterv) ? cookie:mailviewsplitterv+5 : 180).')+\\'px\\');') : ''" />
18 }
19 </style>
20 </head>
21 <body onload="rcube_init_mail_ui()">
22
23 <roundcube:include file="/includes/taskbar.html" />
24 <roundcube:include file="/includes/header.html" />
25
26 <div id="mainscreen">
27 <div id="mailleftcontainer">
28 <div id="mailboxlist-container">
29 <h3 id="mailboxlist-header"><roundcube:label name="mailboxlist" /></h3>
30 <roundcube:object name="mailboxlist" id="mailboxlist" maxlength="16" />
31 </div>
32
33 <script type="text/javascript">
34   var mailviewsplitv = new rcube_splitter({id:'mailviewsplitterv', p1: 'mailleftcontainer', p2: 'mailrightcontainer', orientation: 'v', relative: true, start: 165});
35   rcmail.add_onload('mailviewsplitv.init()');
36 </script>
37
38 <div id="mailboxcontrols">
39   <roundcube:label name="folder" />:&nbsp;
40   <roundcube:button command="expunge" label="compact" classAct="active" />&nbsp;
41   <roundcube:button command="purge" label="empty" classAct="active" />&nbsp;
42 </div>
43 </div>
44
45 <div id="mailrightcontainer">
46 <div id="mailrightcontent">
47 <div id="mailcontframe">
48 <roundcube:object name="messages"
49   id="messagelist"
50   cellspacing="0"
51   columns=""
52   summary="Message list"
53   messageIcon="/images/icons/dot.png"
54   unreadIcon="/images/icons/unread.png"
55   deletedIcon="/images/icons/deleted.png"
56   repliedIcon="/images/icons/replied.png"
57   forwardedIcon="/images/icons/forwarded.png"
58   forwardedrepliedIcon="/images/icons/forwarded_replied.png"
59   attachmentIcon="/images/icons/attachment.png"
60   flaggedIcon="/images/icons/flagged.png"
61   unflaggedIcon="/images/icons/blank.gif" />
62 </div>
63
64 <roundcube:if condition="config:preview_pane == true" />
65
66 <script type="text/javascript">
67   var mailviewsplit = new rcube_splitter({id:'mailviewsplitter', p1: 'mailcontframe', p2: 'mailpreviewframe', orientation: 'h', relative: true, start: 205});
68   rcmail.add_onload('mailviewsplit.init()');
69 </script>
70
71 <div id="mailpreviewframe">
72 <roundcube:object name="messagecontentframe" id="messagecontframe" width="100%" height="100%" frameborder="0" src="/watermark.html" />
73 </div>
74
75 <roundcube:endif />
76 </div>
77
78 <div id="mailfooter">
79 <table cellpadding="1" cellspacing="0" width="100%"><tr>
80   <td>
81     <span id="listcontrols">
82       <roundcube:label name="select" />:&nbsp;
83       <roundcube:button command="select-all" label="all" classAct="active" />&nbsp;
84       <roundcube:button command="select-all" prop="unread" label="unread" classAct="active" />&nbsp;
85       <roundcube:button command="select-all" prop="invert" label="invert" classAct="active" />&nbsp;
86       <roundcube:button command="select-none" label="none" classAct="active" /> &nbsp;
87       <roundcube:container name="listcontrols" id="listcontrols" />
88     </span>
89   </td>
90   <roundcube:if condition="env:quota" />
91   <td style="text-align:center">
92     <span id="quotabox"><roundcube:label name="quota" />: <roundcube:object name="quotaDisplay" display="image" width="100" id="quotadisplay" /></span>
93   </td>
94   <roundcube:endif />
95   <td id="countcontrols" class="pagenav">
96     <roundcube:button command="lastpage" type="link" class="buttonPas lastpage" classAct="button lastpage" classSel="button lastpageSel" title="lastmessages" content=" " />
97     <roundcube:button command="nextpage" type="link" class="buttonPas nextpage" classAct="button nextpage" classSel="button nextpageSel" title="nextmessages" content=" " />
98     <roundcube:object name="messageCountDisplay" style="padding:0 1em; float:right" />
99     <roundcube:button command="previouspage" type="link" class="buttonPas prevpage" classAct="button prevpage" classSel="button prevpageSel" title="previousmessages" content=" " />
100     <roundcube:button command="firstpage" type="link" class="buttonPas firstpage" classAct="button firstpage" classSel="button firstpageSel" title="firstmessages" content=" " />
101   </td>
102 </tr></table>
103 </div>
104
105 </div>
106 </div>
107
108
109 <div id="messagetoolbar">
110 <roundcube:button command="checkmail" type="link" class="button checkmail" classAct="button checkmail" classSel="button checkmailSel" title="checkmail" content=" " />
111 <roundcube:button command="compose" type="link" class="button compose" classAct="button compose" classSel="button composeSel" title="writenewmessage" content=" " />
112 <roundcube:button command="reply" type="link" class="buttonPas reply" classAct="button reply" classSel="button replySel" title="replytomessage" content=" " />
113 <roundcube:button command="reply-all" type="link" class="buttonPas replyAll" classAct="button replyAll" classSel="button replyAllSel" title="replytoallmessage" content=" " />
114 <roundcube:button command="forward" type="link" class="buttonPas forward" classAct="button forward" classSel="button forwardSel" title="forwardmessage" content=" " />
115 <roundcube:button command="delete" type="link" class="buttonPas delete" classAct="button delete" classSel="button deleteSel" title="deletemessage" content=" " />
116 <roundcube:container name="toolbar" id="messagetoolbar" />
117 <roundcube:button name="markreadbutton" id="markreadbutton" type="link" class="button markmessage" title="markmessages" onclick="rcmail_ui.show_markmenu();return false" content=" " />
118 <roundcube:button name="messagemenulink" id="messagemenulink" type="link" class="button messagemenu" title="messageactions" onclick="rcmail_ui.show_messagemenu();return false" content=" " />
119
120 <div id="markmessagemenu">
121   <ul class="toolbarmenu">
122     <li><roundcube:button command="mark" prop="read" label="markread" classAct="readlink active" class="readlink" /></li>
123     <li><roundcube:button command="mark" prop="unread" label="markunread" classAct="unreadlink active" class="unreadlink" /></li>
124     <li><roundcube:button command="mark" prop="flagged" label="markflagged" classAct="flaggedlink active" class="flaggedlink" /></li>
125     <li><roundcube:button command="mark" prop="unflagged" label="markunflagged" classAct="unflaggedlink active" class="unflaggedlink" /></li>
126     <roundcube:container name="markmenu" id="markmessagemenu" />
127   </ul>
128 </div>
129
130 <roundcube:include file="/includes/messagemenu.html" />
131
132 </div>
133
134 <div id="searchmenu">
135   <ul class="toolbarmenu">
136     <li><input type="checkbox" name="s_mods[]" value="subject" id="s_mod_subject" onclick="rcmail_ui.set_searchmod(this)" /><label for="s_mod_subject"><roundcube:label name="subject" /></label></li>
137     <li><input type="checkbox" name="s_mods[]" value="from" id="s_mod_from" onclick="rcmail_ui.set_searchmod(this)" /><label for="s_mod_from"><roundcube:label name="from" /></label></li>
138     <li><input type="checkbox" name="s_mods[]" value="to" id="s_mod_to" onclick="rcmail_ui.set_searchmod(this)" /><label for="s_mod_to"><roundcube:label name="to" /></label></li>
139     <li><input type="checkbox" name="s_mods[]" value="cc" id="s_mod_cc" onclick="rcmail_ui.set_searchmod(this)" /><label for="s_mod_cc"><roundcube:label name="cc" /></label></li>
140     <li><input type="checkbox" name="s_mods[]" value="bcc" id="s_mod_bcc" onclick="rcmail_ui.set_searchmod(this)" /><label for="s_mod_bcc"><roundcube:label name="bcc" /></label></li>
141     <li><input type="checkbox" name="s_mods[]" value="text" id="s_mod_text" onclick="rcmail_ui.set_searchmod(this)" /><label for="s_mod_text"><roundcube:label name="msgtext" /></label></li>
142   </ul>
143 </div>
144
145 <div id="quicksearchbar">
146 <div id="searchfilter">
147   <label for="rcmlistfilter"><roundcube:label name="filter" /></label>:
148   <roundcube:object name="searchfilter" class="searchfilter" />
149 </div>
150 <roundcube:button name="searchmod" id="searchmod" image="/images/icons/glass_roll.png" onclick="rcmail_ui.show_searchmenu();return false" title="searchmod" />
151 <roundcube:object name="searchform" id="quicksearchbox" />
152 <roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" />
153 </div>
154
155 </body>
156 </html>