diff --git a/src/actions/users.php b/src/actions/users.php index 16b2503..bf68201 100644 --- a/src/actions/users.php +++ b/src/actions/users.php @@ -108,7 +108,7 @@ function register() $controlrow["verifytext"] = ""; } - $page = parsetemplate(gettemplate("register"), $controlrow); + $page = render('register', ['controlrow' => $controlrow]); } display($page, "Register", false, false, false); diff --git a/templates/register.php b/templates/register.php index ea40c97..401da9e 100644 --- a/templates/register.php +++ b/templates/register.php @@ -1,16 +1,21 @@ - -
Username: | Usernames must be 30 alphanumeric characters or less. |
Password: | |
Verify Password: | Passwords must be 10 alphanumeric characters or less. |
Email Address: | |
Verify Email: | {{verifytext}} |
Character Class: | |
See Help for more information about character classes. | |