X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsearch.php;h=db7279fb5609987846fdf34656cf8328deeb15cf;hb=a41b4c6e6726b1158a8d05f37c1630d67e462fe5;hp=a6a4b613fcb5b87a3cff55dce47f24e2f5ddc516;hpb=030f6f306cba0f025d124fc7a2912a2bafb291be;p=friendica.git diff --git a/mod/search.php b/mod/search.php index a6a4b613fc..db7279fb56 100644 --- a/mod/search.php +++ b/mod/search.php @@ -51,7 +51,7 @@ function search_content(&$a) { $a->set_pager_total($r[0]['total']); if(! $r[0]['total']) { - notice('No results.'); + notice( t('No results.') . EOL); return $o; } @@ -113,6 +113,7 @@ function search_content(&$a) { $o .= replace_macros($tpl,array( '$id' => $item['item_id'], + '$linktitle' => t('View $name\'s profile'), '$profile_url' => $profile_link, '$name' => $profile_name, '$sparkle' => $sparkle, @@ -133,13 +134,6 @@ function search_content(&$a) { } } - - if(! $r[0]['total']) { - notice('No results.'); - return $o; - } - - $o .= paginate($a); return $o;