ILIAS
Release_5_0_x_branch Revision 61816
|
StartUp GUI class. More...
Public Member Functions | |
ilStartUpGUI () | |
constructor | |
& | executeCommand () |
execute command | |
jumpToRegistration () | |
jump to registration gui | |
jumpToPasswordAssistance () | |
jump to password assistance | |
showLogin () | |
show login | |
migrateAccount () | |
migrate account | |
showLogout () | |
show logout screen | |
showUserMappingSelection () | |
Show user selection screen, if external account could not be mapped to an ILIAS account, but the provided e-mail address is known. | |
showClientList () | |
show client list | |
showNoCookiesScreen () | |
show help screen, if cookies are disabled | |
processIndexPHP () | |
process index.php | |
_checkGoto ($a_target) | |
confirmRegistration () |
Protected Member Functions | |
showCodeForm ($a_username=null, $a_form=null) | |
initCodeForm ($a_username) | |
processCode () | |
showLoginForm ($page_editor_html) | |
Show login form ilSetting $ilSetting. | |
showLoginInformation ($page_editor_html) | |
Show login information. | |
showCASLoginForm ($page_editor_html) | |
Show cas login ilSetting $ilSetting. | |
showShibbolethLoginForm ($page_editor_html) | |
Show shibboleth login form. | |
substituteLoginPageElements ($tpl, $page_editor_html, $element_html, $placeholder, $fallback_tplvar) | |
Substitute login page elements. | |
getLoginPageEditorHTML () | |
Get HTML of ILIAS login page editor. | |
showRegistrationLinks ($page_editor_html) | |
Show registration, password forgotten, client slection links ilLanguage $lng ilSetting $ilSetting <type> $ilIliasIniFile. | |
purgePlaceholders ($page_editor_html) | |
Purge page editor html from unused placeholders. | |
getAcceptance () | |
Get terms of service. | |
showOpenIdLoginForm ($page_editor_html) | |
Show openid login if enabled. |
Static Protected Member Functions | |
static | getLanguageSelection () |
language selection list |
StartUp GUI class.
Handles Login and Registration.
ilStartUpGUI: ilAccountRegistrationGUI, ilPasswordAssistanceGUI, ilLoginPageGUI
Definition at line 15 of file class.ilStartUpGUI.php.
ilStartUpGUI::_checkGoto | ( | $a_target | ) |
Definition at line 1498 of file class.ilStartUpGUI.php.
References $_SESSION, $ilUser, $location, $path, $ref_id, $ret, ilObject\_getAllReferences(), ilObjCourse\_isActivated(), ilGroupParticipants\_isParticipant(), ilLMObject\_lookupContObjID(), ilObject\_lookupObjId(), ilObject\_lookupType(), ilObjCourse\_registrationEnabled(), ilParticipants\getDefaultMemberRole(), ilPluginAdmin\getPluginObject(), IL_COMP_SERVICE, and ilUtil\redirect().
ilStartUpGUI::confirmRegistration | ( | ) |
Definition at line 1697 of file class.ilStartUpGUI.php.
References $_COOKIE, $_GET, $ilLog, $lng, ilObjUserFolder\_lookupNewAccountMail(), ilObjUser\_verifyRegistrationHash(), ilUtil\generatePasswords(), ilObjectFactory\getInstanceByObjId(), IL_PASSWD_PLAIN, ilUtil\redirect(), and ilUtil\setCookie().
& ilStartUpGUI::executeCommand | ( | ) |
execute command
Definition at line 33 of file class.ilStartUpGUI.php.
Referenced by jumpToPasswordAssistance(), and jumpToRegistration().
|
protected |
Get terms of service.
Definition at line 1350 of file class.ilStartUpGUI.php.
|
staticprotected |
language selection list
Definition at line 1952 of file class.ilStartUpGUI.php.
|
protected |
Get HTML of ILIAS login page editor.
Definition at line 733 of file class.ilStartUpGUI.php.
References $lng, $ret, $tpl, ilPageUtil\_existsAndNotEmpty(), ilObjStyleSheet\getContentStylePath(), ilAuthLoginPageEditorSettings\getInstance(), ilObjStyleSheet\getSyntaxStylePath(), and ilLanguage\lookupId().
Referenced by showLogin().
ilStartUpGUI::ilStartUpGUI | ( | ) |
|
protected |
Definition at line 383 of file class.ilStartUpGUI.php.
References $ilCtrl, $lng, and ilFormPropertyGUI\setRequired().
Referenced by processCode(), and showCodeForm().
ilStartUpGUI::jumpToPasswordAssistance | ( | ) |
jump to password assistance
Definition at line 72 of file class.ilStartUpGUI.php.
References executeCommand().
ilStartUpGUI::jumpToRegistration | ( | ) |
jump to registration gui
Definition at line 62 of file class.ilStartUpGUI.php.
References executeCommand().
ilStartUpGUI::migrateAccount | ( | ) |
migrate account
public
Definition at line 970 of file class.ilStartUpGUI.php.
References $_GET, $_POST, $ilLog, $lng, ilSession\_destroy(), ilObjUser\_lookupId(), ilAuthFactory\CONTEXT_OPENID, ilAuthFactory\factory(), ilSession\get(), ilUtil\redirect(), ilSession\set(), ilAuthFactory\setContext(), and ilUtil\stripSlashes().
|
protected |
Definition at line 410 of file class.ilStartUpGUI.php.
References $_POST, $ilCtrl, $lng, ilObjUser\_lookupId(), ilAccountCode\applyAccessLimits(), ilAccountCode\applyRoleAssignments(), ilAccountCode\getCodeValidUntil(), initCodeForm(), ilAccountCode\isUnusedCode(), showCodeForm(), showLogin(), and ilAccountCode\useCode().
ilStartUpGUI::processIndexPHP | ( | ) |
process index.php
Definition at line 1416 of file class.ilStartUpGUI.php.
References $_GET, $_POST, $ilIliasIniFile, $ilSetting, ilInitialisation\goToPublicSection(), showClientList(), and showLogin().
Referenced by showClientList().
|
protected |
Purge page editor html from unused placeholders.
string | $page_editor_html |
Definition at line 889 of file class.ilStartUpGUI.php.
Referenced by showLogin().
|
protected |
Show cas login ilSetting $ilSetting.
string | $page_editor_html |
Definition at line 619 of file class.ilStartUpGUI.php.
References $GLOBALS, $ilSetting, $lng, $tpl, ilUtil\getImagePath(), and substituteLoginPageElements().
Referenced by showLogin().
ilStartUpGUI::showClientList | ( | ) |
show client list
Definition at line 1211 of file class.ilStartUpGUI.php.
References $_GET, $client, $ilCtrl, $ilIliasIniFile, $tpl, exit, and processIndexPHP().
Referenced by processIndexPHP().
|
protected |
Definition at line 366 of file class.ilStartUpGUI.php.
References $lng, $tpl, initCodeForm(), and ilUtil\sendFailure().
Referenced by processCode(), and showLogin().
ilStartUpGUI::showLogin | ( | ) |
show login
ilLanguage $lng
Definition at line 84 of file class.ilStartUpGUI.php.
References $_COOKIE, $_GET, $_SESSION, $failure, $ilSetting, $lng, $success, $tpl, AUTH_APACHE_FAILED, AUTH_CAPTCHA_INVALID, AUTH_CAS_NO_ILIAS_USER, AUTH_EXPIRED, AUTH_IDLED, AUTH_LDAP_NO_ILIAS_USER, AUTH_MODE_INACTIVE, AUTH_RADIUS_NO_ILIAS_USER, AUTH_SOAP_NO_ILIAS_USER, AUTH_SOAP_NO_ILIAS_USER_BUT_EMAIL, AUTH_USER_INACTIVE, AUTH_USER_SIMULTANEOUS_LOGIN, AUTH_USER_TIME_LIMIT_EXCEEDED, AUTH_USER_WRONG_IP, AUTH_WRONG_LOGIN, getLoginPageEditorHTML(), purgePlaceholders(), ilUtil\redirect(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilSession\SESSION_CLOSE_CAPTCHA, ilSession\SESSION_CLOSE_INACTIVE, ilSession\SESSION_CLOSE_IP, ilSession\SESSION_CLOSE_SIMUL, ilSession\SESSION_CLOSE_TIME, ilSession\set(), ilSession\setClosingContext(), ilUtil\setCookie(), showCASLoginForm(), showCodeForm(), showLoginForm(), showLoginInformation(), showOpenIdLoginForm(), showRegistrationLinks(), showShibbolethLoginForm(), and showUserMappingSelection().
Referenced by processCode(), and processIndexPHP().
|
protected |
Show login form ilSetting $ilSetting.
string | $page_editor_html |
Definition at line 498 of file class.ilStartUpGUI.php.
References $ilSetting, $lng, $tpl, ilAuthModeDetermination\_getInstance(), ilAuthUtils\_getMultipleAuthModeOptions(), ilAuthUtils\_hasMultipleAuthenticationMethods(), AUTH_CAS, AUTH_SHIBBOLETH, ilFormPropertyGUI\setRequired(), ilPasswordInputGUI\setRetype(), ilTextInputGUI\setSize(), and substituteLoginPageElements().
Referenced by showLogin().
|
protected |
Show login information.
string | $page_editor_html |
Definition at line 593 of file class.ilStartUpGUI.php.
Referenced by showLogin().
ilStartUpGUI::showLogout | ( | ) |
show logout screen
Definition at line 1099 of file class.ilStartUpGUI.php.
References $_COOKIE, $client_id, $ilIliasIniFile, $ilSetting, $lng, $tpl, ilSession\SESSION_CLOSE_USER, ilSession\setClosingContext(), and ilUtil\setCookie().
ilStartUpGUI::showNoCookiesScreen | ( | ) |
show help screen, if cookies are disabled
to do: link to online help here
Definition at line 1321 of file class.ilStartUpGUI.php.
References $tpl.
|
protected |
Show openid login if enabled.
Definition at line 1816 of file class.ilStartUpGUI.php.
References $lng, $tpl, ilOpenIdProviders\getInstance(), ilOpenIdSettings\getInstance(), ilSelectInputGUI\setOptions(), ilTextInputGUI\setSize(), and substituteLoginPageElements().
Referenced by showLogin().
|
protected |
Show registration, password forgotten, client slection links ilLanguage $lng ilSetting $ilSetting <type> $ilIliasIniFile.
string | $page_editor_html |
Definition at line 784 of file class.ilStartUpGUI.php.
References $_COOKIE, $GLOBALS, $ilIliasIniFile, $ilSetting, $lng, ilRegistrationSettings\_lookupRegistrationType(), IL_REG_DISABLED, and substituteLoginPageElements().
Referenced by showLogin().
|
protected |
Show shibboleth login form.
string | $page_editor_html |
Definition at line 651 of file class.ilStartUpGUI.php.
References $_GET, $GLOBALS, $ilSetting, $lng, $tpl, and substituteLoginPageElements().
Referenced by showLogin().
ilStartUpGUI::showUserMappingSelection | ( | ) |
Show user selection screen, if external account could not be mapped to an ILIAS account, but the provided e-mail address is known.
Definition at line 1145 of file class.ilStartUpGUI.php.
References $_GET, $_POST, $lng, $tpl, $valid, ilObjUser\_getLocalAccountsForEmail(), AUTH_WRONG_LOGIN, ilUtil\prepareFormOutput(), and ilUtil\sendFailure().
Referenced by showLogin().
|
protected |
Substitute login page elements.
ilTemplate | $tpl | |
string | $page_editor_html | |
string | $element_html | |
string | $placeholder | |
string | $fallback_tplvar | return string $page_editor_html |
Definition at line 713 of file class.ilStartUpGUI.php.
References $tpl.
Referenced by showCASLoginForm(), showLoginForm(), showOpenIdLoginForm(), showRegistrationLinks(), and showShibbolethLoginForm().