mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Renaming of the WebPage class (and its derived classes) to stick to the same naming convention as other classes.
SVN:trunk[250]
This commit is contained in:
@@ -3,7 +3,7 @@ require_once("../application/nicewebpage.class.inc.php");
|
||||
/**
|
||||
* Web page used for displaying the login form
|
||||
*/
|
||||
class login_web_page extends nice_web_page
|
||||
class LoginWebPage extends NiceWebPage
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
@@ -96,7 +96,7 @@ h1 {
|
||||
}
|
||||
else
|
||||
{
|
||||
$oPage = new login_web_page();
|
||||
$oPage = new LoginWebPage();
|
||||
$oPage->DisplayLoginForm();
|
||||
$oPage->output();
|
||||
exit;
|
||||
@@ -110,7 +110,7 @@ h1 {
|
||||
if (!UserRights::Login($sAuthUser, $sAuthPwd))
|
||||
{
|
||||
self::ResetSession();
|
||||
$oPage = new login_web_page();
|
||||
$oPage = new LoginWebPage();
|
||||
$oPage->DisplayLoginForm( true /* failed attempt */);
|
||||
$oPage->output();
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user