Merge pull request #4334 from annando/sup-instead-h5

Use "sup" instead of "h5" for the link to the website
This commit is contained in:
Hypolite Petovan 2018-01-26 08:38:38 -05:00 committed by GitHub
commit cae8fd36fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ function bb_attachment($return, $simplehtml = false, $tryoembed = true)
} }
if ($data["type"] == "link") { if ($data["type"] == "link") {
$return .= sprintf('<h5><a href="%s">%s</a></h5>', $data['url'], parse_url($data['url'], PHP_URL_HOST)); $return .= sprintf('<sup><a href="%s">%s</a></sup>', $data['url'], parse_url($data['url'], PHP_URL_HOST));
} }
if ($simplehtml != 4) { if ($simplehtml != 4) {

View File

@ -552,7 +552,7 @@ function contacts_content(App $a)
// tabs // tabs
$tab_str = contacts_tab($a, $contact_id, 2); $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; $fetch_further_information = null;
if ($contact['network'] == NETWORK_FEED) { if ($contact['network'] == NETWORK_FEED) {