SC_index Class Reference

List of all members.

Public Member Functions

 init ()
 main ()
 printContent ()
 makeLoginForm ()
 makeLogoutForm ()
 wrapLoginForm ($content)
 checkRedirect ()
 makeInterfaceSelectorBox ()
 makeCopyrightNotice ()
 makeLoginBoxImage ()
 makeLoginNews ()
 startForm ()
 getHiddenFields ($challenge)
 getJScode ()
 getChallenge ()

Public Attributes

 $redirect_url
 $GPinterface
 $u
 $p
 $L
 $loginRefresh
 $commandLI
 $redirectToURL
 $L_vars
 $content
 $interfaceSelector
 $interfaceSelector_jump
 $interfaceSelector_hidden
 $addFields_hidden = ''
 $loginSecurityLevel = 'superchallenged'

Detailed Description

Definition at line 87 of file index.php.


Member Function Documentation

SC_index::checkRedirect (  ) 

Checking, if we should perform some sort of redirection OR closing of windows.

Returns:
void

Definition at line 350 of file index.php.

References $redirectToURL, exit, t3lib_div::locationHeaderUrl(), and t3lib_BEfunc::typo3PrintError().

Referenced by main().

SC_index::getChallenge (  ) 

Create a random challenge string

Returns:
string Challenge value

Definition at line 685 of file index.php.

Referenced by main().

SC_index::getHiddenFields ( challenge  ) 

Output some hidden fields at the end of the login form

Parameters:
string The challenge string to be included in the output
Returns:
string HTML output

Definition at line 619 of file index.php.

Referenced by main().

SC_index::getJScode (  ) 

Set JavaScript for creating a MD5 hash of the password

Returns:
string JavaScript code

Definition at line 637 of file index.php.

Referenced by main().

SC_index::init (  ) 

Initialize the login box. Will also react on a &L=OUT flag and exit.

Returns:
void

Definition at line 121 of file index.php.

References $GLOBALS, t3lib_div::_GP(), exit, t3lib_div::getIndpEnv(), and t3lib_div::locationHeaderUrl().

SC_index::main (  ) 

Main function - creating the login/logout form

Returns:
void

Definition at line 167 of file index.php.

References $TYPO3_CONF_VARS, checkRedirect(), getChallenge(), getHiddenFields(), getJScode(), makeInterfaceSelectorBox(), makeLoginForm(), makeLogoutForm(), startForm(), and wrapLoginForm().

SC_index::makeCopyrightNotice (  ) 

COPYRIGHT notice

Warning: DO NOT prevent this notice from being shown in ANY WAY. According to the GPL license an interactive application must show such a notice on start-up ('If the program is interactive, make it output a short notice... ' - see GPL.txt) Therefore preventing this notice from being properly shown is a violation of the license, regardless of whether you remove it or use a stylesheet to obstruct the display.

Returns:
string Text/Image (HTML) for copyright notice.

Definition at line 472 of file index.php.

References $GLOBALS.

Referenced by wrapLoginForm().

SC_index::makeInterfaceSelectorBox (  ) 

Making interface selector:

Returns:
void

Definition at line 415 of file index.php.

References $TYPO3_CONF_VARS, and t3lib_div::trimExplode().

Referenced by main().

SC_index::makeLoginBoxImage (  ) 

Returns the login box image, whether the default or an image from the rotation folder.

Returns:
string HTML image tag.

Definition at line 506 of file index.php.

References $GLOBALS, t3lib_div::getFileAbsFileName(), t3lib_div::getFilesInDir(), and t3lib_div::resolveBackPath().

Referenced by wrapLoginForm().

SC_index::makeLoginForm (  ) 

Creates the login form This is drawn when NO login exists.

Returns:
string HTML output

Definition at line 248 of file index.php.

References $content, $GLOBALS, t3lib_parsehtml::getSubpart(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().

Referenced by main().

SC_index::makeLoginNews (  ) 

Make login news - renders the HTML content for a list of news shown under the login form. News data is added through $TYPO3_CONF_VARS

Returns:
string HTML content Idea by Jan-Hendrik Heuing

Definition at line 554 of file index.php.

References $GLOBALS.

Referenced by wrapLoginForm().

SC_index::makeLogoutForm (  ) 

Creates the logout form This is drawn if a user login already exists.

Returns:
string HTML output

Definition at line 291 of file index.php.

References $content, $GLOBALS, t3lib_parsehtml::getSubpart(), t3lib_parsehtml::substituteMarkerArray(), and t3lib_parsehtml::substituteSubpart().

Referenced by main().

SC_index::printContent (  ) 

Outputting the accumulated content to screen

Returns:
void

Definition at line 225 of file index.php.

SC_index::startForm (  ) 

Returns the form tag

Returns:
string Opening form tag string

Definition at line 589 of file index.php.

Referenced by main().

SC_index::wrapLoginForm ( content  ) 

Wrapping the login form table in another set of tables etc:

Parameters:
string HTML content for the login form
Returns:
string The HTML for the page.

Definition at line 324 of file index.php.

References $content, $GLOBALS, t3lib_parsehtml::getSubpart(), makeCopyrightNotice(), makeLoginBoxImage(), makeLoginNews(), and t3lib_parsehtml::substituteMarkerArray().

Referenced by main().


Member Data Documentation

SC_index::$addFields_hidden = ''

Definition at line 108 of file index.php.

SC_index::$commandLI

Definition at line 96 of file index.php.

SC_index::$content

Definition at line 103 of file index.php.

Referenced by makeLoginForm(), makeLogoutForm(), and wrapLoginForm().

SC_index::$GPinterface

Definition at line 91 of file index.php.

SC_index::$interfaceSelector

Definition at line 105 of file index.php.

SC_index::$interfaceSelector_hidden

Definition at line 107 of file index.php.

SC_index::$interfaceSelector_jump

Definition at line 106 of file index.php.

SC_index::$L

Definition at line 94 of file index.php.

SC_index::$L_vars

Definition at line 100 of file index.php.

SC_index::$loginRefresh

Definition at line 95 of file index.php.

SC_index::$loginSecurityLevel = 'superchallenged'

Definition at line 111 of file index.php.

SC_index::$p

Definition at line 93 of file index.php.

SC_index::$redirect_url

Definition at line 90 of file index.php.

SC_index::$redirectToURL

Definition at line 99 of file index.php.

Referenced by checkRedirect().

SC_index::$u

Definition at line 92 of file index.php.


The documentation for this class was generated from the following file:
Generated on Sat Nov 29 04:23:32 2008 for TYPO3 API by  doxygen 1.4.7