mirror of https://github.com/BOINC/boinc.git
23 lines
431 B
PHP
23 lines
431 B
PHP
<?php
|
|
|
|
include_once("db.inc");
|
|
include_once("util.inc");
|
|
include_once("prefs.inc");
|
|
|
|
$authenticator = init_session();
|
|
db_init();
|
|
|
|
$user = get_user_from_auth($authenticator);
|
|
if ($user == NULL) {
|
|
print_login_form();
|
|
exit();
|
|
}
|
|
page_head("Edit Global Preferences");
|
|
$prefs = prefs_parse($user->global_prefs);
|
|
prefs_form_global($user, $prefs);
|
|
echo "<a href=prefs.php>Back to preferences</a>\n";
|
|
echo "<p>\n";
|
|
page_tail();
|
|
|
|
?>
|