function theme_breakpoints_multipliers_table_form in Breakpoints 7
1 theme call to theme_breakpoints_multipliers_table_form()
- breakpoints_multipliers_form in ./
breakpoints.admin.inc - Multipliers administration form.
File
- ./
breakpoints.admin.inc, line 1076 - Breakpoints - admin settings
Code
function theme_breakpoints_multipliers_table_form($element) {
$form = $element['form'];
$header = array(
t('Label'),
t('Operations'),
);
foreach (element_children($form) as $multiplier) {
$row = array();
$row[] = drupal_render($form[$multiplier]);
$row[] = in_array($multiplier, array(
'new',
'1x',
)) ? '' : l(t('Delete'), 'admin/config/media/breakpoints/multipliers/' . $multiplier . '/delete');
$rows[] = $row;
}
return theme('table', array(
'header' => $header,
'rows' => $rows,
));
}