From 9604dd579d80bdb8472e3aa9892b7dec422037c3 Mon Sep 17 00:00:00 2001 From: pete Date: Thu, 13 May 2010 19:01:54 +0000 Subject: Updated plugins to use new admin area canvas. git-svn-id: http://code.elgg.org/elgg/trunk@6034 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/defaultprofile.php | 2 +- mod/reportedcontent/index.php | 2 +- mod/sitepages/sitepages_functions.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mod') diff --git a/mod/profile/defaultprofile.php b/mod/profile/defaultprofile.php index 254b35567..6d9a25832 100644 --- a/mod/profile/defaultprofile.php +++ b/mod/profile/defaultprofile.php @@ -50,6 +50,6 @@ $resetlisting = "
{$resetlisting}
"; set_context('admin'); -$body = elgg_view_layout("one_column_with_sidebar", $title . $form . $listing . $resetlisting); +$body = elgg_view_layout("administration", $title . $form . $listing . $resetlisting); page_draw(elgg_echo('profile:edit:default'), $body); \ No newline at end of file diff --git a/mod/reportedcontent/index.php b/mod/reportedcontent/index.php index 3f3a4c5fe..bb969c343 100644 --- a/mod/reportedcontent/index.php +++ b/mod/reportedcontent/index.php @@ -24,4 +24,4 @@ $reported = elgg_get_entities(array('types' => 'object', 'subtypes' => 'reported $area2 = elgg_view("reportedcontent/listing", array('entity' => $reported)); // Display main admin menu -page_draw(elgg_echo('reportedcontent'),elgg_view_layout("one_column_with_sidebar", $title . $area2)); \ No newline at end of file +page_draw(elgg_echo('reportedcontent'),elgg_view_layout("administration", $title . $area2)); \ No newline at end of file diff --git a/mod/sitepages/sitepages_functions.php b/mod/sitepages/sitepages_functions.php index 80db39d14..ac1f7d9f1 100644 --- a/mod/sitepages/sitepages_functions.php +++ b/mod/sitepages/sitepages_functions.php @@ -83,7 +83,7 @@ function sitepages_get_edit_section_content($page_type) { $form .= elgg_view($view, array('page_type' => $page_type)); $body = $title . $menu . $form; - $content = elgg_view_layout('one_column_with_sidebar', $body); + $content = elgg_view_layout('administration', $body); return $content; } -- cgit v1.2.3