From cd7b81afd50c1079ee7658cc04a75232d680b293 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 26 Jan 2018 13:27:16 +0000 Subject: [PATCH] Use "sup" instead of "h5" for the link to the website --- include/bbcode.php | 2 +- mod/contacts.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/bbcode.php b/include/bbcode.php index f95c911d5e..79412f1a3f 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -106,7 +106,7 @@ function bb_attachment($return, $simplehtml = false, $tryoembed = true) } if ($data["type"] == "link") { - $return .= sprintf('
%s
', $data['url'], parse_url($data['url'], PHP_URL_HOST)); + $return .= sprintf('%s', $data['url'], parse_url($data['url'], PHP_URL_HOST)); } if ($simplehtml != 4) { diff --git a/mod/contacts.php b/mod/contacts.php index 49c6e710ff..12f6075dd6 100644 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -552,7 +552,7 @@ function contacts_content(App $a) // tabs $tab_str = contacts_tab($a, $contact_id, 2); - $lost_contact = (($contact['archive'] && $contact['term-date'] > NULL_DATE && $contact['term-date'] < datetime_converL10n::t('', '', 'now')) ? L10n::t('Communications lost with this contact!') : ''); + $lost_contact = (($contact['archive'] && $contact['term-date'] > NULL_DATE && $contact['term-date'] < datetime_convert('', '', 'now')) ? L10n::t('Communications lost with this contact!') : ''); $fetch_further_information = null; if ($contact['network'] == NETWORK_FEED) {