filterColumn = 0; $sortCriteria->ascending = true; // Find all drive in the system that are set for encryption. $eDrives = get_all_drives($user, $sortCriteria); foreach ($eDrives as $drive) { if($drive->encryptionMethod == 4) { $EncryptUsedCnt++; } if($drive->encryptionSupported == 1) { $EncryptCnt++; $encryptedDrives .= $drive->guid . ":"; } } if (isset($_GET['libGUID'])) { $libGUID = $_GET['libGUID']; if(isset($_GET['mode']) and ($_GET['mode'] == 'edlm')) { // TODO for now just show all EDLM drives $drives = edlm_get_drives($user); } else { $assignedDrives = get_all_drives_by_library($user, $libGUID, $sortCriteria,(int)0,(int)MEDIA_TYPE_ANY); $driveCnt = sizeof($assignedDrives); $libname = $assignedDrives[0]->name; // TODO: do we need to get by media type? // For now passing in LTO_1 (1) as the media type will get all drives // that support LTO1 drives. $unassignedDrives = get_available_drives_by_type($user, $sortCriteria, (int)MEDIA_TYPE_ANY); $drives = array_merge($assignedDrives, $unassignedDrives); $encryption = get_partition_enryption( $user, $libGUID ); } } ?>
| isReady || !$checked == "" ) { ?> value="= $drive->guid ?>" = $disabled ?> onclick="deselectAllCheckbox(this, 'driveSelect', 3, 1)"> | = $drive->location ?> | = $drive->interfaceType ?> | = $drive->vendor ?> = $drive->driveType ?> | = $drive->status ?> | = $drive->isReady == '1' ? "Ready" : "Not-Ready" ?> |