util_set_order_by($order_by, $_GET); util_set_order_dir($order_dir, $_GET); util_set_page_number($page_number, $_GET); util_set_order_by($order_by, $_POST); util_set_order_dir($order_dir, $_POST); util_set_page_number($page_number, $_POST); html_window_title(); html_print_body(); html_page_title(project_get_name($selected_project_id) . " - " . lang_get('manage_project_page')); html_page_header($db, $project_name); html_print_menu(); admin_menu_print($page, $project_id, $user_id); html_project_manage_menu(); html_project_manage_tests_menu(); error_report_check($_GET); $project_details = project_get_details($selected_project_id); print "<div align=center>" . NEWLINE; print "<br>" . NEWLINE; if (!empty($project_details)) { $project_id = $project_details[PROJ_ID]; $project_name = $project_details[PROJ_NAME]; $project_status = $project_details[PROJ_STATUS]; $project_description = $project_details[PROJ_DESCRIPTION]; #################################################################################### # Test Doc Type # ---------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------- # Test Doc Type Form # ---------------------------------------------------------------------------------- if ($project_manager) { print "<form method=post action='project_add_testdoctype_action.php'>" . NEWLINE;
include "./api/include_api.php"; auth_authenticate_user(); $page = basename(__FILE__); $s_user_properties = session_get_user_properties(); $s_project_properties = session_get_project_properties(); $s_show_options = session_get_show_options(); $s_test_details = session_set_properties("test", $_GET); $s_user_id = $s_user_properties['user_id']; $s_username = $s_user_properties['username']; $s_tempest_admin = $s_user_properties['tempest_admin']; $s_project_rights = $s_user_properties['project_rights']; $s_delete_rights = $s_user_properties['delete_rights']; $s_email = $s_user_properties['email']; $project_name = $s_project_properties['project_name']; $project_id = $s_project_properties['project_id']; $project_details = project_get_details($project_id); $s_show_test_input = $project_details[PROJ_SHOW_TEST_INPUT]; $test_id = util_pad_id($s_test_details['test_id']); $test_version_id = $s_test_details['test_version_id']; $redirect_page = "test_detail_page.php?test_id={$test_id}&project_id={$project_id}&tab=1"; # Upload function if (IMPORT_EXPORT_TO_EXCEL) { test_import_excel($test_id, 'upload_file'); } else { test_import_csv($test_id, 'upload_file'); } html_print_operation_successful('test_import_csv_page', $redirect_page); # --------------------------------------------------------------------- # $Log: test_step_import_csv_action.php,v $ # Revision 1.4 2008/07/17 13:54:12 peter_thal # added new feature: test sets status (overview)