You are here

function theme_multi_node_add_iframe in Multi Node Add 6

Renders a basic HTML page for iframe content.

1 string reference to 'theme_multi_node_add_iframe'
multi_node_add_theme in ./multi_node_add.module
Implementation of hook_theme().
2 theme calls to theme_multi_node_add_iframe()
multi_node_add_frame_page in ./multi_node_add.module
Shows the node-tabled form in an iframe
multi_node_add_frame_status in ./multi_node_add.module
Shows the status after node creation

File

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

Code

function theme_multi_node_add_iframe($content) {
  $head = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
  <head>
' . drupal_get_js() . drupal_get_css() . '</head><body>' . theme('status_messages');
  $tail = '</body></html>';
  return $head . $content . $tail;
}