aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-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