You are here

function theme_submenu_tree_titles in Submenu Tree 5

Same name and namespace in other branches
  1. 6 submenutree.module \theme_submenu_tree_titles()
  2. 7.2 submenutree.theme.inc \theme_submenu_tree_titles()
  3. 7 submenutree.module \theme_submenu_tree_titles()
1 theme call to theme_submenu_tree_titles()
_submenutree_menutree_view in ./submenutree.module
View the menu tree, either by poking into $node->content, or via the block functions

File

./submenutree.module, line 404

Code

function theme_submenu_tree_titles($items, $title = null) {
  $list = array();
  foreach ($items as $item) {
    $list[] = l($item['node']->title, 'node/' . $item['node']->nid);
  }
  return theme('item_list', $list, $title);
}