Added fixed fields to submit output in vdc_form_display.php, issue #842

git-svn-id: svn://192.168.202.10@2305 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2015-04-18 21:57:46 +00:00
parent 347c495ca8
commit 04082905f4
+7 -2
View File
@@ -30,10 +30,11 @@
# 141216-2116 - Added language settings lookups and user/pass variable standardization # 141216-2116 - Added language settings lookups and user/pass variable standardization
# 150114-2045 - Added list_name variable # 150114-2045 - Added list_name variable
# 150312-1502 - Allow for single quotes in vicidial_list data fields # 150312-1502 - Allow for single quotes in vicidial_list data fields
# 150418-1751 - Added fixed fields to submit output, issue #842
# #
$version = '2.12-21'; $version = '2.12-22';
$build = '150312-1502'; $build = '150418-1751';
require_once("dbconnect_mysqli.php"); require_once("dbconnect_mysqli.php");
require_once("functions.php"); require_once("functions.php");
@@ -352,6 +353,10 @@ if ($stage=='SUBMIT')
if ( ($A_field_type[$o]=='DISPLAY') or ($A_field_type[$o]=='SCRIPT') or ($A_field_type[$o]=='HIDDEN') or ($A_field_type[$o]=='HIDEBLOB') or ($A_field_type[$o]=='READONLY') ) if ( ($A_field_type[$o]=='DISPLAY') or ($A_field_type[$o]=='SCRIPT') or ($A_field_type[$o]=='HIDDEN') or ($A_field_type[$o]=='HIDEBLOB') or ($A_field_type[$o]=='READONLY') )
{ {
if (($A_field_type[$o]=='DISPLAY') or ($A_field_type[$o]=='SCRIPT') or ($A_field_type[$o]=='READONLY'))
{
$SUBMIT_output .= "<b>$A_field_name[$o]:</b> $A_field_value[$o]<BR>";
}
$A_field_value[$o]='----IGNORE----'; $A_field_value[$o]='----IGNORE----';
} }
else else