You are here

function theme_cmis_content_create_form in CMIS API 6

Custom theme for CMIS content creation form.

File

cmis_content/cmis_content.module, line 49

Code

function theme_cmis_content_create_form($form) {
  $rows = array(
    array(
      drupal_render($form['create']['path']),
    ),
    array(
      drupal_render($form['create']['name']),
    ),
    array(
      drupal_render($form['create']['content']),
    ),
    array(
      drupal_render($form['create']['submit']),
    ),
  );
  $header = array(
    '',
  );
  $output = theme('table', $header, $rows);
  $output .= drupal_render($form);
  return $output;
}