diff --git a/booking.helper.inc b/booking.helper.inc index 4955781..e74d947 100644 --- a/booking.helper.inc +++ b/booking.helper.inc @@ -1506,8 +1506,8 @@ function _booking_leader_helper_email_summary($node) { )); $otherperson = $otherperson_query->fetchAll(); - watchdog('booking', "
Other person for studygroup !group and role !role result:\n@info", - array('!group' => $studygroup->sid, '!role' => $otherrole_id, '@info' => print_r( $otherperson, true))); + //watchdog('booking', "
Other person for studygroup !group and role !role result:\n@info", + // array('!group' => $studygroup->sid, '!role' => $otherrole_id, '@info' => print_r( $otherperson, true))); foreach ($otherperson as $other) { diff --git a/booking.test_rooms.inc b/booking.test_rooms.inc index 601a650..fea9344 100644 --- a/booking.test_rooms.inc +++ b/booking.test_rooms.inc @@ -36,6 +36,12 @@ function booking_rooms_allocate_test_form($node, &$form_state, $location_id) { $options = array(); $counter = 0; + $prefix = "
Enter a person's surname in the text field to autocomplete with the person's details. Make sure you click on the person from the dropdown list that appears in order to allocate a bed.
"; + $form['first_para'] = array ( + '#type' => 'markup', + '#markup' => $prefix, + ); + //verify that $location_id is a number if (! preg_match('/^[0-9]+$/', $location_id)) { drupal_set_message("Error: Invalid room location ID '" . $location_id . "' supplied. Unable to allocate rooms.", 'error', FALSE); @@ -126,6 +132,7 @@ function booking_rooms_allocate_test_form($node, &$form_state, $location_id) { _booking_rooms_allocate_generate_queenbeds($data, $existing_beds, $default_row, &$counter, &$form); } + $form['submit'] = array ( '#type' => 'submit',