summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-10-09 11:14:56 +0000
committeralecpl <alec@alec.pl>2008-10-09 11:14:56 +0000
commit70087c52bc89879b8b42c422392aecf3976bbb08 (patch)
tree6081c8eaab84ab71c9bbb23acd04a2408cf6c7ff
parentc47ff42c4a96502a8343683aeaa74f0794c774cd (diff)
- don't set border=0 for images (use css for that)
-rw-r--r--program/steps/mail/compose.inc2
-rw-r--r--program/steps/mail/func.inc2
-rw-r--r--program/steps/mail/upload.inc1
-rw-r--r--program/steps/settings/manage_folders.inc4
4 files changed, 3 insertions, 6 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index d6656ea24..ba09fe831 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -720,7 +720,7 @@ function rcmail_compose_attachment_list($attrib)
$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 21014fdb1..85a92cfc4 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -286,7 +286,6 @@ function rcmail_message_list($attrib)
// complete message table
$out .= "</tbody></table>\n";
-
$message_count = $IMAP->messagecount();
// set client env
@@ -1023,7 +1022,6 @@ function rcmail_address_string($input, $max=null, $linked=false, $addicon=null)
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 a519ddbe6..4a59b8b52 100644
--- a/program/steps/mail/upload.inc
+++ b/program/steps/mail/upload.inc
@@ -50,7 +50,6 @@ if (is_array($_FILES['_attachments']['tmp_name'])) {
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 693b82ee6..05a9acb40 100644
--- a/program/steps/settings/manage_folders.inc
+++ b/program/steps/settings/manage_folders.inc
@@ -214,12 +214,12 @@ function rcube_subscription_form($attrib)
));
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');