+ if (isset($p["about"]))
+ $p["about"] = bbcode($p["about"]);
+
+ if (isset($p["address"]))
+ $p["address"] = bbcode($p["address"]);
+ else
+ $p["address"] = bbcode($p["location"]);
+
+ if (isset($p["photo"]))
+ $p["photo"] = proxy_url($p["photo"], false, PROXY_SIZE_SMALL);
+
+ if($a->theme['template_engine'] === 'internal')
+ $location = template_escape($location);
+
+ $tpl = get_markup_template('profile_vcard.tpl');
+ $o .= replace_macros($tpl, array(
+ '$profile' => $p,
+ '$xmpp' => $xmpp,
+ '$connect' => $connect,
+ '$remoteconnect' => $remoteconnect,
+ '$subscribe_feed' => $subscribe_feed,
+ '$wallmessage' => $wallmessage,
+ '$wallmessage_link' => $wallmessage_link,
+ '$account_type' => $account_type,
+ '$location' => $location,
+ '$gender' => $gender,
+// '$pdesc' => $pdesc,
+ '$marital' => $marital,
+ '$homepage' => $homepage,
+ '$about' => $about,
+ '$network' => t('Network:'),
+ '$contacts' => $contacts,
+ '$updated' => $updated,
+ '$diaspora' => $diaspora,
+ '$contact_block' => $contact_block,
+ ));