. // top-level management page; // shows links to the various functions available to the user. // If the only option is managing a particular app, // redirect to that page require_once("../inc/submit_db.inc"); require_once("../inc/util.inc"); $user = get_logged_in_user(); $bus = BoincUserSubmit::lookup_userid($user->id); if (!$bus) die("no access"); if ($bus->manage_all) { page_head("Management functions"); echo " Project-wide management "; $apps = BoincApp::enum(null); echo "
Application-specific management:
id>Manage $app->name "; } page_tail(); } ?>