aboutsummaryrefslogtreecommitdiff
path: root/mod/logbrowser/views/default/object
diff options
context:
space:
mode:
Diffstat (limited to 'mod/logbrowser/views/default/object')
-rw-r--r--mod/logbrowser/views/default/object/logwrapper.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/mod/logbrowser/views/default/object/logwrapper.php b/mod/logbrowser/views/default/object/logwrapper.php
new file mode 100644
index 000000000..673d732e8
--- /dev/null
+++ b/mod/logbrowser/views/default/object/logwrapper.php
@@ -0,0 +1,18 @@
+<?php
+ /**
+ * Elgg log browser.
+ *
+ * @package ElggLogBrowser
+ * @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.com/
+ */
+
+ if (get_input('search_viewtype') == "gallery") {
+ echo elgg_view('logbrowser/gallery',$vars);
+ } else {
+ echo elgg_view("logbrowser/listing",$vars);
+ }
+
+?> \ No newline at end of file