@ -107,8 +107,15 @@ function upei_roblib_ill_form_submit($form, &$form_state) {
function upei_roblib_ill_form_redirect() {
//TODO turn this into a drupal render array
//TODO phone number, email etc. could be variables read from the database.
$std_message = "<divclass='upei-roblib-ill-email'>A message including the Request ID has been sent to " . $_GET['email'] . ".</div><divclass='upei-roblib-ill-message'>To contact the department about this request, you can send a message to <ahref='mailto:ill@upei.ca'>ill@upei.ca</a> or
if (isset($_GET['error']) && $_GET['error'] === 'TRUE') {
$std_message = "<divclass='upei-roblib-ill-message'>To contact the department about this request, you can send a message to <ahref='mailto:ill@upei.ca'>ill@upei.ca</a> or
call 902-566-0445</div>";
}
else {
$std_message = "<divclass='upei-roblib-ill-email'>A message including the Request ID has been sent to " . $_GET['email'] . ".</div><divclass='upei-roblib-ill-message'>To contact the department about this request, you can send a message to <ahref='mailto:ill@upei.ca'>ill@upei.ca</a> or
call 902-566-0445</div>
<divclass='upei-roblib-ill-wecanhelp'>We can help! Please contact your <ahref='http://library.upei.ca/librarians'>subject-specific</a> librarian if you'd like help finding more resources relating to your topic.</div>";