From 8e83075d7ec49cd8f388039e5ae821f00173411b Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 10 Oct 2008 05:02:57 -0400
Subject: [PATCH] - don't set border=0 for image buttons

---
 program/include/rcube_template.php |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php
index 2108ed7..c00b10e 100755
--- a/program/include/rcube_template.php
+++ b/program/include/rcube_template.php
@@ -736,10 +736,6 @@
             $attrib = $sa_buttons[$command];
         }
 
-        // set border to 0 because of the link arround the button
-        if ($attrib['type']=='image' && !isset($attrib['border'])) {
-            $attrib['border'] = 0;
-        }
         if (!$attrib['id']) {
             $attrib['id'] =  sprintf('rcmbtn%d', $s_button_count++);
         }

--
Gitblit v1.9.1