diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-29 16:42:04 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-29 16:42:04 +0000 |
commit | f93ce10e56f335cfe1678ea93ca971f77eb839e1 (patch) | |
tree | ff3c81a8643cfa093cf1f902b243282b31e03324 /mod/logbrowser/views/default/object | |
parent | f4df8ab602cd8d9d2ead55999f312b2da6eea1e0 (diff) | |
download | elgg-f93ce10e56f335cfe1678ea93ca971f77eb839e1.tar.gz elgg-f93ce10e56f335cfe1678ea93ca971f77eb839e1.tar.bz2 |
Added basic log browser.
updateclient & logbrowser are switched on by default in new installs.
git-svn-id: https://code.elgg.org/elgg/trunk@1579 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/logbrowser/views/default/object')
-rw-r--r-- | mod/logbrowser/views/default/object/logwrapper.php | 18 |
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 |