From 0202eb8a66920b43d37582bbd205a25f68523150 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 20 Nov 2005 18:58:34 +0000 Subject: - more acp additions and changes... git-svn-id: file:///svn/phpbb/trunk@5310 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_module.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'phpBB/includes/functions_module.php') diff --git a/phpBB/includes/functions_module.php b/phpBB/includes/functions_module.php index ae71d677fe..9841a6f15b 100644 --- a/phpBB/includes/functions_module.php +++ b/phpBB/includes/functions_module.php @@ -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 */ -- cgit v1.2.1