aboutsummaryrefslogtreecommitdiff
path: root/mod/guidtool/index.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-05 14:58:20 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-05 14:58:20 +0000
commit6ee2b596da12dc3ac5f6ba6d4ca5545df5beab2d (patch)
tree2cc20df8e2eb0345d934952cd06a4cf5a9430343 /mod/guidtool/index.php
parent89a9e93a915ca7c576e187f0c38d2c202fed05b2 (diff)
downloadelgg-6ee2b596da12dc3ac5f6ba6d4ca5545df5beab2d.tar.gz
elgg-6ee2b596da12dc3ac5f6ba6d4ca5545df5beab2d.tar.bz2
Farewell APIadmin, farewell GUIDtool. We'll see you over in the plugins repo.
git-svn-id: https://code.elgg.org/elgg/trunk@3096 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/guidtool/index.php')
-rw-r--r--mod/guidtool/index.php46
1 files changed, 0 insertions, 46 deletions
diff --git a/mod/guidtool/index.php b/mod/guidtool/index.php
deleted file mode 100644
index 42abaae3b..000000000
--- a/mod/guidtool/index.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
- /**
- * Elgg GUID Tool
- *
- * @package ElggGUIDTool
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008-2009
- * @link http://elgg.com/
- */
-
- require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
-
- admin_gatekeeper();
- set_context('admin');
-
- $title = elgg_echo("guidtool");
- $body = elgg_view_title($title);
-
- $context = get_context();
- set_context('search');
-
- $limit = get_input('limit', 10);
- $offset = get_input('offset');
-
- // Get entities
- $entities = get_entities("","","","",$limit, $offset);
- $count = get_entities("","","","",$limit, $offset, true);
-
- $wrapped_entries = array();
-
- foreach ($entities as $e)
- {
- $tmp = new ElggObject();
- $tmp->subtype = 'guidtoolwrapper';
- $tmp->entity = $e;
- $wrapped_entries[] = $tmp;
- }
-
- $body .= elgg_view_entity_list($wrapped_entries, $count, $offset, $limit, false);
-
- set_context($context);
-
-// Display main admin menu
- page_draw($title,elgg_view_layout("two_column_left_sidebar", '', $body));
-?> \ No newline at end of file