diff options
author | Jakub Senko <jakubsenko@gmail.com> | 2016-08-15 18:12:20 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-05-06 21:48:07 +0200 |
commit | 77315a014c67420d07fec4968c1ecc2bc1849d23 (patch) | |
tree | e3091b0a065e2239683c9604f708e27b50ec4d19 | |
parent | c02be62ea1394c6affc96c93fd82464017f49b4b (diff) | |
download | forums-77315a014c67420d07fec4968c1ecc2bc1849d23.tar forums-77315a014c67420d07fec4968c1ecc2bc1849d23.tar.gz forums-77315a014c67420d07fec4968c1ecc2bc1849d23.tar.bz2 forums-77315a014c67420d07fec4968c1ecc2bc1849d23.tar.xz forums-77315a014c67420d07fec4968c1ecc2bc1849d23.zip |
[ticket/14573] Add Whoisonline breadcrumbs
PHPBB3-14573
-rw-r--r-- | phpBB/viewonline.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php index d5ddb0ba13..f1d4527c19 100644 --- a/phpBB/viewonline.php +++ b/phpBB/viewonline.php @@ -487,6 +487,11 @@ $start = $pagination->validate_start($start, $config['topics_per_page'], $counte $base_url = append_sid("{$phpbb_root_path}viewonline.$phpEx", "sg=$show_guests&sk=$sort_key&sd=$sort_dir"); $pagination->generate_template_pagination($base_url, 'pagination', 'start', $counter, $config['topics_per_page'], $start); +$template->assign_block_vars('navlinks', array( + 'FORUM_NAME' => $user->lang('WHO_IS_ONLINE'), + 'U_VIEW_FORUM' => append_sid("{$phpbb_root_path}viewonline.$phpEx"), +)); + // Send data to template $template->assign_vars(array( 'TOTAL_REGISTERED_USERS_ONLINE' => $user->lang('REG_USERS_ONLINE', (int) $logged_visible_online, $user->lang('HIDDEN_USERS_ONLINE', (int) $logged_hidden_online)), |