function system_display_disable_login_page
Search API
7.x system.module | system_display_disable_login_page($type = "all") |
6.x system.module | system_display_disable_login_page( |
5.x system.module | system_display_disable_login_page() |
File
- modules/
system/ system.module, line 674
Code
function system_display_disable_login_page($type = "all") {
$rtn = "";
if ($type == "all") {
$rtn .= "<h2>Logins Currently Disabled</h2>
We're sorry, but logins are disabled at this time due to maintenance on FlightPath.
<br><br>Please try again later.
<br><br>
";
}
if ($type == "student") {
$rtn .= t("We're sorry, but student logins are disabled at this time.");
}
$rtn .= " " . l("Return to login page", "<front>") . "";
return $rtn;
}