@@ -43,9 +43,9 @@ public function index()
4343 $ this ->assign_template_block_vars ('implemented_ideas ' , $ ideas );
4444
4545 $ this ->template ->assign_vars (array (
46- 'U_VIEW_TOP ' => $ this ->link_helper -> get_list_link ( ideas::SORT_TOP ),
47- 'U_VIEW_LATEST ' => $ this ->link_helper -> get_list_link ( ideas::SORT_NEW ),
48- 'U_VIEW_IMPLEMENTED ' => $ this ->link_helper -> get_list_link ( ideas::SORT_IMPLEMENTED ),
46+ 'U_VIEW_TOP ' => $ this ->helper -> route ( ' phpbb_ideas_list_controller ' , [ ' sort ' => ideas::SORT_TOP ] ),
47+ 'U_VIEW_LATEST ' => $ this ->helper -> route ( ' phpbb_ideas_list_controller ' , [ ' sort ' => ideas::SORT_NEW ] ),
48+ 'U_VIEW_IMPLEMENTED ' => $ this ->helper -> route ( ' phpbb_ideas_list_controller ' , [ ' sort ' => ideas::SORT_DATE , ' status ' => ideas:: $ statuses [ ' IMPLEMENTED ' ]] ),
4949 'U_POST_ACTION ' => $ this ->helper ->route ('phpbb_ideas_post_controller ' ),
5050 'U_MCP ' => ($ this ->auth ->acl_get ('m_ ' , $ this ->config ['ideas_forum_id ' ])) ? append_sid ("{$ this ->root_path }mcp. {$ this ->php_ext }" , "f= {$ this ->config ['ideas_forum_id ' ]}&i=main&mode=forum_view " , true , $ this ->user ->session_id ) : '' ,
5151
@@ -57,8 +57,8 @@ public function index()
5757 'FORUM_NAME ' => $ this ->language ->lang ('IDEAS ' ),
5858 ));
5959
60- // Display the search ideas field
61- $ this ->display_search_ideas ();
60+ // Display common ideas template vars
61+ $ this ->display_common_vars ();
6262
6363 return $ this ->helper ->render ('index_body.html ' , $ this ->language ->lang ('IDEAS_TITLE ' ));
6464 }
0 commit comments