From c7a2e84a240e50f83a0222ad041b2197f97dffbc Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Fri, 07 Aug 2009 12:11:29 -0400
Subject: [PATCH] Fix vcard_attachments plugin (#1486035)

---
 plugins/vcard_attachments/vcard_add_contact.png |    0 
 plugins/vcard_attachments/vcard_attachments.php |    4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/vcard_attachments/vcard_add_contact.png b/plugins/vcard_attachments/vcard_add_contact.png
new file mode 100644
index 0000000..478c1f3
--- /dev/null
+++ b/plugins/vcard_attachments/vcard_add_contact.png
Binary files differ
diff --git a/plugins/vcard_attachments/vcard_attachments.php b/plugins/vcard_attachments/vcard_attachments.php
index da8ea1c..532311e 100644
--- a/plugins/vcard_attachments/vcard_attachments.php
+++ b/plugins/vcard_attachments/vcard_attachments.php
@@ -53,12 +53,12 @@
           $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');

--
Gitblit v1.9.1