thomascube
2008-09-12 dc5b83d188737c1ce18909f185669a0a0f1c1f4a
commit | author | age
4e17e6 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
T 2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title><roundcube:object name="pagetitle" /></title>
e66f5b 5 <roundcube:include file="/includes/links.html" />
4e17e6 6 <link rel="stylesheet" type="text/css" href="/mail.css" />
a7d5c6 7 <script type="text/javascript" src="/splitter.js"></script>
7f9ea1 8 <script type="text/javascript">
T 9
10 function rcube_mail_ui()
11 {
12   this.markmenu = new rcube_layer('markmessagemenu');
13 }
14
15 rcube_mail_ui.prototype = {
16
17 show_markmenu: function(show)
18 {
19   if (typeof show == 'undefined')
20     show = this.markmenu.visible ? false : true;
21   
22   var ref = rcube_find_object('markreadbutton');
23   if (show && ref)
24     this.markmenu.move(ref.offsetLeft, ref.offsetTop + ref.offsetHeight);
25   
26   this.markmenu.show(show);
27 },
28
29 body_mouseup: function(evt, p)
30 {
aee3a2 31   if (this.markmenu && this.markmenu.visible && evt.target != rcube_find_object('markreadbutton'))
7f9ea1 32     this.show_markmenu(false);
T 33 },
34
35 body_keypress: function(evt, p)
36 {
37   if (rcube_event.get_keycode(evt) == 27 && this.markmenu && this.markmenu.visible)
38     this.show_markmenu(false);
39 }
40
41 };
42
43 </script>
4e17e6 44 </head>
T 45 <body>
46
b076a4 47 <roundcube:include file="/includes/taskbar.html" />
4e17e6 48 <roundcube:include file="/includes/header.html" />
T 49
e5686f 50 <div id="mainscreen">
A 51
f45bbe 52 <div id="mailboxlist-container">
7f9ea1 53 <h3 id="mailboxlist-header"><roundcube:label name="mailboxlist" /></h3>
f45bbe 54 <roundcube:object name="mailboxlist" id="mailboxlist" maxlength="16" />
T 55 </div>
cd900d 56
e5686f 57 <script type="text/javascript">
A 58   var mailviewsplitv = new rcube_splitter({id:'mailviewsplitterv', p1: 'mailboxlist-container', p2: 'mailrightcontainer', orientation: 'v', relative: true, start: 165});
59   rcmail.add_onload('mailviewsplitv.init()');
60 </script>
15a9d1 61
e5686f 62 <div id="mailrightcontainer">
4e17e6 63
T 64 <div id="mailcontframe">
65 <roundcube:object name="messages"
66   id="messagelist"
67   cellspacing="0"
68   summary="Message list"
69   messageIcon="/images/icons/dot.png"
70   unreadIcon="/images/icons/unread.png"
d810d5 71   deletedIcon="/images/icons/deleted.png"
4e17e6 72   repliedIcon="/images/icons/replied.png"
e189a6 73   attachmentIcon="/images/icons/attachment.png"
A 74   flaggedIcon="/images/icons/flagged.png"
75   unflaggedIcon="/images/icons/unflagged.png" />
4e17e6 76 </div>
T 77
b19097 78 <roundcube:if condition="config:preview_pane == true" />
e5686f 79
a7d5c6 80 <script type="text/javascript">
e5686f 81   var mailviewsplit = new rcube_splitter({id:'mailviewsplitter', p1: 'mailcontframe', p2: 'mailpreviewframe', orientation: 'h', relative: true, start: 200});
a7d5c6 82   rcmail.add_onload('mailviewsplit.init()');
T 83 </script>
e5686f 84
b19097 85 <div id="mailpreviewframe">
T 86 <roundcube:object name="messagecontentframe" id="messagecontframe" width="100%" height="100%" frameborder="0" src="/watermark.html" />
87 </div>
88
89 <style type="text/css">
e5686f 90 #mailcontframe { height: 195px; }
b19097 91 </style>
e5686f 92
b19097 93 <roundcube:endif />
e5686f 94
A 95 </div>
96
97 </div>
98
99 <div id="mailboxcontrols">
100 <roundcube:label name="folder" />:&nbsp;
101 <roundcube:button command="expunge" label="compact" classAct="active" />&nbsp;
102 <roundcube:button command="purge" label="empty" classAct="active" />&nbsp;
103 </div>
104
b19097 105
4e17e6 106 <div id="listcontrols">
T 107 <roundcube:label name="select" />:&nbsp;
108 <roundcube:button command="select-all" label="all" classAct="active" />&nbsp;
109 <roundcube:button command="select-all" prop="unread" label="unread" classAct="active" />&nbsp;
58e360 110 <roundcube:button command="select-none" label="none" classAct="active" /> &nbsp;&nbsp;&nbsp;
719804 111 <roundcube:if condition="env:quota" />
fda695 112 <roundcube:label name="quota" />: <roundcube:object name="quotaDisplay" display="image" width="120" id="quotadisplay" />
719804 113 <roundcube:endif />
e5686f 114 </div>
A 115
116 <div id="messagecountbar">
117 <roundcube:button command="firstpage" imageSel="/images/buttons/first_sel.png" imageAct="/images/buttons/first_act.png" imagePas="/images/buttons/first_pas.png" width="11" height="11" title="firstmessages" />
118 <roundcube:button command="previouspage" imageSel="/images/buttons/previous_sel.png" imageAct="/images/buttons/previous_act.png" imagePas="/images/buttons/previous_pas.png" width="11" height="11" title="previousmessages" />
119 &nbsp;<roundcube:object name="messageCountDisplay" />&nbsp;
120 <roundcube:button command="nextpage" imageSel="/images/buttons/next_sel.png" imageAct="/images/buttons/next_act.png" imagePas="/images/buttons/next_pas.png" width="11" height="11" title="nextmessages" />
121 <roundcube:button command="lastpage" imageSel="/images/buttons/last_sel.png" imageAct="/images/buttons/last_act.png" imagePas="/images/buttons/last_pas.png" width="11" height="11" title="lastmessages" />
4e17e6 122 </div>
T 123
7f9ea1 124 <div id="messagetoolbar">
T 125 <roundcube:button command="checkmail" imageSel="/images/buttons/inbox_sel.png" imageAct="/images/buttons/inbox_act.png" imagePas="/images/buttons/inbox_pas.png" width="32" height="32" title="checkmail" />
126 <roundcube:button command="compose" imageSel="/images/buttons/compose_sel.png" imageAct="/images/buttons/compose_act.png" imagePas="/images/buttons/compose_pas.png" width="32" height="32" title="writenewmessage" />
f76208 127 <roundcube:button name="markreadbutton" id="markreadbutton" image="/images/buttons/markread_act.png" width="32" height="32" title="markmessages" onclick="rcmailUI.show_markmenu();return false" />
7f9ea1 128 <roundcube:button command="reply" imageSel="/images/buttons/reply_sel.png" imageAct="/images/buttons/reply_act.png" imagePas="/images/buttons/reply_pas.png" width="32" height="32" title="replytomessage" />
T 129 <roundcube:button command="reply-all" imageSel="/images/buttons/replyall_sel.png" imageAct="/images/buttons/replyall_act.png" imagePas="/images/buttons/replyall_pas.png" width="32" height="32" title="replytoallmessage" />
130 <roundcube:button command="forward" imageSel="/images/buttons/forward_sel.png" imageAct="/images/buttons/forward_act.png" imagePas="/images/buttons/forward_pas.png" width="32" height="32" title="forwardmessage" />
131 <roundcube:button command="delete" imageSel="/images/buttons/delete_sel.png" imageAct="/images/buttons/delete_act.png" imagePas="/images/buttons/delete_pas.png" width="32" height="32" title="deletemessage" />
132 <roundcube:button command="print" imageSel="/images/buttons/print_sel.png" imageAct="/images/buttons/print_act.png" imagePas="/images/buttons/print_pas.png" width="32" height="32" title="printmessage" />
133
134 <div id="markmessagemenu">
135   <ul class="toolbarmenu">
136     <li><roundcube:button command="mark" prop="read" label="markread" classAct="active" /></li>
137     <li><roundcube:button command="mark" prop="unread" label="markunread" classAct="active" /></li>
e189a6 138     <li><roundcube:button command="mark" prop="flagged" label="markflagged" classAct="active" /></li>
A 139     <li><roundcube:button command="mark" prop="unflagged" label="markunflagged" classAct="active" /></li>
7f9ea1 140   </ul>
T 141 </div>
142 </div>
143
144 <div id="quicksearchbar">
145 <roundcube:object name="searchform" type="search" results="5" id="quicksearchbox" /><roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" />
146 </div>
147
148 <script type="text/javascript">
149
150 var rcmailUI = new rcube_mail_ui();
151 rcube_event.add_listener({ object:rcmailUI, method:'body_mouseup', event:'mouseup' });
152 rcube_event.add_listener({ object:rcmailUI, method:'body_keypress', event:'keypress' });
153   
154 </script>
4e17e6 155 </body>
T 156 </html>