You are here

function multi_node_add_frame_page in Multi Node Add 6

Same name and namespace in other branches
  1. 7 multi_node_add.pages.inc \multi_node_add_frame_page()

Shows the node-tabled form in an iframe

1 string reference to 'multi_node_add_frame_page'
multi_node_add_menu in ./multi_node_add.module
Implementation of hook_menu().

File

./multi_node_add.module, line 188
This module allows to create multiple nodes using one page, one form submission. Uses AJAX.

Code

function multi_node_add_frame_page($fields) {
  module_load_include('inc', 'node', 'node.pages');
  $form = drupal_get_form('multi_node_add_frame', $fields);
  print theme('multi_node_add_iframe', $form);
  session_write_close();
  module_invoke_all('exit');
  exit;
}