1<?php 2# --------------------------------------------------------------------- 3# rth is a requirement, test, and bugtracking system 4# Copyright (C) 2005 George Holbrook - rth@lists.sourceforge.net 5# This program is distributed under the terms and conditions of the GPL 6# See the README and LICENSE files for details 7#---------------------------------------------------------------------- 8# --------------------------------------------------------------------- 9# Test Set Copy Action Page 10# 11# $RCSfile: testset_copy_action.php,v $ $Revision: 1.1.1.1 $ 12# --------------------------------------------------------------------- 13 14include"./api/include_api.php"; 15auth_authenticate_user(); 16 17global $db; 18 19$copy_add_page = "testset_copy_add_page.php"; 20$send_to = ""; 21$redirect_page = 'testset_page.php'; 22$project_id = session_get_project_id(); 23$s_user_properties = session_get_user_properties(); 24$s_project_properties = session_get_project_properties(); 25$s_properties = session_get_properties( "release" ); 26 27session_records("testset_copy"); 28 29/* 30$new_testset_id = testset_add( session_validate_form_get_field('testset_name_required'), 31 session_validate_form_get_field('testset_description'), 32 $s_properties['build_id'], 33 "TESTSET COPY" ); 34*/ 35testset_edit_from_session( $s_properties['testset_id'], 36 TEST_TS_ASSOC_STATUS, 37 "testset_copy" ); 38 39html_print_operation_successful( "copy_testset", $redirect_page ); 40 41# --------------------------------------------------------------------- 42# $Log: testset_copy_action.php,v $ 43# Revision 1.1.1.1 2005/11/30 23:00:58 gth2 44# importing initial version - gth 45# 46# --------------------------------------------------------------------- 47 48?>