'. $vars['sidebar_left'] .''; } if ($vars['sidebar_right'] != '') { $vars['right'] = ''; } break; case 'node': $node = $vars['node']; switch ($node->type) { case 'page': break; } break; case 'comment': break; } return $vars; } /** * Override, make sure Drupal doesn't return empty

* * Return a themed help message. * * @return a string containing the helptext for the current page. */ function phptemplate_help() { $help = menu_get_active_help(); // Drupal sometimes returns empty

so strip tags to check if empty if (strlen(strip_tags($help)) > 1) { return '
'. $help .'
'; } } /** * Override, use a better default breadcrumb separator. * * Return a themed breadcrumb trail. * * @param $breadcrumb * An array containing the breadcrumb links. * @return a string containing the breadcrumb output. */ function phptemplate_breadcrumb($breadcrumb) { if (count($breadcrumb) > 1) { $breadcrumb[] = drupal_get_title(); if ($breadcrumb) { return '\n"; } } }