' . $variables['tree'] . ''; } /** * Sets the body-tag class attribute. * * Adds 'sidebar-left', 'sidebar-right' or 'sidebars' classes as needed. function sandium_body_classes($top_left, $top_right, $top_center) { if ($top_left != '' && $top_right != '' && $top_center != '') { $class = 'sidebars'; } else { if ($top_left != '') { $class = 'sidebar-left'; } if ($top_right != '') { $class = 'sidebar-right'; } if ($top_center != '') { $class = 'sidebar-center'; } } if (isset($class)) { print ' class="'. $class .'"'; } } */ /** * Return a themed breadcrumb trail. * * @param $breadcrumb * An array containing the breadcrumb links. * @return a string containing the breadcrumb output. */ function sandium_breadcrumb($breadcrumb) { if (!empty($breadcrumb)) { return '
'; } } /** * Override or insert PHPTemplate variables into the templates. */ function sandium_preprocess_page(&$vars) { $vars['tabs2'] = menu_secondary_local_tasks(); // Hook into color.module if (module_exists('color')) { _color_page_alter($vars); } } /** * Add a "Comments" heading above comments except on forum pages. */ function garland_preprocess_comment_wrapper(&$vars) { if ($vars['content'] && $vars['node']->type != 'forum') { $vars['content'] = '