aboutsummaryrefslogtreecommitdiff
path: root/views/default/user/default.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/user/default.php')
-rw-r--r--views/default/user/default.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/views/default/user/default.php b/views/default/user/default.php
new file mode 100644
index 000000000..5684f0dfc
--- /dev/null
+++ b/views/default/user/default.php
@@ -0,0 +1,23 @@
+<?php
+
+ /**
+ * Elgg user display
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ if ($vars['full']) {
+ echo elgg_view("profile/userdetails",$vars);
+ } else {
+ if (get_input('search_viewtype') == "gallery") {
+ echo elgg_view('profile/gallery',$vars);
+ } else {
+ echo elgg_view("profile/listing",$vars);
+ }
+ }
+
+?> \ No newline at end of file