print "</tr>"; # TEST INPUTS $test_inputs = session_validate_form_get_field("step_test_inputs", "", session_use_FCKeditor()); print "<tr>"; print "<td class='form-lbl-r'>" . lang_get('test_inputs'); //<span class='required'>*</span></td>". NEWLINE; print "<td align=left>"; html_FCKeditor("step_test_inputs", 600, 200, $action); print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # EXPTECTED RESULT $expected_result = session_validate_form_get_field("step_expected_required", "", session_use_FCKeditor()); print "<tr>"; print "<td class='form-lbl-r'>" . lang_get('step_expected') . " <span class='required'>*</span></td>" . NEWLINE; print "<td align=left>"; html_FCKeditor("step_expected_required", 600, 200, $expected_result); print "</td>" . NEWLINE; print "</tr>" . NEWLINE; print "<tr>" . NEWLINE; print "<td><input type='hidden' name='test_id' value='{$test_id}'></td>" . NEWLINE; print "</tr>" . NEWLINE; util_add_spacer(); # SUBMIT BUTTON print "<tr>" . NEWLINE; print "<td colspan='3' class=center><input type='submit' value='" . lang_get('add_step') . "'></td>" . NEWLINE; print "</tr>" . NEWLINE; util_add_spacer(); print "</table>" . NEWLINE; print "</form>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE;
print "<td class=form-lbl-r nowrap>" . lang_get('req_detail') . " <span class='required'>*</span></td>" . NEWLINE; print "<td class=form-data-l>{$detail}</td>" . NEWLINE; /* print"<td class=form-data-l>"; html_FCKeditor("req_detail_required", 360, 100, $detail); print"</td>". NEWLINE; */ print "<input type='hidden' name='req_detail_required' value='{$detail}'>"; print "</tr>" . NEWLINE; } # REASON FOR CHANGE $reason_for_change = session_validate_form_get_field('req_reason_change', $req_reason_for_change, session_use_FCKeditor()); print "<tr>" . NEWLINE; print "<td class=form-lbl-r nowrap>" . lang_get('req_reason_change') . "</td>" . NEWLINE; print "<td class=form-data-l>"; html_FCKeditor("req_reason_change", 360, 100, $reason_for_change); print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # STATUS print "<tr>" . NEWLINE; print "<td class=form-lbl-r nowrap>" . lang_get('req_status') . "</td>" . NEWLINE; print "<td class=form-data-l>" . NEWLINE; print "<select name=req_status size=1>" . NEWLINE; $list_box = requirement_get_statuses(); html_print_list_box_from_array($list_box, session_validate_form_get_field('req_status', $req_version_status)); print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # PRIORITY print "<tr>" . NEWLINE; print "<td class=form-lbl-r nowrap>" . lang_get('req_priority') . "</td>" . NEWLINE;
print "</select>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # SUMMARY print "<tr>" . NEWLINE; print "<td class=form-lbl-r>" . lang_get('bug_summary') . "<span class='required'>*</span></td>"; print "<td class=form-data-l>" . NEWLINE; print "<input type=text size='100' maxlength='128' name=summary_required value='" . session_validate_form_get_field('summary_required') . "'>"; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # DESCRIPTION $description = session_validate_form_get_field('description_required', "", session_use_FCKeditor()); print "<tr>" . NEWLINE; print "<td class=form-lbl-r>" . lang_get('bug_description') . "<span class='required'>*</span></td>" . NEWLINE; print "<td class=form-data-l>" . NEWLINE; html_FCKeditor("description_required", 640, 240, $description); print "</td>" . NEWLINE; print "</tr>" . NEWLINE; util_add_spacer(); print "<tr><td class=center colspan=2><input type=submit name='save' value='Save'><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(); # ------------------------------------ # $Log: bug_add_page.php,v $ # Revision 1.3 2006/08/05 22:07:58 gth2 # adding NEWLINE constant to support multiple OS newline chars - gth
print "<td class=form-lbl-r nowrap>" . lang_get('req_reason_change') . "</td>" . NEWLINE; print "<td class=form-data-l><textarea rows='3' cols='45' name='req_reason_change'></textarea></td>" . NEWLINE; print "</tr>" . NEWLINE; if ($record_or_file == "F") { # FILE print "<tr>" . NEWLINE; print "<td class=form-lbl-r nowrap>" . lang_get('file_name') . " <span class='required'>*</span></td>" . NEWLINE; print "<td class=form-data-l><input type=file name=upload_file size=45></td>" . NEWLINE; print "</tr>" . NEWLINE; } else { # REQUIREMENT DETAIL print "<tr>" . NEWLINE; print "<td class=form-lbl-r nowrap>" . lang_get('detail') . " <span class='required'>*</span></td>" . NEWLINE; print "<td class=form-data-l>" . NEWLINE; //print"<textarea rows='5' cols='45' name='req_detail_required'>$req_detail</textarea></td>". NEWLINE; html_FCKeditor("req_detail_required", 600, 250, $req_detail); 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('add_new_version') . "'></td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>" . NEWLINE; print "</td>" . NEWLINE; print "</tr>" . NEWLINE; print "</table>" . NEWLINE; print "</form>" . NEWLINE;
print "<table class='inner'>" . NEWLINE; # FORM TITLE print "<tr>" . NEWLINE; print "<td colspan='2'><h4>" . lang_get('add_discussion') . "</h4></td>" . NEWLINE; print "</tr>" . NEWLINE; # SUBJECT print "<tr>" . NEWLINE; print "<td class='form-lbl-r'>" . lang_get('subject') . " <span class='required'>*</span></td>" . NEWLINE; print "<td class='form-data-l'><input type='text' maxlength='255' name='subject_required' size=60 value='" . session_validate_form_get_field("subject_required") . "'></td>" . NEWLINE; print "</tr>" . NEWLINE; # DESCRIPTION $add_discussion = session_validate_form_get_field("discussion", "", session_use_FCKeditor()); print "<tr>" . NEWLINE; print "<td class='form-lbl-r'>" . lang_get('discussion') . "</td>" . NEWLINE; print "<td class='form-data-l'>"; html_FCKeditor("discussion", 360, 200, $add_discussion); print "</td>"; print "</tr>" . NEWLINE; # SUBMIT BUTTON print "<tr>" . NEWLINE; print "<td colspan='2' class='form-data-c'><input type='submit' name=submit_add_discussion 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 "</div>"; break; # RELEASE ASSOC # RELEASE ASSOC
print "<br>" . NEWLINE; print "<span class='required'>*</span> <span class='print'>" . lang_get('must_complete_field') . "</span>" . NEWLINE; print "<table class=width60>" . NEWLINE; print "<tr>" . NEWLINE; print "<td>" . NEWLINE; print "<table class=inner>" . NEWLINE; print "<tr>" . NEWLINE; print "<td colspan=2><h4>" . lang_get('add_new_post') . "</h4></td>" . NEWLINE; print "</tr>" . NEWLINE; print "<tr>" . NEWLINE; print "<td class=center>" . NEWLINE; # MESSAGE print "<tr>" . NEWLINE; print "<td valign=top><span class='required'>*</span></td>" . NEWLINE; print "<td align=left>" . NEWLINE; html_FCKeditor("new_post_required", 600, 200); print "</td>" . NEWLINE; print "</tr>" . NEWLINE; # SUBMIT BUTTON print "<tr>" . NEWLINE; print "<td colspan=2 align=center><input type='submit' name='submit_add_post' value='" . lang_get('add') . "'></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(); # ---------------------------------------------------------------------
$row_style = ''; $project_properties = session_get_project_properties(); $project_name = $project_properties['project_name']; $project_id = $project_properties['project_id']; $test_detail_page = 'test_detail_page.php'; $req_detail_page = 'requirement_detail_page.php'; $results_page = 'results_page.php'; html_window_title(); html_print_body(); html_page_title($project_name . " - HOME"); html_page_header($db, $project_name); html_print_menu(); error_report_check($_GET); print "<div align=center>" . NEWLINE; print "<form action='sampleposteddata.php' method=post>"; html_FCKeditor("", "510", "150"); print "</form>"; print "</div>"; html_print_footer(); # ------------------------------------ # $Log: fck_page.php,v $ # Revision 1.3 2006/08/05 22:08:13 gth2 # adding NEWLINE constant to support multiple OS newline chars - gth # # Revision 1.2 2006/02/24 11:38:20 gth2 # update to div - class=div-c not working in firefox - gth # # Revision 1.1.1.1 2005/11/30 23:00:56 gth2 # importing initial version - gth # # ------------------------------------