Commit 460e5f07 authored by ccarigna's avatar ccarigna
Browse files

Changed description text for location fields, added lat/long to location

parent 24c944f9
......@@ -508,7 +508,7 @@ function uw_ct_event_field_default_fields() {
'weight' => '-94',
),
'locpick' => array(
'collect' => '0',
'collect' => '1',
'weight' => '-93',
),
'name' => array(
......
......@@ -167,7 +167,9 @@ function uw_ct_event_load_location_details($form, $form_state) {
function uw_ct_event_remove_location_delete(&$form_element, &$form_state) {
unset($form_element['delete_location']);
unset($form_element['#value']);
$form_element['additional']['#description'] = t('more location details like room number, building etc.');
$form_element['name']['#description'] = t('e.g. a building or venue');
$form_element['additional']['#description'] = t('e.g. room number or meeting point');
$form_element['locpick']['instructions']['#markup'] = t('Latitude and longitude is used for generating map links. If you do not have latitude and longitude coordinates, you can add a specific map link below.');
return $form_element;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment