phptemplate_breadcrumb

5 template.php phptemplate_breadcrumb($breadcrumb)
6 template.php phptemplate_breadcrumb($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>';
  }
}
Login or register to post comments