eZPublishCommunityProject(LegacyStack)  2013.5
login.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

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', false))
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:86
$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', false)) if ($Module->isCurrentAction( 'Login') and $Module->hasActionParameter( 'UserLogin') and $Module->hasActionParameter( 'UserPassword') and!$http->hasPostVariable("RegisterButton")) else
Initial value:
{
$requestedURI = $GLOBALS['eZRequestedURI']
$GLOBALS['eZGlobalRequestURI']
Definition: index_rest.php:19
$requestedURI
Definition: removeobject.php:18