print_string("surveytype", "survey") ?>: |
if ($options = get_records_menu("survey", "template", 0, "name", "id, name")) {
foreach ($options as $id => $name) {
$options[$id] = get_string($name, "survey");
}
choose_from_menu($options, "template", $form->template);
helpbutton("surveys", get_string("helpsurveys", "survey"));
} else {
echo "No surveys to choose from!";
}
?>
|