1<?php 2// This file is part of BOINC. 3// http://boinc.berkeley.edu 4// Copyright (C) 2008 University of California 5// 6// BOINC is free software; you can redistribute it and/or modify it 7// under the terms of the GNU Lesser General Public License 8// as published by the Free Software Foundation, 9// either version 3 of the License, or (at your option) any later version. 10// 11// BOINC is distributed in the hope that it will be useful, 12// but WITHOUT ANY WARRANTY; without even the implied warranty of 13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14// See the GNU Lesser General Public License for more details. 15// 16// You should have received a copy of the GNU Lesser General Public License 17// along with BOINC. If not, see <http://www.gnu.org/licenses/>. 18 19require_once("../inc/util.inc"); 20 21check_get_args(array("field")); 22 23$field = get_str("field"); 24 25switch($field) { 26case "result_server_state": 27 page_head(tra("Server states")); 28 echo " 29 <p> 30 ".tra("A tasks's <b>server state</b> indicates whether the task has been sent to a computer, and if so whether the computer has finished it. Possible values are:")." 31 <p> 32 "; 33 start_table(); 34 row2_plain("<b>".tra("Inactive")."</b>", 35 tra("The task is not ready to send (for example, because its input files are unavailable)") 36 ); 37 row2_plain("<b>".tra("Unsent")."</b>", 38 tra("The task is ready to send, but hasn't been sent yet.") 39 ); 40 row2_plain("<b>".tra("In Progress")."</b>", 41 tra("The task has been sent; waiting for completion.") 42 ); 43 row2_plain("<b>".tra("Over")."</b>", 44 tra("The task has been sent to a computer and either it has timed out or the computer has reported its completion.") 45 ); 46 break; 47 48case "result_outcome": 49 page_head(tra("Outcomes")); 50 echo " 51 <p> 52 ".tra("A tasks's <b>outcome</b> is defined if its server state is <b>over</b>. Possible values are:")." 53 <p> 54 "; 55 start_table(); 56 row2_plain("<b>".tra("Unknown")."</b>", 57 tra("The task was sent to a computer, but the computer has not yet completed the work and reported the outcome.") 58 ); 59 row2_plain("<b>".tra("Success")."</b>", 60 tra("A computer completed and reported the task successfully.") 61 ); 62 row2_plain("<b>".tra("Couldn't send")."</b>", 63 tra("The server wasn't able to send the task to a computer (perhaps because its resource requirements were too large)") 64 ); 65 row2_plain("<b>".tra("Client error")."</b>", 66 tra("The task was sent to a computer and an error occurred.") 67 ); 68 row2_plain("<b>".tra("No reply")."</b>", 69 tra("The task was sent to a computer and no reply was received within the time limit.") 70 ); 71 row2_plain("<b>".tra("Didn't need")."</b>", 72 tra("The task wasn't sent to a computer because enough other tasks were completed for this workunit.") 73 ); 74 row2_plain("<b>".tra("Validate error")."</b>", 75 tra("The task was reported but could not be validated, typically because the output files were lost on the server.") 76 ); 77 break; 78 79case "result_client_state": 80 page_head(tra("Client states")); 81 echo "<p>".tra("A result's <b>client state</b> indicates the stage of processing at which an error occurred.")." 82 <p> 83 "; 84 start_table(); 85 row2_plain("<b>".tra("New")."</b>", 86 tra("The computer has not yet completed the task.") 87 ); 88 row2_plain("<b>".tra("Done")."</b>", 89 tra("The computer completed the task successfully.") 90 ); 91 row2_plain("<b>".tra("Downloading")."</b>", 92 tra("The computer couldn't download the application or input files.") 93 ); 94 row2_plain("<b>".tra("Computing")."</b>", 95 tra("An error occurred during computation.") 96 ); 97 row2_plain("<b>".tra("Uploading")."</b>", 98 tra("The computer couldn't upload the output files.") 99 ); 100 break; 101 102case "result_time": 103 page_head(tra("Time reported and deadline")); 104 echo " 105 <p> 106 ".tra("A task's <b>Time reported or deadline</b> field depends on whether the task has been reported yet:")." 107 <p> 108 "; 109 start_table(); 110 row2(tra("Already reported"), tra("The date/time it was reported")); 111 row2(tra("Not reported yet, deadline in the future"), 112 tra("Deadline, shown in green.") 113 ); 114 row2(tra("Not reported yet, deadline in the past"), 115 tra("Deadline, shown in red.") 116 ); 117 break; 118 119default: 120 page_head(tra("Unknown field")); 121} 122 123end_table(); 124page_tail(); 125?> 126