本文整理汇总了PHP中html_tbl_print_header函数的典型用法代码示例。如果您正苦于以下问题:PHP html_tbl_print_header函数的具体用法?PHP html_tbl_print_header怎么用?PHP html_tbl_print_header使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了html_tbl_print_header函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: html_tbl_print_header
print "<table class=width100 rules=cols>" . NEWLINE;
print "<tr>" . NEWLINE;
html_tbl_print_header(lang_get('test_id'));
html_tbl_print_header(lang_get('test_name'));
html_tbl_print_header(lang_get('action_'));
html_tbl_print_header(lang_get('expected_'));
html_tbl_print_header(lang_get('actual_'));
html_tbl_print_header('');
html_tbl_print_header(lang_get('defect'));
html_tbl_print_header(lang_get('bug_status'));
html_tbl_print_header(lang_get('time_failed'));
html_tbl_print_header(lang_get('os'));
html_tbl_print_header(lang_get('window'));
html_tbl_print_header(lang_get('object'));
html_tbl_print_header(lang_get('policy_id'));
html_tbl_print_header(lang_get('claim_id'));
print "</tr>" . NEWLINE;
foreach ($rows_failed_verifications as $row_failed_verification) {
$row_style = html_tbl_alternate_bgcolor($row_style);
print "<tr class='{$row_style}'>" . NEWLINE;
print "<td><a href='{$show_verifications_page}?test_run_id=" . $row_failed_verification[VERIFY_RESULTS_TS_UNIQUE_RUN_ID] . "&release_id={$release_id}&build_id={$build_id}&testset_id={$testset_id}'>" . $row_failed_verification[VERIFY_RESULTS_TS_UNIQUE_RUN_ID] . "</a></td>" . NEWLINE;
print "<td>" . $row_failed_verification[TEST_RESULTS_TEST_SUITE] . "</td>" . NEWLINE;
print "<td>" . $row_failed_verification[VERIFY_RESULTS_ACTION] . "</td>" . NEWLINE;
print "<td>" . $row_failed_verification[VERIFY_RESULTS_EXPECTED_RESULT] . "</td>" . NEWLINE;
print "<td>" . $row_failed_verification[VERIFY_RESULTS_ACTUAL_RESULT] . "</td>" . NEWLINE;
print results_verfication_status_icon($row_failed_verification[VERIFY_RESULTS_TEST_STATUS]);
if ($row_failed_verification[VERIFY_RESULTS_DEFECT_ID] != 0) {
$defect_id = util_pad_id($row_failed_verification[VERIFY_RESULTS_DEFECT_ID]);
print "<td><a href='" . VIEW_BUG_URL . "?defect_id={$defect_id}&id={$defect_id}'>{$defect_id}</a></td>" . NEWLINE;
print "<td>" . bug_get_field_value($defect_id, BUG_STATUS) . "</td>" . NEWLINE;
} else {
示例2: html_tbl_print_header
$assigned_to = $row[TEST_ASSIGNED_TO];
$assigned_by = $row[TEST_ASSIGNED_BY];
$dateassigned = $row[TEST_DATE_ASSIGNED];
$dateexpcomplete = $row[TEST_DATE_EXPECTED];
$dateactcomplete = $row[TEST_DATE_COMPLETE];
$duration = $row[TEST_DURATION];
$test_status = $row[TEST_STATUS];
$signoff_by = $row[TEST_SIGNOFF_BY];
$signoff_date = $row[TEST_SIGNOFF_DATE];
$last_updated_date = $row[TEST_LAST_UPDATED];
$last_updated_by = $row[TEST_LAST_UPDATED_BY];
print "<br>" . NEWLINE;
print "<table class=width100 rules='cols' border='1'>" . NEWLINE;
print "<tr>" . NEWLINE;
html_tbl_print_header(lang_get('test_id'));
html_tbl_print_header(lang_get('test_name'));
print "</tr>" . NEWLINE;
print "<tr>" . NEWLINE;
print "<td><a href='{$test_detail_page}?test_id={$test_id}&project_id={$project_id}'>{$test_id}</a></td>" . NEWLINE;
print "<td>{$test_name}</td>" . NEWLINE;
print "</tr>" . NEWLINE;
print "</table>" . NEWLINE;
//print"<b>Import Test Steps for Test: $test_name</b>";
/*
if( IMPORT_EXPORT_TO_EXCEL ) {
print"<font color=red><br><br><b>Warning: Make sure the excel file is in the following format:</b></font>";
}
else {
print"<font color=red><br><br><b>Warning: Make sure the csv file is in the following format:</b></font>";
}
*/
示例3: html_tbl_print_header
$g_timer->mark_time("Finished load rows to display on page from db into memory");
if ($row) {
print "<div align=center>" . NEWLINE;
print "<table class=width100 rules=cols>" . NEWLINE;
print "<tr class=tbl_header>" . NEWLINE;
print "<th></th>" . NEWLINE;
print "<th></th>" . NEWLINE;
html_tbl_print_header(lang_get('bug_id'), BUG_ID, $order_by, $order_dir);
html_tbl_print_header(lang_get('bug_priority'), BUG_PRIORITY, $order_by, $order_dir);
html_tbl_print_header(lang_get('bug_status'), BUG_STATUS, $order_by, $order_dir);
html_tbl_print_header(lang_get('bug_category'), BUG_CATEGORY, $order_by, $order_dir);
html_tbl_print_header(lang_get('reported_by'), BUG_REPORTER, $order_by, $order_dir);
html_tbl_print_header(lang_get('assigned_to'), BUG_ASSIGNED_TO, $order_by, $order_dir);
#html_tbl_print_header( lang_get('found_in_release'), BUG_FOUND_IN_RELEASE, $order_by, $order_dir );
#html_tbl_print_header( lang_get('assigned_to_release'), BUG_ASSIGN_TO_RELEASE, $order_by, $order_dir );
html_tbl_print_header(lang_get('bug_summary'));
print "</tr>" . NEWLINE;
$g_timer->mark_time("Outputting main html table to browser");
$row_style = '';
foreach ($row as $row_bug_detail) {
$bug_id = $row_bug_detail[BUG_ID];
$priority = $row_bug_detail[BUG_PRIORITY];
$bug_status = $row_bug_detail[BUG_STATUS];
$category = $row_bug_detail[CATEGORY_NAME];
$component = $row_bug_detail[COMPONENT_NAME];
$reported_by = $row_bug_detail[BUG_REPORTER];
$reported_date = $row_bug_detail[BUG_REPORTED_DATE];
$assigned_to = $row_bug_detail[BUG_ASSIGNED_TO];
$found_in_release = $row_bug_detail[BUG_FOUND_IN_RELEASE];
$assign_to_release = $row_bug_detail[BUG_ASSIGN_TO_RELEASE];
$discovery_period = $row_bug_detail[BUG_DISCOVERY_PERIOD];
示例4: html_page_title
html_page_title($project_name . " - " . lang_get('release_page'));
html_page_header($db, $project_name);
html_print_menu();
html_release_map(array("release_link", "build_link", "<a href=testset_page.php>" . lang_get("testsets") . "</a>", lang_get('test_plan_history')));
$rows = testset_get_test_plan_log($_GET['test_plan_id']);
if (!empty($rows)) {
print "<br><br>";
print "<table class=width100 rules=cols>" . NEWLINE;
print "<tr>" . NEWLINE;
html_tbl_print_header(lang_get("file_name"));
html_tbl_print_header(lang_get("view"));
html_tbl_print_header(lang_get("download"));
html_tbl_print_header(lang_get("uploaded_by"));
html_tbl_print_header(lang_get("date_added"));
html_tbl_print_header(lang_get("version"));
html_tbl_print_header(lang_get("info"));
print "</tr>" . NEWLINE;
foreach ($rows as $row) {
$file_name = $s_project_properties['test_plan_upload_path'] . $row[TEST_PLAN_VERSION_FILENAME];
$row_style = html_tbl_alternate_bgcolor($row_style);
print "<tr class={$row_style}>" . NEWLINE;
print "<td>" . $row[TEST_PLAN_NAME] . "</td>" . NEWLINE;
print "<td><a href='{$file_name}' target='_blank'>" . lang_get('view') . "</a></td>" . NEWLINE;
print "<td><a href='download.php?upload_filename={$file_name}'>" . lang_get('download') . "</a></td>" . NEWLINE;
print "<td>" . $row[TEST_PLAN_VERSION_UPLOADEDBY] . "</td>" . NEWLINE;
print "<td>" . $row[TEST_PLAN_VERSION_UPLOADEDDATE] . "</td>" . NEWLINE;
print "<td>" . $row[TEST_PLAN_VERSION_VERSION] . "</td>" . NEWLINE;
print "<td>" . html_info_icon($row[TEST_PLAN_VERSION_COMMMENTS]) . "</td>" . NEWLINE;
print "</tr>" . NEWLINE;
}
print "</table>" . NEWLINE;
示例5: html_tbl_print_header
if ($rows_requirement) {
print "<div align=center>" . NEWLINE;
print "<table class=width100 rules=cols>" . NEWLINE;
# Table headers
print "<tr class=tbl_header>" . NEWLINE;
print "<th></th>";
html_tbl_print_header(lang_get('req_id'), REQ_ID, $order_by, $order_dir);
html_tbl_print_header("");
html_tbl_print_header(lang_get('req_name'), REQ_FILENAME, $order_by, $order_dir);
html_tbl_print_header(lang_get('req_detail'), REQ_VERS_DETAIL, $order_by, $order_dir);
html_tbl_print_header(lang_get('req_type'), REQ_DOC_TYPE_NAME, $order_by, $order_dir);
html_tbl_print_header(lang_get('status'), REQ_VERS_STATUS, $order_by, $order_dir);
html_tbl_print_header(lang_get('req_area'), REQ_AREA_COVERAGE, $order_by, $order_dir);
html_tbl_print_header(lang_get('functionality'));
html_tbl_print_header(lang_get('req_locked_by'), REQ_LOCKED_BY, $order_by, $order_dir);
html_tbl_print_header(lang_get('req_locked_date'), REQ_LOCKED_DATE, $order_by, $order_dir);
print "</tr>" . NEWLINE;
foreach ($rows_requirement as $row_requirement) {
$req_id = $row_requirement[REQ_ID];
$req_version_id = $row_requirement[REQ_VERS_UNIQUE_ID];
if (session_records_ischecked("requirement_requirement_assoc", $req_id)) {
$checked = "checked";
} else {
$checked = "";
}
# Build list of records
if (empty($records)) {
$records = $req_id . " => ''";
} else {
$records .= ", " . $req_id . " => ''";
}
示例6: html_page_title
html_page_title($project_name . " - " . lang_get('report_area_tested_page'));
html_page_header($db, $project_name);
html_print_menu();
html_browse_release_menu($db, $page, $project_id);
print "<br>";
error_report_check($_GET);
global $db;
print "<div align=center>";
if (isset($testset_id) && $testset_id != 'all') {
print "<form method=post action='{$page}?_release_id={$release_id}&_build_id={$build_id}&_testset_id={$testset_id}'>";
print "<table class=width80 rules=cols>" . NEWLINE;
print "<tr>" . NEWLINE;
html_tbl_print_header(lang_get('area_tested'), AREA_TESTED_NAME, $order_by, $order_dir);
html_tbl_print_header(lang_get('num_of_tests_for_area'));
html_tbl_print_header(lang_get('num_of_tests_used'));
html_tbl_print_header(lang_get('percentage_of_area_tests'));
print "</tr>" . NEWLINE;
foreach (project_get_areas_tested($project_id, $order_by, $order_dir) as $row_area_tested) {
$row_style = html_tbl_alternate_bgcolor($row_style);
$area_tested = $row_area_tested[AREA_TESTED_NAME];
$tests_for_area = report_get_num_tests_in_area($project_id, $area_tested);
$tests_used = report_get_num_area_tested_in_testset($project_id, $_GET['_testset_id'], $area_tested);
if ($tests_for_area != 0) {
$percentage_tests_used = sprintf("%01.2f", $tests_used / $tests_for_area * 100);
} else {
$percentage_tests_used = "0.00";
}
print "<tr class='{$row_style}'>" . NEWLINE;
print "<td>{$area_tested}</td>" . NEWLINE;
print "<td>{$tests_for_area}</td>" . NEWLINE;
print "<td>{$tests_used}</td>" . NEWLINE;
示例7: html_tbl_print_header
print"</tr>". NEWLINE;
print"</table>". NEWLINE;
*/
if (!empty($rows)) {
print "<br><br>";
print "<table class=width100 rules=cols>" . NEWLINE;
print "<tr>" . NEWLINE;
html_tbl_print_header(lang_get("version"));
html_tbl_print_header(lang_get("status"));
html_tbl_print_header(lang_get("author"));
html_tbl_print_header(lang_get("created"));
html_tbl_print_header(lang_get("req_assign_release"));
html_tbl_print_header(lang_get("assigned_to"));
html_tbl_print_header(lang_get("req_reason_change"));
html_tbl_print_header(lang_get("view"));
print "</tr>" . NEWLINE;
foreach ($rows as $row) {
$req_version_id = $row[REQ_VERS_UNIQUE_ID];
$req_version = $row[REQ_VERS_VERSION];
$req_status = $row[REQ_VERS_STATUS];
$author = $row[REQ_VERS_AUTHOR];
$timestamp = $row[REQ_VERS_TIMESTAMP];
$assigned_to = $row[REQ_VERS_ASSIGNED_TO];
$reason_for_change = $row[REQ_VERS_REASON_CHANGE];
$row_style = html_tbl_alternate_bgcolor($row_style);
$file_name = "";
print "<tr class={$row_style}>" . NEWLINE;
print "<td align='center'>{$req_version}</td>" . NEWLINE;
print "<td align='center'>{$req_status}</td>" . NEWLINE;
print "<td align='center'>{$author}</td>" . NEWLINE;
示例8: html_tbl_print_header
$table_body .= "<td>$count_percent_cov%</td>". NEWLINE;
$table_body .= "</tr>". NEWLINE;
*/
$table_body .= "</tbody>" . NEWLINE;
}
print "<div align=center>";
print "<br>" . NEWLINE;
print "<table class=width90 rules=cols>" . NEWLINE;
print "<thead>" . NEWLINE;
print "<tr>" . NEWLINE;
html_tbl_print_header("a");
html_tbl_print_header("b");
html_tbl_print_header("c");
html_tbl_print_header("d");
html_tbl_print_header("e");
print "</tr>" . NEWLINE;
print "</thead>" . NEWLINE;
print $table_body;
print "</table>" . NEWLINE;
print "</div>";
html_print_footer();
# ---------------------------------------------------------------------
# $Log: requirement_tests_assoc_report_page.php,v $
# Revision 1.3 2006/08/05 22:08:51 gth2
# adding NEWLINE constant to support multiple OS newline chars - gth
#
# Revision 1.2 2006/02/24 11:35:34 gth2
# update to div - class=div-c not working in firefox - gth
#
# Revision 1.1.1.1 2005/11/30 23:00:58 gth2
示例9: requirement_get
$g_timer->mark_time("Get requirements");
$rows_requirement = requirement_get($project_id, $page_number, $order_by, $order_dir, $filter_doc_type, $filter_status, $filter_area_covered, $filter_functionality, $filter_assign_release, $filter_show_versions, 0, $filter_search, $filter_priority, "");
$g_timer->mark_time("Finished get requirements");
################################################################################
# Traceability Matrix
################################################################################
if ($rows_requirement) {
print "<div align=center>" . NEWLINE;
print "<table class=width100 rules=all>" . NEWLINE;
# Table headers
print "<tr class=tbl_header>" . NEWLINE;
html_tbl_print_header(lang_get('req_id'));
html_tbl_print_header(lang_get('req_name'));
html_tbl_print_header(lang_get('req_doc_type'));
html_tbl_print_header(lang_get('test_id'));
html_tbl_print_header(lang_get('percent_covered'));
print "</tr>" . NEWLINE;
# Variables for summary statistics
$req_count = 0;
$total_coverage = 0;
foreach ($rows_requirement as $row_requirement) {
$req_count += 1;
$req_id = util_pad_id($row_requirement[REQ_ID]);
$req_name = $row_requirement[REQ_FILENAME];
$req_version_id = $row_requirement[REQ_VERS_UNIQUE_ID];
$req_doc_type = $row_requirement[REQ_DOC_TYPE_NAME];
# Set the row's background color to something special if the requirement
# has no test cases associated with it (a bad thing).
$req_test_relationships = requirement_get_test_relationships($req_id);
if (empty($req_test_relationships)) {
$row_style = ROW2_STYLE;
示例10: test_filter_rows
$row = test_filter_rows($project_id, $filter_manual_auto, $filter_ba_owner, $filter_qa_owner, $filter_tester, $filter_test_type, $filter_area_tested, $filter_test_status, $filter_test_priority, $filter_per_page, $filter_test_search, $order_by, $order_dir, $page_number);
if ($row) {
print "<div align=center>" . NEWLINE;
print "<table class=width100 rules=cols>" . NEWLINE;
print "<tr class=tbl_header>" . NEWLINE;
print "<th></th>" . NEWLINE;
html_tbl_print_header(lang_get('percent_covered_test'));
html_tbl_print_header(lang_get('test_id'), TEST_ID, $order_by, $order_dir);
html_tbl_print_header(lang_get('man_auto'));
html_tbl_print_header(lang_get('test_name'), TEST_NAME, $order_by, $order_dir);
html_tbl_print_header(lang_get('ba_owner'), TEST_BA_OWNER, $order_by, $order_dir);
html_tbl_print_header(lang_get('qa_owner'), TEST_QA_OWNER, $order_by, $order_dir);
html_tbl_print_header(lang_get('tester'), TEST_TESTER, $order_by, $order_dir);
html_tbl_print_header(lang_get('testtype'), TEST_TESTTYPE, $order_by, $order_dir);
html_tbl_print_header(lang_get('area_tested'), TEST_AREA_TESTED, $order_by, $order_dir);
html_tbl_print_header(lang_get('priority'), TEST_PRIORITY, $order_by, $order_dir);
print "</tr>" . NEWLINE;
$row_style = '';
foreach ($row as $row_test_detail) {
$test_id = $row_test_detail[TEST_ID];
$test_name = $row_test_detail[TEST_NAME];
$ba_owner = $row_test_detail[TEST_BA_OWNER];
$qa_owner = $row_test_detail[TEST_QA_OWNER];
$tester = $row_test_detail[TEST_TESTER];
$test_type = $row_test_detail[TEST_TESTTYPE];
$manual = $row_test_detail[TEST_MANUAL];
$automated = $row_test_detail[TEST_AUTOMATED];
$area_tested = $row_test_detail[TEST_AREA_TESTED];
$priority = $row_test_detail[TEST_PRIORITY];
$autopass = $row_test_detail[TEST_AUTO_PASS];
# Name of the % covered text input
示例11: html_tbl_print_header
html_tbl_print_header(lang_get('testset_name'));
html_tbl_print_header(lang_get('date_created'));
html_tbl_print_header(lang_get('description'));
html_tbl_print_header(lang_get('status'));
# page not implemented yet, column disabled!
#html_tbl_print_header( lang_get('detail') );
html_tbl_print_header(lang_get('locked_by'));
html_tbl_print_header(lang_get('lock_date'));
html_tbl_print_header(lang_get('lock_comment'));
if ($user_is_manager) {
html_tbl_print_header(lang_get('lock'));
}
html_tbl_print_header(lang_get('signed_off_by'));
html_tbl_print_header(lang_get('sign_off_date'));
html_tbl_print_header(lang_get('comments'));
html_tbl_print_header(lang_get('sign_off'));
print "</tr>" . NEWLINE;
while ($row = db_fetch_row($db, $rs)) {
$testset_id = $row[TS_ID];
$testset_name = $row[TS_NAME];
$testset_date_created = $row[TS_DATE_CREATED];
$testset_description = $row[TS_DESCRIPTION];
$testset_status = $row[TS_STATUS];
$testset_signoff_date = $row[TS_SIGNOFF_DATE];
$testset_signoff_by = $row[TS_SIGNOFF_BY];
$testset_comments = $row[TS_SIGNOFF_COMMENTS];
$testset_orderby = $row[TS_ORDERBY];
$testset_lockcomment = $row[TS_LOCK_COMMENT];
$testset_lock_by = $row[TS_LOCK_BY];
$testset_lock_date = $row[TS_LOCKCHANGE_DATE];
$locked = testset_get_lock_status($testset_id);
示例12: project_get_test_types
print "<input type=hidden name=table value=project_manage_testtype>" . NEWLINE;
print "<table class=hide70>" . NEWLINE;
print "<tr>" . NEWLINE;
print "<td>" . NEWLINE;
$rows_testtypes = project_get_test_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_testtypes) {
print "<table id='sortabletable' class='sortable' rules='cols'>" . NEWLINE;
print "<thead>" . NEWLINE;
print "<tr>" . NEWLINE;
html_tbl_print_header(lang_get('testtype'));
if ($project_manager) {
html_tbl_print_header_not_sortable(lang_get('edit'));
html_tbl_print_header_not_sortable(lang_get('delete'));
}
print "\n</tr>" . NEWLINE;
print "</thead>" . NEWLINE;
print "<tbody>" . NEWLINE;
foreach ($rows_testtypes as $row_testtype) {
$id = $row_testtype[TEST_TYPE_ID];
$name = $row_testtype[TEST_TYPE_TYPE];
#$row_style = html_tbl_alternate_bgcolor($row_style);
#print"<tr class='$row_style'>". NEWLINE;
print "<tr>" . NEWLINE;
print "<td>{$name}</td>" . NEWLINE;
if ($project_manager) {
示例13: test_get_test_steps
$rows_test_steps = test_get_test_steps( $test_id, $s_page_number );
print"</td>". NEWLINE;
print"</tr>". NEWLINE;
print"</table>". NEWLINE;
//print"</form>". NEWLINE; */
$rows_test_steps = results_get_verify_results_detail($test_run_id);
$num_test_steps = sizeof($rows_test_steps);
if ($num_test_steps != '0') {
# Display test steps if they exist
print "<table class='width100' rules='cols'>" . NEWLINE;
print "<tr class='tbl_header'>" . NEWLINE;
html_tbl_print_header(lang_get('step_no'));
html_tbl_print_header(lang_get('step_action'));
html_tbl_print_header(lang_get('step_expected'));
html_tbl_print_header(lang_get('actual_result'));
html_tbl_print_header(lang_get('pass_fail'));
print "</tr>" . NEWLINE;
$i = 0;
$row_style = '';
foreach ($rows_test_steps as $row_test_step) {
$verify_results_id = $row_test_step[VERIFY_RESULTS_ID];
$step_number = $row_test_step[VERIFY_RESULTS_VAL_ID];
$step_action = $row_test_step[VERIFY_RESULTS_ACTION];
//$step_input = $row_test_step[VERIFY_RESULT_TEST_INPUTS];
$step_expected = $row_test_step[VERIFY_RESULTS_EXPECTED_RESULT];
$step_actual = $row_test_step[VERIFY_RESULTS_ACTUAL_RESULT];
$test_status = $row_test_step[VERIFY_RESULTS_TEST_STATUS];
$row_style = html_tbl_alternate_bgcolor($row_style);
print "<tr class='{$row_style}'>" . NEWLINE;
print "<td class='tbl-c' valign=top>{$step_number}</TD>" . NEWLINE;
print "<td class='tbl-l' valign=top>{$step_action}</TD>" . NEWLINE;
示例14: requirement_get_assoc_releases
print "</table>" . NEWLINE;
print "</div>";
break;
# RELEASE ASSOC
# RELEASE ASSOC
case 4:
print "<table cellpadding=4 width='100%'>" . NEWLINE;
print "<tr>" . NEWLINE;
print "<td>" . NEWLINE;
$req_rel_relationships = requirement_get_assoc_releases($s_req_version_id);
if (!empty($req_rel_relationships)) {
print "<table rules=cols class=width100>" . NEWLINE;
print "<tr>" . NEWLINE;
html_tbl_print_header(" " . lang_get('release_name') . " ");
if ($user_has_delete_rights) {
html_tbl_print_header(" " . lang_get('delete') . " ");
}
print "</tr>" . NEWLINE;
foreach ($req_rel_relationships as $row_req_rel_rels) {
$release_name = $row_req_rel_rels[RELEASE_NAME];
$assoc_id = $row_req_rel_rels[REQ_VERS_ASSOC_REL_ID];
$row_style = html_tbl_alternate_bgcolor($row_style);
print "<tr class='{$row_style}'>" . NEWLINE;
print "<td nowrap>{$release_name}</td>" . NEWLINE;
if ($user_has_delete_rights) {
print "<td nowrap><a href='requirement_delete_assoc_action.php?assoc=release&assoc_id={$assoc_id}'>" . lang_get('delete') . "</a></td>" . NEWLINE;
}
print "</tr>" . NEWLINE;
}
print "</table>" . NEWLINE;
} else {
示例15: lang_get
#html_tbl_print_header( lang_get('ba_owner'), TEST_BA_OWNER, $order_by, $order_dir );
#html_tbl_print_header( lang_get('qa_owner'), TEST_QA_OWNER, $order_by, $order_dir );
#html_tbl_print_header( lang_get('tester'), TEST_TESTER, $order_by, $order_dir );
#html_tbl_print_header( lang_get('testtype'), TEST_TESTTYPE, $order_by, $order_dir );
#html_tbl_print_header( lang_get('area_tested'), TEST_AREA_TESTED, $order_by, $order_dir );
#html_tbl_print_header( lang_get('priority'), TEST_PRIORITY, $order_by, $order_dir );
html_tbl_print_header(lang_get('test_id'));
html_tbl_print_header(lang_get('man_auto'));
html_tbl_print_header(lang_get('autopass'));
html_tbl_print_header(lang_get('test_name'));
html_tbl_print_header(lang_get('ba_owner'));
html_tbl_print_header(lang_get('qa_owner'));
html_tbl_print_header(lang_get('tester'));
html_tbl_print_header(lang_get('testtype'));
html_tbl_print_header(lang_get('area_tested'));
html_tbl_print_header(lang_get('priority'));
print "</tr>" . NEWLINE;
print "</thead>" . NEWLINE;
print "<tbody>" . NEWLINE;
foreach ($row as $row_test_detail) {
$test_id = $row_test_detail[TEST_ID];
$test_name = $row_test_detail[TEST_NAME];
$ba_owner = $row_test_detail[TEST_BA_OWNER];
$qa_owner = $row_test_detail[TEST_QA_OWNER];
$tester = $row_test_detail[TEST_TESTER];
$test_type = $row_test_detail[TEST_TESTTYPE];
$manual = $row_test_detail[TEST_MANUAL];
$automated = $row_test_detail[TEST_AUTOMATED];
$area_tested = $row_test_detail[TEST_AREA_TESTED];
$autopass = $row_test_detail[TEST_AUTO_PASS];
$priority = $row_test_detail[TEST_PRIORITY];