aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/layouts
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-06-25 20:27:02 -0400
committercash <cash.costello@gmail.com>2011-06-25 20:27:02 -0400
commit59774f1999752f941d48dcae43d53d4a6cc8c0c0 (patch)
treefa295d7eed744c3d484fee2bc65157cfcdfccc69 /views/default/page/layouts
parent8e657574c0c7844b5dffb933a017bc8acd3e5295 (diff)
downloadelgg-59774f1999752f941d48dcae43d53d4a6cc8c0c0.tar.gz
elgg-59774f1999752f941d48dcae43d53d4a6cc8c0c0.tar.bz2
one_column layout was not showing title and nav
Diffstat (limited to 'views/default/page/layouts')
-rw-r--r--views/default/page/layouts/one_column.php15
1 files changed, 13 insertions, 2 deletions
diff --git a/views/default/page/layouts/one_column.php b/views/default/page/layouts/one_column.php
index c59a574e7..7546a4cdf 100644
--- a/views/default/page/layouts/one_column.php
+++ b/views/default/page/layouts/one_column.php
@@ -13,11 +13,22 @@ $class = 'elgg-layout elgg-layout-one-column clearfix';
if (isset($vars['class'])) {
$class = "$class {$vars['class']}";
}
+
+// navigation defaults to breadcrumbs
+$nav = elgg_extract('nav', $vars, elgg_view('navigation/breadcrumbs'));
+
?>
<div class="<?php echo $class; ?>">
- <div class="elgg-body">
- <?php echo $vars['content']; ?>
+ <div class="elgg-body elgg-main">
<?php
+ echo $nav;
+
+ if (isset($vars['title'])) {
+ echo elgg_view_title($vars['title']);
+ }
+
+ echo $vars['content'];
+
// @deprecated 1.8
echo $vars['area1'];
?>