You are here

function theme_cmis_browser_browse_breadcrumb in CMIS API 6.3

Same name and namespace in other branches
  1. 6.4 cmis_browser/cmis_browser.theme.inc \theme_cmis_browser_browse_breadcrumb()
  2. 6.2 cmis_browser/cmis_browser.theme.inc \theme_cmis_browser_browse_breadcrumb()
  3. 7.2 cmis_browser/cmis_browser.theme.inc \theme_cmis_browser_browse_breadcrumb()
  4. 7 cmis_browser/cmis_browser.theme.inc \theme_cmis_browser_browse_breadcrumb()

Theme for cmis_browser breadcrumb

Parameters

$bcarray:

1 theme call to theme_cmis_browser_browse_breadcrumb()
theme_cmis_browser in cmis_browser/cmis_browser.theme.inc

File

cmis_browser/cmis_browser.theme.inc, line 90

Code

function theme_cmis_browser_browse_breadcrumb($bcarray) {
  $next_img = theme('image', drupal_get_path('module', 'cmis_browser') . '/images/next.gif');
  $contents .= '<div id="cmis-breadcrumb">';
  $contents .= l('Root', 'cmis/browser' . $currentpath);
  $currentpath = '';
  foreach ($bcarray as $space) {
    $contents .= $next_img . ' ';
    $currentpath .= '/' . $space;
    $pagelink = l($space, 'cmis/browser' . $currentpath);
    $contents .= $pagelink;
  }
  $contents .= '</div>';
  return $contents;
}