displayPageHeader( $color, urldecode($mailbox) );
echo "<BODY TEXT=\"$color[8]\" BGCOLOR=\"$color[4]\" LINK=\"$color[7]\" VLINK=\"$color[7]\" ALINK=\"$color[7]\">\n\n" .
'<CENTER>';
- $errormessage = _("Squirrelmail could not decode the bodystructure of the message");
+ $errormessage = _("SquirrelMail could not decode the bodystructure of the message");
$errormessage .= '<BR>'._("the provided bodystructure by your imap-server").':<BR><BR>';
$errormessage .= '<table><tr><td>' . htmlspecialchars($read) . '</td></tr></table>';
plain_error_message( $errormessage, $color );
echo '<tt><br>' .
'<table width="80%"><tr>' .
'<tr><td colspan=2>' .
- _("Body retrieval error. The reason for this is most probably that the message is malformed. Please help us making future versions better by submitting this message to the developers knowledgebase!") .
- " <A HREF=\"../src/retrievalerror.php?$par\"><br>" .
- _("Submit message") . '</A><BR> ' .
+ _("Body retrieval error. The reason for this is most probably that the message is malformed.") .
'</td></tr>' .
- '<td><b>' . _("Command:") . "</td><td>$cmd</td></tr>" .
- '<td><b>' . _("Response:") . "</td><td>$response</td></tr>" .
- '<td><b>' . _("Message:") . "</td><td>$message</td></tr>" .
- '<td><b>' . _("FETCH line:") . "</td><td>$topline</td></tr>" .
+ '<tr><td><b>' . _("Command:") . "</td><td>$cmd</td></tr>" .
+ '<tr><td><b>' . _("Response:") . "</td><td>$response</td></tr>" .
+ '<tr><td><b>' . _("Message:") . "</td><td>$message</td></tr>" .
+ '<tr><td><b>' . _("FETCH line:") . "</td><td>$topline</td></tr>" .
"</table><BR></tt></font><hr>";
$data = sqimap_run_command ($imap_stream, "FETCH $passed_id BODY[]", true, $response, $message, $uid_support);
* order that is their priority.
*/
global $startMessage, $username, $key, $imapServerAddress, $imapPort,
- $show_html_default, $has_unsafe_images, $view_unsafe_images, $sort;
+ $show_html_default, $has_unsafe_images, $sort;
+
+ if ( (float)substr(PHP_VERSION,0,3) < 4.1 ) {
+ global $_GET;
+ }
+ if(isset($_GET['view_unsafe_images'])) {
+ $view_unsafe_images = $_GET['view_unsafe_images'];
+ }
$has_unsafe_images= 0;
$body = '';
}
$defaultlink = $default_page . "?startMessage=$startMessage"
. "&passed_id=$id&mailbox=$urlMailbox"
- . '&ent_id='.$ent.$passed_ent_id_link;
+ . '&ent_id='.$ent.$passed_ent_id_link.'&absolute_dl=true';
if ($where && $what) {
$defaultlink .= '&where='. urlencode($where).'&what='.urlencode($what);
}
$ret = find_ent_id($id, $message->entities[$i]);
} else {
if (strcasecmp($message->entities[$i]->header->id, $id) == 0) {
- if (sq_check_save_extension($message->entities[$i])) {
+// if (sq_check_save_extension($message->entities[$i])) {
return $message->entities[$i]->entity_id;
- }
+// }
}
}
}