function theme_panelizer_node_settings_page_form in Panelizer 6
Same name and namespace in other branches
- 7 includes/admin.inc \theme_panelizer_node_settings_page_form()
Format the output of the main settings form.
We want our checkboxes to show up in a table.
1 theme call to theme_panelizer_node_settings_page_form()
- panelizer_settings_page_form in includes/
admin.inc - Primary settings page.
File
- includes/
admin.inc, line 175 - Contains administrative forms and settings.
Code
function theme_panelizer_node_settings_page_form($element) {
$output = '';
// Render the 'node' table
$header = array(
t('Node type'),
t('Panelize'),
t('Provide default panel'),
t('Operations'),
);
$rows = array();
foreach (element_children($element) as $type) {
$rows[] = array(
drupal_render($element[$type]['title']),
drupal_render($element[$type]['status']),
drupal_render($element[$type]['default']),
drupal_render($element[$type]['links']),
);
}
$output .= theme('table', $header, $rows);
// Render the 'user' table
// Render everything else
$output .= drupal_render($element);
return $output;
}