2002-04-30 22:22:54 +00:00
|
|
|
<?php
|
2006-08-13 21:51:15 +00:00
|
|
|
$cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit
|
|
|
|
require_once("../inc/db.inc");
|
|
|
|
require_once("../inc/util.inc");
|
|
|
|
require_once("../inc/prefs.inc");
|
|
|
|
|
|
|
|
db_init();
|
2002-04-30 22:22:54 +00:00
|
|
|
|
2006-08-13 21:51:15 +00:00
|
|
|
$user = get_logged_in_user();
|
2002-04-30 22:22:54 +00:00
|
|
|
|
2006-08-13 21:51:15 +00:00
|
|
|
$subset = get_str("subset");
|
|
|
|
$columns = get_int("cols", true);
|
|
|
|
$updated = get_int("updated", true);
|
2002-12-16 21:41:41 +00:00
|
|
|
|
2006-08-13 21:51:15 +00:00
|
|
|
page_head(subset_name($subset)." preferences");
|
|
|
|
if (isset($updated)) {
|
|
|
|
echo "<p style='color: red'>
|
|
|
|
Your preferences have been updated.
|
|
|
|
Client-related preferences
|
|
|
|
will take effect when your computer communicates
|
|
|
|
with ".PROJECT." or
|
|
|
|
you issue the \"Update\" command from the BOINC client.
|
|
|
|
</p>
|
|
|
|
";
|
|
|
|
}
|
|
|
|
if ($subset == "global") {
|
|
|
|
print_prefs_display_global($user, $columns);
|
|
|
|
} else {
|
|
|
|
print_prefs_display_project($user, $columns);
|
|
|
|
}
|
|
|
|
page_tail();
|
2002-04-30 22:22:54 +00:00
|
|
|
|
|
|
|
?>
|