*** empty log message ***

svn path=/trunk/boinc/; revision=2441
This commit is contained in:
David Anderson 2003-10-11 17:33:49 +00:00
parent 294a2a5067
commit 2d6cf1a3c4
2 changed files with 5 additions and 9 deletions

View File

@ -618,17 +618,12 @@ function credit_str($c) {
}
}
function show_result($result, $hide_xml_docs, $hide_stderr, $hide_times)
{
function show_result($result, $hide_xml_docs, $hide_stderr, $hide_times) {
$wu_name = wu_name_by_id($result->workunitid);
echo "<h2>$result->name</h2>";
echo "<p>WU: <a href=db_action.php?table=workunit&id=$result->workunitid>$wu_name</a>";
start_table();
if (!$hide_times) {
row("Created", time_str($result->create_time));
row("Sent", time_str($result->sent_time));
@ -787,10 +782,11 @@ function platform_name_by_id($platformid) {
function host_name_by_id($hostid) {
$result = mysql_query("select * from host where id = $hostid");
$host = mysql_fetch_object($result);
if (!strlen($host->domain_name) && !strlen($host->last_ip_addr))
if (!strlen($host->domain_name) && !strlen($host->last_ip_addr)) {
return "(blank)";
else
} else {
return $host->domain_name . " (" . $host->last_ip_addr . ")";
}
}
?>

View File

@ -52,7 +52,7 @@ function print_text_field($text,$name,$value) {
}
function row($x, $y) {
echo "<tr>\n<td width=30% colspan=2 valign=top align=right>$x</td>\n<td colspan=2>$y</td>\n</tr>\n";
echo "<tr><td valign=top align=right>$x</td>\n<td>$y</td>\n</tr>\n";
}
function c_row2($color, $x, $y) {