server()) { metaRefresh("../login.php"); exit; } // check if admin has submited delete operation if ($_POST['submit']) { // delete user profile if(!deletePDFStructureDefinition($_POST['type'],$_POST['delete'])) { metaRefresh('pdfmain.php?deleteScope=' . $_POST['type'] . '&deleteFailed=' . $_POST['delete']); exit(); } else { metaRefresh('pdfmain.php?deleteScope=' . $_POST['type'] . '&deleteSucceeded=' . $_POST['delete']); exit(); } } // check if admin has aborted delete operation if ($_POST['abort']) { metaRefresh('pdfmain.php'); exit; } // print standard header include '../main_header.php'; echo ("


\n"); // check if right type was given $type = $_GET['type']; echo ("

" . _("Do you really want to delete this PDF structure?") . ""); echo "
\n"; echo "

\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; echo "" . _('Account type') . ': ' . getTypeAlias($_GET['type']); echo "
\n"; echo "" . _('Name') . ': ' . $_GET['delete'] . "
\n"; echo "
\n"; echo "
\n"; echo ("
\n"); echo ("

\n"); echo ("\n"); echo ("\n"); echo (""); echo (""); echo ("

\n"); include '../main_footer.php';