의 미러
https://github.com/friendica/friendica
synced 2025-09-07 21:21:52 +02:00
add the module to the page title
This commit is contained in:
부모
146f386e37
커밋
51d392b97f
1개의 변경된 파일과 8개의 추가작업 그리고 1개의 파일을 삭제
9
boot.php
9
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
|
||||
|
|
불러오는 중…
테이블 추가
Add a link
Reference in a new issue