You are here

function theme_ctools_access_admin_add in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 includes/context-access-admin.inc \theme_ctools_access_admin_add()

Theme the 'add' portion of the access form into a table.

1 theme call to theme_ctools_access_admin_add()
ctools_access_admin_form in includes/context-access-admin.inc
Administrative form for access control.

File

includes/context-access-admin.inc, line 229
Contains administrative screens for the access control plugins.

Code

function theme_ctools_access_admin_add($form) {
  $rows = array(
    array(
      drupal_render($form),
    ),
  );
  $output = '<div class="container-inline">';
  $output .= theme('table', array(), $rows);
  $output .= '</div>';
  return $output;
}