From 450152c9f1daaf907ff917da37094321bb533a34 Mon Sep 17 00:00:00 2001 From: alec Date: Wed, 27 May 2009 10:09:09 +0000 Subject: - reverted accidentally removed code git-svn-id: https://svn.roundcube.net/trunk@2549 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_template.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roundcubemail/program/include') diff --git a/roundcubemail/program/include/rcube_template.php b/roundcubemail/program/include/rcube_template.php index 8c0a8d05d..d82379db7 100755 --- a/roundcubemail/program/include/rcube_template.php +++ b/roundcubemail/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 -- cgit v1.2.3