[Svn] r2549 - trunk/roundcubemail/program/include

trac at roundcube.net trac at roundcube.net
Wed May 27 12:09:10 CEST 2009


Author: alec
Date: 2009-05-27 05:09:09 -0500 (Wed, 27 May 2009)
New Revision: 2549

Modified:
   trunk/roundcubemail/program/include/rcube_template.php
Log:
- reverted accidentally removed code


Modified: trunk/roundcubemail/program/include/rcube_template.php
===================================================================
--- trunk/roundcubemail/program/include/rcube_template.php	2009-05-27 10:01:01 UTC (rev 2548)
+++ trunk/roundcubemail/program/include/rcube_template.php	2009-05-27 10:09:09 UTC (rev 2549)
@@ -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

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list