summaryrefslogtreecommitdiff
path: root/program/include
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/include
parent9c0280b6070b52cf16396e70c180d351d993585b (diff)
Re-enable the permalink command (allows one to choose right-click and open-in-new-tab)
Diffstat (limited to 'program/include')
-rwxr-xr-xprogram/include/rcube_template.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php
index d8c217693..51108f143 100755
--- a/program/include/rcube_template.php
+++ b/program/include/rcube_template.php
@@ -797,6 +797,9 @@ class rcube_template extends rcube_html_page
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