From a25d3969a00e60bcbfdf6907f7ce77d4651c1179 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Tue, 26 May 2009 09:21:57 -0400
Subject: [PATCH] Re-enable the permalink command (allows one to choose right-click and open-in-new-tab)
---
program/include/rcube_template.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php
index d8c2176..51108f1 100755
--- a/program/include/rcube_template.php
+++ b/program/include/rcube_template.php
@@ -797,6 +797,9 @@
else if (in_array($attrib['command'], $a_static_commands)) {
$attrib['href'] = rcmail_url($attrib['command']);
}
+ else if ($attrib['command'] == 'permaurl' && !empty($this->env['permaurl'])) {
+ $attrib['href'] = $this->env['permaurl'];
+ }
}
// overwrite attributes
--
Gitblit v1.9.1