Changeset 277 in subversion
- Timestamp:
- Jul 19, 2006 3:36:35 PM (7 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 6 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/main.inc (modified) (2 diffs)
-
program/include/rcube_imap.inc (modified) (2 diffs)
-
program/lib/imap.inc (modified) (1 diff)
-
program/steps/mail/show.inc (modified) (1 diff)
-
skins/default/templates/compose.html (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r276 r277 1 1 CHANGELOG RoundCube Webmail 2 2 --------------------------- 3 4 2006/07/19 (thomasb) 5 ---------- 6 - Correct entity encoding of link urls (HTML validity) 7 - Moved back button in compose step (Ticket #) 8 - Added absolute URLs to several buttons (for "open in new window") 9 3 10 4 11 2006/07/18 (thomasb) -
trunk/roundcubemail/program/include/main.inc
r276 r277 1275 1275 static $s_button_count = 100; 1276 1276 1277 // these commands can be called directly via url 1278 $a_static_commands = array('compose', 'list'); 1279 1277 1280 $skin_path = $CONFIG['skin_path']; 1278 1281 … … 1353 1356 $attrib['imageover'] ? $skin_path.$attrib['imageover'] : '')); 1354 1357 1355 // make valid href to taskbuttons1358 // make valid href to specific buttons 1356 1359 if (in_array($attrib['command'], $MAIN_TASKS)) 1357 $attrib['href'] = ereg_replace('_task=[a-z]+', '_task='.$attrib['command'], $COMM_PATH); 1360 $attrib['href'] = htmlentities(ereg_replace('_task=[a-z]+', '_task='.$attrib['command'], $COMM_PATH)); 1361 else if (in_array($attrib['command'], $a_static_commands)) 1362 $attrib['href'] = htmlentities($COMM_PATH.'&_action='.$attrib['command']); 1358 1363 } 1359 1364 -
trunk/roundcubemail/program/include/rcube_imap.inc
r275 r277 502 502 503 503 list($begin, $end) = $this->_get_message_range($max, $page); 504 505 /* 506 if ($page=='all') 507 { 508 $begin = 0; 509 $end = $max; 510 } 511 else if (!$this->get_capability('sort') && $this->sort_order=='DESC') 512 { 513 $begin = $max - $this->page_size - $start_msg; 514 $end = $max - $start_msg; 515 } 516 else 517 { 518 $begin = $start_msg; 519 $end = $start_msg + $this->page_size; 520 } 521 522 if ($begin < 0) $begin = 0; 523 if ($end < 0) $end = $max; 524 if ($end > $max) $end = $max; 525 */ 526 504 505 // mailbox is empty 506 if ($begin >= $end) 507 return array(); 508 527 509 //console("fetch headers $start_msg to ".($start_msg+$this->page_size)." (msg $begin to $end)"); 528 510 … … 554 536 else 555 537 { 556 $msgs = sprintf("%d:%d", $begin+1, $end); 538 $msgs = sprintf("%d:%d", $begin+1, $end); 557 539 $sorted = FALSE; 558 540 } -
trunk/roundcubemail/program/lib/imap.inc
r270 r277 1756 1756 $line=iil_MultLine($fp, $line); 1757 1757 $a = explode(" ", $line); 1758 if (($line[0]=="*") && ($a[1]=="LSUB" )){1758 if (($line[0]=="*") && ($a[1]=="LSUB" || $a[1]=="LIST")){ 1759 1759 $line = rtrim($line); 1760 1760 // split one line -
trunk/roundcubemail/program/steps/mail/show.inc
r203 r277 110 110 show_bytes($attach_prop['size'])); 111 111 else 112 $out .= sprintf('<li><a href="%s& _part=%s" onclick="return %s.command(\'load-attachment\',{part:\'%s\', mimetype:\'%s\'},this)">%s</a></li>'."\n",113 $GET_URL,112 $out .= sprintf('<li><a href="%s&_part=%s" onclick="return %s.command(\'load-attachment\',{part:\'%s\', mimetype:\'%s\'},this)">%s</a></li>'."\n", 113 htmlentities($GET_URL), 114 114 $attach_prop['part_id'], 115 115 $JS_OBJECT_NAME, -
trunk/roundcubemail/skins/default/templates/compose.html
r276 r277 39 39 40 40 <div id="messagetoolbar"> 41 < roundcube:button command="list" image="/images/buttons/back_act.png" imageSel="/images/buttons/back_sel.png" imageAct="/images/buttons/back_act.png" width="32" height="32" title="backtolist" />41 <!--<roundcube:button command="list" image="/images/buttons/back_act.png" imageSel="/images/buttons/back_sel.png" imageAct="/images/buttons/back_act.png" width="32" height="32" title="backtolist" />--> 42 42 <roundcube:button command="send" imageSel="/images/buttons/send_sel.png" imageAct="/images/buttons/send_act.png" imagePas="/images/buttons/send_pas.png" width="32" height="32" title="sendmessage" /> 43 <!--<roundcube:button command="contacts" imageSel="/images/buttons/contacts_sel.png" imageAct="/images/buttons/contacts_act.png" imagePas="/images/buttons/contacts_pas.png" width="32" height="32" title="addressbook" />-->44 43 <roundcube:button command="spellcheck" imageSel="/images/buttons/spellcheck_sel.png" imageAct="/images/buttons/spellcheck_act.png" imagePas="/images/buttons/spellcheck_pas.png" width="32" height="32" title="checkspelling" /> 45 44 <roundcube:button command="add-attachment" imageSel="/images/buttons/attach_sel.png" imageAct="/images/buttons/attach_act.png" imagePas="/images/buttons/attach_pas.png" width="32" height="32" title="addattachment" /> … … 57 56 58 57 <div id="compose-container"> 59 <table border="0" cellspacing="0" cellpadding="1" style="width:100%; height:100%;" summary=""><tr> 58 <table border="0" cellspacing="0" cellpadding="1" style="width:100%; height:99%;" summary=""> 59 <tbody> 60 <tr> 60 61 <td> 61 62 62 <table border="0" cellspacing="0" cellpadding="1" id="compose-headers" summary=""><tr> 63 <table border="0" cellspacing="0" cellpadding="1" id="compose-headers" summary=""> 64 <tbody><tr> 63 65 64 66 <td class="title"><label for="rcmcomposefrom"><roundcube:label name="from" /></label></td> … … 87 89 <td><roundcube:object name="composeHeaders" part="replyto" form="form" id="rcmcomposereplyto" size="80" tabindex="5" /></td> 88 90 89 <!-- </tr><tr>90 91 <td><roundcube:object name="composeAttachment" size="20" /></td> -->92 93 91 </tr><tr> 94 92 … … 96 94 <td><roundcube:object name="composeSubject" id="compose-subject" form="form" tabindex="6" /></td> 97 95 98 </tr></table> 96 </tr> 97 </tbody> 98 </table> 99 99 100 100 </td> … … 103 103 104 104 <td style="width:100%; height:95%; vertical-align:top;"> 105 <roundcube:object name="composeBody" id="compose-body" form="form" cols="80" rows="20" wrap="virtual" tabindex="7" /><br /> 105 <roundcube:object name="composeBody" id="compose-body" form="form" cols="80" rows="20" wrap="virtual" tabindex="7" /> 106 </td> 107 108 </tr><tr> 109 110 <td> 111 112 <table border="0" cellspacing="0" width="100%" summary=""><tbody><tr> 113 114 <td> 115 <roundcube:button type="input" command="send" class="button" label="sendmessage" /> 116 <roundcube:button type="input" command="list" class="button" label="cancel" /> 117 </td> 118 <td align="right"> 106 119 <roundcube:label name="charset" />: <roundcube:object name="charsetSelector" tabindex="8" /> 107 120 </td> 108 121 109 </tr></table> 122 </tr></tbody></table> 123 124 </td> 125 </tr> 126 </tbody> 127 </table> 110 128 111 129 </div> … … 131 149 </script> 132 150 133 <!--134 <div id="attachment-form">135 <roundcube:object name="composeAttachment" size="20" /><br />136 <input type="button" value="<roundcube:label name='close' />" onclick="rcmail_show_attachment_form(0)" />137 <input type="button" value="<roundcube:label name='send' />" onclick="rcmail.command('send-attachment', this)" />138 </div>139 -->140 151 141 152 </body>
Note: See TracChangeset
for help on using the changeset viewer.
