function calendar_display_schedule_appointment_completed_page

7.x calendar.module calendar_display_schedule_appointment_completed_page($appointment_cid)
6.x calendar.module calendar_display_schedule_appointment_completed_page($appointment_cid)

The user has successfully completed their appointment scheduling. Display a Thank You page.

1 string reference to 'calendar_display_schedule_appointment_completed_page'
calendar_menu in modules/calendar/calendar.module
implements hook_menu

File

modules/calendar/calendar.module, line 786

Code

function calendar_display_schedule_appointment_completed_page($appointment_cid) {
  $rtn = "";
  $content = content_load($appointment_cid);

  fp_add_css(fp_get_module_path('calendar') . '/css/style.css');


  $rtn .= "<p>" . t("Thank you for scheduling an appointment!  Your details are visible below, and will appear
                     in your FlightPath calendar as well.") . "</p>";
  $rtn .= "<p>" . t("You may close this window.") . "</p>";

  $rtn .= "<div class='appointment-summary-view'>";

  $rtn .= "<div><strong>" . t("Appointment Details:") . "</strong><br>" . $content->field__appointment_msg ['display_value'] . "</div>";

  $rtn .= "</div>";



  return $rtn;

}