summaryrefslogtreecommitdiff
path: root/actions/noticesearch.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/noticesearch.php')
-rw-r--r--actions/noticesearch.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/actions/noticesearch.php b/actions/noticesearch.php
index 8b2082e8c..0a9f4c37f 100644
--- a/actions/noticesearch.php
+++ b/actions/noticesearch.php
@@ -69,6 +69,19 @@ class NoticesearchAction extends SearchAction {
$page, 'noticesearch', array('q' => $q));
}
+ function show_header($arr) {
+ if ($arr) {
+ $q = $arr[0];
+ }
+ if ($q) {
+ common_element('link', array('rel' => 'alternate',
+ 'href' => common_local_url('noticesearchrss',
+ array('q' => $q)),
+ 'type' => 'application/rss+xml',
+ 'title' => _t('Search Stream Feed')));
+ }
+ }
+
# XXX: refactor and combine with StreamAction::show_notice()
function show_notice($notice, $terms) {