boinc/html/user/prefs.php

21 lines
404 B
PHP
Raw Normal View History

<?php
require_once("db.inc");
require_once("util.inc");
require_once("login.inc");
require_once("prefs.inc");
db_init();
$user = get_user_from_cookie();
if ($user) {
page_head("Preferences");
$prefs = prefs_parse($user->global_prefs);
print_prefs_display($prefs);
} else {
print_login_form();
}
echo "<p>\n";
page_tail();
?>