From: Tobias Diekershoff Date: Tue, 1 Dec 2015 13:19:06 +0000 (+0100) Subject: add the module to the page title X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=51d392b97f144a7487deb35d8cb7d0946fe9fbc9;p=friendica.git add the module to the page title --- diff --git a/boot.php b/boot.php index d4c5ec093a..fb65eff22c 100644 --- a/boot.php +++ b/boot.php @@ -737,7 +737,14 @@ if(! class_exists('App')) { if($interval < 10000) $interval = 40000; - $this->page['title'] = $this->config['sitename']; + // compose the page title from the sitename and the + // current module called + if (!$this->module=='') + { + $this->page['title'] = $this->config['sitename'].' ('.$this->module.')'; + } else { + $this->page['title'] = $this->config['sitename']; + } /* put the head template at the beginning of page['htmlhead'] * since the code added by the modules frequently depends on it