aboutsummaryrefslogtreecommitdiff
path: root/mod/guidtool/index.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-04 16:42:02 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-04 16:42:02 +0000
commit8a30fad5bbdfd25c03a398c6f24ab33283df3f80 (patch)
tree59d21934c54c2c60cab143a740b7ce97342a6001 /mod/guidtool/index.php
parent81351727f4b3be12ddc4fb0d026ffb3e8f89b503 (diff)
downloadelgg-8a30fad5bbdfd25c03a398c6f24ab33283df3f80.tar.gz
elgg-8a30fad5bbdfd25c03a398c6f24ab33283df3f80.tar.bz2
Adapted to use new menus.
git-svn-id: https://code.elgg.org/elgg/trunk@1687 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/guidtool/index.php')
-rw-r--r--mod/guidtool/index.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/mod/guidtool/index.php b/mod/guidtool/index.php
index 105aa57c3..0f1bcd223 100644
--- a/mod/guidtool/index.php
+++ b/mod/guidtool/index.php
@@ -13,13 +13,14 @@
admin_gatekeeper();
+ $title = elgg_echo("guidtool");
+ $body = elgg_view_title($title);
+
$context = get_context();
set_context('search');
$limit = get_input('limit', 10);
- $offset = get_input('offset');
-
- $title = elgg_echo("guidtool");
+ $offset = get_input('offset');
// Get entities
$entities = get_entities("","","","",$limit, $offset);
@@ -35,9 +36,10 @@
$wrapped_entries[] = $tmp;
}
- $body = elgg_view_title($title) . elgg_view_entity_list($wrapped_entries, $count, $offset, $limit, false);
+ $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));
- set_context($context);
?> \ No newline at end of file