sortColumn = LIB_SORT_DEFAULT; $sortCriteria->ascending = true; // for displaying message box $errorCode = 0; $displayMessage = 0; //no // Get necessary data from the library $loglibs = get_logical_libraries($user, $sortCriteria); $numLogLibs = count($loglibs); $drives = get_all_drives($user, $sortCriteria); $numDrives = count($drives); //$counts = get_all_resource_counts($user); $counts = get_library_summary_info($user); // If a post, then this is a return from an operation // retrieve the results of the operation if ($_SERVER['REQUEST_METHOD'] == "POST") { $errorCode= $_REQUEST['errorCode']; $returnMessage = $_REQUEST["returnMessage"]; $displayMessage = $_REQUEST["Message"]; } // determine the attributes for the div that handles displaying and scrolling // for the main data table if ($numLogLibs > MAX_ROWS) { // make the table scrollable $divAttributes['divClass'] = "table-scroll"; $divAttributes['thClass'] = "table-noscroll"; $divAttributes['divHeight'] = MAX_SIZE_LIB_LIST; } else { // no scrolling needed $divAttributes['divClass'] = ""; $divAttributes['thClass'] = ""; $divAttributes['divHeight'] = ""; } ?>