sortColumn = DRV_SORT_LOC; $sortCriteria->ascending = true; // For filtering the drives $enclView = "All Enclosures"; // for displaying message box $errorCode = 0; $displayMessage = 0; $blades = get_eeblades($user); error_log("\n\n\nFINISHED CALLING GET ETHERNET EXPANSION BLADES RETURNED = ".print_r($blades, true)); $enclosures = get_chassis($user); // If a post, then this is a return from an operation // retrieve the results of the operation if ($_SERVER['REQUEST_METHOD'] == "POST") { $enclView = $_REQUEST["enclView"]; $errorCode = $_REQUEST["errorCode"]; $displayMessage = $_REQUEST["Message"]; $returnMessage = $_REQUEST["returnMessage"]; } // get the counts needed to display the main table $numRows = count($blades); $numEnclosures = count($enclosures); // determine the attributes for the div that handles displaying and scrolling // for the main data table if ($numRows > 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'] = ""; } ?>