mirror of
https://github.com/friendica/friendica
synced 2025-04-24 09:50:11 +00:00
We are now escaping many template fields
This commit is contained in:
parent
ced4911c4a
commit
4f9f86e310
60 changed files with 472 additions and 476 deletions
|
@ -85,7 +85,7 @@ class Contact extends BaseModule
|
|||
|
||||
/// @TODO Add nice spaces
|
||||
$vcard_widget = Renderer::replaceMacros(Renderer::getMarkupTemplate('vcard-widget.tpl'), [
|
||||
'$name' => htmlentities($contact['name']),
|
||||
'$name' => $contact['name'],
|
||||
'$photo' => $contact['photo'],
|
||||
'$url' => Model\Contact::MagicLink($contact['url']),
|
||||
'$addr' => defaults($contact, 'addr', ''),
|
||||
|
@ -639,7 +639,7 @@ class Contact extends BaseModule
|
|||
'$ffi_keyword_blacklist' => $contact['ffi_keyword_blacklist'],
|
||||
'$ffi_keyword_blacklist' => ['ffi_keyword_blacklist', L10n::t('Blacklisted keywords'), $contact['ffi_keyword_blacklist'], L10n::t('Comma separated list of keywords that should not be converted to hashtags, when "Fetch information and keywords" is selected')],
|
||||
'$photo' => $contact['photo'],
|
||||
'$name' => htmlentities($contact['name']),
|
||||
'$name' => $contact['name'],
|
||||
'$dir_icon' => $dir_icon,
|
||||
'$sparkle' => $sparkle,
|
||||
'$url' => $url,
|
||||
|
@ -1033,14 +1033,14 @@ class Contact extends BaseModule
|
|||
'alt_text' => $alt_text,
|
||||
'dir_icon' => $dir_icon,
|
||||
'thumb' => ProxyUtils::proxifyUrl($rr['thumb'], false, ProxyUtils::SIZE_THUMB),
|
||||
'name' => htmlentities($rr['name']),
|
||||
'username' => htmlentities($rr['name']),
|
||||
'name' => $rr['name'],
|
||||
'username' => $rr['name'],
|
||||
'account_type' => Model\Contact::getAccountType($rr),
|
||||
'sparkle' => $sparkle,
|
||||
'itemurl' => defaults($rr, 'addr', $rr['url']),
|
||||
'url' => $url,
|
||||
'network' => ContactSelector::networkToName($rr['network'], $rr['url']),
|
||||
'nick' => htmlentities($rr['nick']),
|
||||
'nick' => $rr['nick'],
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue