aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/header.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-05 14:37:32 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-05 14:37:32 +0000
commitd3c19623a40a7ea45baf21f91629bafbc5eb0faa (patch)
tree2c4b3d525d4177e92354af7d0490db7674664395 /views/default/page_elements/header.php
parentc949e085c33b6eaf2e1dda4add566d47ab1876cd (diff)
downloadelgg-d3c19623a40a7ea45baf21f91629bafbc5eb0faa.tar.gz
elgg-d3c19623a40a7ea45baf21f91629bafbc5eb0faa.tar.bz2
Returned the site name to the header.
git-svn-id: https://code.elgg.org/elgg/trunk@802 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements/header.php')
-rw-r--r--views/default/page_elements/header.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/views/default/page_elements/header.php b/views/default/page_elements/header.php
index 520471edb..c84647098 100644
--- a/views/default/page_elements/header.php
+++ b/views/default/page_elements/header.php
@@ -19,12 +19,11 @@
// Set title
if (empty($vars['title'])) {
- $title = $vars['sitename'];
- } else if (empty($vars['sitename'])) {
+ $title = $vars['config']->sitename;
+ } else if (empty($vars['config']->sitename)) {
$title = $vars['title'];
} else {
- //$title = $vars['sitename'] . ": " . $vars['title'];
- $title = $vars['title'];
+ $title = $vars['config']->sitename . ": " . $vars['title'];
}
?>