mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-21 07:16:58 +01:00
More get_folder() -> $MESSAGE->folder
This commit is contained in:
@@ -1204,7 +1204,7 @@ function rcmail_message_body($attrib)
|
||||
else if (!rcube_utils::mem_check($part->size * 10)) {
|
||||
$out .= html::span('part-notice', $RCMAIL->gettext('messagetoobig'). ' '
|
||||
. html::a('?_task=mail&_action=get&_download=1&_uid='.$MESSAGE->uid.'&_part='.$part->mime_id
|
||||
.'&_mbox='. urlencode($RCMAIL->storage->get_folder()), $RCMAIL->gettext('download')));
|
||||
.'&_mbox='. urlencode($MESSAGE->folder), $RCMAIL->gettext('download')));
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -1255,7 +1255,7 @@ function rcmail_message_body($attrib)
|
||||
if (!rcube_utils::mem_check(strlen($MESSAGE->body) * 10)) {
|
||||
$out .= html::span('part-notice', $RCMAIL->gettext('messagetoobig'). ' '
|
||||
. html::a('?_task=mail&_action=get&_download=1&_uid='.$MESSAGE->uid.'&_part=0'
|
||||
.'&_mbox='. urlencode($RCMAIL->storage->get_folder()), $RCMAIL->gettext('download')));
|
||||
.'&_mbox='. urlencode($MESSAGE->folder), $RCMAIL->gettext('download')));
|
||||
}
|
||||
else {
|
||||
$plugin = $RCMAIL->plugins->exec_hook('message_body_prefix',
|
||||
|
||||
@@ -242,7 +242,7 @@ else if (strlen($part_id)) {
|
||||
if (!rcube_utils::mem_check($part->size * 10)) {
|
||||
$out = '<body>' . $RCMAIL->gettext('messagetoobig'). ' '
|
||||
. html::a('?_task=mail&_action=get&_download=1&_uid='.$MESSAGE->uid.'&_part='.$part->mime_id
|
||||
.'&_mbox='. urlencode($RCMAIL->storage->get_folder()), $RCMAIL->gettext('download')) . '</body></html>';
|
||||
.'&_mbox='. urlencode($MESSAGE->folder), $RCMAIL->gettext('download')) . '</body></html>';
|
||||
}
|
||||
else {
|
||||
// get part body if not available
|
||||
|
||||
Reference in New Issue
Block a user