diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index 1ea5854dd5..2e44c52597 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -587,7 +587,15 @@ class addressbook_ui extends addressbook_bo $this->prefs['document_dir'], $group, 'Insert in document', 'document_', $this->prefs['default_document'], $this->config['contact_export_limit'] ); - + if ($GLOBALS['egw_info']['user']['apps']['felamimail']) + { + $actions['mail'] = array( + 'caption' => lang('Mail VCard'), + 'icon' => 'filemanager/mail_post_to', + 'group' => $group, + 'onExecute' => 'javaScript:adb_mail_vcard', + ); + } ++$group; if (!($tid_filter == 'D' && !$GLOBALS['egw_info']['user']['apps']['admin'] && $this->config['history'] != 'userpurge')) { @@ -2194,7 +2202,19 @@ class addressbook_ui extends addressbook_bo */ function js() { + list($width,$height) = explode('x',egw_link::get_registry('felamimail','add_popup')); + return '