diff options
Diffstat (limited to 'views/default/search/listing.php')
-rw-r--r-- | views/default/search/listing.php | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/views/default/search/listing.php b/views/default/search/listing.php index 8ffad8ffa..4dcb3be34 100644 --- a/views/default/search/listing.php +++ b/views/default/search/listing.php @@ -11,6 +11,12 @@ * @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">
@@ -30,4 +36,10 @@ ?>
</div>
- </div>
\ No newline at end of file + </div>
+
+<?php
+
+ }
+
+?>
\ No newline at end of file |