function html_print_field_filter($filter_screen, $filter_search) { $s_project_properties = session_get_project_properties(); $project_id = $s_project_properties['project_id']; print "<table class=width60>" . NEWLINE; print "<tr>" . NEWLINE; print "<td>" . NEWLINE; print "<table class=inner rules=none border=0>" . NEWLINE; # TITLES FOR HEADER DIALOG print "<tr class=left>" . NEWLINE; print "<td class=form-header-c>" . lang_get('screen_name') . "</td>" . NEWLINE; print "<td class=form-header-c>" . lang_get('search') . "</td>" . NEWLINE; print "<td> </td>" . NEWLINE; print "</tr>" . NEWLINE; print "<tr>" . NEWLINE; # SCREEN_NAMES $screens = test_get_screens($project_id, SCREEN_NAME, "ASC"); $screen_array = array(); foreach ($screens as $screen) { $screen_array[$screen[SCREEN_ID]] = $screen[SCREEN_NAME]; } print "<td align=center>" . NEWLINE; print "<select name='filter_screen'>" . NEWLINE; print "<option value=''></option>" . NEWLINE; html_print_list_box_from_key_array($screen_array, $filter_screen); print "</select>" . NEWLINE; print "</td>" . NEWLINE; # SEARCH print "<td align='center'>" . NEWLINE; print "<input type='text' size='15' maxlength='25' name='filter_search' value='" . $filter_search . "'>" . NEWLINE; print "</td>" . NEWLINE; # FILTER BUTTON print "<td align='center' rowspan=4 valign=center><input type='submit' value='Filter'></td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>"; print "<input type=hidden name=field_form_filter_value value=true>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>" . NEWLINE; }
print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # E-mail user print "<tr>" . NEWLINE; print "<td class=form-lbl-r>" . lang_get('email_test_run_status') . "</td>" . NEWLINE; print "<td class=left>" . NEWLINE; print "<select name='email_users[]' multiple size='5'>" . NEWLINE; //$selected_value = user_get_email_by_username($assigned_to); $users = user_get_details_all($project_id); $email_users = array(); foreach ($users as $user) { $email_users[$user[USER_EMAIL]] = $user[USER_UNAME]; } //$email_users[] = ""; html_print_list_box_from_key_array($email_users); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>"; util_add_spacer(); print "<tr><td class=center colspan=2><input type=submit name='save' value='" . lang_get('update') . "'><br/><br/></td>" . NEWLINE; print "</table>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>" . NEWLINE; print "<br>" . NEWLINE; } print "</form>" . NEWLINE; print "</div>" . NEWLINE; html_print_footer(); # ---------------------------------------------------------------------
print "<td>" . NEWLINE; print "<table class=inner>" . NEWLINE; # FORM TITLE print "<tr>" . NEWLINE; print "<td class='form-data-l'><h4>" . lang_get('assign_to_release') . "</h4></td>" . NEWLINE; print "</tr>" . NEWLINE; # ASSIGN RELEASE print "<tr>" . NEWLINE; print "<td class='form-data-c'>"; print "<select name='assign_release'>" . NEWLINE; $rows_release = requirement_get_distinct_field($project_id, REQ_VERS_ASSIGN_RELEASE); for ($i = 0; $i < sizeof($rows_release); $i++) { $rows_release_2[admin_get_release_name($rows_release[$i])] = $rows_release[$i]; } $rows_release_2[""] = ""; html_print_list_box_from_key_array($rows_release_2); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # SUBMIT BUTTON print "<tr>" . NEWLINE; print "<td class='form-data-c'><input type='submit' name=submit_assigned_release value='" . lang_get('update') . "'></td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>" . NEWLINE; print "</form>" . NEWLINE; print "</div>" . NEWLINE; html_print_footer(); # ---------------------------------------------------------------------
# DESCRIPTION print "<tr>" . NEWLINE; print "<td class='form-lbl-r'>" . lang_get('description') . "</td>" . NEWLINE; print "<td class='form-data-l'>"; print "<textarea name='screen_desc' rows=5 cols=50 >" . session_validate_form_get_field("screen_desc") . "</textarea>"; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # SCREEN ORDER $order_numbers = test_get_screen_order_numbers(); print "<tr>" . NEWLINE; print "<td class='form-lbl-r'>" . lang_get('order') . "</td>" . NEWLINE; print "<td align=left>" . NEWLINE; print "<select name='screen_order'>"; print "<option value='end'>At end of table</option>"; if (!empty($order_numbers)) { html_print_list_box_from_key_array($order_numbers); } print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>"; # SUBMIT BUTTON print "<tr>" . NEWLINE; print "<td colspan='2' class='form-data-c'><input type='submit' value='" . lang_get('add') . "'></td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>" . NEWLINE; print "</form>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>" . NEWLINE; print "<br><br>" . NEWLINE; $screen_details = test_get_screens($project_id, $order_by, $order_dir);
print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # Description print "<tr>" . NEWLINE; print "<td class='form-lbl-r'>" . lang_get('description') . "</td>" . NEWLINE; print "<td class='form-data-l'>" . NEWLINE; print "<textarea rows='4' cols='50' name='project_description' >{$project_description}</textarea>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # Status $status_list_box = array("Y" => lang_get('project_enable'), "N" => lang_get('project_disable')); print "<tr>" . NEWLINE; print "<td class='form-lbl-r'>" . lang_get('status') . "</td>" . NEWLINE; print "<td class='form-data-l'>" . NEWLINE; print "<select name='project_status' size=1>" . NEWLINE; html_print_list_box_from_key_array($status_list_box, $project_status); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; print "<tr>" . NEWLINE; print "<td class='form-lbl-r'>" . lang_get('project_view_hide') . "</td>" . NEWLINE; print "<td class=form-data-l>" . NEWLINE; # Show/Hide Checkboxes print "<table style='margin-right:auto;margin-left:0px;'><tr>"; $checkboxes_per_column = 4; $view_hide_lang_names = array(lang_get("show_custom_1"), lang_get("show_custom_2"), lang_get("show_custom_3"), lang_get("show_custom_4"), lang_get("show_custom_5"), lang_get("show_custom_6"), lang_get("show_window"), lang_get("show_object"), lang_get("show_mem_stats"), lang_get("show_priority"), lang_get("show_test_input")); $view_hide_field_names = array(PROJ_SHOW_CUSTOM_1, PROJ_SHOW_CUSTOM_2, PROJ_SHOW_CUSTOM_3, PROJ_SHOW_CUSTOM_4, PROJ_SHOW_CUSTOM_5, PROJ_SHOW_CUSTOM_6, PROJ_SHOW_WINDOW, PROJ_SHOW_OBJECT, PROJ_SHOW_MEM_STATS, PROJ_SHOW_PRIORITY, PROJ_SHOW_TEST_INPUT); $number_of_checkboxes = count($view_hide_field_names); $number_of_columns = $number_of_checkboxes / $checkboxes_per_column; for ($i = 0; $i <= $number_of_columns; $i++) { $start_index = $i * $checkboxes_per_column;
print ' disabled'; } print "></td>" . NEWLINE; print "</tr>" . NEWLINE; # Default Project $default_project_id = user_get_default_project_id($selected_username); if (!empty($user_associated_project_names)) { print "<tr>" . NEWLINE; print "<td class=form-lbl-r>" . lang_get('default_project') . "</td>" . NEWLINE; print "<td class=form-lbl-l>" . NEWLINE; print "<select tabindex=101 name='default_project' size=1"; if (!$tempest_admin && $user_id != $selected_user_id) { print ' disabled'; } print ">" . NEWLINE; html_print_list_box_from_key_array($user_associated_project_names, session_validate_form_get_field("default_project", $default_project_id)); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; } else { print "<tr><td colspan=2>" . NEWLINE; print "<input type=hidden name=default_project value={$default_project_id}>" . NEWLINE; print "</td></tr>" . NEWLINE; } # Tempest Rights print "<tr>" . NEWLINE; print "<td class=form-lbl-r>" . lang_get('tempest_admin') . "</td>" . NEWLINE; print "<td class=form-lbl-l>" . NEWLINE; print "<input type=hidden name='tempest_admin' value='N'>" . NEWLINE; print "<input tabindex=60 type=checkbox name='tempest_admin' value='Y' "; if (session_validate_form_get_field('tempest_admin', $selected_admin) == "Y") {
print"</select>". NEWLINE; print"</td>". NEWLINE; print"</tr>". NEWLINE; */ # ASSIGNED TO RELEASE print "<tr>" . NEWLINE; print "<td class=form-lbl-r nowrap>" . lang_get('assigned_to_release') . "</td>" . NEWLINE; print "<td class=form-data-l>" . NEWLINE; print "<select name=assigned_release size=1>" . NEWLINE; $list_box = array(); $rows_rel = admin_get_releases($project_id); foreach ($rows_rel as $row_rel) { $list_box[$row_rel[RELEASE_ID]] = $row_rel[RELEASE_NAME]; } $list_box[""] = ""; html_print_list_box_from_key_array($list_box, session_validate_form_get_field('assigned_release')); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # ASSIGNED TO print "<tr>" . NEWLINE; print "<td class=form-lbl-r nowrap>" . lang_get('assigned_to') . "</td>" . NEWLINE; print "<td class=form-data-l>" . NEWLINE; print "<select name='req_assigned_to'>" . NEWLINE; $rows_users = user_get_usernames_by_project($project_id, true); html_print_list_box_from_array($rows_users); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # REASON FOR CHANGE print "<tr>" . NEWLINE;
print "></td>" . NEWLINE; print "<td class=form-lbl-l>" . lang_get('default_project') . "</td>" . NEWLINE; print "</tr>" . NEWLINE; # Email Discussion, Default Project print "<tr>" . NEWLINE; print "<td class=form-lbl-r>" . lang_get('email_discussions') . "</td>" . NEWLINE; print "<td class=form-lbl-l>"; print "<input tabindex=55 type=checkbox name='user_email_discussions' "; if (session_validate_form_get_field('user_email_discussions')) { print ' checked'; } print "></td>" . NEWLINE; # Default Project print "<td class=form-lbl-l>" . NEWLINE; print "<select tabindex=101 name='user_default_project' size=1>" . NEWLINE; html_print_list_box_from_key_array($project_names_array, session_validate_form_get_field("user_default_project")); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # QA Owner, Project Rights Label print "<tr>" . NEWLINE; print "<td class=form-lbl-r>" . lang_get('qa_tester') . "</td>" . NEWLINE; print "<td class=form-lbl-l><input tabindex=60 type=checkbox name='user_qa_owner' "; if (session_validate_form_get_field('user_qa_owner')) { print ' checked'; } print "></td>" . NEWLINE; # Project User Rights print "<td class=form-lbl-l>" . lang_get("project_user_rights") . "</td>" . NEWLINE; print "</tr>" . NEWLINE; # BA Owner, Project Rights
$rows_users = user_get_usernames_by_project($project_id, true); html_print_list_box_from_array($rows_users, session_validate_form_get_field('req_assigned_to')); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # FUNCTIONALITY print "<tr>" . NEWLINE; print "<td class=form-lbl-r valign=top nowrap>" . lang_get('functionality') . "</td>" . NEWLINE; print "<td class=form-data-l>" . NEWLINE; print "<select name='req_functionality[]' size=6 multiple>" . NEWLINE; $list_box = array(); $rows = project_get_req_functionality($project_id); foreach ($rows as $row) { $list_box[$row[REQ_FUNCT_ID]] = $row[REQ_FUNCT_NAME]; } html_print_list_box_from_key_array($list_box, session_validate_form_get_field('req_functionality')); #html_print_list_box_from_key_array( $list_box ); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # SUBMIT BUTTON print "<tr>" . NEWLINE; print "<td colspan='2' class=center> </td>" . NEWLINE; print "</tr>" . NEWLINE; print "<tr>" . NEWLINE; print "<td colspan='2' class=center><input type='submit' value='" . lang_get('create') . "'></td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>" . NEWLINE;
html_print_list_box_from_array($root_cause, session_validate_form_get_field("root_cause", $row_root_cause)); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # E-mail user print "<tr>" . NEWLINE; print "<td class=form-lbl-r>" . lang_get('email_test_run_status') . "</td>" . NEWLINE; print "<td class=left>" . NEWLINE; print "<select name='email_users[]' multiple size='3'>" . NEWLINE; $users = user_get_details_all($project_id); $email_users = array(); foreach ($users as $user) { $email_users[$user[USER_EMAIL]] = $user[USER_UNAME]; } //$email_users[] = ""; html_print_list_box_from_key_array($email_users, session_validate_form_get_field("email_users")); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # File Upload print "<tr>\n" . NEWLINE; print "<td><input type='hidden' name=MAX_FILE_SIZE value='5000000'></td>\n" . NEWLINE; print "</tr>\n" . NEWLINE; print "<tr>" . NEWLINE; print "<td class='form-lbl-r'>" . lang_get('upload_file') . "</td>" . NEWLINE; print "<TD class='form-data-l'><input type='file' name='upload_file' value='" . session_validate_form_get_field("upload_file") . "' size='40'></td>" . NEWLINE; print "</tr>" . NEWLINE; print "<tr><td><input type='hidden' name='test_id' value='{$test_id}'></td></tr>" . NEWLINE; print "<tr><td><input type='hidden' name='testset_id' value='{$testset_id}'></td></tr>" . NEWLINE; util_add_spacer(); print "<tr><td class=center colspan=2><input type=submit name='submit_button' value='" . lang_get('save_results') . "'></td>" . NEWLINE;
# DESCRIPTION print "<tr>" . NEWLINE; print "<td class='form-lbl-r'>" . lang_get('description') . "</td>" . NEWLINE; print "<td class='form-data-l'>"; print "<textarea name='field_desc' rows=5 cols=50 >" . session_validate_form_get_field("field_desc") . "</textarea>"; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # FIELD ORDER $order_numbers = test_get_field_order_numbers(); print "<tr>" . NEWLINE; print "<td class='form-lbl-r'>" . lang_get('order') . "</td>" . NEWLINE; print "<td align=left>" . NEWLINE; print "<select name='field_order'>"; print "<option value='end'>At end of table</option>"; if (!empty($order_numbers)) { html_print_list_box_from_key_array($order_numbers, session_validate_form_get_field("field_order")); } print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>"; # TEXT-ONLY print "<tr>" . NEWLINE; print "<td class='form-lbl-r'>" . lang_get('text_box') . "</td>" . NEWLINE; print "<td class='form-data-l'><input type='checkbox' name='text_box'" . (session_validate_form_get_field("text_box") == 'on' ? " checked" : "") . "></td>" . NEWLINE; print "</tr>" . NEWLINE; # SUBMIT BUTTON print "<tr>" . NEWLINE; print "<td colspan='2' class='form-data-c'><input type='submit' value='" . lang_get('add') . "'></td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>" . NEWLINE; print "</form>" . NEWLINE;
print "<input type='hidden' name='bug_id' value='{$bug_id}'>" . NEWLINE; print "<input type='hidden' name='action' value='add_relationship'>" . NEWLINE; print "<table class='width95'>" . NEWLINE; # border=1 rules=all # FORM TITLE print "<tr>" . NEWLINE; print "<td class='white-grid-header-l' colspan='7'><b>" . lang_get('add_relationship') . "</b></td>" . NEWLINE; print "</tr>" . NEWLINE; # CREATE RELATION print "<tr>" . NEWLINE; print "<td class=grid-header-l nowrap colspan='2'>" . lang_get('new_relationship') . "</td>" . NEWLINE; print "<td class='tbl-r' colspan='2' nowrap>" . lang_get('current_bug_is') . "</td>" . NEWLINE; print "<td class='tbl-l'>"; print "<select name='relationship_type' size=1>" . NEWLINE; $relationship_types = bug_get_relationship_types(); html_print_list_box_from_key_array($relationship_types); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "<td class='tbl-l' colspan='2'><input type='text' name='related_bug_id_required' size='10' maxlength='7'>"; print " "; print "<input type='submit' name=new_relationship value='" . lang_get('add') . "'></td>" . NEWLINE; print "</tr>" . NEWLINE; # DISPLAY EXISTING RELATIONSHIPS bug_display_related_items($bug_id, $user_tempest_admin, $user_project_manager); print "</table>" . NEWLINE; print "</form>" . NEWLINE; print "<br><br>"; # FILE UPLOAD print "<form enctype='multipart/form-data' name='upload_defect_file' action='bug_upload_file_action.php' method=post>" . NEWLINE; print "<table class=width95 rules=all border=3>" . NEWLINE; # FORM TITLE
print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # E-mail user print "<tr>" . NEWLINE; print "<td class=form-lbl-r>" . lang_get('email_test_run_status') . "</td>" . NEWLINE; print "<td class=left>" . NEWLINE; print "<select name='email_users[]' multiple size='5'>" . NEWLINE; $selected_value = user_get_email_by_username($assigned_to); $users = user_get_details_all($project_id); $email_users = array(); foreach ($users as $user) { $email_users[$user[USER_EMAIL]] = $user[USER_UNAME]; } $email_users[""] = ""; html_print_list_box_from_key_array($email_users, $selected_value); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>"; #print"<tr><td><input type='hidden' name='test_id' value='$test_id'></td></tr>". NEWLINE; util_add_spacer(); print "<tr><td class=center colspan=2><input type=submit name='save' value='" . lang_get('update') . "'><br/><br/></td>" . NEWLINE; print "</table>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>" . NEWLINE; } print "</form>" . NEWLINE; print "</div>" . NEWLINE; html_print_footer(); # ---------------------------------------------------------------------
print "<td>" . NEWLINE; print "<table class=inner>" . NEWLINE; # FORM TITLE print "<tr>" . NEWLINE; print "<td class='form-data-l'><h4>{$form_title}</h4></td>" . NEWLINE; print "</tr>" . NEWLINE; # VALUE print "<tr>" . NEWLINE; print "<td class='form-data-c'>"; print "<select name=field_value size=1>" . NEWLINE; switch ($field) { case 'status': html_print_list_box_from_array($possible_values); break; case 'assigned_release': html_print_list_box_from_key_array($possible_values); break; } print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; util_add_spacer(); # SUBMIT BUTTON print "<tr>" . NEWLINE; print "<td class='form-data-c'><input type='submit' name=submit_status value='" . lang_get('update') . "'></td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>" . NEWLINE; print "</form>" . NEWLINE;
print "<td class=form-lbl-r nowrap>" . lang_get('discovery_period') . "</td>" . NEWLINE; print "<td class=form-data-l>" . NEWLINE; $selected_value = session_validate_form_get_field('discovery_period'); print "<select name='discovery_period' size=1>" . NEWLINE; $discovery_periods = bug_get_discovery_period(true); html_print_list_box_from_array($discovery_periods, $selected_value); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # COMPONENT print "<tr>" . NEWLINE; print "<td class=form-lbl-r>" . lang_get('bug_component') . "</td>" . NEWLINE; print "<td class=form-data-l>" . NEWLINE; $selected_value = session_validate_form_get_field('bug_component'); print "<select name='bug_component'>" . NEWLINE; html_print_list_box_from_key_array(bug_get_components($project_id, $blank = true), $selected = $selected_value); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # PRIORITY print "<tr>" . NEWLINE; print "<td class=form-lbl-r>" . lang_get('bug_priority') . "</td>" . NEWLINE; print "<td class=form-data-l>" . NEWLINE; $selected_value = session_validate_form_get_field('bug_priority'); print "<select name='bug_priority' size=1>" . NEWLINE; $bug_priorities = bug_get_priorities(true); html_print_list_box_from_array($bug_priorities, $selected_value); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # SEVERITY
html_print_list_box_from_key_array($list_box, session_validate_form_get_field('req_type', $req_doc_type)); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # ASSIGNED TO RELEASE print "<tr>" . NEWLINE; print "<td class=form-lbl-r nowrap>" . lang_get('assigned_to_release') . "</td>" . NEWLINE; print "<td class=form-data-l>" . NEWLINE; print "<select name=assigned_release size=1>" . NEWLINE; $list_box = array(); $rows_rel = admin_get_releases($project_id); foreach ($rows_rel as $row_rel) { $list_box[$row_rel[RELEASE_ID]] = $row_rel[RELEASE_NAME]; } $list_box[""] = ""; html_print_list_box_from_key_array($list_box, session_validate_form_get_field('req_area', $selected_release)); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # SUBMIT BUTTON print "<tr>" . NEWLINE; print "<td colspan='2' class=center><input type='submit' value='" . lang_get('submit_btn') . "'></td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>" . NEWLINE; print "</div>" . NEWLINE; print "</form>" . NEWLINE; html_print_footer(); # ---------------------------------------------------------------------
print "</td>" . NEWLINE; print "</tr>" . NEWLINE; print "<tr>" . NEWLINE; print "<td class='form-lbl-r'>" . lang_get('description') . "</td>" . NEWLINE; print "<td class='form-data-l'>" . NEWLINE; print "<textarea rows='4' cols='50' name='project_description' >" . session_validate_form_get_field('project_description') . "</textarea>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # Enabled $status_list_box = array("Y" => lang_get('project_enable'), "N" => lang_get('project_disable')); $status_list_box_selected = session_validate_form_get_field('project_status', 'Y'); print "<tr>" . NEWLINE; print "<td class='form-lbl-r'>" . lang_get('status') . "</td>" . NEWLINE; print "<td class='form-data-l'>" . NEWLINE; print "<select name='project_status' size=1>" . NEWLINE; html_print_list_box_from_key_array($status_list_box, $status_list_box_selected); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; /* # Req Doc Upload Path print"<tr>". NEWLINE; print"<td class='form-lbl-r'>". lang_get('req_upload_path') ."</td>". NEWLINE; print"<td class='form-data-l'>". NEWLINE; print"<input type='text' size='67' maxlenght='255' name='req_upload_path' value='" . session_validate_form_get_field ('req_upload_path', $default_req_upload_path) ."'>". NEWLINE; print"</td>". NEWLINE; print"</tr>". NEWLINE; # Test Doc Upload Path print"<tr>". NEWLINE; print"<td class='form-lbl-r'>". lang_get('test_upload_path') ."</td>". NEWLINE;