From 70087c52bc89879b8b42c422392aecf3976bbb08 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 9 Oct 2008 11:14:56 +0000 Subject: - don't set border=0 for images (use css for that) --- program/steps/mail/compose.inc | 2 +- program/steps/mail/func.inc | 2 -- program/steps/mail/upload.inc | 1 - 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 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 .= "\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'); -- cgit v1.2.3