function theme_certificate_history_form in Certificate 6
Same name and namespace in other branches
- 8.3 certificate.admin.inc \theme_certificate_history_form()
- 6.2 certificate.admin.inc \theme_certificate_history_form()
- 7.3 certificate.admin.inc \theme_certificate_history_form()
- 7.2 certificate.admin.inc \theme_certificate_history_form()
- 4.x certificate.admin.inc \theme_certificate_history_form()
- 3.x certificate.admin.inc \theme_certificate_history_form()
Theme the form as a table.
File
- ./
certificate.admin.inc, line 590 - Administrative pages for the module.
Code
function theme_certificate_history_form($form) {
$rows = array();
$header = array(
t('User'),
t('Course'),
t('Operations'),
);
$rows = array(
// Simple row
array(
'Fred Flintstone',
'Course 101',
'View | Edit | Email',
),
array(
'Fred Flintstone',
'Course 102',
'View | Edit | Email',
),
array(
'Joan Smith',
'Course 102',
'View | Edit | Email',
),
);
$caption = t('');
$output = theme('table', $header, $rows, array(
'id' => 'certificates-history',
), $caption);
$output .= drupal_render($form);
return $output;
}