t('Secondary navigation links'), 'single' => TRUE, 'icon' => 'icon_page.png', 'description' => t('Add the secondary_links (local tasks) as content.'), 'category' => t('Page elements'), 'render last' => TRUE, ); /** * Output function for the 'page_secondary_links' content type. * * Outputs the secondary_links (local tasks) of the current page. */ function ctools_page_secondary_links_content_type_render($subtype, $conf, $panel_args) { $block = new stdClass(); $block->content = theme('links', menu_secondary_links(), array('class' => 'links secondary-links')); return $block; }