I am creating a theme for what will be my website's custom forum(SMF). I want to add an extra navigation menu to the template that will be sort of like the template_menu function in the index.template file. Where in the source files are the links for this menu generated? In the template file, the menu is generated with a foreach loop using the $context['menu_buttons'] array value... where is this defined?
I believe you can find the links in Subs.php, but I can't be certain of that without the code...