'. implode(' » ', $breadcrumb) .''; } } /** * Allow themable wrapping of all comments. */ function phptemplate_comment_wrapper($content, $node) { if (!$content || $node->type == 'forum') { return '
'. $content .'
'; } else { return '

'. t('Comments') .'

'. $content .'
'; } } /** * Override or insert PHPTemplate variables into the templates. */ function phptemplate_preprocess_page(&$vars) { $vars['tabs2'] = menu_secondary_local_tasks(); // Hook into color.module if (module_exists('color')) { _color_page_alter($vars); } } /** * Returns the rendered local tasks. The default implementation renders * them as tabs. Overridden to split the secondary tasks. * * @ingroup themeable */ function phptemplate_menu_local_tasks() { return menu_primary_local_tasks(); } function phptemplate_comment_submitted($comment) { return t('by !username on !datetime', array( '!username' => theme('username', $comment), '!datetime' => format_date($comment->timestamp) )); } function phptemplate_node_submitted($node) { return t('!datetime — !username', array( '!username' => theme('username', $node), '!datetime' => format_date($node->created), )); } /** * Generates IE CSS links. */ function phptemplate_get_ie_styles() { $iecss = ''; return $iecss; } function phptemplate_get_ie6_styles() { $iecss = ''; return $iecss; } /** * Adds even and odd classes to
  • tags in ul.menu lists */ function phptemplate_menu_item($link, $has_children, $menu = '', $in_active_trail = FALSE, $extra_class = NULL) { static $zebra = FALSE; $zebra = !$zebra; $class = ($menu ? 'expanded' : ($has_children ? 'collapsed' : 'leaf')); if (!empty($extra_class)) { $class .= ' '. $extra_class; } if ($in_active_trail) { $class .= ' active-trail'; } if ($zebra) { $class .= ' even'; } else { $class .= ' odd'; } return '
  • '. $link . $menu ."
  • \n"; }