aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-01 17:59:04 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-01 17:59:04 +0000
commitc16cebf3faf325d9a4ca8c7b5ef66055a2b9bcbf (patch)
tree7300afd817adb809479355a66f535c0b8f0566c7
parent3d24b8b989a92ad32796dce73660d6dd499dff0a (diff)
downloadelgg-c16cebf3faf325d9a4ca8c7b5ef66055a2b9bcbf.tar.gz
elgg-c16cebf3faf325d9a4ca8c7b5ef66055a2b9bcbf.tar.bz2
Fixed OpenDD feeds
git-svn-id: https://code.elgg.org/elgg/trunk@1660 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--views/default/page_elements/header.php2
-rw-r--r--views/default/page_elements/owner_block.php2
-rw-r--r--views/opendd/search/entity_list.php9
3 files changed, 11 insertions, 2 deletions
diff --git a/views/default/page_elements/header.php b/views/default/page_elements/header.php
index 0b802ca23..1c5149d07 100644
--- a/views/default/page_elements/header.php
+++ b/views/default/page_elements/header.php
@@ -37,7 +37,7 @@
if (substr_count($url2,'?')) {
$url2 .= "&view=odd";
} else {
- $url2 .= "?view=odd";
+ $url2 .= "?view=opendd";
}
$feedref = <<<END
diff --git a/views/default/page_elements/owner_block.php b/views/default/page_elements/owner_block.php
index ba5a8d17a..3c2f588df 100644
--- a/views/default/page_elements/owner_block.php
+++ b/views/default/page_elements/owner_block.php
@@ -38,7 +38,7 @@
if (substr_count($url2,'?')) {
$url2 .= "&view=odd";
} else {
- $url2 .= "?view=odd";
+ $url2 .= "?view=opendd";
}
$label = elgg_echo('feed:rss');
$label2 = elgg_echo('feed:odd');
diff --git a/views/opendd/search/entity_list.php b/views/opendd/search/entity_list.php
new file mode 100644
index 000000000..8864b62da
--- /dev/null
+++ b/views/opendd/search/entity_list.php
@@ -0,0 +1,9 @@
+<?php
+
+ $entities = $vars['entities'];
+ if (is_array($entities) && sizeof($entities) > 0) {
+ foreach($entities as $entity)
+ echo elgg_view_entity($entity);
+ }
+
+?> \ No newline at end of file