aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-07-22 22:26:38 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-07-22 22:26:38 -0500
commita5dd64195a3a88db3fec38ac74dfb5d118ab5622 (patch)
treef3b3b685f289f05b6108a2e102355d5a998ffd06 /phpBB/includes/functions.php
parent147a125f69683f2f87017bf9870c804a9f09c3d3 (diff)
downloadforums-a5dd64195a3a88db3fec38ac74dfb5d118ab5622.tar
forums-a5dd64195a3a88db3fec38ac74dfb5d118ab5622.tar.gz
forums-a5dd64195a3a88db3fec38ac74dfb5d118ab5622.tar.bz2
forums-a5dd64195a3a88db3fec38ac74dfb5d118ab5622.tar.xz
forums-a5dd64195a3a88db3fec38ac74dfb5d118ab5622.zip
[ticket/11021] Add the option to specify a Site home URL and text
PHPBB3-11021
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index e5b721b1f5..a8d3c25052 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -4935,6 +4935,7 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0
'L_LOGIN_LOGOUT' => $l_login_logout,
'L_INDEX' => $user->lang['FORUM_INDEX'],
+ 'L_HOME' => ($config['site_home_text']) ? $config['site_home_text'] : $user->lang['HOME'],
'L_ONLINE_EXPLAIN' => $l_online_time,
'U_PRIVATEMSGS' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&amp;folder=inbox'),
@@ -4945,6 +4946,7 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0
'U_VIEWONLINE' => ($auth->acl_gets('u_viewprofile', 'a_user', 'a_useradd', 'a_userdel')) ? append_sid("{$phpbb_root_path}viewonline.$phpEx") : '',
'U_LOGIN_LOGOUT' => $u_login_logout,
'U_INDEX' => append_sid("{$phpbb_root_path}index.$phpEx"),
+ 'U_HOME' => $config['site_home_url'],
'U_SEARCH' => append_sid("{$phpbb_root_path}search.$phpEx"),
'U_REGISTER' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=register'),
'U_PROFILE' => append_sid("{$phpbb_root_path}ucp.$phpEx"),