Changeset f4aaf84 in github
- Timestamp:
- Jan 6, 2012 8:40:37 AM (17 months ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
- Children:
- 88dcd00
- Parents:
- e86a21b
- Location:
- skins/larry
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
skins/larry/mail.css
rcdb9556 rf4aaf84 665 665 } 666 666 667 #preview-allheaders { 668 display: none; 669 } 670 671 #preview-shortheaders td.header-title { 672 padding-right: 0; 673 } 674 675 #preview-shortheaders td.header { 676 padding-right: 12px; 677 } 678 679 .headers-table .iconlink { 680 text-indent: -1000px; 681 padding: 1px 1px 1px 20px; 682 } 683 684 .headers-table .iconlink.add { 685 background-position: -5px -359px; 686 } 687 688 .headers-table .iconlink.delete { 689 background-position: -5px -339px; 690 } 691 692 667 693 #full-headers { 668 694 position: relative; -
skins/larry/templates/messagepreview.html
rad726a3 rf4aaf84 9 9 <div id="messagepreviewheader"> 10 10 <h3 class="subject"><roundcube:object name="messageHeaders" valueOf="subject" /></h3> 11 <roundcube:object name="messageHeaders" class="headers-table" addicon="/images/addcontact.png" exclude="subject,replyto" /> 11 12 <table class="headers-table" id="preview-shortheaders"><tbody><tr> 13 <roundcube:if condition="env:mailbox == config:drafts_mbox || env:mailbox == config:sent_mbox"> 14 <td class="header-title"><roundcube:label name="to" /></td> 15 <td class="header from"><roundcube:object name="messageHeaders" valueOf="to" addicon="/images/addcontact.png" /></td> 16 <roundcube:else /> 17 <td class="header-title"><roundcube:label name="from" /></td> 18 <td class="header from"><roundcube:object name="messageHeaders" valueOf="from" addicon="/images/addcontact.png" /></td> 19 <roundcube:endif /> 20 <td class="header-title"><roundcube:label name="date" /></td> 21 <td class="header from"><roundcube:object name="messageHeaders" valueOf="date" /></td> 22 <td class="header"><a href="#details" id="previewheaderstoggle" class="iconlink add">Details</a> 23 </tr></tbody></table> 24 25 <roundcube:object name="messageHeaders" id="preview-allheaders" class="headers-table" addicon="/images/addcontact.png" exclude="subject,replyto" /> 12 26 13 27 <!-- record navigation --> -
skins/larry/ui.js
r7961f8c rf4aaf84 79 79 layout_messageview(); 80 80 $("#all-headers").resizable({ handles: 's', minHeight: 50 }); 81 $('#previewheaderstoggle').click(function(e){ toggle_preview_headers(this); return false }); 81 82 } 82 83 else if (rcmail.env.action == 'compose') { … … 426 427 427 428 /** 429 * Switch between short and full headers display in message preview 430 */ 431 function toggle_preview_headers(button) 432 { 433 $('#preview-shortheaders').toggle(); 434 var full = $('#preview-allheaders').toggle(); 435 436 // add toggle button to full headers table 437 if (!full.data('mod')) { 438 $('<a>').attr('href', '#hide') 439 .addClass('iconlink remove') 440 .html('Hide') 441 .appendTo($('<td>').appendTo($('tr:first', full))) 442 .click(function(){ toggle_preview_headers(this);return false }); 443 full.data('mod', true); 444 } 445 } 446 447 448 /** 428 449 * 429 450 */
Note: See TracChangeset
for help on using the changeset viewer.
