You are here

function import_progress_page in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6

Same name and namespace in other branches
  1. 6.2 import/merci_import.php \import_progress_page()
1 call to import_progress_page()
import_import_page in import/merci_import.php

File

import/merci_import.php, line 316
Administrative page for adding MERCI bucket/resource content types and items.

Code

function import_progress_page() {

  // Prevent browser from using cached drupal.js or import.js
  drupal_add_js('misc/progress.js', 'core', 'header', FALSE, TRUE);
  drupal_add_js(import_js(), 'inline');
  drupal_set_title('Importing');
  $output = '<div id="progress"></div>';
  $output .= '<p id="wait">Please wait while the data is being imported.</p>';
  return $output;
}