hasPriv("admin") && !$_SESSION['current']->isMaintainer($aClean['iVersionId']) && !$_SESSION['current']->isSuperMaintainer($aClean['iAppId'])) util_show_error_page_and_exit("Insufficient Privileges!"); /* process the changes the user entered into the web form */ if(!empty($aClean['sSubmit'])) { process_app_version_changes(true); downloadurl::processForm($_REQUEST); util_redirect_and_exit(apidb_fullurl("appview.php?iVersionId=".$aClean['iVersionId'])); } else /* or display the webform for making changes */ { $oVersion = new Version($aClean['iVersionId']); apidb_header("Edit Application Version"); echo "