summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-05-26 13:21:57 +0000
committerthomascube <thomas@roundcube.net>2009-05-26 13:21:57 +0000
commita25d3969a00e60bcbfdf6907f7ce77d4651c1179 (patch)
treea857f062fa5988eddac5393dbaefbb315b43de28 /program/steps/mail
parent9c0280b6070b52cf16396e70c180d351d993585b (diff)
Re-enable the permalink command (allows one to choose right-click and open-in-new-tab)
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/show.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc
index 06c9f53e5..9beb42521 100644
--- a/program/steps/mail/show.inc
+++ b/program/steps/mail/show.inc
@@ -65,6 +65,7 @@ if ($_GET['_uid']) {
// set environement
$OUTPUT->set_env('safemode', $MESSAGE->is_safe);
$OUTPUT->set_env('sender', $MESSAGE->sender['string']);
+ $OUTPUT->set_env('permaurl', rcmail_url('show', array('_uid' => $MESSAGE->uid, '_mbox' => $mbox_name)));
$OUTPUT->set_env('mailbox', $mbox_name);
if ($CONFIG['trash_mbox'])
$OUTPUT->set_env('trash_mailbox', $CONFIG['trash_mbox']);