~ubuntu-branches/ubuntu/precise/boinc/precise

« back to all changes in this revision

Viewing changes to html/inc/bossa_example.inc

Tags: 6.12.8+dfsg-1
* New upstream release.
* Simplified debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        $response->cy = get_int('pic_y');
54
54
    }
55
55
    $inst->set_opaque_data($response);
 
56
    $job->set_state(BOSSA_JOB_DONE);
56
57
}
57
58
 
58
59
function job_timed_out($job, $inst, $user) {
64
65
    return "<a href=".URL_BASE."$info->path>View image</a>";
65
66
}
66
67
 
67
 
function instance_summary($inst) {
68
 
    $info = $inst->get_opaque_data();
 
68
function instance_summary($info) {
69
69
    if ($info->have_ellipse) {
70
70
        return "($info->cx, $info->cy)";
71
71
    } else {
73
73
    }
74
74
}
75
75
 
76
 
function show_user_summary($user) {
 
76
function user_summary($user) {
 
77
    return "";
77
78
}
78
79
 
79
80
?>