You are here

function phptemplate_breadcrumb in Drupal 5

Same name and namespace in other branches
  1. 6 themes/garland/template.php \phptemplate_breadcrumb()

Return a themed breadcrumb trail.

Parameters

$breadcrumb: An array containing the breadcrumb links.

Return value

a string containing the breadcrumb output.

File

themes/garland/template.php, line 33

Code

function phptemplate_breadcrumb($breadcrumb) {
  if (!empty($breadcrumb)) {
    return '<div class="breadcrumb">' . implode(' › ', $breadcrumb) . '</div>';
  }
}