*** empty log message ***

svn path=/trunk/boinc/; revision=1550
This commit is contained in:
Tim Lan 2003-06-19 22:38:53 +00:00
parent 0f14d8948e
commit 3c939725cf
6 changed files with 117 additions and 1403 deletions

File diff suppressed because it is too large Load Diff

View File

@ -4,119 +4,60 @@
ëmmë
ÿÿÿÿ
ððððð
ëCfmìì®m
ÿ
ê<<JJJmìì®ê
ðððððððð
ÿÿ
ë<<<RRRRKêíìê
<<<KYK<<RQì®f
<<<QYQf<<YJ®f
f_<<JzRë†<RR)ff___<zRm®YRKfC_<<yYRQXYKf_<mzYRYKff
_<zYê_YQJf
ññ
<tšzR_XXQf
ññ
ÿ
<šššzzzQ<ì
ÿù
ññ
ù
ññ
ÿ
ÿùù
ññ
ùù
ñ
ùÿÿ
_<<nnn<
óó
óó
ùÿÿ
óóóóóóóóó
ùÿÿ
óóóóóóóó
ùùùÿÿ
_<<<<<<
ôô
ôô
ùùÿÿùù
ôô
ù
ôô
ùÿ
ÿ
ôô
ù
ôÿ
ÿ
ô
ÿÿ
ù
ÿÿ
_<C
ÿÿÿÿ
ÿÿÿÿ
ÿÿÿÿÿÿÿ
ÀÀÀÀàø
ü?àÀÀàðþ

View File

@ -4,119 +4,60 @@
ëmmë
ÿÿÿÿ
ððððð
ëCfmìì®m
Üÿ
ê<<JJJmìì®ê
ðððððððð
Üÿÿ
ë<<<RRRRKêíìê
<<<KYK<<RQì®f
<<<QYQf<<YJ®f
f_<<JzRë†<RR)ff___<zRm®YRKfC_<<yYRQXYKf_<mzYRYKff
_<zYê_YQJf
ññ
<tšzR_XXQf
ññ
Üÿ
<šššzzzQ<ì
ÿÜÓ
ññ
Ó
ññ
Üÿ
ÿÜÓÓ
ññ
ÓÓ
ñ
ÓÜÿÿ
_<<nnn<
óó
óó
ÓÜÿÿ
óóóóóóóóó
ÓÜÿÿ
óóóóóóóó
ÓÓÓÜÿÿ
_<<<<<<
ôô
ôô
ÓÓÜÿÿÜÓÓ
ôô
Ó
ôô
ÓÜÿ
ÿÜ
ôô
Ó
ôÿ
ÿ
ô
ÿÿ
Ó
ÿÿ
_<C
ÿÿÿÿ
ÿÿÿÿ
ÿÿÿÿÿÿÿ
ÀÀÀÀàø
ü?àÀÀàðþ

View File

@ -6,11 +6,14 @@
function db_init() {
$retval = mysql_pconnect();
if (!$retval) {
echo "Database error - please try again later";
echo "Unable to connect to database - please try again later";
exit();
}
$db_name = parse_config("<db_name>");
if(!mysql_select_db($db_name)) return -1;
if(!mysql_select_db($db_name)) {
echo "Unable to select database - please try again later";
exit();
}
return 0;
}

View File

@ -132,7 +132,7 @@ function show_host_row($host, $i, $private) {
";
if ($private) {
echo"<td>
<a href=show_host_detail.php?hostid=$host->id>
<a href=show_host_detail.php?hostid=$host->id&private=1>
$host->domain_name</a></td>
";
} else {

View File

@ -70,7 +70,7 @@ function project_specific_prefs_edit($prefs) {
";
}
echo "<tr>
<td align=right>URL of background (PPM format)</td>
<td align=right>URL of background (PPM format)<br><font size=-1>This will show up as the background in the Astropulse animation. The file must be in PPM format, and the number of pixels in the height and the width must both be in powers of 2 (e.g. 128, 512, etc.).</font></td>
<td><input size=60 name=background value='$prefs->background'></td>
</tr>
";
@ -144,7 +144,7 @@ function project_specific_prefs_parse_form() {
// show non-editable version of prefs
//
function project_specific_prefs_show($prefs) {
row2("Color scheme", $prefs->color_scheme);
row2("Color scheme<br><font size=-1>This determines how the Astropulse graphics are displayed</font>", $prefs->color_scheme);
if ($prefs->color_scheme == "Custom") {
$dim = $prefs->two_dim?"2":"3";
row2("Start hue", $prefs->start_hue);
@ -155,7 +155,7 @@ function project_specific_prefs_show($prefs) {
row2("Graph dimension", $dim);
}
if (strlen($prefs->background)) {
row2("Background", $prefs->background);
row2("Background<br><font size=-1>This image will show up as the background in the Astropulse animation.</font>", $prefs->background);
} else {
row2("Background", "none");
}