web admin fixes

svn path=/trunk/boinc/; revision=737
This commit is contained in:
David Anderson 2002-12-12 23:55:40 +00:00
parent c90d522b75
commit e16b9f126f
2 changed files with 3 additions and 3 deletions

View File

@ -174,7 +174,7 @@ function show_result($result,$show_xml_docs,$show_stderr,$show_times) {
}
row("Name", $result->name);
row("Workunit", "<a href=db.php?show=workunit&id=$result->workunitid>" . wu_name_by_id($result->workunitid) . "</a>" );
row("state", res_state_string($result->state));
row("state", res_state_string($result->server_state));
row("Deadline", time_str($result->report_deadline));
row("Host ID", "<a href=db.php?show=host&id=$result->hostid>" . host_name_by_id($result->hostid) . "</a>");
row("Client State", $result->client_state);

View File

@ -65,8 +65,8 @@
}
if (strlen($result_state) && $result_state != 0) {
$query = append_sql_query( $query, "state = $result_state", $first );
$english_query = append_sql_query( $english_query, "state is ".res_state_string($result_state), $first );
$query = append_sql_query( $query, "server_state = $result_state", $first );
$english_query = append_sql_query( $english_query, "server state is ".res_state_string($result_state), $first );
$rstate = $result_state;
$first = 0;
} else {