@@ -379,13 +379,13 @@ discard block |
||
| 379 | 379 | |
| 380 | 380 | |
| 381 | 381 | function link_results($n, $mq, $query, $clauses) { |
| 382 | - if ($n == '0') { // intentional compare by string |
|
| 382 | + if ($n == '0') { |
|
| 383 | +// intentional compare by string |
|
| 383 | 384 | return "0"; |
| 384 | 385 | } else { |
| 385 | 386 | if(strlen($clauses)) { |
| 386 | 387 | return "<a href=\"db_action.php?table=result&query=$mq&$query&clauses=".urlencode($clauses)."&sort_by=mod_time&detail=low\">$n</a>"; |
| 387 | - } |
|
| 388 | - else { |
|
| 388 | + } else { |
|
| 389 | 389 | return "<a href=\"db_action.php?table=result&query=$mq&$query&sort_by=mod_time&detail=low\">$n</a>"; |
| 390 | 390 | } |
| 391 | 391 | |
@@ -396,7 +396,7 @@ discard block |
||
| 396 | 396 | // @return String A human readable string if error otherwise FALSE |
| 397 | 397 | // @param String $stderr_out the stderr_out value to parse |
| 398 | 398 | // |
| 399 | -function stderr_error_string($stderr_out){ |
|
| 399 | +function stderr_error_string($stderr_out) { |
|
| 400 | 400 | $y = parse_element($stderr_out, "<error_code>"); |
| 401 | 401 | $x = 0; |
| 402 | 402 | if ($y) { |
@@ -1174,7 +1174,7 @@ discard block |
||
| 1174 | 1174 | // result has not been received yet, so show report deadline either |
| 1175 | 1175 | // in green if in the future or in red if in the past. |
| 1176 | 1176 | $timenow=time(); |
| 1177 | - if ($result->report_deadline==0) { |
|
| 1177 | + if ($result->report_deadline==0) { |
|
| 1178 | 1178 | // not sent -- show create time in purple |
| 1179 | 1179 | $received = "<font color=\"9900cc\">". time_str($result->create_time) . "</font>"; |
| 1180 | 1180 | } else if ($result->report_deadline>=$timenow) { |