Changeset 1044 in subversion
- Timestamp:
- Feb 11, 2008 5:45:26 PM (5 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 1 added
- 7 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/rcmail_template.inc (modified) (2 diffs)
-
program/localization/de_CH/labels.inc (modified) (1 diff)
-
program/localization/de_DE/labels.inc (modified) (1 diff)
-
program/localization/en_US/labels.inc (modified) (1 diff)
-
skins/default/images/buttons/markread_act.png (added)
-
skins/default/mail.css (modified) (3 diffs)
-
skins/default/templates/mail.html (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r1027 r1044 1 1 CHANGELOG RoundCube Webmail 2 2 --------------------------- 3 4 2008/02/11 (thomasb) 5 ---------- 6 - Add function to mark the selected messages as read/unread (#1457360) 3 7 4 8 2008/02/07 (thomasb) -
trunk/roundcubemail/program/include/rcmail_template.inc
r1024 r1044 454 454 // return a button 455 455 case 'button': 456 if ($attrib['command']) 457 return $this->button($attrib); 456 return $this->button($attrib); 458 457 break; 459 458 … … 583 582 $skin_path = $this->config['skin_path']; 584 583 585 if (!($attrib['command'] || $attrib['name'] ))584 if (!($attrib['command'] || $attrib['name'] || $attrib['onclick'])) 586 585 return ''; 587 586 -
trunk/roundcubemail/program/localization/de_CH/labels.inc
r950 r1044 111 111 $labels['backtolist'] = 'ZurÌck zur Liste'; 112 112 $labels['viewsource'] = 'Quelltext anzeigen'; 113 $labels['markmessages'] = 'Nachrichten markieren'; 114 $labels['markread'] = 'Als gelesen'; 115 $labels['markunread'] = 'Als ungelesen'; 113 116 114 117 $labels['select'] = 'AuswÀhlen'; -
trunk/roundcubemail/program/localization/de_DE/labels.inc
r951 r1044 88 88 $labels['backtolist'] = 'ZurÌck zur Liste'; 89 89 $labels['viewsource'] = 'Quelltext anzeigen'; 90 $labels['markmessages'] = 'Nachrichten markieren'; 91 $labels['markread'] = 'Als gelesen'; 92 $labels['markunread'] = 'Als ungelesen'; 90 93 $labels['select'] = 'AuswÀhlen'; 91 94 $labels['all'] = 'Alle'; -
trunk/roundcubemail/program/localization/en_US/labels.inc
r950 r1044 110 110 $labels['backtolist'] = 'Back to message list'; 111 111 $labels['viewsource'] = 'Show source'; 112 $labels['markmessages'] = 'Mark messages'; 113 $labels['markread'] = 'As read'; 114 $labels['markunread'] = 'As unread'; 112 115 113 116 $labels['select'] = 'Select'; -
trunk/roundcubemail/skins/default/mail.css
r1027 r1044 40 40 { 41 41 padding-left: 2px; 42 } 43 44 #markmessagemenu 45 { 46 position: absolute; 47 top: 32px; 48 left: 90px; 49 width: auto; 50 visibility: hidden; 51 background-color: #F9F9F9; 52 border: 1px solid #CCC; 53 padding: 1px; 54 opacity: 0.9; 55 z-index: 240; 56 } 57 58 ul.toolbarmenu 59 { 60 margin: 0; 61 padding: 0; 62 list-style: none; 63 } 64 65 ul.toolbarmenu li 66 { 67 font-size: 11px; 68 white-space: nowrap; 69 min-width: 130px; 70 width: auto !important; 71 width: 130px; 72 } 73 74 ul.toolbarmenu li a 75 { 76 display: block; 77 color: #a0a0a0; 78 padding: 2px 8px 3px 12px; 79 text-decoration: none; 80 } 81 82 ul.toolbarmenu li a.active:hover 83 { 84 background-color: #ddd; 42 85 } 43 86 … … 72 115 #mailboxcontrols a.active:active, 73 116 #mailboxcontrols a.active:visited, 117 ul.toolbarmenu li a.active, 118 ul.toolbarmenu li a.active:active, 119 ul.toolbarmenu li a.active:visited, 74 120 td.formlinks a, 75 121 td.formlinks a:visited … … 191 237 display: block; 192 238 height: 12px; 239 margin: 0; 193 240 padding: 3px 10px 4px 10px; 194 241 background-color: #EBEBEB; -
trunk/roundcubemail/skins/default/templates/mail.html
r808 r1044 6 6 <link rel="stylesheet" type="text/css" href="/mail.css" /> 7 7 <script type="text/javascript" src="/splitter.js"></script> 8 <script type="text/javascript"> 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 { 31 if (this.markmenu && this.markmenu.visible) 32 this.show_markmenu(false); 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> 8 44 </head> 9 45 <body> … … 12 48 <roundcube:include file="/includes/header.html" /> 13 49 14 <div id="messagetoolbar">15 <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" />16 <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" />17 <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" />18 <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" />19 <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" />20 <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" />21 <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" />22 </div>23 24 <div id="quicksearchbar">25 <roundcube:object name="searchform" type="search" results="5" id="quicksearchbox" /><roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" />26 </div>27 28 <div id="messagecountbar">29 <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" />30 <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" />31 <roundcube:object name="messageCountDisplay" /> 32 <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" />33 <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" />34 </div>35 36 50 <div id="mailboxlist-container"> 37 < div id="mailboxlist-header"><roundcube:label name="mailboxlist" /></div>51 <h3 id="mailboxlist-header"><roundcube:label name="mailboxlist" /></h3> 38 52 <roundcube:object name="mailboxlist" id="mailboxlist" maxlength="16" /> 39 53 </div> … … 85 99 </div> 86 100 101 <div id="messagetoolbar"> 102 <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" /> 103 <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" /> 104 <roundcube:button id="markreadbutton" image="/images/buttons/markread_act.png" width="32" height="32" title="markmessages" onclick="rcmailUI.show_markmenu();return false" /> 105 <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" /> 106 <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" /> 107 <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" /> 108 <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" /> 109 <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" /> 110 111 <div id="markmessagemenu"> 112 <ul class="toolbarmenu"> 113 <li><roundcube:button command="mark" prop="read" label="markread" classAct="active" /></li> 114 <li><roundcube:button command="mark" prop="unread" label="markunread" classAct="active" /></li> 115 </ul> 116 </div> 117 </div> 118 119 <div id="quicksearchbar"> 120 <roundcube:object name="searchform" type="search" results="5" id="quicksearchbox" /><roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" /> 121 </div> 122 123 <div id="messagecountbar"> 124 <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" /> 125 <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" /> 126 <roundcube:object name="messageCountDisplay" /> 127 <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" /> 128 <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" /> 129 </div> 130 131 <script type="text/javascript"> 132 133 var rcmailUI = new rcube_mail_ui(); 134 rcube_event.add_listener({ object:rcmailUI, method:'body_mouseup', event:'mouseup' }); 135 rcube_event.add_listener({ object:rcmailUI, method:'body_keypress', event:'keypress' }); 136 137 </script> 87 138 </body> 88 139 </html>
Note: See TracChangeset
for help on using the changeset viewer.
