print "<tr>" . NEWLINE; print "<td class=form-lbl-r>" . lang_get('priority') . "</td>" . NEWLINE; print "<td class=left>" . NEWLINE; $priorities = test_get_priorities(); $selected_value = session_validate_form_get_field('testpriority', $test_priority); print "<select name='testpriority' size=1>"; html_print_list_box_from_array($priorities, $selected_value); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; } # AREA TESTED print "<tr>" . NEWLINE; print "<td class=form-lbl-r>" . lang_get('area_tested') . "</td>" . NEWLINE; print "<td class=left>" . NEWLINE; $test_areas = test_get_areas_tested($project_id, $blank = true); $selected_value = session_validate_form_get_field('testareatested', $area_tested); print "<select name='testareatested' size=1>"; html_print_list_box_from_array($test_areas, $selected_value); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # TEST TYPE print "<tr>" . NEWLINE; print "<td class=form-lbl-r>" . lang_get('testtype') . "</td>" . NEWLINE; print "<td class=left>" . NEWLINE; $test_types = test_get_test_type($project_id, $blank = true); $selected_value = session_validate_form_get_field('testtype', $test_type); print "<select name='testtype' size=1>"; html_print_list_box_from_array($test_types, $selected_value); print "</select>" . NEWLINE;
print "<tr>" . NEWLINE; print "<td class=form-lbl-r>" . lang_get('priority') . "</td>" . NEWLINE; print "<td class=form-data-l>" . NEWLINE; $priorities = test_get_priorities(); $selected_value = session_validate_form_get_field('testpriority'); print "<select name='testpriority' size=1>" . NEWLINE; html_print_list_box_from_array($priorities, $selected_value); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; } # AREA TESTED print "<tr>" . NEWLINE; print "<td class=form-lbl-r>" . lang_get('area_tested') . "</td>" . NEWLINE; print "<td class=form-data-l>" . NEWLINE; $areas_tested = test_get_areas_tested($project_id, true); $selected_value = session_validate_form_get_field('testareatested'); print "<select name='testareatested' size=1>" . NEWLINE; html_print_list_box_from_array($areas_tested, $selected_value); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # TEST TYPE print "<tr>" . NEWLINE; print "<td class=form-lbl-r>" . lang_get('testtype') . "</td>" . NEWLINE; print "<td class=form-data-l>" . NEWLINE; $selected_value = session_validate_form_get_field('testtype'); print "<select name='testtype' size=1>" . NEWLINE; $test_types = test_get_test_type($project_id, $blank = true); html_print_list_box_from_array($test_types, $selected_value); print "</select>" . NEWLINE;