]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Updated plugins to use new admin area canvas.
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 13 May 2010 19:01:54 +0000 (19:01 +0000)
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 13 May 2010 19:01:54 +0000 (19:01 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@6034 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/profile/defaultprofile.php
mod/reportedcontent/index.php
mod/sitepages/sitepages_functions.php

index 254b35567186c04e80ca57d740904191d21137f3..6d9a25832b5ad8e2001c05d348c89fe03ac795bc 100644 (file)
@@ -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
index 3f3a4c5feac940913caa9e4e270b13a387cc4599..bb969c343e0c8f0ce47a5f21c5d359b31160c02d 100644 (file)
@@ -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
index 80db39d14998883ce677c50415980ff808565a73..ac1f7d9f1d72c0e8a281284702e37a198936c0a8 100644 (file)
@@ -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;
 }