diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2011-01-03 10:03:21 +0100 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2011-01-03 10:03:21 +0100 |
commit | 8805635293a6f05fd18fb25f466c5d3d1e33a592 (patch) | |
tree | 8711fd910d6a32fc5ce9d6d4bac5e2eb8349c81e /boot.php | |
parent | 9ebd34b70398183cf86f095145c7066d8d4bb59e (diff) | |
download | volse-hubzilla-8805635293a6f05fd18fb25f466c5d3d1e33a592.tar.gz volse-hubzilla-8805635293a6f05fd18fb25f466c5d3d1e33a592.tar.bz2 volse-hubzilla-8805635293a6f05fd18fb25f466c5d3d1e33a592.zip |
Add sitename in page title
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -307,6 +307,7 @@ class App { } function init_pagehead() { + $this->page['title'] = $this->config['sitename']; $tpl = load_view_file("view/head.tpl"); $this->page['htmlhead'] = replace_macros($tpl,array( '$baseurl' => $this->get_baseurl() . '/' @@ -1957,7 +1958,7 @@ function profile_load(&$a, $nickname, $profile = 0) { $a->profile = $r[0]; - $a->page['title'] = $a->profile['name']; + $a->page['title'] = $a->profile['name'] . " @ " . $this->config['sitename']; $_SESSION['theme'] = $a->profile['theme']; if(! (x($a->page,'aside'))) |