aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2011-06-05 09:40:43 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-05-29 02:14:27 +0200
commitd52f34f5ec5d006ec7e610e1c72266df21e70ac7 (patch)
tree31a105436f12a23a13e4af995a19ff43e8d02191 /phpBB/includes/functions.php
parent624c0e4ef6b638adb325e72158ac3a7e5f66b0bf (diff)
downloadforums-d52f34f5ec5d006ec7e610e1c72266df21e70ac7.tar
forums-d52f34f5ec5d006ec7e610e1c72266df21e70ac7.tar.gz
forums-d52f34f5ec5d006ec7e610e1c72266df21e70ac7.tar.bz2
forums-d52f34f5ec5d006ec7e610e1c72266df21e70ac7.tar.xz
forums-d52f34f5ec5d006ec7e610e1c72266df21e70ac7.zip
[ticket/10073] Add a contact administrators page and refactor email forms.
The message to be displayed on top of the email form cannot be configured yet. PHPBB3-10073
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index c423e29d9d..8ca966eb52 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -4922,6 +4922,7 @@ function page_header($page_title = '', $display_online_list = false, $item_id =
'U_SEARCH_UNREAD' => append_sid("{$phpbb_root_path}search.$phpEx", 'search_id=unreadposts'),
'U_SEARCH_ACTIVE_TOPICS'=> append_sid("{$phpbb_root_path}search.$phpEx", 'search_id=active_topics'),
'U_DELETE_COOKIES' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=delete_cookies'),
+ 'U_CONTACT_US' => (!$config['contact_admin_form_enable']) /** TODO: && !$config['contact_admin_info']) */ ? '' : append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=contactadmin'),
'U_TEAM' => ($user->data['user_id'] != ANONYMOUS && !$auth->acl_get('u_viewprofile')) ? '' : append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=team'),
'U_TERMS_USE' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=terms'),
'U_PRIVACY' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=privacy'),