function export_form in Node export 5.2
Same name and namespace in other branches
- 6 export.pages.inc \export_form()
Export Form
2 string references to 'export_form'
- export_node_bulk in ./export.module 
- Callback for 'export' node operation.
- export_node_export in ./export.pages.inc 
- Exports a node - return export code in a textarea
File
- ./export.pages.inc, line 119 
Code
function export_form($code) {
  $form = array();
  $form['export'] = array(
    '#type' => 'textarea',
    '#title' => t('Node Code'),
    '#default_value' => $code,
    '#rows' => 30,
    '#description' => t('Copy this code and then on the site you want to import to, go to the Import Node link under Content Management, and paste it in there.'),
    '#attributes' => array(
      'style' => 'width: 97%;',
    ),
  );
  return $form;
}