uid(); $isadmin = ISADMIN(); # # Of course verify that this uid has admin privs! # if (! $isadmin) { USERERROR("You do not have admin privileges to approve projects!", 1); } # # Verify arguments. # if (!isset($pid) || strcmp($pid, "") == 0) { USERERROR("You must provide a project ID.", 1); } # # Check to make sure thats this is a valid PID. # if (! ($this_project = Project::Lookup($pid))) { USERERROR("Unknown project $pid", 1); } echo "
Deny | - | Deny project application (kills project records) |
Destroy | - | Deny project application, and kill the user account |
Approve | - | Approve the project |
More Info | - | Ask for more info |
Postpone | - | Twiddle your thumbs some more |