Contact - View: Display first & last name.

This commit is contained in:
fusionate 2023-07-11 20:25:46 +00:00
parent 04a6701343
commit 37c2b8a040
No known key found for this signature in database
1 changed files with 5 additions and 0 deletions

View File

@ -337,6 +337,11 @@
echo "<div class='box contact-details-label'>".$text['label-contact_nickname']."</div>\n";
echo "<div class='box'>\"".escape($contact_nickname)."\"</div>\n";
}
//name
if ($contact_name_given) {
echo "<div class='box contact-details-label'>".$text['label-name']."</div>\n";
echo "<div class='box'>".escape($contact_name_given).(!empty($contact_name_family) ? ' '.escape($contact_name_family) : null)."</div>\n";
}
//contact type
if ($contact_type) {
echo "<div class='box contact-details-label'>".$text['label-contact_type']."</div>\n";