From 839dcba98a17b6d8b3fb63aec7744eda373ec5ff Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 30 Sep 2010 23:13:21 +0000 Subject: Refs #2344 - moves entities directory to pages directory git-svn-id: http://code.elgg.org/elgg/trunk@6988 36083f99-b078-4883-b0ff-0f9b5a30f544 --- entities/index.php | 60 ------------------------------------------------------ entities/list.php | 19 ----------------- 2 files changed, 79 deletions(-) delete mode 100644 entities/index.php delete mode 100644 entities/list.php (limited to 'entities') diff --git a/entities/index.php b/entities/index.php deleted file mode 100644 index 68018bfff..000000000 --- a/entities/index.php +++ /dev/null @@ -1,60 +0,0 @@ -container_guid) { - set_page_owner($entity->container_guid); - } else { - set_page_owner($entity->owner_guid); - } - - // Set the body to be the full view of the entity, and the title to be its title - if ($entity instanceof ElggObject) { - $title = $entity->title; - } else if ($entity instanceof ElggEntity) { - $title = $entity->name; - } - $area1 = elgg_view_entity($entity,true); - if ($shell) { - $body = elgg_view_layout('one_column_with_sidebar', $area1); - } else { - $body = $area1; - } -} else { - $body = elgg_echo('notfound'); -} - -// Display the page -if ($shell) { - page_draw($title, $body); -} else { - header("Content-type: text/html; charset=UTF-8"); - echo $title; - echo $body; -} \ No newline at end of file diff --git a/entities/list.php b/entities/list.php deleted file mode 100644 index 280336cef..000000000 --- a/entities/list.php +++ /dev/null @@ -1,19 +0,0 @@ -