aboutsummaryrefslogtreecommitdiff
path: root/views/default/search/listing.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/search/listing.php')
-rw-r--r--views/default/search/listing.php45
1 files changed, 45 insertions, 0 deletions
diff --git a/views/default/search/listing.php b/views/default/search/listing.php
new file mode 100644
index 000000000..0a9d01fee
--- /dev/null
+++ b/views/default/search/listing.php
@@ -0,0 +1,45 @@
+<?php
+
+ /**
+ * Elgg search listing
+ *
+ * @package Elgg
+ * @subpackage Core
+
+ * @author Curverider Ltd
+
+ * @link http://elgg.org/
+ */
+
+ if (isset($vars['search_viewtype']) && $vars['search_viewtype'] == "gallery") {
+
+ echo elgg_view("search/gallery_listing",$vars);
+
+ } else {
+
+?>
+
+ <div class="search_listing">
+
+ <div class="search_listing_icon">
+ <?php
+
+ echo $vars['icon'];
+
+ ?>
+ </div>
+ <div class="search_listing_info">
+ <?php
+
+ echo $vars['info'];
+
+ ?>
+ </div>
+
+ </div>
+
+<?php
+
+ }
+
+?> \ No newline at end of file