function theme_ctools_access_admin_add in Chaos Tool Suite (ctools) 7
Same name and namespace in other branches
- 6 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($vars) {
$rows = array(
array(
drupal_render_children($vars['form']),
),
);
$output = '<div class="container-inline">';
$output .= theme('table', array(
'rows' => $rows,
));
$output .= '</div>';
return $output;
}