You are here

function theme_cmis_browser_browse_form in CMIS API 7.2

Same name and namespace in other branches
  1. 6.4 cmis_browser/cmis_browser.theme.inc \theme_cmis_browser_browse_form()
  2. 6 cmis_browser/cmis_browser.module \theme_cmis_browser_browse_form()
  3. 6.2 cmis_browser/cmis_browser.theme.inc \theme_cmis_browser_browse_form()
  4. 6.3 cmis_browser/cmis_browser.theme.inc \theme_cmis_browser_browse_form()
  5. 7 cmis_browser/cmis_browser.theme.inc \theme_cmis_browser_browse_form()

Custom theme for cmis_browser form.

Parameters

$form:

File

cmis_browser/cmis_browser.theme.inc, line 22

Code

function theme_cmis_browser_browse_form($variables) {
  $form = $variables['form'];
  $header = array(
    '',
    '',
  );
  $rows = array(
    array(
      drupal_render($form['path']),
      drupal_render($form['submit']),
    ),
  );
  return theme('table', array(
    'header' => $header,
    'rows' => $rows,
  )) . drupal_render_children($form);
}