Renamed "Search results for:" in "Results for:" to have more space on mobile
This commit is contained in:
parent
30056dd22d
commit
e4ba493a01
2 changed files with 3 additions and 3 deletions
|
@ -143,7 +143,7 @@ function network_init(&$a) {
|
||||||
// search terms header
|
// search terms header
|
||||||
if(x($_GET,'search')) {
|
if(x($_GET,'search')) {
|
||||||
$a->page['content'] .= replace_macros(get_markup_template("section_title.tpl"),array(
|
$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)
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ function search_init(&$a) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(x($_GET,'remove') && $search) {
|
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()),
|
intval(local_user()),
|
||||||
dbesc($search)
|
dbesc($search)
|
||||||
);
|
);
|
||||||
|
@ -234,7 +234,7 @@ function search_content(&$a) {
|
||||||
if($tag)
|
if($tag)
|
||||||
$title = sprintf( t('Items tagged with: %s'), $search);
|
$title = sprintf( t('Items tagged with: %s'), $search);
|
||||||
else
|
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(
|
$o .= replace_macros(get_markup_template("section_title.tpl"),array(
|
||||||
'$title' => $title
|
'$title' => $title
|
||||||
|
|
Loading…
Reference in a new issue