From 70087c52bc89879b8b42c422392aecf3976bbb08 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 09 Oct 2008 07:14:56 -0400
Subject: [PATCH] - don't set border=0 for images (use css for that)
---
program/steps/mail/upload.inc | 1 -
program/steps/mail/compose.inc | 2 +-
program/steps/mail/func.inc | 2 --
program/steps/settings/manage_folders.inc | 4 ++--
4 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index d6656ea..ba09fe8 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -720,7 +720,7 @@
$button = html::img(array(
'src' => $CONFIG['skin_path'] . $attrib['deleteicon'],
'alt' => rcube_label('delete'),
- 'style' => "border:0;padding-right:2px;vertical-align:middle"));
+ 'style' => "padding-right:2px;vertical-align:middle"));
else
$button = Q(rcube_label('delete'));
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 21014fd..85a92cf 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -286,7 +286,6 @@
// complete message table
$out .= "</tbody></table>\n";
-
$message_count = $IMAP->messagecount();
// set client env
@@ -1023,7 +1022,6 @@
html::img(array(
'src' => $CONFIG['skin_path'] . $addicon,
'alt' => "Add contact",
- 'border' => 0,
)));
}
}
diff --git a/program/steps/mail/upload.inc b/program/steps/mail/upload.inc
index a519ddb..4a59b8b 100644
--- a/program/steps/mail/upload.inc
+++ b/program/steps/mail/upload.inc
@@ -50,7 +50,6 @@
if (is_file($icon = $CONFIG['skin_path'] . '/images/icons/remove-attachment.png')) {
$button = html::img(array(
'src' => $icon,
- 'border' => 0,
'alt' => rcube_label('delete'),
'style' => "padding-right:2px;vertical-align:middle",
));
diff --git a/program/steps/settings/manage_folders.inc b/program/steps/settings/manage_folders.inc
index 693b82e..05a9acb 100644
--- a/program/steps/settings/manage_folders.inc
+++ b/program/steps/settings/manage_folders.inc
@@ -214,12 +214,12 @@
));
if (!empty($attrib['deleteicon']))
- $del_button = html::img(array('src' => $CONFIG['skin_path'] . $attrib['deleteicon'], 'alt' => rcube_label('delete'), 'border' => 0));
+ $del_button = html::img(array('src' => $CONFIG['skin_path'] . $attrib['deleteicon'], 'alt' => rcube_label('delete')));
else
$del_button = rcube_label('delete');
if (!empty($attrib['renameicon']))
- $edit_button = html::img(array('src' => $CONFIG['skin_path'] . $attrib['renameicon'], 'alt' => rcube_label('rename'), 'border' => 0));
+ $edit_button = html::img(array('src' => $CONFIG['skin_path'] . $attrib['renameicon'], 'alt' => rcube_label('rename')));
else
$edit_button = rcube_label('rename');
--
Gitblit v1.9.1