forked from science-ation/science-ation
Added the pronunciation field to the user object for participants
This commit is contained in:
parent
0e188391d8
commit
14c192d69f
@ -335,6 +335,9 @@ function user_get_role_fields($role){
|
||||
if($config['participant_student_foodreq'] == "yes"){
|
||||
$fields[] = 'foodreq';
|
||||
}
|
||||
if($config['participant_student_pronunciation'] == "yes"){
|
||||
$fields[] = 'pronunciation';
|
||||
}
|
||||
break;
|
||||
case 'fair':
|
||||
$fields = array('fairs_id');
|
||||
@ -390,7 +393,8 @@ function user_get_field_info($noConference = false){
|
||||
'foodreq' => array('label' => 'Special Food Requirements', 'group' => 'Personal Information'),
|
||||
'tshirt' => array('label' => 'T-shirt Size', 'group' => 'Personal Information'),
|
||||
'medicalalert' => array('label' => 'Medical Alert Info', 'group' => 'Personal Information'),
|
||||
'emergencycontacts' => array('label' => 'Emergency Contacts', 'group' => 'Personal Information')
|
||||
'emergencycontacts' => array('label' => 'Emergency Contacts', 'group' => 'Personal Information'),
|
||||
'pronunciation' => array('label' => 'Name Pronunciation Key', 'group' => 'Personal Information')
|
||||
);
|
||||
if($noConference){
|
||||
$returnval['cat_prefs'] = array('label' => 'Category Preferences', 'group' => 'Judges');
|
||||
|
Loading…
x
Reference in New Issue
Block a user