function theme_nd_plugins in Node displays 6
Theme the form.
File
- includes/
nd.plugins.inc, line 51 - Administration functions for ND plugins.
Code
function theme_nd_plugins($form) {
$output = '';
$header = array(
t('Status'),
t('Info'),
);
$rows = array();
foreach ($form['#plugins'] as $key => $plugin) {
$row = array();
$row[] = array(
'data' => drupal_render($form['plugin_' . $plugin['key']]),
);
$row[] = array(
'data' => '<strong>' . $plugin['title'] . '</strong>: ' . $plugin['description'],
);
$rows[] = $row;
}
$output .= theme('table', $header, $rows);
$output .= drupal_render($form);
return $output;
}