function system_display_login_page
Search API
7.x system.module | system_display_login_page() |
6.x system.module | system_display_login_page() |
4.x system.module | system_display_login_page() |
5.x system.module | system_display_login_page() |
Display the "login" page. This is the default page displayed to the user, at /login, if they have not logged in yet.
This page is meant to be displayed in conjunction with blocks, so the user can easily define their own messages and such.
Return value
unknown
File
- modules/
system/ system.module, line 3180
Code
function system_display_login_page() {
$rtn = "";
fp_add_css(fp_get_module_path("system") . "/css/style.css");
$login_form = fp_render_form("system_login_form");
$rtn .= "<noscript>
<div style='padding: 5px; background-color: red; color: white; font-size: 12pt; font-weight: bold;'>
" . t("@FlightPath requires JavaScript to be enabled in order to
function correctly. Please enable JavaScript on your browser
before continuing.", array("@FlightPath" => variable_get("system_name", "FlightPath"))) . "</div>
</noscript>";
$rtn .= "<div class='login-content-div'>";
$rtn .= "
<div class='left-side-content'>
$login_form
</div>";
$rtn .= "</div>";
return $rtn;
}