2002-04-30 22:22:54 +00:00
|
|
|
<?php
|
2002-08-13 22:35:12 +00:00
|
|
|
require_once("db.inc");
|
|
|
|
require_once("util.inc");
|
|
|
|
require_once("prefs.inc");
|
2002-04-30 22:22:54 +00:00
|
|
|
|
2002-08-13 22:35:12 +00:00
|
|
|
db_init();
|
2002-04-30 22:22:54 +00:00
|
|
|
|
2003-03-19 21:01:32 +00:00
|
|
|
$user = get_logged_in_user();
|
2002-12-16 21:41:41 +00:00
|
|
|
|
2003-03-04 19:13:21 +00:00
|
|
|
$subset = $_GET["subset"];
|
|
|
|
page_head(subset_name($subset)." preferences");
|
2003-06-04 23:12:55 +00:00
|
|
|
if ($_GET['updated']) {
|
2003-08-13 20:05:28 +00:00
|
|
|
echo '<p style="color: red">
|
|
|
|
Your preferences have been updated
|
|
|
|
and will take effect the next time your computer communicates
|
|
|
|
with the project.
|
|
|
|
You may manually retrieve the preferences
|
|
|
|
using the BOINC client's "Get Preferences" command.
|
|
|
|
</p>
|
|
|
|
';
|
2003-06-04 23:12:55 +00:00
|
|
|
}
|
2003-03-04 19:13:21 +00:00
|
|
|
if ($subset == "global") {
|
|
|
|
print_prefs_display_global($user);
|
|
|
|
} else {
|
|
|
|
print_prefs_display_project($user);
|
|
|
|
}
|
2002-12-19 05:11:25 +00:00
|
|
|
page_tail();
|
2002-04-30 22:22:54 +00:00
|
|
|
|
|
|
|
?>
|