function theme_cloud_zoom_admin_settings_table in Cloud Zoom 6
Theme handler for the admin settings grid
1 theme call to theme_cloud_zoom_admin_settings_table()
- cloud_zoom_admin_preset_edit_form in ./
cloud_zoom.admin.inc - The edit form callback - provides editable fields for all the "default" options
File
- ./
cloud_zoom.theme.inc, line 71 - cloud_zoom.theme.inc - Contains all theme implementations
Code
function theme_cloud_zoom_admin_settings_table($element) {
$rows = array();
foreach (element_children($element) as $key) {
$title = $element[$key]['#title'];
unset($element[$key]['#title']);
$rows[] = array(
$title,
drupal_render($element[$key]),
);
}
return theme('table', array(), $rows) . drupal_render($element);
}