hasPriv("admin")) { util_show_error_page("Insufficient Privileges!"); exit; } if(!empty($aClean['action'])) { /* move this version to the given application */ $oVersion = new Version($aClean['versionId']); $oVersion->update(null, null, null, null, $aClean['appId']); /* redirect to the application we just moved this version to */ redirect(apidb_fullurl("appview.php?appId=".$aClean['appId'])); } else /* or display the webform for making changes */ { ?> iAppId); apidb_header("Choose application to move this version under"); echo "
"; echo html_back_link(1, BASE."appview.php?versionId=".$oVersion->iVersionId); apidb_footer(); } ?>