boinc/doc/poll.php

51 lines
1.0 KiB
PHP
Raw Normal View History

<?php
require_once("docutil.php");
require_once("countries.inc");
require_once("../html/inc/translation.inc");
require_once("poll.inc");
require_once("poll_data.inc");
page_head(tr(POLL_TITLE));
echo "
<body onload=\"disable_all();\">
<p>
".tr(POLL_INTRO)."
";
echo "<form name=blah action=poll_action.php>\n";
list_start();
list_bar(tr(POLL_RUN));
generate_functions($overall_choices);
show_choices($overall_choices, $run_boinc);
list_bar(tr(POLL_PARTICIPATION));
show_choices($project_items, "");
list_bar(tr(POLL_COMPUTERS));
show_choices($comp_items, "");
list_bar(tr(POLL_YOU));
show_choices($you_items, "");
echo "
<tr>
<td bgcolor=$light_blue valign=top>".tr(POLL_NATIONALITY)."</td>
<td><select name=$country>
";
print_country_select();
echo "</select></td></tr>";
list_bar(tr(POLL_COMMENTS));
list_item2(
tr(POLL_COMMENTS_QUESTION),
"<textarea name=$improved rows=4 cols=60></textarea>"
);
list_item("<br>", tr(POLL_DONE)."<input type=submit value=OK>");
list_end();
echo "
</form>
";
?>