- Make so addcontact icon doesn't jump alone to next line
| | |
| | | } |
| | | else if (check_email($part['mailto'], false)) { |
| | | if ($linked) { |
| | | $out .= html::a(array( |
| | | $address = html::a(array( |
| | | 'href' => 'mailto:'.$mailto, |
| | | 'onclick' => sprintf("return %s.command('compose','%s',this)", JS_OBJECT_NAME, JQ($mailto)), |
| | | 'title' => $mailto, |
| | |
| | | Q($name ? $name : $mailto)); |
| | | } |
| | | else { |
| | | $out .= html::span(array('title' => $mailto, 'class' => "rcmContactAddress"), |
| | | $address = html::span(array('title' => $mailto, 'class' => "rcmContactAddress"), |
| | | Q($name ? $name : $mailto)); |
| | | } |
| | | |
| | | if ($addicon && $got_writable_abook) { |
| | | $out .= ' ' . html::a(array( |
| | | $address = '<span>' . $address . html::a(array( |
| | | 'href' => "#add", |
| | | 'onclick' => sprintf("return %s.command('add-contact','%s',this)", JS_OBJECT_NAME, urlencode($string)), |
| | | 'title' => rcube_label('addtoaddressbook'), |
| | |
| | | html::img(array( |
| | | 'src' => $CONFIG['skin_path'] . $addicon, |
| | | 'alt' => "Add contact", |
| | | ))); |
| | | ))) . '</span>'; |
| | | } |
| | | $out .= $address; |
| | | } |
| | | else { |
| | | if ($name) |
| | |
| | | font-weight: bold; |
| | | } |
| | | |
| | | table.headers-table tr td.header span |
| | | { |
| | | white-space: nowrap; |
| | | } |
| | | |
| | | #attachment-list |
| | | { |
| | | margin: 0; |