summaryrefslogtreecommitdiff
path: root/register.php
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2008-03-08 19:43:41 +0000
committerNathan Kinkade <nath@nkinka.de>2008-03-08 19:43:41 +0000
commit5a0b2aaf9877019e1dfcff304a0469857cfe3171 (patch)
tree6918087b2e971683449353ac9ec513415f2584d1 /register.php
parent84cfb2ce8ab11dc36152948e71108dbfafd214c4 (diff)
Change field name age to birthday in reg. form, which was causing JS validation to break.
Diffstat (limited to 'register.php')
-rw-r--r--register.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/register.php b/register.php
index d29f698..69a3bcb 100644
--- a/register.php
+++ b/register.php
@@ -138,6 +138,9 @@ if ( isset($_POST['action']) && ($_POST['action'] == "registerUser") ) {
}
+# Create a list of genders for the template
+$smarty->assign("genders", array('Female', 'Male'));
+
# grab the various parts. these sections are not printed to the screen
# but rather dumped into smarty variables that will simply be printed
# in the template, so the order doesn't matter here at the moment