Skip to content
Snippets Groups Projects
Commit 41412179 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

No commit message

No commit message
parent a86a99af
No related branches found
No related tags found
No related merge requests found
......@@ -14,21 +14,14 @@
$x = 'afasf';
var_dump($x);
$limit = get_input("limit", 10);
$offset = get_input("offset", 0);
$title = sprintf(elgg_echo("groups:owned"),page_owner_entity()->name);
// Get view
$area1 = elgg_view('globe/content', array());
// Get objects
$area2 = elgg_view_title($title);
set_context('search');
$objects = list_entities("group", "", page_owner(), $limit, false);
set_context('groups');
$area2 .= $objects;
$body = elgg_view_layout('two_column_left_sidebar',$area1, $area2);
// Format
$body = elgg_view_layout('one_column', $area1);
// Finally draw the page
page_draw($title, $body);
// Draw page
echo page_draw(elgg_echo(' Huskers Around The World'), $body);
?>
\ No newline at end of file
......@@ -38,10 +38,10 @@
switch ($page[0])
{
case 'friends':
include($CONFIG->pluginspath . "groups/new.php");
include("globe.php");
break;
default:
include($CONFIG->pluginspath . "groups/index.php");
include("index.php");
break;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment