diff options
author | thomascube <thomas@roundcube.net> | 2009-05-26 13:21:57 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2009-05-26 13:21:57 +0000 |
commit | a25d3969a00e60bcbfdf6907f7ce77d4651c1179 (patch) | |
tree | a857f062fa5988eddac5393dbaefbb315b43de28 /program/include | |
parent | 9c0280b6070b52cf16396e70c180d351d993585b (diff) |
Re-enable the permalink command (allows one to choose right-click and open-in-new-tab)
Diffstat (limited to 'program/include')
-rwxr-xr-x | 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 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 |