sortColumn = SLOT_SORT_DEFAULT; $sortCriteria->ascending = true; // Used for Filtering $llView = "All Logical Libraries"; $enclView = "All Enclosures"; // Used for Sorting $sortBy = "Index"; // Used for Message box $errorCode = 0; $displayMessage = 0; //no // Get necessary data from the library // $counts = get_all_resource_counts($user); $counts = get_library_summary_info($user); $enclosures = get_chassis($user); $loglibs = get_logical_libraries($user, $sortCriteria); $i = 0; // traverse the logical libraries to get slot information // foreach ($loglibs as $loglib) { // store to a temporary array $tmp_carts = get_all_slots_and_mailbox($user, $sortCriteria); // filter slots to only show carts in storage foreach ($tmp_carts as $tmp_cart) { // filter for only storage slots //if ($tmp_cart->slotType == "Storage") { $carts[$i] = $tmp_cart; $i++; } } $tmp_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"]; $selectedGuids = split(":", $_REQUEST['srcGuid']); } // get the counts needed to display the main table $numEmptyIOs = $counts->avail_mailbox_count; $numRows = count($carts); $numlogLibs = count($loglibs); $numEnclosures = count($enclosures); $numSelectedGuids = count($selectedGuids); // 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 main data table $divAttributes = calculateDivAttributes($llView, $enclView, $carts, $numRows, MAX_ROWS, MAX_SIZE_DATA_LIST); $numRowsDisplayed = $divAttributes['numDisplay']; ?> Data Cartridges
0) { ?>
Error Message Image Error Message

Error code:
Informational Message Image

Operation Complete

Close Message

Data Cartridges

Last refresh:

Empty I/O station slots:



Data Cartridges:
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]; } $isSelected = 0; for ($guiIndex=0; $guiIndex <$numSelectedGuids; $guiIndex++) { if ($selectedGuids[$guiIndex] == $cart->guid) { $isSelected = 1; return; } } // 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))) { // get the logical library name in which this cartridge belongs $r = $cart->name; // store the cartridge id (Slot Id) in the id attribute of the sourceSelect checkbox // store the logical library id (Lib Id) in the value attribute of the sourceSelect checkbox ?>
Select Volume Serial Number Click to Sort Ascending Logical Library Click to Sort Ascending Media Type Click to Sort Ascending Slot Type Click to Sort Ascending Location Click to Sort Ascending Element Address
barcode;?> name;?> mediaType;?> slotType;?> location;?> logicalAddress;?>
Total: Filtered: Displayed: