You are here

function theme_data_node_active_form in Data 6

Theme for data_node_active_form.

1 theme call to theme_data_node_active_form()
data_node_active_form in data_node/data_node.module
Form callback for setting the active node.

File

data_node/data_node.theme.inc, line 25
Theme functions for Data Node module.

Code

function theme_data_node_active_form($form) {
  drupal_add_css(drupal_get_path('module', 'data_node') . '/data_node.css');
  drupal_add_js(drupal_get_path('module', 'data_node') . '/data_node.js');
  $output = '';
  $output .= drupal_render($form['nid']);
  $output .= "<div class='new-node clear-block'>" . drupal_render($form['new']) . "</div>";
  $output .= drupal_render($form);
  return $output;
}