diff --git a/controller/thankslist.php b/controller/thankslist.php index 2136a87..f2a4d50 100644 --- a/controller/thankslist.php +++ b/controller/thankslist.php @@ -589,12 +589,19 @@ public function main($mode, $author_id, $give) } // Output the page + $u_thankslist = $this->controller_helper->route('gfksx_thanksforposts_thankslist_controller'); $this->template->assign_vars([ 'TOTAL_USERS' => $this->language->lang('LIST_USERS', $total_users), 'U_THANKS' => $this->controller_helper->route('gfksx_thanksforposts_thankslist_controller'), 'S_THANKS' => $sthanks, ]); + // Add breadcrumb + $this->template->assign_block_vars('navlinks', [ + 'BREADCRUMB_NAME' => $this->language->lang('GRATITUDES'), + 'U_BREADCRUMB' => $u_thankslist, + ]); + make_jumpbox(append_sid("{$this->phpbb_root_path}viewforum.$this->php_ext")); // Send all data to the template file diff --git a/controller/toplist.php b/controller/toplist.php index 867d91d..29eef93 100644 --- a/controller/toplist.php +++ b/controller/toplist.php @@ -488,6 +488,7 @@ public function main() $this->pagination->generate_template_pagination($pagination_url, 'pagination', 'start', $total_match_count, (int) $this->config['topics_per_page'], $start); // Output the page + $u_toplist = $this->controller_helper->route('gfksx_thanksforposts_toplist_controller'); $this->template->assign_vars([ 'PAGE_NUMBER' => $this->pagination->on_page($total_match_count, (int) $this->config['posts_per_page'], $start), 'PAGE_TITLE' => $page_title, @@ -503,6 +504,12 @@ public function main() 'U_SEARCH_FORUM' => $u_search_forum, ]); + // Add breadcrumb + $this->template->assign_block_vars('navlinks', [ + 'BREADCRUMB_NAME' => $this->language->lang('TOPLIST'), + 'U_BREADCRUMB' => $u_toplist, + ]); + make_jumpbox(append_sid("{$this->phpbb_root_path}viewforum.$this->php_ext")); // Send all data to the template file