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

« back to all changes in this revision

Viewing changes to doc/poll.php

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
 
3
 
require_once("docutil.php");
4
 
require_once("countries.inc");
5
 
require_once("translation.inc");
6
 
require_once("poll.inc");
7
 
require_once("poll_data.inc");
8
 
 
9
 
page_head(tr(POLL_TITLE));
10
 
 
11
 
echo "
12
 
<body onload=\"disable_all();\">
13
 
<p>
14
 
".tr(POLL_INTRO)."
15
 
";
16
 
 
17
 
echo "<form name=blah action=poll_action.php>\n";
18
 
list_start();
19
 
list_bar(tr(POLL_RUN));
20
 
 
21
 
generate_functions($overall_choices);
22
 
show_choices($overall_choices, $run_boinc);
23
 
 
24
 
list_bar(tr(POLL_PARTICIPATION));
25
 
show_choices($project_items, "");
26
 
list_bar(tr(POLL_COMPUTERS));
27
 
show_choices($comp_items, "");
28
 
list_bar(tr(POLL_YOU));
29
 
show_choices($you_items, "");
30
 
 
31
 
echo "
32
 
    <tr>
33
 
        <td class=fieldname valign=top>".tr(POLL_NATIONALITY)."</td>
34
 
        <td><select name=$country>
35
 
";
36
 
echo country_select();
37
 
echo "</select></td></tr>";
38
 
list_bar(tr(POLL_COMMENTS));
39
 
list_item2(
40
 
    tr(POLL_COMMENTS_QUESTION),
41
 
    "<textarea name=$improved rows=10 cols=60></textarea>"
42
 
);
43
 
 
44
 
list_item("<br>", tr(POLL_DONE)."<input type=submit value=OK>");
45
 
list_end();
46
 
echo "
47
 
    </form>
48
 
";
49
 
page_tail(true);
50
 
 
51
 
?>