You are here

function theme_node_convert_conversion_form in Node Convert 5

Same name and namespace in other branches
  1. 6 node_convert.module \theme_node_convert_conversion_form()
  2. 7 node_convert.module \theme_node_convert_conversion_form()

File

./node_convert.module, line 169

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 no fields were converted, we notify it to the user
  if (isset($form['no_fields'])) {
    $output .= '<div>' . drupal_render($form['no_fields']) . '</div>';
  }
  $output .= drupal_render($form);
  return $output;
}