ascending = true; $sortCriteria->sortColumn = LIB_SORT_DEFAULT; $numRows = 0; $numlogLibs = 0; $empty_cleaning = 0; $empty_data = 0; // Used for Filtering $llView = "All Logical Libraries"; $enclView = "All Enclosures"; // Used for Sorting $sortBy = "Index"; // Used for Message box $errorCode = 0; $displayMessage = 0; // Get necessary data from the library //$counts = get_all_resource_counts($user); $counts = get_library_summary_info($user); $loglibs = get_logical_libraries($user, $sortCriteria); $numlogLibs = count($loglibs); $sortCriteria->sortColumn = SLOT_SORT_DEFAULT; $temp_carts = get_physical_mailbox($user, $sortCriteria, (int)2); $numTempCarts = count($temp_carts); $cartIndex = 0; for ($t = 0; $t < $numTempCarts; $t++) { if (strncmp($temp_carts[$t]->barcode, "CLN", 3) == 0) { $carts[$cartIndex] = $temp_carts[$t]; $cartIndex++; } } $temp_carts = ""; for ($l = 0; $l < $numlogLibs; $l++) { // store the index of this logical library for later use $libIndex[$loglibs[$l]->name] = $l; $temp_carts = get_mailbox($user, $sortCriteria,(int)2, $loglibs[$l]->guid); //$temp_carts = get_all_media($user, $sortCriteria); $numTempCarts = count($temp_carts); for ($t = 0; $t < $numTempCarts; $t++) { //if ((strncmp($temp_carts[$t]->barcode, "CLN", 3) != 0) || ($l == 0)) //{ // if (strncmp($temp_carts[$t]->barcode, "CLN", 3) == 0) // { // $temp_carts[$t]->name = "Cleaning Slot"; // } $carts[$cartIndex] = $temp_carts[$t]; $cartIndex++; //} } $temp_carts = ""; } // If a post, then this is a return from an operation // retrieve the results of the operation if ($_SERVER['REQUEST_METHOD'] == "POST") { $llView = $_REQUEST["llView"]; $enclView = $_REQUEST["enclView"]; $sortBy = $_REQUEST["sortBy"]; $errorCode= $_REQUEST["errorCode"]; $displayMessage = $_REQUEST["Message"]; $returnMessage = $_REQUEST["returnMessage"]; } // get the counts needed to display the main table $numRows = count($carts); $empty_cleaning = $counts->avail_cleaning_slot_count; // sort the table data based on the sortBy value $oldi = sortSlots($carts, $sortBy); // determine the attributes for the div that handles displaying and scrolling // for the counts table if ($numlogLibs >= MAX_ROWS_IO_LIB) { // table is big enough to require scrolling $div1Attributes['divClass'] = "table-scroll"; $div1Attributes['thClass'] = "table-noscroll"; $div1Attributes['divHeight'] = MAX_SIZE_IO_LIB; } else { // table does not require scrolling $div1Attributes['divClass'] = ""; $div1Attributes['thClass'] = ""; $div1Attributes['divHeight'] = ""; } // determine the attributes for the div that handles displaying and scrolling // for the main data table $divAttributes = calculateDivAttributes($llView, $enclView, $carts, $numRows, MAX_ROWS_IO_LIST, MAX_SIZE_IO_LIST); $numRowsDisplayed = $divAttributes['numDisplay']; ?> Input/Output Station
0) { ?>
Error Message Image Error Message

Error code:
Informational Message Image

Operation Complete

Close Message

Input/Output Station

Last refresh:

Slot Availability:
totalSlots - $loglib->fullSlots; ?>
Logical Library Available Slots
name;?>
Cleaning slots

Cartridges in I/O Station:
Select All Deselect All
location[0]; // if the enclosure (chassis) location is negative, append the numeric value to the // '-' to identify the enclosure if (!strcmp($chass, '-')) { $chass = $cart->location[0].$cart->location[1]; } // If this row item meets the filter requirements, build the row data // filter requirement: // The item is in both the selected logical library and the selected enclosure if ((!strcmp($llView, "All Logical Libraries") && !strcmp($enclView, "All Enclosures")) || (!strcmp($llView, $cart->name) && !strcmp($enclView, "All Enclosures")) || (!strcmp($llView, "All Logical Libraries") && !strcmp($enclView, $chass)) || (!strcmp($llView, $cart->name) && !strcmp($enclView, $chass))) { // If this is a cleaning cartridge if ((strncmp($cart->barcode, "CLN", 3) == 0) && ($cart->name == "Physical Library")) { $l = "All"; $cart->name = "Cleaning Slot"; } else { // retrieve the correct index into the array of logical libraries // based on the library name $l = $libIndex[$cart->name]; } // store the Slot Id in the sourceSelect value ?>
Select Volume Serial Number Click to Sort Ascending Designated Location Click to Sort Ascending Media Type Click to Sort Ascending Location Click to Sort Ascending
barcode;?>  name;?> mediaType;?> location;?>
Total: Filtered: Displayed: Selected: 0