From bb5dd5916bdb4e789300799f9e6a2be831e6bf14 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Wed, 27 May 2009 06:09:09 -0400 Subject: [PATCH] - reverted accidentally removed code --- program/include/rcube_template.php | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php index 51108f1..d82379d 100755 --- a/program/include/rcube_template.php +++ b/program/include/rcube_template.php @@ -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,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']; - } + else if ($attrib['command'] == 'permaurl' && !empty($this->env['permaurl'])) { + $attrib['href'] = $this->env['permaurl']; + } } // overwrite attributes -- Gitblit v1.9.1