function theme_image_settings_sizes_form in Image 5
Same name and namespace in other branches
- 5.2 image.module \theme_image_settings_sizes_form()
- 6 image.admin.inc \theme_image_settings_sizes_form()
- 7 image.admin.inc \theme_image_settings_sizes_form()
1 theme call to theme_image_settings_sizes_form()
- image_admin_settings in ./
image.module - Admin settings callback.
File
- ./
image.module, line 235
Code
function theme_image_settings_sizes_form(&$form) {
$header = array(
t('Label'),
t('Width'),
t('Height'),
t('Link'),
);
foreach (element_children($form) as $key) {
$row = array();
$row[] = drupal_render($form[$key]['label']);
$row[] = drupal_render($form[$key]['width']);
$row[] = drupal_render($form[$key]['height']);
$row[] = drupal_render($form[$key]['link']);
$rows[] = $row;
}
$output .= theme('table', $header, $rows);
$output .= drupal_render($form);
return $output;
}