diff --git a/config/signaturepage.php b/config/signaturepage.php index 679c2e5..54cc801 100644 --- a/config/signaturepage.php +++ b/config/signaturepage.php @@ -36,11 +36,13 @@ if($_POST['useparentdeclaration']) $usepg="1"; else $usepg="0"; if($_POST['useteacherdeclaration']) $usete="1"; else $usete="0"; if($_POST['usepostamble']) $usepa="1"; else $usepa="0"; + if($_POST['useregfee']) $userf="1"; else $userf="0"; mysql_query("UPDATE signaturepage SET `use`='$useex', `text`='".mysql_escape_string(stripslashes($_POST['exhibitordeclaration']))."' WHERE name='exhibitordeclaration'"); mysql_query("UPDATE signaturepage SET `use`='$usepg', `text`='".mysql_escape_string(stripslashes($_POST['parentdeclaration']))."' WHERE name='parentdeclaration'"); mysql_query("UPDATE signaturepage SET `use`='$usete', `text`='".mysql_escape_string(stripslashes($_POST['teacherdeclaration']))."' WHERE name='teacherdeclaration'"); mysql_query("UPDATE signaturepage SET `use`='$usepa', `text`='".mysql_escape_string(stripslashes($_POST['postamble']))."' WHERE name='postamble'"); + mysql_query("UPDATE signaturepage SET `use`='$userf', `text`='' WHERE name='regfee'"); echo happy(i18n("Signature page text successfully saved")); } @@ -74,6 +76,13 @@ echo "