[Hastymail-cvs] SF.net SVN: hastymail:[2119] trunk/hastymail2/lib/url_action_classes/ message.php
Brought to you by:
sailfrog,
slushpupie
From: <sai...@us...> - 2012-11-13 21:26:33
|
Revision: 2119 http://hastymail.svn.sourceforge.net/hastymail/?rev=2119&view=rev Author: sailfrog Date: 2012-11-13 21:26:26 +0000 (Tue, 13 Nov 2012) Log Message: ----------- couple useful ids and added the proper HTTP content type header to image thumbnail previews Modified Paths: -------------- trunk/hastymail2/lib/url_action_classes/message.php Modified: trunk/hastymail2/lib/url_action_classes/message.php =================================================================== --- trunk/hastymail2/lib/url_action_classes/message.php 2012-11-13 21:21:45 UTC (rev 2118) +++ trunk/hastymail2/lib/url_action_classes/message.php 2012-11-13 21:26:26 UTC (rev 2119) @@ -289,6 +289,7 @@ imagealphablending($im2, false); imagesavealpha($im2, true); imagecopyresampled($im2, $im, 0, 0, 0, 0, $new_width, $new_height, $width, $height); + header('Content-Type: image/png'); imagepng($im2); } $imap->disconnect(); @@ -1126,7 +1127,7 @@ $data .= '<table class="mprev_next" cellpadding="0" cellspacing="0"><tr><td>'; $data .= '<span class="message_parts_heading"><a href="'.$sticky_url.'#parts">'.$this->user->str[80].'</a></span></td><td>'; if ($prev_part) { - $data .= '<a href="?page=message&uid='.$this->pd['message_uid'].'&sort_by='.$this->pd['sort_by']. + $data .= '<a id="prev_msg_link" href="?page=message&uid='.$this->pd['message_uid'].'&sort_by='.$this->pd['sort_by']. '&filter_by='.$this->pd['filter_by'].'&mailbox='.urlencode($this->pd['mailbox']). '&message_part='.$prev_part.$this->pd['new_window_arg'].$smp_arg. '"><span class="pbutton"> </span></a>'; @@ -1136,7 +1137,7 @@ } $data .= '</td><td>'; if ($next_part) { - $data .= '<a href="?page=message&uid='.$this->pd['message_uid'].'&sort_by='.$this->pd['sort_by']. + $data .= '<a id="next_msg_link" href="?page=message&uid='.$this->pd['message_uid'].'&sort_by='.$this->pd['sort_by']. '&filter_by='.$this->pd['filter_by'].'&mailbox='.urlencode($this->pd['mailbox']). '&message_part='.$next_part.$this->pd['new_window_arg'].$smp_arg. '"><span class="nbutton"> </span></a>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |