aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-13 19:01:54 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-13 19:01:54 +0000
commit9604dd579d80bdb8472e3aa9892b7dec422037c3 (patch)
tree96896ee32db79f0410a4a88497e8c62482d7c175
parenta21bc98222a29de9f823cec19e34d32868dfacee (diff)
downloadelgg-9604dd579d80bdb8472e3aa9892b7dec422037c3.tar.gz
elgg-9604dd579d80bdb8472e3aa9892b7dec422037c3.tar.bz2
Updated plugins to use new admin area canvas.
git-svn-id: http://code.elgg.org/elgg/trunk@6034 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/profile/defaultprofile.php2
-rw-r--r--mod/reportedcontent/index.php2
-rw-r--r--mod/sitepages/sitepages_functions.php2
3 files changed, 3 insertions, 3 deletions
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 = "<div class='default_profile_reset'>{$resetlisting}</div>";
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;
}