From 7cc7dbd39b4a91903130c55fabf23645ae5cec8e Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 5 Aug 2008 08:37:07 +0000 Subject: group profile view tweaked git-svn-id: https://code.elgg.org/elgg/trunk@1695 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/groupprofile.php | 2 +- mod/groups/views/default/groups/items.php | 28 ------------------------ mod/groups/views/default/groups/profileitems.php | 28 ++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 29 deletions(-) delete mode 100644 mod/groups/views/default/groups/items.php create mode 100644 mod/groups/views/default/groups/profileitems.php (limited to 'mod/groups') diff --git a/mod/groups/groupprofile.php b/mod/groups/groupprofile.php index c06654f85..36bede0c0 100644 --- a/mod/groups/groupprofile.php +++ b/mod/groups/groupprofile.php @@ -21,7 +21,7 @@ $area2 .= elgg_view('group/group', array('entity' => $group, 'user' => $_SESSION['user'], 'full' => true)); //group profile 'items' - these are not real widgets, just contents to display - $area2 .= elgg_view('groups/items',array('entity' => $group)); + $area2 .= elgg_view('groups/profileitems',array('entity' => $group)); $body = elgg_view_layout('two_column_left_sidebar', $area1, $area2); diff --git a/mod/groups/views/default/groups/items.php b/mod/groups/views/default/groups/items.php deleted file mode 100644 index 60dd5ac20..000000000 --- a/mod/groups/views/default/groups/items.php +++ /dev/null @@ -1,28 +0,0 @@ -"; - echo elgg_view("groups/members",array('entity' => $vars['entity'])); - echo ""; - - //narrow column - echo "
"; - echo elgg_view("groups/narrow_column",array('entity' => $vars['entity'])); - echo "
"; - - //wider column - echo "
"; - echo elgg_view("groups/wide_column",array('entity' => $vars['entity'])); - echo "
"; - -?> \ No newline at end of file diff --git a/mod/groups/views/default/groups/profileitems.php b/mod/groups/views/default/groups/profileitems.php new file mode 100644 index 000000000..91bc6567a --- /dev/null +++ b/mod/groups/views/default/groups/profileitems.php @@ -0,0 +1,28 @@ +"; + echo elgg_view("groups/members",array('entity' => $vars['entity'])); + echo ""; + + //narrow column + echo "
"; + echo elgg_view("groups/narrow_column",array('entity' => $vars['entity'])); + echo "
"; + + //wider column + echo "
"; + echo elgg_view("groups/wide_column",array('entity' => $vars['entity'])); + echo "
"; + +?> \ No newline at end of file -- cgit v1.2.3