Changeset 1767 in subversion
- Timestamp:
- Sep 12, 2008 8:27:46 AM (5 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 1 added
- 9 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/rcube_template.php (modified) (2 diffs)
-
program/js/app.js (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)
-
program/steps/mail/show.inc (modified) (3 diffs)
-
skins/default/images/icons/extwin.png (added)
-
skins/default/mail.css (modified) (6 diffs)
-
skins/default/templates/messagepreview.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r1766 r1767 12 12 - Refactor drag & drop functionality. Don't rely on browser events anymore (#1484453) 13 13 - Insert "virtual" folders in subscription list (#1484779) 14 - Added link to open message in new window 14 15 15 16 2008/09/05 (thomasb) -
trunk/roundcubemail/program/include/rcube_template.php
r1766 r1767 753 753 // make valid href to specific buttons 754 754 if (in_array($attrib['command'], rcmail::$main_tasks)) { 755 $attrib['href'] = Q(rcmail_url(null, null, $attrib['command']));755 $attrib['href'] = rcmail_url(null, null, $attrib['command']); 756 756 } 757 757 else if (in_array($attrib['command'], $a_static_commands)) { 758 $attrib['href'] = Q(rcmail_url($attrib['command'])); 758 $attrib['href'] = rcmail_url($attrib['command']); 759 } 760 else if ($attrib['command'] == 'permaurl' && !empty($this->env['permaurl'])) { 761 $attrib['href'] = $this->env['permaurl']; 759 762 } 760 763 } … … 818 821 $btn_content .= ' '.$attrib['label']; 819 822 } 820 $link_attrib = array('href', 'onclick', 'onmouseover', 'onmouseout', 'onmousedown', 'onmouseup', 'title' );823 $link_attrib = array('href', 'onclick', 'onmouseover', 'onmouseout', 'onmousedown', 'onmouseup', 'title', 'target'); 821 824 } 822 825 else if ($attrib['type']=='link') { 823 826 $btn_content = $attrib['label'] ? $attrib['label'] : $attrib['command']; 824 $link_attrib = array('href', 'onclick', 'title', 'id', 'class', 'style', 'tabindex' );827 $link_attrib = array('href', 'onclick', 'title', 'id', 'class', 'style', 'tabindex', 'target'); 825 828 } 826 829 else if ($attrib['type']=='input') { -
trunk/roundcubemail/program/js/app.js
r1766 r1767 122 122 // enable general commands 123 123 this.enable_command('logout', 'mail', 'addressbook', 'settings', true); 124 125 if (this.env.permaurl) 126 this.enable_command('permaurl', true); 124 127 125 128 switch (this.task) … … 530 533 break; 531 534 535 case 'permaurl': 536 if (obj && obj.href && obj.target) 537 return true; 538 else if (this.env.permaurl) 539 parent.location.href = this.env.permaurl; 540 break; 532 541 533 542 // misc list commands -
trunk/roundcubemail/program/localization/de_CH/labels.inc
r1741 r1767 131 131 $labels['quicksearch'] = 'Schnellsuche'; 132 132 $labels['resetsearch'] = 'Löschen'; 133 $labels['openinextwin'] = 'In neuem Fenster öffnen'; 133 134 $labels['compose'] = 'Neue Nachricht verfassen'; 134 135 $labels['savemessage'] = 'Nachricht speichern'; -
trunk/roundcubemail/program/localization/de_DE/labels.inc
r1761 r1767 130 130 $labels['quicksearch'] = 'Schnellsuche'; 131 131 $labels['resetsearch'] = 'Suche zurÌcksetzen'; 132 $labels['openinextwin'] = 'In neuem Fenster öffnen'; 132 133 $labels['compose'] = 'Neue Nachricht verfassen'; 133 134 $labels['savemessage'] = 'Nachricht speichern'; -
trunk/roundcubemail/program/localization/en_US/labels.inc
r1766 r1767 161 161 $labels['resetsearch'] = 'Reset search'; 162 162 163 $labels['openinextwin'] = 'Open in new window'; 163 164 164 165 // message compose -
trunk/roundcubemail/program/steps/mail/show.inc
r1745 r1767 81 81 $OUTPUT->set_env('safemode', $MESSAGE->is_safe); 82 82 $OUTPUT->set_env('sender', $MESSAGE->sender['string']); 83 $OUTPUT->set_env('permaurl', rcmail_url('show', array('_uid' => $MESSAGE->uid, '_mbox' => $mbox_name))); 83 84 84 85 // check for unset disposition notification … … 153 154 } 154 155 else { 155 if (rc_strlen($attach_prop->filename) > 50) { 156 $filename = rc_substr($attach_prop->filename, 0, 25) . '...' . rc_substr($attach_prop->filename, strlen($attach_prop->filename)-20, 20); 157 $title = $attach_prop->filename; 158 } else { 159 $filename = $attach_prop->filename; 160 $title = ''; 161 } 162 156 if (rc_strlen($attach_prop->filename) > 50) { 157 $filename = abbreviate_string($attach_prop->filename, 50); 158 $title = $attach_prop->filename; 159 } 160 else { 161 $filename = $attach_prop->filename; 162 $title = ''; 163 } 164 163 165 $ol .= html::tag('li', null, 164 166 html::a(array( … … 169 171 $attach_prop->mime_id, 170 172 $attach_prop->mimetype), 171 'title' => Q($title), 173 'title' => Q($title), 172 174 ), 173 175 Q($filename))); -
trunk/roundcubemail/skins/default/mail.css
r1766 r1767 633 633 div.messageheaderbox 634 634 { 635 position: relative; 635 636 margin: 6px 8px 0px 8px; 636 637 border: 1px solid #ccc; … … 650 651 background-color: #F4F4F4; 651 652 border: 1px solid #ccc; 653 } 654 655 #messageframe table.headers-table 656 { 657 border-bottom: 1px solid #ccc; 652 658 } 653 659 … … 814 820 } 815 821 822 #messageviewlink 823 { 824 position: absolute; 825 top: 1px; 826 right: 1px; 827 width: 15px; 828 height: 15px; 829 border: 0; 830 } 816 831 817 832 /** message compose styles */ … … 979 994 } 980 995 981 .more-headers996 table.headers-table tr td.more-headers 982 997 { 983 998 cursor: pointer; 984 999 width: 100%; 985 height: 6px; 986 } 987 988 .show-headers 1000 height: 8px; 1001 border-bottom: 0; 1002 } 1003 1004 td.show-headers 989 1005 { 990 1006 background: url(images/icons/down_small.gif) no-repeat center; 991 1007 } 992 1008 993 .hide-headers1009 td.hide-headers 994 1010 { 995 1011 background: url(images/icons/up_small.gif) no-repeat center; … … 1005 1021 { 1006 1022 margin: 0 5px; 1007 width: 100%;1023 padding: 0.5em; 1008 1024 height: 145px; 1009 1025 background: white; … … 1014 1030 display: none; 1015 1031 text-align: left; 1016 color: # 666666;1032 color: #333; 1017 1033 } 1018 1034 -
trunk/roundcubemail/skins/default/templates/messagepreview.html
r1396 r1767 9 9 10 10 <div class="messageheaderbox"> 11 <roundcube:button command="permaurl" image="/images/icons/extwin.png" width="15" height="15" title="openinextwin" id="messageviewlink" target="_blank" /> 11 12 <roundcube:object name="messageHeaders" class="headers-table" cellspacing="0" cellpadding="2" addicon="/images/icons/plus.gif" summary="Message headers" /> 12 13 <roundcube:object name="messageAttachments" id="attachment-list" />
Note: See TracChangeset
for help on using the changeset viewer.
