Merge branch 'patch-20181113b' into 'dev'
Patch 20181113b See merge request hubzilla/core!1395
This commit is contained in:
commit
6ed9443972
@ -227,9 +227,9 @@ class Search extends \Zotlabs\Web\Controller {
|
||||
}
|
||||
|
||||
if($tag)
|
||||
$o .= '<h2>' . sprintf( t('Items tagged with: %s'),htmlspecialchars($search, ENT_COMPAT,'UTF-8')) . '</h2>';
|
||||
$o .= '<h2>' . sprintf( t('Items tagged with: %s'),$search) . '</h2>';
|
||||
else
|
||||
$o .= '<h2>' . sprintf( t('Search results for: %s'),htmlspecialchars($search, ENT_COMPAT,'UTF-8')) . '</h2>';
|
||||
$o .= '<h2>' . sprintf( t('Search results for: %s'),$search) . '</h2>';
|
||||
|
||||
$o .= conversation($items,'search',$update,'client');
|
||||
|
||||
|
@ -1075,7 +1075,7 @@ function micropro($contact, $redirect = false, $class = '', $mode = false) {
|
||||
function search($s,$id='search-box',$url='/search',$save = false) {
|
||||
|
||||
return replace_macros(get_markup_template('searchbox.tpl'),array(
|
||||
'$s' => htmlspecialchars($s),
|
||||
'$s' => $s,
|
||||
'$id' => $id,
|
||||
'$action_url' => z_root() . $url,
|
||||
'$search_label' => t('Search'),
|
||||
|
Reference in New Issue
Block a user