aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/tags.php2
-rw-r--r--engine/lib/views.php5
-rw-r--r--engine/tests/ui/submenu.php2
3 files changed, 5 insertions, 4 deletions
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