aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 14:11:26 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-23 14:11:26 +0000
commit55ff0b2a6a1f62818d33cd409cb3d148b1ccf824 (patch)
treeb9b721b5e97075ca14d5bd25d41cec0bb3c07f72 /views/default
parentdd63597d66a890a2600727de17e6a009976cf45d (diff)
downloadelgg-55ff0b2a6a1f62818d33cd409cb3d148b1ccf824.tar.gz
elgg-55ff0b2a6a1f62818d33cd409cb3d148b1ccf824.tar.bz2
Page title is now displayed at the top of the canvas.
git-svn-id: https://code.elgg.org/elgg/trunk@1060 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/css.php7
-rw-r--r--views/default/page_elements/header.php1
-rw-r--r--views/default/pageshells/pageshell.php3
3 files changed, 8 insertions, 3 deletions
diff --git a/views/default/css.php b/views/default/css.php
index a85079703..185d49f53 100644
--- a/views/default/css.php
+++ b/views/default/css.php
@@ -250,7 +250,12 @@ h6 { font-size: 0.8em; }
}
#layout_footer a {
color:white;
-}
+}
+
+.page_title {
+ padding:0px 10px 20px 20px;
+}
+
/* ***************************************
CUSTOMISE PANEL (PROFILE & DASHBOARD)
*************************************** */
diff --git a/views/default/page_elements/header.php b/views/default/page_elements/header.php
index 75ef6f746..498f26d97 100644
--- a/views/default/page_elements/header.php
+++ b/views/default/page_elements/header.php
@@ -72,7 +72,6 @@ END;
<div id="wrapper_header">
<!-- display the page title -->
<h1><a href="<?php echo $vars['url']; ?>"><?php echo $vars['config']->sitename; ?></a></h1>
- <h2><?php echo $vars['title']; ?></h2>
<!-- display top level navigation -->
<?php echo elgg_view('navigation/topmenu'); ?>
</div><!-- /#wrapper_header -->
diff --git a/views/default/pageshells/pageshell.php b/views/default/pageshells/pageshell.php
index 6b722c53c..6d81d134a 100644
--- a/views/default/pageshells/pageshell.php
+++ b/views/default/pageshells/pageshell.php
@@ -58,7 +58,8 @@
<!-- canvas -->
-<div id="layout_canvas">
+<div id="layout_canvas">
+<h2 class="page_title"><?php echo $vars['title']; ?></h2>
<?php echo $vars['body']; ?>
<div class="clearfloat"></div>
</div><!-- /#layout_canvas -->