Renamed "Search results for:" in "Results for:" to have more space on mobile

This commit is contained in:
rabuzarus 2016-06-09 13:06:21 +02:00
parent 30056dd22d
commit e4ba493a01
2 changed files with 3 additions and 3 deletions

View file

@ -143,7 +143,7 @@ function network_init(&$a) {
// search terms header
if(x($_GET,'search')) {
$a->page['content'] .= replace_macros(get_markup_template("section_title.tpl"),array(
'$title' => sprintf( t('Search Results For: %s'), $search)
'$title' => sprintf( t('Results for: %s'), $search)
));
}

View file

@ -61,7 +61,7 @@ function search_init(&$a) {
}
}
if(x($_GET,'remove') && $search) {
q("delete from `search` where `uid` = %d and `term` = '%s' limit 1",
q("DELETE FROM `search` WHERE `uid` = %d AND `term` = '%s' LIMIT 1",
intval(local_user()),
dbesc($search)
);
@ -234,7 +234,7 @@ function search_content(&$a) {
if($tag)
$title = sprintf( t('Items tagged with: %s'), $search);
else
$title = sprintf( t('Search results for: %s'), $search);
$title = sprintf( t('Results for: %s'), $search);
$o .= replace_macros(get_markup_template("section_title.tpl"),array(
'$title' => $title