From e02d46fc8d3eec695211fbd28add8c9ce89e62da Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 22 Jul 2008 13:51:15 +0000 Subject: Moved the default user view from user/user to user/default. git-svn-id: https://code.elgg.org/elgg/trunk@1489 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/views/default/user/default.php | 25 +++++++++++++++++++++++++ mod/profile/views/default/user/user.php | 25 ------------------------- 2 files changed, 25 insertions(+), 25 deletions(-) create mode 100644 mod/profile/views/default/user/default.php delete mode 100644 mod/profile/views/default/user/user.php (limited to 'mod/profile/views/default') diff --git a/mod/profile/views/default/user/default.php b/mod/profile/views/default/user/default.php new file mode 100644 index 000000000..5a2865cc1 --- /dev/null +++ b/mod/profile/views/default/user/default.php @@ -0,0 +1,25 @@ + + * @copyright Curverider Ltd 2008 + * @link http://elgg.com/ + * + * @uses $vars['entity'] The user entity + */ + + 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 diff --git a/mod/profile/views/default/user/user.php b/mod/profile/views/default/user/user.php deleted file mode 100644 index 5a2865cc1..000000000 --- a/mod/profile/views/default/user/user.php +++ /dev/null @@ -1,25 +0,0 @@ - - * @copyright Curverider Ltd 2008 - * @link http://elgg.com/ - * - * @uses $vars['entity'] The user entity - */ - - 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 -- cgit v1.2.3