本文整理汇总了PHP中session_validate_form_get_field函数的典型用法代码示例。如果您正苦于以下问题:PHP session_validate_form_get_field函数的具体用法?PHP session_validate_form_get_field怎么用?PHP session_validate_form_get_field使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了session_validate_form_get_field函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Copyright
<?php
# ---------------------------------------------------------------------
# rth is a requirement, test, and bugtracking system
# Copyright (C) 2005 George Holbrook - rth@lists.sourceforge.net
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
#----------------------------------------------------------------------
# ------------------------------------
# Project Add Req Area Covered Action
#
# $RCSfile: project_add_reqareacovered_action.php,v $ $Revision: 1.1.1.1 $
# ------------------------------------
include "./api/include_api.php";
auth_authenticate_user();
$project_id = session_get_project_id();
$redirect_page = 'project_manage_reqareacovered_page.php';
$proj_properties = session_get_properties("project_manage");
session_validate_form_set($_POST, $redirect_page);
if (project_req_area_covered_exists($proj_properties['project_id'], session_validate_form_get_field('req_area_covered_required'))) {
error_report_show($redirect_page, DUPLICATE_AREANAME);
}
project_add_req_area_covered($proj_properties['project_id'], session_validate_form_get_field('req_area_covered_required'));
session_validate_form_reset();
html_print_operation_successful("add_req_area_covered_page", $redirect_page);
# ------------------------------------
# $Log: project_add_reqareacovered_action.php,v $
# Revision 1.1.1.1 2005/11/30 23:00:57 gth2
# importing initial version - gth
#
# ------------------------------------
示例2: auth_authenticate_user
auth_authenticate_user();
$page = basename(__FILE__);
$s_test_details = session_get_properties("test");
$project_prop = session_get_project_properties();
$test_id = $s_test_details['test_id'];
$project_id = $project_prop['project_id'];
$redirect_page = "test_detail_page.php?test_id={$test_id}&project_id={$project_id}&tab=2";
$redirect_on_error = "test_detail_page.php?test_id={$test_id}&project_id={$project_id}&tab=2";
session_validate_form_set($_POST, $redirect_page);
$project_properties = session_get_project_properties();
$upload_path = $project_properties['test_upload_path'];
$s_user = session_get_user_properties();
$username = $s_user['username'];
$test_name = test_get_name($test_id);
$comments = session_validate_form_get_field('comments');
$doc_type = session_validate_form_get_field('doc_type');
$upload_file_name = $_FILES['uploadfile']['name'];
$_FILES['uploadfile']['name'] = str_replace(" ", "_", $upload_file_name);
# ------------------------------------------------
# FILE UPLOAD
# ------------------------------------------------
if ($_FILES['uploadfile']['size'] != '0' && is_uploaded_file($_FILES['uploadfile']['tmp_name'])) {
file_add_supporting_test_doc($_FILES['uploadfile']['tmp_name'], $_FILES['uploadfile']['name'], $test_id, $comments, $doc_type);
} else {
error_report_show($redirect_on_error, NO_FILE_SPECIFIED);
}
html_print_operation_successful('file_upload_page', $redirect_page);
# ---------------------------------------------------------------------
# $Log: test_detail_new_upload_action.php,v $
# Revision 1.8 2008/08/07 10:57:51 peter_thal
# Now blanks are replaced with underscores by adding a new supporting doc
示例3: lang_get
# ----------------------------------------------------------------------------------
# Test Doc Type Form
# ----------------------------------------------------------------------------------
if ($project_manager) {
print "<form method=post action='project_add_testdoctype_action.php'>" . NEWLINE;
print "<span class='required'>*</span><span class='print'>" . lang_get('must_complete_field') . "</span>" . NEWLINE;
print "<table class='width70'>" . NEWLINE;
print "<tr>" . NEWLINE;
print "<td>" . NEWLINE;
print "<table class=inner>" . NEWLINE;
print "<tr>" . NEWLINE;
print "<td class=form-header-l>" . lang_get('add_test_doc_type') . "</td>" . NEWLINE;
print "</tr>" . NEWLINE;
print "<tr>" . NEWLINE;
print "<td class='form-lbl-c'>" . lang_get('test_doc_type') . " <span class='required'>*</span>" . NEWLINE;
print "<input type=text size=60 maxlength=50 name='test_doc_type_required' value='" . session_validate_form_get_field('test_doc_type_required') . "'>" . NEWLINE;
print " <input type=submit name='new_area_tested' value='" . lang_get("add") . "'>";
print "</td>" . NEWLINE;
print "</tr>" . NEWLINE;
print "</table>" . NEWLINE;
print "</td>" . NEWLINE;
print "</tr>" . NEWLINE;
print "</table>" . NEWLINE;
print "</form>" . NEWLINE;
}
# ----------------------------------------------------------------------------------
# Test Doc Type Table
# ----------------------------------------------------------------------------------
print "<br>" . NEWLINE;
print "<form method=post action='{$page}?order_by={$order_by}&order_dir={$order_dir}'>" . NEWLINE;
print "<input type=hidden name=table value=project_manage_test_doc_type>" . NEWLINE;
示例4: project_get_bug_component
$row = project_get_bug_component($selected_project_id, $bug_component_id);
$component = $row[COMPONENT_NAME];
print "<form method=post action='project_edit_bug_component_action.php'>" . NEWLINE;
print "<input type=hidden name=project_id value={$selected_project_id}>" . NEWLINE;
print "<input type=hidden name=bug_component_id value={$bug_component_id}>";
print "<span class='required'>*</span><span class='print'>" . lang_get('must_complete_field') . "</span>" . NEWLINE;
print "<table class='width70'>" . NEWLINE;
print "<tr>" . NEWLINE;
print "<td>" . NEWLINE;
print "<table class=inner>" . NEWLINE;
print "<tr>" . NEWLINE;
print "<td class=form-header-l>" . lang_get('edit_bug_component') . "</td>" . NEWLINE;
print "</tr>" . NEWLINE;
print "<tr>" . NEWLINE;
print "<td class='form-lbl-c'>" . lang_get('bug_component') . "<span class='required'>*</span>" . NEWLINE;
print "<input type=text size=60 maxlength=64 name='bug_component_required' value='" . session_validate_form_get_field('bug_component_required', $component) . "'>" . NEWLINE;
print " <input type=submit value='" . lang_get("save") . "'>" . NEWLINE;
print "</td>" . NEWLINE;
print "</tr>" . NEWLINE;
print "</table>" . NEWLINE;
print "</td>" . NEWLINE;
print "</tr>" . NEWLINE;
print "</table>" . NEWLINE;
print "</form>" . NEWLINE;
print "</div>" . NEWLINE;
html_print_footer();
# ------------------------------------
# $Log: project_edit_bug_component_page.php,v $
# Revision 1.3 2006/08/05 22:08:24 gth2
# adding NEWLINE constant to support multiple OS newline chars - gth
#
示例5: project_get_test_type
# Edit Area Tested
$row = project_get_test_type($selected_project_id, $test_type_id);
print "<form method=post action='project_edit_testtype_action.php'>" . NEWLINE;
print "\t<input type=hidden name=project_id value={$selected_project_id}>";
print "\t<input type=hidden name=test_type_id value={$test_type_id}>";
print "\t<span class='required'>*</span><span class='print'>" . lang_get('must_complete_field') . "</span>" . NEWLINE;
print "\t<table class='width70'>" . NEWLINE;
print "\t<tr>" . NEWLINE;
print "\t\t<td>" . NEWLINE;
print "\t\t<table class=inner>" . NEWLINE;
print "\t\t<tr>" . NEWLINE;
print "\t\t\t<td class=form-header-l>" . lang_get('testtype') . "</td>" . NEWLINE;
print "\t\t</tr>" . NEWLINE;
print "\t\t<tr>" . NEWLINE;
print "\t\t\t<td class='form-lbl-c'><span class='required'>*</span>" . NEWLINE;
print "\t\t\t<input type=text size=60 maxlength=50 name='testtype_required' value='" . session_validate_form_get_field('testtype_required', $row[TEST_TYPE_TYPE]) . "'>" . NEWLINE;
print "\t\t\t <input type=submit name='new_area_tested' value='" . lang_get("save") . "'>";
print "\t\t\t</td>" . NEWLINE;
print "\t\t</tr>" . NEWLINE;
print "\t\t</table>" . NEWLINE;
print "\t\t</td>" . NEWLINE;
print "\t</tr>" . NEWLINE;
print "\t</table>" . NEWLINE;
print "</form>" . NEWLINE;
print "</div>";
html_print_footer();
# ------------------------------------
# $Log: project_edit_testtype_page.php,v $
# Revision 1.3 2006/08/05 22:08:24 gth2
# adding NEWLINE constant to support multiple OS newline chars - gth
#
示例6: Copyright
<?php
# ---------------------------------------------------------------------
# rth is a requirement, test, and bugtracking system
# Copyright (C) 2005 George Holbrook - rth@lists.sourceforge.net
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
#----------------------------------------------------------------------
# ------------------------------------
# Project Edit Machine Action
#
# $RCSfile: project_edit_machine_action.php,v $ $Revision: 1.1.1.1 $
# ------------------------------------
include "./api/include_api.php";
auth_authenticate_user();
$redirect_page = 'project_manage_testmachines_page.php';
$edit_page = 'project_edit_machine_page.php';
$proj_properties = session_set_properties("project_manage", $_POST);
session_validate_form_set($_POST, $edit_page);
project_edit_machine($_POST['project_id'], $_POST['machine_id'], session_validate_form_get_field('machine_name_required'), session_validate_form_get_field('machine_ip_required'), session_validate_form_get_field('machine_location_required'));
session_validate_form_reset();
html_print_operation_successful("edit_machine_page", $redirect_page);
# ------------------------------------
# $Log: project_edit_machine_action.php,v $
# Revision 1.1.1.1 2005/11/30 23:00:57 gth2
# importing initial version - gth
#
# ------------------------------------
示例7: project_get_req_doc_type
# Edit Area Tested
$row = project_get_req_doc_type($selected_project_id, $req_doc_type_id);
print "<form method=post action='project_edit_reqdoctype_action.php'>" . NEWLINE;
print "<input type=hidden name=project_id value={$selected_project_id}>" . NEWLINE;
print "<input type=hidden name=req_doc_type_id value={$req_doc_type_id}>" . NEWLINE;
print "<span class='required'>*</span><span class='print'>" . lang_get('must_complete_field') . "</span>" . NEWLINE;
print "<table class='width70'>" . NEWLINE;
print "<tr>" . NEWLINE;
print "<td>" . NEWLINE;
print "<table class=inner>" . NEWLINE;
print "<tr>" . NEWLINE;
print "<td class=form-header-l>" . lang_get('req_doc_type') . "</td>" . NEWLINE;
print "</tr>" . NEWLINE;
print "<tr>" . NEWLINE;
print "<td class='form-lbl-c'><span class='required'>*</span>" . NEWLINE;
print "<input type=text size=60 maxlength=50 name='req_doc_type_required' value='" . session_validate_form_get_field('req_doc_type_required', $row[REQ_DOC_TYPE_NAME]) . "'>" . NEWLINE;
print " <input type=submit name='new_area_tested' value='" . lang_get("save") . "'>";
print "</td>" . NEWLINE;
print "</tr>" . NEWLINE;
print "</table>" . NEWLINE;
print "</td>" . NEWLINE;
print "</tr>" . NEWLINE;
print "</table>" . NEWLINE;
print "</form>" . NEWLINE;
print "</div>" . NEWLINE;
html_print_footer();
# ------------------------------------
# $Log: project_edit_reqdoctype_page.php,v $
# Revision 1.3 2006/08/05 22:08:24 gth2
# adding NEWLINE constant to support multiple OS newline chars - gth
#
示例8: session_validate_form_get_field
$dateexpcomplete = session_validate_form_get_field('dateexpcomplete');
$dateactcomplete = session_validate_form_get_field('dateactcomplete');
//$datebasignoff = session_validate_form_get_field('datebasignoff');
//$signoff_by = session_validate_form_get_field('signoff_by');
$autopass = session_validate_form_get_field('chk_autopass');
#is not needed from now on, because of new field "chk_automanu",which validates if step XOR auto is set to YES
//$steps = session_validate_form_get_field('chk_steps');
//$auto = session_validate_form_get_field('chk_auto');
$performance = session_validate_form_get_field('chk_performance');
$email = session_validate_form_get_field('email');
$duration = session_validate_form_get_field('test_duration');
$email_ba_owner = session_validate_form_get_field('chk_email_ba_owner');
$email_qa_owner = session_validate_form_get_field('chk_email_qa_owner');
$current_status = session_validate_form_get_field('current_test_status');
$send_email = false;
$automanu = session_validate_form_get_field('chk_automanu');
$steps = '';
$auto = '';
if (!util_date_isvalid($dateassigned) || !util_date_isvalid($dateexpcomplete) || !util_date_isvalid($dateactcomplete)) {
error_report_show("test_detail_update_page.php", INVALID_DATE);
}
if (test_name_exists_with_id($project_id, $testname, $test_id)) {
error_report_show("test_detail_update_page.php", DUPLICATE_TESTNAME);
}
// set value of $steps XOR $auto to YES
if ($automanu == 'man') {
$steps = 'YES';
} else {
if ($automanu == 'auto') {
$auto = 'YES';
}
示例9: test_edit_assoc_requirements
function test_edit_assoc_requirements($test_id, $session_records_name, $pc_covered_text_input_name)
{
global $db;
$tbl_req = REQ_TBL;
$f_req_proj_id = $tbl_req . "." . REQ_PROJECT_ID;
$f_req_id = $tbl_req . "." . REQ_ID;
$f_req_filename = $tbl_req . "." . REQ_FILENAME;
$tbl_test_req_assoc = TEST_REQ_ASSOC_TBL;
$f_test_req_assoc_req_id = $tbl_test_req_assoc . "." . TEST_REQ_ASSOC_REQ_ID;
$f_test_req_assoc_test_id = $tbl_test_req_assoc . "." . TEST_REQ_ASSOC_TEMPEST_TEST_ID;
$f_test_req_assoc_covered = $tbl_test_req_assoc . "." . TEST_REQ_ASSOC_PERCENT_COVERED;
$tbl_test = TEST_TBL;
$f_test_name = $tbl_test . "." . TEST_NAME;
$f_test_id = $tbl_test . "." . TEST_ID;
$s_project_properties = session_get_project_properties();
$project_id = $s_project_properties['project_id'];
$req_ids = requirement_get_all_ids($project_id);
foreach ($req_ids as $row) {
$req_id = $row[REQ_ID];
$q = "\tSELECT {$f_test_req_assoc_req_id}\n\t\t\t\tFROM {$tbl_test_req_assoc}\n\t\t\t\tWHERE {$f_test_req_assoc_req_id} = {$req_id}\n\t\t\t\t\tAND\t{$f_test_req_assoc_test_id} = {$test_id}";
$rs = db_query($db, $q);
$record_exists = db_num_rows($db, $rs);
if (session_records_ischecked($session_records_name, $req_id)) {
$pc_covered = session_validate_form_get_field($pc_covered_text_input_name . $req_id);
if ($pc_covered == '') {
$pc_covered = 0;
}
//print"pc_covered = $pc_covered<br>";
if (!$record_exists) {
# Add new record
$q = "\tINSERT INTO {$tbl_test_req_assoc}\n\t\t\t\t\t\t\t({$f_test_req_assoc_req_id}, {$f_test_req_assoc_test_id}, {$f_test_req_assoc_covered})\n\t\t\t\t\t\tVALUES\n\t\t\t\t\t\t\t({$req_id}, {$test_id}, '{$pc_covered}')";
} else {
# Update current record
$q = "\tUPDATE {$tbl_test_req_assoc}\n\t\t\t\t\t\tSET\n\t\t\t\t\t\t\t{$f_test_req_assoc_covered} = '{$pc_covered}'\n\t\t\t\t\t\tWHERE\n\t\t\t\t\t\t\t{$f_test_req_assoc_req_id} = {$req_id}\n\t\t\t\t\t\t\tAND {$f_test_req_assoc_test_id} = {$test_id}";
}
} else {
if ($record_exists) {
$q = "\tDELETE FROM {$tbl_test_req_assoc}\n\t\t\t\t\t\tWHERE {$f_test_req_assoc_req_id} = {$req_id}\n\t\t\t\t\t\t\tAND\t{$f_test_req_assoc_test_id} = {$test_id}";
}
}
db_query($db, $q);
}
}
示例10: lang_get
print"<tr>";
print"<td class=form-lbl-r>". lang_get('qa_owner') ."</td>";
print"<td class=form-data-l>";
$selected_value = session_validate_form_get_field( 'qa_owner');
print"<select name='qa_owner' size=1>";
$qa_owner = user_get_qaowners_by_project($project_id, $blank=true);
html_print_list_box_from_array( $qa_owner, $selected_value );
print"</select>";
print "</td>";
print"</tr>";
*/
print "<tr>";
print "<td class=form-lbl-r>" . lang_get('test_assigned_to') . "</td>";
print "<td class=form-data-l>";
$selected_value = session_validate_form_get_field('assigned_to');
print "<select name='assigned_to' size=1>";
$assign_to_users = user_get_usernames_by_project($project_id, $blank = true);
html_print_list_box_from_array($assign_to_users, $selected_value);
//html_print_list_box_with_join( $db, USER_TBL, PROJECT_USER_ASSOC_TBL, USER_UNAME, USER_ID, PROJECT_USER_ASSOC_TBL, PROJ_ID, $project_id, $selected_value);
print "</select>";
print "</td>";
print "</tr>";
/*
print"<tr>";
print"<td class=form-lbl-r>". lang_get('test_assigned_by') ."</td>";
print"<td class=form-data-l>";
$selected_value = session_validate_form_get_field( 'assigned_by' );
print"<select name='assigned_by' size=1>";
$assign_by_users = user_get_usernames_by_project($project_id, $blank=true);
html_print_list_box_from_array( $assign_by_users, $selected_value);
示例11: Copyright
<?php
# ---------------------------------------------------------------------
# rth is a requirement, test, and bugtracking system
# Copyright (C) 2005 George Holbrook - rth@lists.sourceforge.net
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
#----------------------------------------------------------------------
# ------------------------------------
# Project Edit Environment Action
#
# $RCSfile: project_edit_environment_action.php,v $ $Revision: 1.1.1.1 $
# ------------------------------------
include "./api/include_api.php";
auth_authenticate_user();
$redirect_page = 'project_manage_testenvironment_page.php';
$edit_page = 'project_edit_environment_page.php';
$proj_properties = session_set_properties("project_manage", $_POST);
session_validate_form_set($_POST, $edit_page);
project_edit_environment($_POST['project_id'], $_POST['environment_id'], session_validate_form_get_field('environment_name_required'));
session_validate_form_reset();
html_print_operation_successful("edit_environment_page", $redirect_page);
# ------------------------------------
# $Log: project_edit_environment_action.php,v $
# Revision 1.1.1.1 2005/11/30 23:00:57 gth2
# importing initial version - gth
#
# ------------------------------------
示例12: lang_get
print "<td class='form-lbl-r'>" . lang_get('step_action') . " <span class='required'>*</span></td>" . NEWLINE;
print "<td align=left>";
html_FCKeditor("step_action_required", 600, 200, $action);
print "</td>" . NEWLINE;
print "</tr>";
# TEST INPUTS
$test_inputs = session_validate_form_get_field("step_test_inputs", "", session_use_FCKeditor());
print "<tr>";
print "<td class='form-lbl-r'>" . lang_get('test_inputs');
//<span class='required'>*</span></td>". NEWLINE;
print "<td align=left>";
html_FCKeditor("step_test_inputs", 600, 200, $action);
print "</td>" . NEWLINE;
print "</tr>" . NEWLINE;
# EXPTECTED RESULT
$expected_result = session_validate_form_get_field("step_expected_required", "", session_use_FCKeditor());
print "<tr>";
print "<td class='form-lbl-r'>" . lang_get('step_expected') . " <span class='required'>*</span></td>" . NEWLINE;
print "<td align=left>";
html_FCKeditor("step_expected_required", 600, 200, $expected_result);
print "</td>" . NEWLINE;
print "</tr>" . NEWLINE;
print "<tr>" . NEWLINE;
print "<td><input type='hidden' name='test_id' value='{$test_id}'></td>" . NEWLINE;
print "</tr>" . NEWLINE;
util_add_spacer();
# SUBMIT BUTTON
print "<tr>" . NEWLINE;
print "<td colspan='3' class=center><input type='submit' value='" . lang_get('add_step') . "'></td>" . NEWLINE;
print "</tr>" . NEWLINE;
util_add_spacer();
示例13: Copyright
# Copyright (C) 2005 George Holbrook - rth@lists.sourceforge.net
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
#----------------------------------------------------------------------
# ------------------------------------
# Page name
#
# $RCSfile: screen_edit_action.php,v $
# $Revision: 1.1 $
# ------------------------------------
include "./api/include_api.php";
auth_authenticate_user();
$s_project_properties = session_get_project_properties();
$project_id = $s_project_properties['project_id'];
$redirect_page = 'screen_page.php';
$redirect_on_error = 'screen_edit_page.php';
session_validate_form_set($_POST, $redirect_on_error);
# Make sure the screen name doesn't already exist for this project
$num = test_screen_name_exists($project_id, session_validate_form_get_field('screen_name_required'));
if ($num > 1) {
error_report_show($redirect_page, DUPLICATE_SCREEN_NAME);
}
test_update_screen(session_validate_form_get_field('screen_id'), session_validate_form_get_field('screen_name_required'), session_validate_form_get_field('screen_desc'), session_validate_form_get_field('screen_order'));
session_validate_form_reset();
html_print_operation_successful('screen_page', $redirect_page);
# ------------------------------------
# $Log: screen_edit_action.php,v $
# Revision 1.1 2006/05/03 20:24:01 gth2
# no message
#
# ------------------------------------
示例14: results_edit_testsuite_result
}
# ------------------------------------------------
# TEST SUITE RESULTS
# ------------------------------------------------
results_edit_testsuite_result($test_run_id, $testset_id, $test_id, $test_name, $test_status, $username, $time_started, $time_finished, $comments, $root_cause, $environment, $os);
# PREPARE TO UPDATE THE VERIFY_RESULTS TABLE
$vr_tbl = VERIFY_RESULTS_TBL;
$f_vr_id = VERIFY_RESULTS_ID;
$f_run_id = VERIFY_RESULTS_TS_UNIQUE_RUN_ID;
$f_timestamp = VERIFY_RESULTS_LOG_TIME_STAMP;
$f_actual = VERIFY_RESULTS_ACTUAL_RESULT;
$f_status = VERIFY_RESULTS_TEST_STATUS;
# UPDATE VERIFY_RESULTS
foreach (results_get_verify_results_detail($test_run_id) as $row_test_step) {
$verify_results_id = $row_test_step[VERIFY_RESULTS_ID];
$q = "\tUPDATE {$vr_tbl}\n\t\t\tSET\n\t\t\t\t{$f_timestamp} = '{$time_finished}',\n\t\t\t\t{$f_actual} = '" . session_validate_form_get_field("actual_result_{$verify_results_id}") . "',\n\t\t\t\t{$f_status} = '" . session_validate_form_get_field("step_status_{$verify_results_id}") . "'\n\t\t\tWHERE\n\t\t\t\t{$f_run_id} = '{$test_run_id}'\n\t\t\tAND \n\t\t\t\t{$f_vr_id} = '{$verify_results_id}'";
#print"$q<br>";
db_query($db, $q);
}
# ------------------------------------------------
# UPDATE TEST RUN STATUS
# ------------------------------------------------
if ($test_status == "Passed") {
$finished = '1';
} else {
$finished = '0';
}
#results_update_test_run( $test_run_id, $username, session_validate_form_get_field("test_run_status"), $finished, session_validate_form_get_field("comments"), $root_cause );
results_update_test_result($testset_id, $test_id, $username, $test_status, $root_cause, $finished, $comments);
############################################################################
# EMAIL NOTIFICATION
示例15: project_get_environment
# Edit environment Tested
$row = project_get_environment($selected_project_id, $environment_id);
print "<form method=post action='project_edit_environment_action.php'>" . NEWLINE;
print "\t<input type=hidden name=project_id value={$selected_project_id}>";
print "\t<input type=hidden name=environment_id value={$environment_id}>";
print "\t<span class='required'>*</span><span class='print'>" . lang_get('must_complete_field') . "</span>" . NEWLINE;
print "\t<table class='width70'>" . NEWLINE;
print "\t<tr>" . NEWLINE;
print "\t<td>" . NEWLINE;
print "\t\t<table class=inner>" . NEWLINE;
print "\t\t<tr>" . NEWLINE;
print "\t\t\t<td class=form-header-l>" . lang_get('edit_environment') . "</td>" . NEWLINE;
print "\t\t</tr>" . NEWLINE;
print "\t\t<tr>" . NEWLINE;
print "\t\t\t<td class='form-lbl-c'><span class='required'>*</span>" . NEWLINE;
print "\t\t\t<input type=text size=60 maxlength=50 name='environment_name_required' value='" . session_validate_form_get_field('environment_name_required', $row[ENVIRONMENT_NAME]) . "'>" . NEWLINE;
print "\t\t\t <input type=submit name='new_area_tested' value='" . lang_get("save") . "'>";
print "\t\t\t</td>" . NEWLINE;
print "\t\t</tr>" . NEWLINE;
print "\t\t</table>" . NEWLINE;
print "\t\t</td>" . NEWLINE;
print "\t</tr>" . NEWLINE;
print "\t</table>" . NEWLINE;
print "</form>" . NEWLINE;
print "</div>";
html_print_footer();
# ------------------------------------
# $Log: project_edit_environment_page.php,v $
# Revision 1.3 2006/08/05 22:08:24 gth2
# adding NEWLINE constant to support multiple OS newline chars - gth
#