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# Project Edit Machine Action 10# 11# $RCSfile: project_edit_machine_action.php,v $ $Revision: 1.1.1.1 $ 12# ------------------------------------ 13 14include"./api/include_api.php"; 15auth_authenticate_user(); 16 17$redirect_page = 'project_manage_testmachines_page.php'; 18$edit_page = 'project_edit_machine_page.php'; 19$proj_properties = session_set_properties("project_manage", $_POST); 20 21session_validate_form_set($_POST, $edit_page); 22 23project_edit_machine( $_POST['project_id'], 24 $_POST['machine_id'], 25 session_validate_form_get_field('machine_name_required'), 26 session_validate_form_get_field('machine_ip_required'), 27 session_validate_form_get_field('machine_location_required') ); 28 29session_validate_form_reset(); 30 31 32html_print_operation_successful( "edit_machine_page", $redirect_page ); 33 34# ------------------------------------ 35# $Log: project_edit_machine_action.php,v $ 36# Revision 1.1.1.1 2005/11/30 23:00:57 gth2 37# importing initial version - gth 38# 39# ------------------------------------ 40?>