From 08b710e42eed1aeb2ec6bcde2e1333c5cbcaa581 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 3 Feb 2011 12:44:00 +0000 Subject: removed one_column_with_sidebar layout - use one_sidebar instead git-svn-id: http://code.elgg.org/elgg/trunk@8005 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/tags.php | 2 +- engine/lib/views.php | 5 +++-- engine/tests/ui/submenu.php | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'engine') diff --git a/engine/lib/tags.php b/engine/lib/tags.php index 924843a29..c952a8bab 100644 --- a/engine/lib/tags.php +++ b/engine/lib/tags.php @@ -337,7 +337,7 @@ function elgg_tagcloud_page_handler($page) { ); $tags = elgg_view_tagcloud($options); $content = $title . $tags; - $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('tags:site_cloud'), $body); break; diff --git a/engine/lib/views.php b/engine/lib/views.php index 4f6088859..e20c98929 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -599,9 +599,10 @@ function elgg_view_page($title, $body, $page_shell = 'default', $vars = array()) * * Layouts provide consistent organization of pages and other blocks of content. * There are a few default layouts in core: - * - administration A special layout for the admin area. + * - admin A special layout for the admin area. * - one_column A single content column. - * - one_column_with_sidebar A content column with sidebar. + * - one_sidebar A content column with sidebar. + * - two_sidebar A content column with two sidebars. * - widgets A widget canvas. * * The layout views take the form layout/shells/$layout_name diff --git a/engine/tests/ui/submenu.php b/engine/tests/ui/submenu.php index 7fb000c4d..3121d9e5a 100644 --- a/engine/tests/ui/submenu.php +++ b/engine/tests/ui/submenu.php @@ -97,7 +97,7 @@ elgg_add_submenu_item(array('text' => 'All test', 'href' => "$url?all"), 'all'); //elgg_set_context('not_main'); -$body = elgg_view_layout('one_column_with_sidebar', array('content' => 'Look right.')); +$body = elgg_view_layout('one_sidebar', array('content' => 'Look right.')); echo elgg_view_page('Submenu Test', $body); */ \ No newline at end of file -- cgit v1.2.3