diff --git a/referral.php b/referral.php index 92011a57..d316115c 100644 --- a/referral.php +++ b/referral.php @@ -198,26 +198,26 @@ if (isset($_POST['submit'])) if ($db->CompleteTrans()) { - $msg = T_("Created referral case - you may now close this window"); + $msg = "
" . T_("Created referral case - you may now close this window") . "
"; } else { - $msg = T_("Failed to create referral case - please check your input and try again"); + $msg = "" . T_("Failed to create referral case - please check your input and try again") . "
"; } } else { - $msg = T_("You must supply a primary phone number"); + $msg = "" . T_("You must supply a primary phone number") . "
"; } } $case_id = get_case_id($operator_id); -$js = "js/window.js"; -if (browser_ie()) $js = "js/window_ie6.js"; +if (isset($_GET['interface2'])) { if (browser_ie()) $js = "js/window_ie6_interface2.js"; else $js = "js/window_interface2.js"; } +else { if (browser_ie()) $js = "js/window_ie6.js"; else $js = "js/window.js"; } -xhtml_head(T_("Referral"),true,array("css/call.css"),array($js)); +xhtml_head(T_("Referral"),false,array("include/bootstrap/css/bootstrap.min.css"),array($js)); $sql = "SELECT q.referral FROM questionnaire as q, `case` as c @@ -228,13 +228,13 @@ $sc = $db->GetOne($sql); if ($sc == 1) { - print "$msg
"; - print "