aboutsummaryrefslogtreecommitdiff
path: root/views/opensearch_rss/search
diff options
context:
space:
mode:
Diffstat (limited to 'views/opensearch_rss/search')
-rw-r--r--views/opensearch_rss/search/layout.php5
-rw-r--r--views/opensearch_rss/search/list.php27
2 files changed, 0 insertions, 32 deletions
diff --git a/views/opensearch_rss/search/layout.php b/views/opensearch_rss/search/layout.php
deleted file mode 100644
index d5bb9fe57..000000000
--- a/views/opensearch_rss/search/layout.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-/**
- * OpenSearch search layout
- */
-echo $vars['body']; \ No newline at end of file
diff --git a/views/opensearch_rss/search/list.php b/views/opensearch_rss/search/list.php
deleted file mode 100644
index bc7b5574e..000000000
--- a/views/opensearch_rss/search/list.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php
-/**
- * OpenSearch serach results list
- */
-
-global $OPEN_SEARCH_COUNT;
-if (!isset($OPEN_SEARCH_COUNT)) {
- $OPEN_SEARCH_COUNT = 0;
-}
-
-$OPEN_SEARCH_COUNT += $vars['results']['count'];
-
-
-elgg_set_viewtype('rss');
-$entities = $vars['results']['entities'];
-foreach ($entities as $entity) {
- if ($view = search_get_search_view($vars['params'], 'entity')) {
- $body .= elgg_view($view, array(
- 'entity' => $entity,
- 'params' => $vars['params'],
- 'results' => $vars['results']
- ));
- }
-}
-elgg_set_viewtype('opensearch_rss');
-
-echo $body; \ No newline at end of file