From: rabuzarus <> Date: Thu, 9 Jun 2016 11:06:21 +0000 (+0200) Subject: Renamed "Search results for:" in "Results for:" to have more space on mobile X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e4ba493a01ac9c4fa7896693478b9f2e4829607a;p=friendica.git Renamed "Search results for:" in "Results for:" to have more space on mobile --- diff --git a/mod/network.php b/mod/network.php index 95efc36260..2dc63edb45 100644 --- a/mod/network.php +++ b/mod/network.php @@ -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) )); } diff --git a/mod/search.php b/mod/search.php index fd8a9eb64b..91c345b929 100644 --- a/mod/search.php +++ b/mod/search.php @@ -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