Add ability for admin to choose help areas via gui, enhance medical condition field in regn form
This commit is contained in:
@@ -53,6 +53,21 @@ function _booking_status_lookup($input)
|
||||
return array_search($input, _booking_status_generate());
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper function to provide a list of helping areas for the registration form
|
||||
*/
|
||||
function _booking_get_help_areas() {
|
||||
return array(
|
||||
'booking_help_music' => 'Music',
|
||||
'booking_help_reading' => 'Reading',
|
||||
'booking_help_chairing' => 'Chairing',
|
||||
'booking_help_praying' => 'Praying',
|
||||
'booking_help_meditations' => 'Meditations',
|
||||
'booking_firstaid' => 'First Aid',
|
||||
'booking_nurse' => 'Nurse',
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper function to provide a list of emergency contact types for the registration form
|
||||
*/
|
||||
@@ -108,6 +123,7 @@ function _booking_studygroup_role_lookup($input = NULL)
|
||||
|
||||
/**
|
||||
* Helper function to look up description of room location based on id
|
||||
* DEPRECATED - THIS DATA HAS MOVED TO DATABASE TABLE
|
||||
* @param $input integer containing room id
|
||||
* @return string for corresponding room location
|
||||
*/
|
||||
|
Reference in New Issue
Block a user