aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_module.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-11-20 18:58:34 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-11-20 18:58:34 +0000
commit0202eb8a66920b43d37582bbd205a25f68523150 (patch)
treeb3a4305900778053b729f15bcca1b244d2d510f8 /phpBB/includes/functions_module.php
parent9f1f945d5d78f049bf44e0c6afb7eefeb549f406 (diff)
downloadforums-0202eb8a66920b43d37582bbd205a25f68523150.tar
forums-0202eb8a66920b43d37582bbd205a25f68523150.tar.gz
forums-0202eb8a66920b43d37582bbd205a25f68523150.tar.bz2
forums-0202eb8a66920b43d37582bbd205a25f68523150.tar.xz
forums-0202eb8a66920b43d37582bbd205a25f68523150.zip
- more acp additions and changes...
git-svn-id: file:///svn/phpbb/trunk@5310 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_module.php')
-rw-r--r--phpBB/includes/functions_module.php10
1 files changed, 10 insertions, 0 deletions
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
@@ -352,6 +352,16 @@ class p_master
}
/**
+ * 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
*/
function load($class, $name, $mode = false)