eZPublish  4.4
login.php File Reference

Variables

 $failedLoginAttempts = false
 
 $http = eZHTTPTool::instance()
 
 $ini = eZINI::instance()
 
 $loginWarning = false
 
 $maxNumOfFailedLogin = !eZUser::isTrusted() ? eZUser::maxNumberOfFailedLogin() : false
 
 $Module = $Params['Module']
 
 $postData = ''
 
 $Result = array()
 
 $Result ['content'] = $tpl->fetch( 'design:user/login.tpl' )
 
 $Result ['path']
 
 $siteAccessAllowed = true
 
 $siteAccessName = false
 
if($loginWarning and isset($GLOBALS['eZFailedLoginAttemptUserID'])) $tpl = eZTemplate::factory()
 
if($requestedURI instanceof
eZURI) if($http->
hasPostVariable("RegisterButton")) 
$userIsNotAllowedToLogin = false
 
 $userLogin = ''
 
 $userPassword = ''
 
 $userRedirectURI = ''
 
if($http->hasSessionVariable(
'$_POST_BeforeLogin')) if($Module->
isCurrentAction( 'Login') and
$Module->hasActionParameter(
'UserLogin') and $Module->
hasActionParameter(
'UserPassword') and!$http->
hasPostVariable("RegisterButton")) 
else
 

Variable Documentation

$ini = eZINI::instance()
$loginWarning = false
$maxNumOfFailedLogin = !eZUser::isTrusted() ? eZUser::maxNumberOfFailedLogin() : false
$Module = $Params['Module']
$postData = ''
$Result = array()
$Result['content'] = $tpl->fetch( 'design:user/login.tpl' )
$Result['path']
Initial value:
= array( array( 'text' => ezpI18n::tr( 'kernel/user', 'User' ),
'url' => false ),
array( 'text' => ezpI18n::tr( 'kernel/user', 'Login' ),
'url' => false ) )
static tr($context, $source, $comment=null, $arguments=null)
Translates the source $source with context $context and optional comment $comment and returns the tra...
Definition: ezpi18n.php:88
$siteAccessAllowed = true
if ($loginWarning and isset($GLOBALS['eZFailedLoginAttemptUserID'])) $tpl = eZTemplate::factory()
if ($requestedURI instanceof eZURI) if ($http->hasPostVariable("RegisterButton")) $userIsNotAllowedToLogin = false
$userLogin = ''
$userPassword = ''
$userRedirectURI = ''
if ($http->hasSessionVariable( '$_POST_BeforeLogin')) if ($Module->isCurrentAction( 'Login') and $Module->hasActionParameter( 'UserLogin') and $Module->hasActionParameter( 'UserPassword') and!$http->hasPostVariable("RegisterButton")) else
Initial value:
{
$requestedURI = $GLOBALS['eZRequestedURI']
$GLOBALS['eZSiteBasics']
Definition: index.php:87
$requestedURI
Definition: removeobject.php:38