From 2d7a33e79f54699f52cd21b4926063ac49a9322d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 24 Feb 2003 21:31:36 +0000 Subject: [PATCH] various svn path=/trunk/boinc/; revision=958 --- html/user/logout.php | 13 ++ html/user/project_specific_prefs_ap.inc | 155 ++++++++++++++++++++++++ sched/handle_request.C | 5 + sched/server_types.C | 10 ++ sched/server_types.h | 1 + test/make_project_ap.php | 3 +- test/make_project_sah.php | 2 +- test/test.inc | 11 +- 8 files changed, 194 insertions(+), 6 deletions(-) create mode 100644 html/user/logout.php create mode 100755 html/user/project_specific_prefs_ap.inc diff --git a/html/user/logout.php b/html/user/logout.php new file mode 100644 index 0000000000..6479c37451 --- /dev/null +++ b/html/user/logout.php @@ -0,0 +1,13 @@ + diff --git a/html/user/project_specific_prefs_ap.inc b/html/user/project_specific_prefs_ap.inc new file mode 100755 index 0000000000..b96151bdd3 --- /dev/null +++ b/html/user/project_specific_prefs_ap.inc @@ -0,0 +1,155 @@ + +// A few presets, plus "Custom" to control other parameters +// +// Starting hue (0..1) for graph +// +// Delta hue for graph (+ or -) +// +// Time to grow graph, back to front +// +// Time to hold completed graph +// +// If present, draw 2-D graph +// +// transparency of graph (0..1) + +function project_specific_prefs_default() { + return "Tahiti Sunset\n"; +} + +function option($name, $val) { + if ($name == $val) { + $x = "selected"; + } else { + $x = ""; + } + echo "