aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-03 12:44:00 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-03 12:44:00 +0000
commit08b710e42eed1aeb2ec6bcde2e1333c5cbcaa581 (patch)
tree4435c51f02b66bec8faae13e31257c52e1d08051 /engine
parentfe113218b2b82338f6294cd2f2ba6a11d4bdf6a1 (diff)
downloadelgg-08b710e42eed1aeb2ec6bcde2e1333c5cbcaa581.tar.gz
elgg-08b710e42eed1aeb2ec6bcde2e1333c5cbcaa581.tar.bz2
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
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