diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-08-07 16:11:29 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-08-07 16:11:29 +0000 |
| commit | b5206b066fef079d215b1c230b7338207b1dbcf3 (patch) | |
| tree | e6bd589b5b6bb22a6c89ebd04d90598818d73c1a | |
| parent | 8081b788c46051fcad80bf76e912c7e7c52dd90a (diff) | |
Fix vcard_attachments plugin (#1486035)
git-svn-id: https://svn.roundcube.net/trunk@2847 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/plugins/vcard_attachments/vcard_add_contact.png | bin | 0 -> 1361 bytes | |||
| -rw-r--r-- | roundcubemail/plugins/vcard_attachments/vcard_attachments.php | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/plugins/vcard_attachments/vcard_add_contact.png b/roundcubemail/plugins/vcard_attachments/vcard_add_contact.png Binary files differnew file mode 100644 index 000000000..478c1f3f2 --- /dev/null +++ b/roundcubemail/plugins/vcard_attachments/vcard_add_contact.png diff --git a/roundcubemail/plugins/vcard_attachments/vcard_attachments.php b/roundcubemail/plugins/vcard_attachments/vcard_attachments.php index da8ea1c15..532311e55 100644 --- a/roundcubemail/plugins/vcard_attachments/vcard_attachments.php +++ b/roundcubemail/plugins/vcard_attachments/vcard_attachments.php @@ -53,12 +53,12 @@ class vcard_attachments extends rcube_plugin $display .= ' <'.$vcard->email[0].'>'; // add box below messsage body - $p['content'] .= html::p(array('style' => "margin:1em; padding:0.5em; border:1px solid #999; width: auto;"), + $p['content'] .= html::p(array('style' => "margin:1em; padding:0.5em; border:1px solid #999; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; width: auto;"), html::a(array( 'href' => "#", 'onclick' => "return plugin_vcard_save_contact('".JQ($this->vcard_part)."')", 'title' => "Save contact in local address book"), // TODO: localize this title - html::img(array('src' => '/images/buttons/add_contact_act.png', 'align' => "middle"))) + html::img(array('src' => $this->url('vcard_add_contact.png'), 'align' => "middle"))) . ' ' . html::span(null, Q($display))); $this->include_script('vcardattach.js'); |
