function theme_node_convert_conversion_form in Node Convert 6
Same name and namespace in other branches
- 5 node_convert.module \theme_node_convert_conversion_form()
- 7 node_convert.module \theme_node_convert_conversion_form()
File
- ./
node_convert.module, line 295 - The node_convert module converts nodes from one type to another.
Code
function theme_node_convert_conversion_form($form) {
$output = '';
if (isset($form['current_type'])) {
$output .= '<div>' . t("The current node type is:") . " <b>" . drupal_render($form['current_type']) . '</b></div>';
}
// If there are no fields to convert, we notify the user
if (isset($form['no_fields']['#value']) && $form['no_fields']['#value'] == TRUE) {
$output .= '<div>' . t("There are no cck fields to convert. Please press Convert.") . '</div>';
}
$output .= drupal_render($form);
return $output;
}