$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', $function_ids)); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # DOC TYPE print "<tr>" . NEWLINE; print "<td class=form-lbl-r nowrap>" . lang_get('req_type') . "</td>" . NEWLINE; print "<td class=form-data-l>" . NEWLINE; print "<select name=req_type size=1>" . NEWLINE; $list_box = array(); $rows = project_get_req_doc_types($project_id); foreach ($rows as $row) { $list_box[$row[REQ_DOC_TYPE_ID]] = $row[REQ_DOC_TYPE_NAME]; } $list_box[""] = ""; 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);
print "</table>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>" . NEWLINE; print "</form>" . NEWLINE; } # ---------------------------------------------------------------------------------- # Required Document Type Table # ---------------------------------------------------------------------------------- print "<br>" . NEWLINE; print "<form method=post action='{$page}?order_by={$order_by}&order_dir={$order_dir}'>" . NEWLINE; print "<input type=hidden name=table value=project_manage_req_doc_type>" . NEWLINE; print "<table class=hide70>" . NEWLINE; print "<tr>" . NEWLINE; print "<td>" . NEWLINE; $rows_req_doc_types = project_get_req_doc_types($selected_project_id, $order_by, $order_dir, $page_number); print "<input type=hidden name='order_dir' value='{$order_dir}'>"; print "<input type=hidden name='order_by' value='{$order_by}'>"; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>" . NEWLINE; print "</form>" . NEWLINE; if ($rows_req_doc_types) { print "<table class='width70' rules=cols>" . NEWLINE; print "<tr>" . NEWLINE; html_tbl_print_header(lang_get('req_doc_type'), REQ_DOC_TYPE_NAME, $order_by, $order_dir, "{$page}?page_number={$page_number}", $page_number); if ($project_manager) { html_tbl_print_header(lang_get('root_requirement')); html_tbl_print_header(lang_get('edit')); html_tbl_print_header(lang_get('delete')); }