aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-08 18:43:11 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-08 18:43:11 +0000
commitf2b5b81e01444f90f00baef738d02422cbaf6e20 (patch)
tree29c937ac71ed41fec08417a9b8a69558a28c0f6a /mod
parentb893e1f3876a071c46f4053aab67f4f4da8f19f9 (diff)
downloadelgg-f2b5b81e01444f90f00baef738d02422cbaf6e20.tar.gz
elgg-f2b5b81e01444f90f00baef738d02422cbaf6e20.tar.bz2
Removed the superfluous groups contentwrapper
git-svn-id: http://code.elgg.org/elgg/trunk@5308 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/all.php2
-rw-r--r--mod/groups/edit.php2
-rw-r--r--mod/groups/groupprofile.php2
-rw-r--r--mod/groups/views/default/groups/contentwrapper.php5
4 files changed, 3 insertions, 8 deletions
diff --git a/mod/groups/all.php b/mod/groups/all.php
index 685fb0811..51c337238 100644
--- a/mod/groups/all.php
+++ b/mod/groups/all.php
@@ -60,7 +60,7 @@
$title = sprintf(elgg_echo("groups:all"),page_owner_entity()->name);
$area2 = elgg_view_title($title);
- $area2 .= elgg_view('groups/contentwrapper', array('body' => elgg_view("groups/group_sort_menu", array("count" => $group_count, "filter" => $filter)) . $objects));
+ $area2 .= elgg_view("groups/group_sort_menu", array("count" => $group_count, "filter" => $filter)) . $objects;
$body = elgg_view_layout('one_column_with_sidebar',$area1,$area2);
// Finally draw the page
diff --git a/mod/groups/edit.php b/mod/groups/edit.php
index 140f8c3f8..5d33d2bc3 100644
--- a/mod/groups/edit.php
+++ b/mod/groups/edit.php
@@ -24,7 +24,7 @@
$body .= elgg_view("forms/groups/edit", array('entity' => $group));
} else {
- $body .= elgg_view('groups/contentwrapper',array('body' => elgg_echo('groups:noaccess')));
+ $body .= elgg_echo('groups:noaccess');
}
$body = elgg_view_layout('one_column_with_sidebar', '', $body);
diff --git a/mod/groups/groupprofile.php b/mod/groups/groupprofile.php
index b279d88ab..721604691 100644
--- a/mod/groups/groupprofile.php
+++ b/mod/groups/groupprofile.php
@@ -50,7 +50,7 @@
$title = elgg_echo('groups:notfound');
$area2 = elgg_view_title($title);
- $area2 .= elgg_view('groups/contentwrapper',array('body' => elgg_echo('groups:notfound:details')));
+ $area2 .= elgg_echo('groups:notfound:details');
$body = elgg_view_layout('one_column_with_sidebar', '', $area2);
}
diff --git a/mod/groups/views/default/groups/contentwrapper.php b/mod/groups/views/default/groups/contentwrapper.php
deleted file mode 100644
index e11d3d09a..000000000
--- a/mod/groups/views/default/groups/contentwrapper.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<div class='contentWrapper groups'><?php
-
- echo $vars['body'];
-
-?></div> \ No newline at end of file