diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-08-06 14:17:37 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-08-06 14:17:37 +0000 |
commit | e9f261e51adcaa80429fe14b04ee277ab3124ce9 (patch) | |
tree | 6637cbf6a3917d29adcdffb4d1e8ab562050fd61 /mod/profile/index.php | |
parent | 44c6025cc9a1536a772bf74af8cc9c07b0efc8b6 (diff) | |
download | elgg-e9f261e51adcaa80429fe14b04ee277ab3124ce9.tar.gz elgg-e9f261e51adcaa80429fe14b04ee277ab3124ce9.tar.bz2 |
removed all main plugins from core - they now live in the plugins svn
git-svn-id: https://code.elgg.org/elgg/trunk@3422 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/index.php')
-rw-r--r-- | mod/profile/index.php | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/mod/profile/index.php b/mod/profile/index.php deleted file mode 100644 index 89ef89e5d..000000000 --- a/mod/profile/index.php +++ /dev/null @@ -1,41 +0,0 @@ -<?php
-
- /**
- * Elgg profile index
- *
- * @package ElggProfile
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd <info@elgg.com>
- * @copyright Curverider Ltd 2008-2009
- * @link http://elgg.com/
- */
-
- // Get the Elgg engine
- require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
-
- // Get the username
- $username = get_input('username'); - - $body = "";
-
- // Try and get the user from the username and set the page body accordingly
- if ($user = get_user_by_username($username)) {
-
- if ($user->isBanned() && !isadminloggedin()) {
- forward(); exit;
- }
- $body = elgg_view_entity($user,true);
- $title = $user->name; - - $body = elgg_view_layout('widgets',$body);
-
- } else {
-
- $body = elgg_echo("profile:notfound");
- $title = elgg_echo("profile");
-
- }
-
- page_draw($title, $body);
-
-?>
\ No newline at end of file |