vcard export from profile
This commit is contained in:
@@ -1278,10 +1278,14 @@ function advanced_profile(&$a) {
|
||||
|
||||
// logger('mod_profile: things: ' . print_r($things,true), LOGGER_DATA);
|
||||
|
||||
$exportlink = ((App::$profile['profile_vcard']) ? zid(z_root() . '/profile/' . App::$profile['channel_address'] . '/vcard') : '');
|
||||
|
||||
return replace_macros($tpl, array(
|
||||
'$title' => t('Profile'),
|
||||
'$canlike' => (($profile['canlike'])? true : false),
|
||||
'$likethis' => t('Like this thing'),
|
||||
'$export' => t('Export'),
|
||||
'$exportlink' => $exportlink,
|
||||
'$profile' => $profile,
|
||||
'$fields' => $clean_fields,
|
||||
'$editmenu' => profile_edit_menu(App::$profile['profile_uid']),
|
||||
|
||||
Reference in New Issue
Block a user