Mercurial > hg > fapweb
changeset 1010:b3f579c33b08
Cosmetics, comments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 04 Nov 2015 16:43:42 +0200 |
parents | 5b53b359c659 |
children | b7916209da83 |
files | pages/register.inc.php |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pages/register.inc.php Wed Nov 04 16:42:14 2015 +0200 +++ b/pages/register.inc.php Wed Nov 04 16:43:42 2015 +0200 @@ -118,9 +118,11 @@ return $res; } + // Check if user registration is available stCheckRegistrationAvailable(); + // Check if registration is enabled if (!stChkSetting("allowRegister")) { @@ -182,6 +184,7 @@ if ($errorSet) { + // There were errors or missing data echo "<h1>Following errors occured:</h1>\n". "<ul>\n"; @@ -195,6 +198,7 @@ else if ($mode == "register") { + // Data ok, registration mode $sql = stGetAttendeeRegistrationSQL(); if (stExecSQL($sql) !== FALSE) { @@ -212,6 +216,7 @@ } else { + // Data ok, verify echo "<h1>Verify your information</h1>\n". "<p>Is the following information correct?</p>\n".