MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GLPI; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
--------------------------------------------------------------------------
*/
// ----------------------------------------------------------------------
// Original Author of file:
// Purpose of file:
// ----------------------------------------------------------------------
define('GLPI_ROOT', '..');
include GLPI_ROOT . "/inc/includes.php";
header("Content-Type: text/html; charset=UTF-8");
header_nocache();
if (!isset($_POST['id'])) {
    exit;
}
if (!isset($_REQUEST['glpi_tab'])) {
    exit;
}
$disk = new ComputerDisk();
if (isset($_POST["id"]) && $_POST['id'] > 0 && $disk->can($_POST['id'], 'r')) {
    switch ($_REQUEST['glpi_tab']) {
        default:
            if (!Plugin::displayAction($disk, $_REQUEST['glpi_tab'])) {
            }
    }
}
ajaxFooter();