aboutsummaryrefslogtreecommitdiff
path: root/views/php/search
diff options
context:
space:
mode:
Diffstat (limited to 'views/php/search')
-rw-r--r--views/php/search/entity_list.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/views/php/search/entity_list.php b/views/php/search/entity_list.php
new file mode 100644
index 000000000..3ad18d371
--- /dev/null
+++ b/views/php/search/entity_list.php
@@ -0,0 +1,20 @@
+<?php
+
+ /**
+ * Elgg default layout
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ $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