diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-31 14:56:39 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-31 14:56:39 +0000 |
commit | cbb06b10079ee132aae4cbf573aeaa996f390165 (patch) | |
tree | d452a9613f55a1591da9f74109a8f9518168b3c4 /mod/guidtool/index.php | |
parent | df08e57a53a4d99a39b0f3d9dcafea4c6eefb24e (diff) | |
download | elgg-cbb06b10079ee132aae4cbf573aeaa996f390165.tar.gz elgg-cbb06b10079ee132aae4cbf573aeaa996f390165.tar.bz2 |
Guid tool for import, export and browsing.
git-svn-id: https://code.elgg.org/elgg/trunk@1633 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/guidtool/index.php')
-rw-r--r-- | mod/guidtool/index.php | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/mod/guidtool/index.php b/mod/guidtool/index.php index 9494d8790..cc10f770f 100644 --- a/mod/guidtool/index.php +++ b/mod/guidtool/index.php @@ -19,9 +19,25 @@ $limit = get_input('limit', 10); $offset = get_input('offset'); + $title = elgg_echo("guidtool"); + // 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_title($title) . elgg_view_entity_list($wrapped_entries, $count, $offset, $limit, false); // Display main admin menu - page_draw(elgg_echo("guidtool"),elgg_view_layout("one_column", $body)); + page_draw($title,elgg_view_layout("one_column", $body)); set_context($context); ?>
\ No newline at end of file |