<b>Do you really want to delete volume <i>' . base64_decode($_GET['path']) . '</i> ?</b><br /> </td> </tr> <tr align="center"> <td> <a href="' . $_SERVER['REQUEST_URI'] . '&confirm=yes">Yes, delete it</a> </td> <td> <a href="?action=' . $action . '">No, go back</a> </td> </tr>'; } } else { if ($subaction == 'volume-create') { if (array_key_exists('sent', $_POST)) { $msg = $lv->storagevolume_create($_GET['pool'], $_POST['name'], $_POST['capacity'], $_POST['allocation']) ? 'Volume has been created successfully' : 'Cannot create volume'; } else { $msg = '<h3>Create a new volume</h3><form method="POST"> <table> <tr> <td>Volume name: </td> <td><input type="text" name="name"></td> </tr> <tr> <td>Capacity (e.g. 10M or 1G): </td> <td><input type="text" name="capacity"></td> </tr> <tr> <td>Allocation (e.g. 10M or 1G): </td> <td><input type="text" name="allocation"></td> </tr>