summaryrefslogtreecommitdiff
path: root/actions/peoplesearch.php
diff options
context:
space:
mode:
authorRobin Millette <millette@controlyourself.ca>2009-04-06 01:14:59 +0000
committerRobin Millette <millette@controlyourself.ca>2009-04-06 01:14:59 +0000
commit84d2aa7df49dc85603dd6c2d60c1f605800a458c (patch)
tree55209f3626f35cce1df08a45d9d167a67d223a87 /actions/peoplesearch.php
parent1ee24a2aaf6d07f0f6ffd4697da88c43b140bd13 (diff)
refactored search suggestions and added forgotten sprintf.
Diffstat (limited to 'actions/peoplesearch.php')
-rw-r--r--actions/peoplesearch.php21
1 files changed, 2 insertions, 19 deletions
diff --git a/actions/peoplesearch.php b/actions/peoplesearch.php
index 6fbb19b88..3ce719dd5 100644
--- a/actions/peoplesearch.php
+++ b/actions/peoplesearch.php
@@ -82,25 +82,8 @@ class PeoplesearchAction extends SearchAction
} else {
$this->element('p', 'error', _('No results.'));
- $qe = urlencode($q);
- $message = _(<<<E_O_T
-* Make sure all words are spelled correctly.
-* Try different keywords.
-* Try more general keywords.
-* Try fewer keywords.
-
-You can also try your search on other engines:
-
-* [Twingly](http://www.twingly.com/search?q=$qe&content=microblog&site=identi.ca)
-* [Tweet scan](http://www.tweetscan.com/indexi.php?s=$qe)
-* [Google](http://www.google.com/search?q=site%3Aidenti.ca+$qe)
-* [Yahoo](http://search.yahoo.com/search?p=site%3Aidenti.ca+$qe)
-
-E_O_T
-);
- $this->elementStart('div', 'blankfiller');
- $this->raw(common_markup_to_html($message));
- $this->elementEnd('div');
+//TODO
+ $this->searchSuggestions($q);
$profile->free();
}
}