]> git.mxchange.org Git - friendica.git/commitdiff
Add sitename in page title
authorfabrixxm <fabrix.xm@gmail.com>
Mon, 3 Jan 2011 09:03:21 +0000 (10:03 +0100)
committerfabrixxm <fabrix.xm@gmail.com>
Mon, 3 Jan 2011 09:03:21 +0000 (10:03 +0100)
boot.php

index e4a13ce92cefd219bf09f7be3dbf7e8bcbdf2aba..ec82b18cd1375d4fd9445b7a589aaa6b363f2077 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -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')))