'menu_local_tasks', '#secondary' => isset($variables['tabs']['#secondary']) ? $variables['tabs']['#secondary'] : '', ); } /** * Displays the list of available node types for node creation. */ function seven_node_add_list($variables) { $content = $variables['content']; if ($content) { $output = ''; } else { $output = '

' . t('You have not created any content types yet. Go to the content type creation page to add a new content type.', array('@create-content' => url('admin/structure/types/add'))) . '

'; } return $output; } /** * Overrides theme_custom_block_add_list(). * * Displays the list of available custom block types for creation. */ function seven_custom_block_add_list($variables) { $content = $variables['content']; $output = ''; if ($content) { $output = ''; } return $output; } /** * Overrides theme_admin_block_content(). * * Uses an unordered list markup in both compact and extended mode. */ function seven_admin_block_content($variables) { $content = $variables['content']; $output = ''; if (!empty($content)) { $output = system_admin_compact_mode() ? '