- don't set border=0 for images (use css for that)
| | |
| | | $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')); |
| | | |
| | |
| | | // complete message table |
| | | $out .= "</tbody></table>\n"; |
| | | |
| | | |
| | | $message_count = $IMAP->messagecount(); |
| | | |
| | | // set client env |
| | |
| | | html::img(array( |
| | | 'src' => $CONFIG['skin_path'] . $addicon, |
| | | 'alt' => "Add contact", |
| | | 'border' => 0, |
| | | ))); |
| | | } |
| | | } |
| | |
| | | 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", |
| | | )); |
| | |
| | | )); |
| | | |
| | | 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'); |
| | | |