Modified the user info structure to explain the users' t-shirt size as an enumeration rather than a varchar

This commit is contained in:
jacob 2012-02-22 15:57:29 +00:00
parent f61b4b94f3
commit 88ed011e5a

View File

@ -572,8 +572,18 @@ function user_get_fields($userRoles = null){
}
}
break;
case 'tshirt':
$fields[$fieldName]['description'] = "T-Shirt size of participant";
$fields[$fieldName]['type'] = 'singleselect';
$fields[$fieldName]['options'] = array(
'none' => 'None',
'xsmall' => 'X-Small',
'small' => 'Small',
'medium' => 'Medium',
'large' => 'Large',
'xlarge' => 'X-large'
);
break;
default:
if(!strncasecmp($ftype, "varchar", 7)){