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-06-04 23:39:23 +00:00
echo '<p style="color: red">Your preference has been updated and will take effect the next time BOINC starts, or you may manually retrieve the preference in the BOINC software.</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
?>