From a25d3969a00e60bcbfdf6907f7ce77d4651c1179 Mon Sep 17 00:00:00 2001 From: thomascube Date: Tue, 26 May 2009 13:21:57 +0000 Subject: Re-enable the permalink command (allows one to choose right-click and open-in-new-tab) --- program/steps/mail/show.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'program/steps/mail/show.inc') 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']); -- cgit v1.2.3