aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-01 18:33:17 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-01 18:33:17 +0000
commitf87725e1e0a2c096011cbfa6be6a44d07a629a0e (patch)
tree54346914c0d2f1c2c14549d18d360c2311d77a75 /views/default
parent5171ca1beda6a86f13dffe34d6526d82d7b3e061 (diff)
downloadelgg-f87725e1e0a2c096011cbfa6be6a44d07a629a0e.tar.gz
elgg-f87725e1e0a2c096011cbfa6be6a44d07a629a0e.tar.bz2
Fixed RSS and OpenDD feeds for users
git-svn-id: https://code.elgg.org/elgg/trunk@1663 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-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