Changeset 5f660cd in github
- Timestamp:
- Oct 2, 2008 4:39:49 AM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 58f786f
- Parents:
- a2740628
- Files:
-
- 1 added
- 1 deleted
- 9 edited
-
CHANGELOG (modified) (1 diff)
-
skins/default/functions.js (added)
-
skins/default/includes/settingscripts.html (deleted)
-
skins/default/templates/addcontact.html (modified) (1 diff)
-
skins/default/templates/compose.html (modified) (2 diffs)
-
skins/default/templates/editcontact.html (modified) (1 diff)
-
skins/default/templates/editidentity.html (modified) (2 diffs)
-
skins/default/templates/identities.html (modified) (2 diffs)
-
skins/default/templates/mail.html (modified) (4 diffs)
-
skins/default/templates/managefolders.html (modified) (2 diffs)
-
skins/default/templates/settings.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
rfd51e0f r5f660cd 1 1 CHANGELOG RoundCube Webmail 2 2 --------------------------- 3 4 2008/10/02 (alec) 5 ---------- 6 - Minimize "inline" javascript scripts use (#1485433) 3 7 4 8 2008/10/01 (alec) -
skins/default/templates/addcontact.html
r0dbac32 r5f660cd 21 21 </div> 22 22 23 24 23 </body> 25 24 </html> -
skins/default/templates/compose.html
r4e9349d r5f660cd 6 6 <link rel="stylesheet" type="text/css" href="/mail.css" /> 7 7 <link rel="stylesheet" type="text/css" href="/googiespell.css" /> 8 <script type="text/javascript"> 9 <!-- 10 11 function rcmail_show_header_form(id, link) 12 { 13 var row, parent, ns, ps, links; 14 15 if (link) 16 { 17 var parent = link.parentNode; 18 19 if ((ns = rcmail_next_sibling(link))) 20 parent.removeChild(ns); 21 else if ((ps = rcmail_prev_sibling(link))) 22 parent.removeChild(ps); 23 24 parent.removeChild(link); 25 26 if(!parent.getElementsByTagName('A').length) 27 document.getElementById('compose-links').style.display = 'none'; 28 } 29 30 if (row = document.getElementById(id)) 31 { 32 var div = document.getElementById('compose-div'); 33 var headers_div = document.getElementById('compose-headers-div'); 34 row.style.display = (document.all && !window.opera) ? 'block' : 'table-row'; 35 div.style.top = (parseInt(headers_div.offsetHeight)) + 'px'; 36 } 37 38 return false; 39 } 40 41 function rcmail_next_sibling(elm) 42 { 43 var ns = elm.nextSibling; 44 while (ns && ns.nodeType == 3) 45 ns = ns.nextSibling; 46 return ns; 47 } 48 49 function rcmail_prev_sibling(elm) 50 { 51 var ps = elm.previousSibling; 52 while (ps && ps.nodeType == 3) 53 ps = ps.previousSibling; 54 return ps; 55 } 56 57 //--> 58 </script> 8 <script type="text/javascript" src="/functions.js"></script> 59 9 </head> 60 <body >10 <body onload="rcmail_init_compose_form()"> 61 11 62 12 <roundcube:include file="/includes/taskbar.html" /> … … 148 98 <roundcube:object name="composeAttachmentForm" id="attachment-form" /> 149 99 150 <script type="text/javascript">151 <!--152 153 var cc_field = document.getElementById('rcmcomposecc');154 if (cc_field && cc_field.value!='')155 rcmail_show_header_form('compose-cc', document.getElementById('addcclink'));156 var bcc_field = document.getElementById('rcmcomposebcc');157 if (bcc_field && bcc_field.value!='')158 rcmail_show_header_form('compose-bcc', document.getElementById('addbcclink'));159 160 //-->161 </script>162 163 164 100 </body> 165 101 </html> -
skins/default/templates/editcontact.html
red132ed r5f660cd 21 21 </div> 22 22 23 24 23 </body> 25 24 </html> -
skins/default/templates/editidentity.html
r106d057 r5f660cd 5 5 <roundcube:include file="/includes/links.html" /> 6 6 <link rel="stylesheet" type="text/css" href="/settings.css" /> 7 <script type="text/javascript" src="/functions.js"></script> 7 8 </head> 8 <body >9 <body onload="rcube_init_settings_tabs()"> 9 10 10 11 <roundcube:include file="/includes/taskbar.html" /> 11 12 <roundcube:include file="/includes/header.html" /> 12 13 <roundcube:include file="/includes/settingstabs.html" /> 13 14 14 15 15 <div id="identities-list"> … … 34 34 </div> 35 35 36 <roundcube:include file="/includes/settingscripts.html" />37 38 36 </body> 39 37 </html> -
skins/default/templates/identities.html
rf645ce1 r5f660cd 5 5 <roundcube:include file="/includes/links.html" /> 6 6 <link rel="stylesheet" type="text/css" href="/settings.css" /> 7 <script type="text/javascript" src="/functions.js"></script> 7 8 </head> 8 <body >9 <body onload="rcube_init_settings_tabs()"> 9 10 10 11 <roundcube:include file="/includes/taskbar.html" /> … … 26 27 </div> 27 28 28 <roundcube:include file="/includes/settingscripts.html" />29 30 29 </body> 31 30 </html> -
skins/default/templates/mail.html
ra1f7220e r5f660cd 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 && evt.target != rcube_find_object('markreadbutton')) 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 <script type="text/javascript" src="/functions.js"></script> 44 9 <style type="text/css"> 45 10 <roundcube:if condition="config:preview_pane == true" /> … … 59 24 </style> 60 25 </head> 61 <body >26 <body onload="rcube_init_mail_ui()"> 62 27 63 28 <roundcube:include file="/includes/taskbar.html" /> … … 139 104 <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" /> 140 105 <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" /> 141 <roundcube:button name="markreadbutton" id="markreadbutton" image="/images/buttons/markread_act.png" width="32" height="32" title="markmessages" onclick="rcmail UI.show_markmenu();return false" />106 <roundcube:button name="markreadbutton" id="markreadbutton" image="/images/buttons/markread_act.png" width="32" height="32" title="markmessages" onclick="rcmail_ui.show_markmenu();return false" /> 142 107 <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" /> 143 108 <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" /> … … 160 125 </div> 161 126 162 <script type="text/javascript">163 164 var rcmailUI = new rcube_mail_ui();165 rcube_event.add_listener({ object:rcmailUI, method:'body_mouseup', event:'mouseup' });166 rcube_event.add_listener({ object:rcmailUI, method:'body_keypress', event:'keypress' });167 168 </script>169 127 </body> 170 128 </html> -
skins/default/templates/managefolders.html
ra8d23d8 r5f660cd 5 5 <roundcube:include file="/includes/links.html" /> 6 6 <link rel="stylesheet" type="text/css" href="/settings.css" /> 7 <script type="text/javascript" src="/functions.js"></script> 7 8 </head> 8 <body >9 <body onload="rcube_init_settings_tabs()"> 9 10 10 11 <roundcube:include file="/includes/taskbar.html" /> … … 37 38 </form> 38 39 39 <roundcube:include file="/includes/settingscripts.html" />40 41 40 </body> 42 41 </html> -
skins/default/templates/settings.html
rffae15e5 r5f660cd 5 5 <roundcube:include file="/includes/links.html" /> 6 6 <link rel="stylesheet" type="text/css" href="/settings.css" /> 7 <script type="text/javascript"> 8 function show_adv(box) 9 { 10 var rows = document.getElementsByTagName('TR'); 11 for(var i=0; i<rows.length; i++) 12 if(rows[i].className && rows[i].className.match(/advanced/)) 13 rows[i].style.display = box.checked ? (bw.ie ? 'block' : 'table-row') : 'none'; 14 } 15 </script> 7 <script type="text/javascript" src="/functions.js"></script> 16 8 </head> 17 <body >9 <body onload="rcube_init_settings_tabs()"> 18 10 19 11 <roundcube:include file="/includes/taskbar.html" /> … … 35 27 <div class="advswitch"> 36 28 <label for="advswitch"><roundcube:label name="advancedoptions"><label> 37 <input type="checkbox" id="advswitch" name="_advanced" value="0" onclick=" show_adv(this)" />29 <input type="checkbox" id="advswitch" name="_advanced" value="0" onclick="rcube_show_advanced(this.checked)" /> 38 30 </div> 39 40 <roundcube:include file="/includes/settingscripts.html" />41 31 42 32 </body>
Note: See TracChangeset
for help on using the changeset viewer.
