Filter search box before display
This commit is contained in:
parent
adf4782076
commit
35e66770be
@ -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' => $s,
|
||||
'$s' => htmlspecialchars($s),
|
||||
'$id' => $id,
|
||||
'$action_url' => z_root() . $url,
|
||||
'$search_label' => t('Search'),
|
||||
|
Reference in New Issue
Block a user