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

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


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

Modified:
   trunk/roundcubemail/program/include/rcube_template.php
Log:
- don't unset button title on IE (#1485874)


Modified: trunk/roundcubemail/program/include/rcube_template.php
===================================================================
--- trunk/roundcubemail/program/include/rcube_template.php	2009-05-26 16:54:55 UTC (rev 2547)
+++ trunk/roundcubemail/program/include/rcube_template.php	2009-05-27 10:01:01 UTC (rev 2548)
@@ -766,10 +766,10 @@
         if ($attrib['alt']) {
             $attrib['alt'] = Q(rcube_label($attrib['alt'], $attrib['domain']));
         }
+
         // set title to alt attribute for IE browsers
         if ($this->browser->ie && $attrib['title'] && !$attrib['alt']) {
             $attrib['alt'] = $attrib['title'];
-            unset($attrib['title']);
         }
 
         // add empty alt attribute for XHTML compatibility
@@ -797,9 +797,6 @@
             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