function menu_secondary_links in Drupal 5
Same name and namespace in other branches
- 4 includes/menu.inc \menu_secondary_links()
- 6 includes/menu.inc \menu_secondary_links()
Returns an array containing the secondary links. Secondary links can be either a second level of the Primary links menu or generated from their own menu.
Related topics
2 calls to menu_secondary_links()
- chameleon_page in themes/
chameleon/ chameleon.theme - phptemplate_page in themes/
engines/ phptemplate/ phptemplate.engine - Prepare the values passed to the theme_page function to be passed into a pluggable template engine. Uses the arg() function to generate a series of page template files suggestions based on the current path. If none are found, the default page.tpl.php…
File
- includes/
menu.inc, line 887 - API for the Drupal menu system.
Code
function menu_secondary_links() {
$msm = variable_get('menu_secondary_menu', 0);
if ($msm == 0) {
return NULL;
}
if ($msm == variable_get('menu_primary_menu', 0)) {
return menu_primary_links(2, $msm);
}
return menu_primary_links(1, $msm);
}