mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
check for existence of vcard
This commit is contained in:
@@ -733,7 +733,7 @@ class Profiles extends \Zotlabs\Web\Controller {
|
||||
'$profile_clone_link' => 'profiles/clone/' . $r[0]['id'] . '?t=' . get_form_security_token("profile_clone"),
|
||||
'$profile_drop_link' => 'profiles/drop/' . $r[0]['id'] . '?t=' . get_form_security_token("profile_drop"),
|
||||
'$fields' => $fields,
|
||||
// '$vcard' => $vcard,
|
||||
//'$vcard' => $vcard,
|
||||
'$guid' => $r[0]['profile_guid'],
|
||||
'$banner' => t('Edit Profile Details'),
|
||||
'$submit' => t('Submit'),
|
||||
@@ -798,23 +798,23 @@ class Profiles extends \Zotlabs\Web\Controller {
|
||||
'$contact' => array('contact', t('Contact information and social networks'), $r[0]['contact']),
|
||||
'$channels' => array('channels', t('My other channels'), $r[0]['channels']),
|
||||
'$extra_fields' => $extra_fields,
|
||||
'$comms' => t('Communications'),
|
||||
'$tel_label' => t('Phone'),
|
||||
'$email_label' => t('Email'),
|
||||
'$impp_label' => t('Instant messenger'),
|
||||
'$url_label' => t('Website'),
|
||||
'$adr_label' => t('Address'),
|
||||
'$note_label' => t('Note'),
|
||||
'$mobile' => t('Mobile'),
|
||||
'$home' => t('Home'),
|
||||
'$work' => t('Work'),
|
||||
'$other' => t('Other'),
|
||||
'$add_card' => t('Add Contact'),
|
||||
'$add_field' => t('Add Field'),
|
||||
'$create' => t('Create'),
|
||||
'$update' => t('Update'),
|
||||
'$delete' => t('Delete'),
|
||||
'$cancel' => t('Cancel'),
|
||||
//'$comms' => t('Communications'),
|
||||
//'$tel_label' => t('Phone'),
|
||||
//'$email_label' => t('Email'),
|
||||
//'$impp_label' => t('Instant messenger'),
|
||||
//'$url_label' => t('Website'),
|
||||
//'$adr_label' => t('Address'),
|
||||
//'$note_label' => t('Note'),
|
||||
//'$mobile' => t('Mobile'),
|
||||
//'$home' => t('Home'),
|
||||
//'$work' => t('Work'),
|
||||
//'$other' => t('Other'),
|
||||
//'$add_card' => t('Add Contact'),
|
||||
//'$add_field' => t('Add Field'),
|
||||
//'$create' => t('Create'),
|
||||
//'$update' => t('Update'),
|
||||
//'$delete' => t('Delete'),
|
||||
//'$cancel' => t('Cancel'),
|
||||
|
||||
'$show_presence' => $show_presence,
|
||||
'$suggestme' => $suggestme,
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{if $fields.comms }}
|
||||
{{if $fields.comms && $vcard}}
|
||||
|
||||
<div id="template-form-vcard-tel" class="mb-3 form-vcard-tel">
|
||||
<select name="tel_type[]">
|
||||
|
||||
Reference in New Issue
Block a user