1<?php
2# rth is a requirement, test, and bugtracking system
3# Copyright (C) 2005 George Holbrook - rth@lists.sourceforge.net
4# This program is distributed under the terms and conditions of the GPL
5# See the README and LICENSE files for details
6#----------------------------------------------------------------------
7# ------------------------------------
8# testset lock action
9#
10# $RCSfile: testset_lock_action.php,v $ $Revision: 1.1 $
11# ------------------------------------
12
13include"./api/include_api.php";
14auth_authenticate_user();
15
16
17$redirect_page		= 'results_page.php';
18$testset_id 		= util_clean_post_vars('testset_id');
19$build_id 			= util_clean_post_vars('build_id');
20$comments 			= util_clean_post_vars('lock_comment');
21
22$user_name 			= session_get_username();
23$date 				= date_get_short_dt();
24
25
26testset_update_testset_lock($testset_id, $build_id, $date, $user_name, $comments);
27
28html_print_operation_successful( "testset_lock_page", $redirect_page );
29
30
31# ------------------------------------
32# $Log: testset_lock_action.php,v $
33# Revision 1.1  2008/07/25 09:50:01  peter_thal
34# added lock testset feature
35# disabled detail column in test result, because functionality is not implemented yet
36#
37# ------------------------------------
38?>
39