mirror of https://github.com/BOINC/boinc.git
23 lines
435 B
PHP
23 lines
435 B
PHP
<?php
|
|
|
|
include_once("db.inc");
|
|
include_once("util.inc");
|
|
include_once("login.inc");
|
|
include_once("prefs.inc");
|
|
|
|
db_init();
|
|
|
|
$user = get_user_from_cookie();
|
|
page_head("Edit project preferences");
|
|
if ($user == NULL) {
|
|
print_login_form();
|
|
} else {
|
|
parse_str(getenv("QUERY_STRING"));
|
|
$prefs = prefs_parse($user->prefs);
|
|
prefs_form_project($prefs->project, "prefs_edit_project_action.php");
|
|
}
|
|
echo "<p>\n";
|
|
page_tail();
|
|
|
|
?>
|