mirror of
https://github.com/friendica/friendica
synced 2025-04-20 13:50:16 +00:00
Rename removeTags to escapeTags
rename function and update calls.
This commit is contained in:
parent
063f0e9cb0
commit
218f0734be
51 changed files with 233 additions and 240 deletions
|
@ -602,7 +602,7 @@ class Contact extends BaseModule
|
|||
'$lbl_vis2' => L10n::t('Please choose the profile you would like to display to %s when viewing your profile securely.', $contact['name']),
|
||||
'$lbl_info1' => $lbl_info1,
|
||||
'$lbl_info2' => L10n::t('Their personal note'),
|
||||
'$reason' => trim(Strings::removeTags($contact['reason'])),
|
||||
'$reason' => trim(Strings::escapeTags($contact['reason'])),
|
||||
'$infedit' => L10n::t('Edit contact notes'),
|
||||
'$common_link' => 'common/loc/' . local_user() . '/' . $contact['id'],
|
||||
'$relation_text' => $relation_text,
|
||||
|
@ -695,8 +695,8 @@ class Contact extends BaseModule
|
|||
|
||||
$sql_extra .= sprintf(" AND `network` != '%s' ", Protocol::PHANTOM);
|
||||
|
||||
$search = Strings::removeTags(trim(defaults($_GET, 'search', '')));
|
||||
$nets = Strings::removeTags(trim(defaults($_GET, 'nets' , '')));
|
||||
$search = Strings::escapeTags(trim(defaults($_GET, 'search', '')));
|
||||
$nets = Strings::escapeTags(trim(defaults($_GET, 'nets' , '')));
|
||||
|
||||
$tabs = [
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue