function theme_captcha_admin_settings_captcha_points in CAPTCHA 6
Same name and namespace in other branches
- 5.3 captcha.module \theme_captcha_admin_settings_captcha_points()
- 6.2 captcha.admin.inc \theme_captcha_admin_settings_captcha_points()
- 7 captcha.admin.inc \theme_captcha_admin_settings_captcha_points()
Custom theme function for a table of (form_id -> CAPTCHA type) settings
1 theme call to theme_captcha_admin_settings_captcha_points()
- captcha_admin_settings in ./
captcha.admin.inc - Form builder function for the general CAPTCHA configuration
File
- ./
captcha.admin.inc, line 126
Code
function theme_captcha_admin_settings_captcha_points($form) {
foreach (element_children($form) as $key) {
$row = array();
$row[] = drupal_render($form[$key]['form_id']);
$row[] = drupal_render($form[$key]['captcha_type']);
$row[] = drupal_render($form[$key]['operations']);
$rows[] = $row;
}
$header = array(
'form_id',
t('Challenge type (module)'),
t('Operations'),
);
$output = theme('table', $header, $rows);
return $output;
}