function theme_cmis_browser in CMIS API 7.2
Same name and namespace in other branches
- 6.4 cmis_browser/cmis_browser.theme.inc \theme_cmis_browser()
- 6.2 cmis_browser/cmis_browser.theme.inc \theme_cmis_browser()
- 6.3 cmis_browser/cmis_browser.theme.inc \theme_cmis_browser()
- 7 cmis_browser/cmis_browser.theme.inc \theme_cmis_browser()
File
- cmis_browser/
cmis_browser.theme.inc, line 3
Code
function theme_cmis_browser($variables) {
// Render output
drupal_add_css(drupal_get_path('module', 'cmis_browser') . '/css/cmis_browser.css');
$contents = '';
if ($variables['type'] != 'popup') {
$contents = drupal_render(drupal_get_form('cmis_browser_browse_form'));
$contents .= drupal_render(drupal_get_form('cmis_browser_actions_form'));
}
$contents .= theme('cmis_browser_browse_breadcrumb', array(
'bcarray' => $variables['bcarray'],
));
$contents .= theme('cmis_browser_browse_children', array(
'context' => $variables['children'],
));
return $contents;
}