You are here

function admin_navigation_secondary in Admin 6

Generate the 2nd level of navigation links under 'admin/*'.

1 call to admin_navigation_secondary()
page.tpl.php in theme/page.tpl.php

File

./admin.module, line 645

Code

function admin_navigation_secondary() {
  $is_duplicated = theme('admin_block_content', NULL, TRUE);
  if (!$is_duplicated) {
    $tree = admin_get_menu_tree('page');
    foreach ($tree as $item) {
      if (admin_in_active_trail($item['link']['href']) && !empty($item['below'])) {
        return admin_menu_navigation_links($item['below']);
      }
    }
  }
  return NULL;
}