diff -crb old/index.php new/index.php *** old/index.php 2009-01-11 03:35:23.000000000 +0100 --- new/index.php 2009-03-10 00:59:12.000000000 +0100 *************** *** 382,387 **** --- 382,388 ---- $_SESSION['signup']['country'] = intval(array_key_exists('country',$_REQUEST)?$_REQUEST['country']:0); $_SESSION['signup']['regional'] = intval(array_key_exists('regional',$_REQUEST)?$_REQUEST['regional']:0); $_SESSION['signup']['radius'] = intval(array_key_exists('radius',$_REQUEST)?$_REQUEST['radius']:0); + $_SESSION['signup']['cca_agree'] = intval(array_key_exists('cca_agree',$_REQUEST)?$_REQUEST['cca_agree']:0); if($_SESSION['signup']['Q1'] == $_SESSION['signup']['Q2'] || $_SESSION['signup']['Q1'] == $_SESSION['signup']['Q3'] || *************** *** 442,447 **** --- 443,453 ---- $id = 1; $_SESSION['_config']['errmsg'] .= _("Email Address was blank")."
\n"; } + if($_SESSION['signup']['cca_agree'] == "0") + { + $id = 1; + $_SESSION['_config']['errmsg'] .= _("You have to agree to the CAcert Community agreement.")."
\n"; + } if($_SESSION['signup']['pword1'] == "") { $id = 1;