]> git.mxchange.org Git - friendica.git/commitdiff
Renamed "Search results for:" in "Results for:" to have more space on mobile
authorrabuzarus <>
Thu, 9 Jun 2016 11:06:21 +0000 (13:06 +0200)
committerrabuzarus <>
Thu, 9 Jun 2016 11:06:21 +0000 (13:06 +0200)
mod/network.php
mod/search.php

index 95efc362607d05ab57bddf86a7fca7b10ff895c8..2dc63edb45812f4cd8b7c6fe4ed5b9552d282229 100644 (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)
                ));
        }
 
index fd8a9eb64b83cff1a99cbfdf5f88ab063ced04a5..91c345b929c71cfa14d7cb520157780c2470516f 100644 (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