You are here

function multi_node_add_frame_status in Multi Node Add 6

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

Shows the status after node creation

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

File

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

Code

function multi_node_add_frame_status($node) {
  $content = t('The node is created. Title: %title , node id: %nid', array(
    '%title' => $node->title,
    '%nid' => $node->nid,
  ));
  print theme('multi_node_add_iframe', $content);
  session_write_close();
  module_invoke_all('exit');
}