コード例 #1
0
     break;
 case 7:
     Link::showForItem('Computer', $_POST["id"]);
     break;
 case 10:
     showNotesForm($_POST['target'], 'Computer', $_POST["id"]);
     break;
 case 11:
     Reservation::showForItem('Computer', $_POST["id"]);
     break;
 case 12:
     Log::showForItem($computer);
     break;
 case 13:
     OcsLink::showForItem($computer);
     OcsServer::editLock($_POST['target'], $_POST["id"]);
     break;
 case 14:
     RegistryKey::showForComputer($_POST["id"]);
     break;
 case 20:
     ComputerDisk::showForComputer($computer);
     break;
 case 21:
     ComputerVirtualMachine::showForVirtualMachine($computer);
     ComputerVirtualMachine::showForComputer($computer);
     break;
 default:
     if (!Plugin::displayAction($computer, $_REQUEST['glpi_tab'])) {
         Computer_Device::showForComputer($computer);
     }