mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
- more acp additions and changes...
git-svn-id: file:///svn/phpbb/trunk@5310 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -351,6 +351,16 @@ class p_master
|
||||
return $this->module->tpl_name . '.html';
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the desired page title
|
||||
*/
|
||||
function get_page_title()
|
||||
{
|
||||
global $user;
|
||||
|
||||
return (isset($user->lang[$this->module->page_title])) ? $user->lang[$this->module->page_title] : $this->module->page_title;
|
||||
}
|
||||
|
||||
/**
|
||||
* Load module as the current active one without the need for registering it
|
||||
*/
|
||||
|
Reference in New Issue
Block a user