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;
    print "<br><br>" . NEWLINE;
}
html_print_footer();
# ---------------------------------------------------------------------
# $Log: testset_show_test_plan_history_page.php,v $
# Revision 1.3  2006/08/05 22:09:13  gth2
# adding NEWLINE constant to support multiple OS newline chars - gth
#
# Revision 1.2  2006/01/09 02:02:14  gth2
# fixing some defects found while writing help file
#
# Revision 1.1.1.1  2005/11/30 23:00:58  gth2
コード例 #2
0
            print "<td>";
            if (!empty($row_test_signoff[TEST_TS_ASSOC_STATUS])) {
                print $row_test_signoff[TEST_TS_ASSOC_STATUS];
            } else {
                print "Not Used";
            }
            print "</td>" . NEWLINE;
            if (isset($row_test_signoff[TEST_TS_ASSOC_STATUS])) {
                print results_verfication_status_icon($row_test_signoff[TEST_TS_ASSOC_STATUS]);
            } else {
                print "<td></td>";
            }
            print "<td>{$os}</td>" . NEWLINE;
            print "<td>";
            if (isset($row_test_signoff[TEST_TS_ASSOC_COMMENTS])) {
                print html_info_icon($row_test_signoff[TEST_TS_ASSOC_COMMENTS]);
            }
            print "</td>" . NEWLINE;
            print "<td>{$time_started}</td>" . NEWLINE;
            print "<td>";
            if (isset($row_test_signoff[TEST_TS_ASSOC_TIMESTAMP])) {
                print $row_test_signoff[TEST_TS_ASSOC_TIMESTAMP];
            }
            print "</td>" . NEWLINE;
            print "</tr>" . NEWLINE;
        }
        print "</table>" . NEWLINE;
        print "</form>";
        print "<br><br>" . NEWLINE;
    }
}