From 4dc8868b80fdded7931f715b655970a858836b3d Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 14 Jan 2011 02:42:25 +0000 Subject: changed layout on pages to one_sidebar git-svn-id: http://code.elgg.org/elgg/trunk@7884 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/handlers/export_handler.php | 2 +- index.php | 2 +- mod/reportedcontent/start.php | 2 +- mod/sitepages/sitepages_functions.php | 2 +- mod/tagcloud/tagcloud.php | 2 +- pages/friends/add.php | 2 +- pages/friends/collections.php | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/engine/handlers/export_handler.php b/engine/handlers/export_handler.php index da83ce43c..709102663 100644 --- a/engine/handlers/export_handler.php +++ b/engine/handlers/export_handler.php @@ -112,5 +112,5 @@ if (($guid != "") && ($type == "") && ($id_or_name == "")) { } $content = elgg_view_title($title) . $body; -$body = elgg_view_layout('one_column_with_sidebar', array('content' => $content)); +$body = elgg_view_layout('one_sidebar', array('content' => $content)); echo elgg_view_page($title, $body); \ No newline at end of file diff --git a/index.php b/index.php index 33f51cb9b..e35a8efdd 100644 --- a/index.php +++ b/index.php @@ -45,5 +45,5 @@ $params = array( 'content' => $content, 'sidebar' => $login_box ); -$body = elgg_view_layout('one_column_with_sidebar', $params); +$body = elgg_view_layout('one_sidebar', $params); echo elgg_view_page(null, $body); diff --git a/mod/reportedcontent/start.php b/mod/reportedcontent/start.php index 15c1b7cae..d92eb05a2 100644 --- a/mod/reportedcontent/start.php +++ b/mod/reportedcontent/start.php @@ -54,7 +54,7 @@ function reportedcontent_page_handler($page) { 'content' => $content, 'sidebar' => $sidebar ); - $body = elgg_view_layout('one_column_with_sidebar', $params); + $body = elgg_view_layout('one_sidebar', $params); echo elgg_view_page(elgg_echo('reportedcontent:this'), $body); } diff --git a/mod/sitepages/sitepages_functions.php b/mod/sitepages/sitepages_functions.php index 39693a2c8..4410bd7e7 100644 --- a/mod/sitepages/sitepages_functions.php +++ b/mod/sitepages/sitepages_functions.php @@ -97,7 +97,7 @@ function sitepages_get_page_content($page_type) { $body .= elgg_echo('sitepages:notset'); } - $content = elgg_view_layout('one_column_with_sidebar', array('content' => $body)); + $content = elgg_view_layout('one_sidebar', array('content' => $body)); return $content; } diff --git a/mod/tagcloud/tagcloud.php b/mod/tagcloud/tagcloud.php index ecbfc130c..df280bbae 100644 --- a/mod/tagcloud/tagcloud.php +++ b/mod/tagcloud/tagcloud.php @@ -19,6 +19,6 @@ $params = array( 'content' => $title . $tags, 'sidebar' => $sidebar ); -$body = elgg_view_layout("one_column_with_sidebar", $params); +$body = elgg_view_layout("one_sidebar", $params); echo elgg_view_page(elgg_echo('tagcloud:site:title', array($page_owner->name)), $body); \ No newline at end of file diff --git a/pages/friends/add.php b/pages/friends/add.php index a1142d0da..81fe7b05b 100644 --- a/pages/friends/add.php +++ b/pages/friends/add.php @@ -18,6 +18,6 @@ $content .= elgg_view('forms/friends/edit', array( ) ); -$body = elgg_view_layout('one_column_with_sidebar', array('content' => $content)); +$body = elgg_view_layout('one_sidebar', array('content' => $content)); echo elgg_view_page(elgg_echo('friends:collections:add'), $body); diff --git a/pages/friends/collections.php b/pages/friends/collections.php index 80e472f66..76ae9d20b 100644 --- a/pages/friends/collections.php +++ b/pages/friends/collections.php @@ -15,6 +15,6 @@ $content = elgg_view_title($title); $content .= elgg_view_access_collections(get_loggedin_userid()); -$body = elgg_view_layout('one_column_with_sidebar', array('content' => $content)); +$body = elgg_view_layout('one_sidebar', array('content' => $content)); echo elgg_view_page($title, $body); -- cgit v1.2.3