ILIAS
Release_4_2_x_branch Revision 61807
|
Public Member Functions | |
ilStartUpGUI () | |
constructor | |
& | executeCommand () |
execute command | |
jumpToRegistration () | |
jump to registration gui | |
jumpToPasswordAssistance () | |
jump to password assistance | |
showLogin () | |
show login | |
showFailure ($a_mess) | |
showSuccess ($a_mess) | |
showAccountMigration ($a_message= '') | |
Show account migration screen. | |
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 | |
getAcceptance () | |
get user agreement acceptance | |
showUserAgreement () | |
show user agreement | |
processIndexPHP () | |
process index.php | |
processStartingPage () | |
open start page (personal desktop or repository) | |
_checkGoto ($a_target) | |
confirmRegistration () |
Protected Member Functions | |
showCodeForm ($a_form=null) | |
initCodeForm () | |
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. | |
showLanguageSelection ($page_editor_html) | |
Show language selection ilTemplate $tpl. | |
showRegistrationLinks ($page_editor_html) | |
Show registration, password forgotten, client slection links ilLanguage $lng ilSetting $ilSetting <type> $ilIliasIniFile. | |
showUserAgreementLink ($page_editor_html) | |
Show user agreement link ilLanguage $lng. | |
purgePlaceholders ($page_editor_html) | |
Purge page editor html from unused placeholders. | |
showOpenIdLoginForm ($page_editor_html) | |
Show openid login if enabled. |
StartUp GUI class.
Handles Login and Registration.
ilStartUpGUI: ilAccountRegistrationGUI, ilPasswordAssistanceGUI, ilPageObjectGUI
Definition at line 13 of file class.ilStartUpGUI.php.
ilStartUpGUI::_checkGoto | ( | $a_target | ) |
Definition at line 1650 of file class.ilStartUpGUI.php.
References $location, ilPluginAdmin\getPluginObject(), and IL_COMP_SERVICE.
Referenced by ilInitialisation\goToPublicSection(), and processStartingPage().
ilStartUpGUI::confirmRegistration | ( | ) |
Definition at line 1704 of file class.ilStartUpGUI.php.
References $_COOKIE, $_GET, $ilLog, $lng, $usr_id, ilObjUserFolder\_lookupNewAccountMail(), ilObjUser\_verifyRegistrationHash(), ilUtil\generatePasswords(), ilObjectFactory\getInstanceByObjId(), IL_PASSWD_PLAIN, ilUtil\redirect(), and ilUtil\setCookie().
& ilStartUpGUI::executeCommand | ( | ) |
execute command
Definition at line 31 of file class.ilStartUpGUI.php.
References $cmd, and $GLOBALS.
Referenced by jumpToPasswordAssistance(), and jumpToRegistration().
ilStartUpGUI::getAcceptance | ( | ) |
get user agreement acceptance
Definition at line 1394 of file class.ilStartUpGUI.php.
References showUserAgreement().
|
protected |
Get HTML of ILIAS login page editor.
Definition at line 718 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 372 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 73 of file class.ilStartUpGUI.php.
References executeCommand().
ilStartUpGUI::jumpToRegistration | ( | ) |
jump to registration gui
Definition at line 63 of file class.ilStartUpGUI.php.
References executeCommand().
ilStartUpGUI::migrateAccount | ( | ) |
migrate account
public
Definition at line 1015 of file class.ilStartUpGUI.php.
References $_POST, $_SESSION, $ilLog, $lng, ilObjUser\_lookupId(), ilAuthFactory\CONTEXT_OPENID, ilAuthFactory\factory(), ilUtil\redirect(), ilAuthFactory\setContext(), showAccountMigration(), and ilUtil\stripSlashes().
|
protected |
Definition at line 394 of file class.ilStartUpGUI.php.
References $_SESSION, $ilCtrl, $lng, ilObjUser\_lookupId(), ilAccountCode\getCodeValidUntil(), initCodeForm(), ilAccountCode\isUnusedCode(), showCodeForm(), showLogin(), and ilAccountCode\useCode().
ilStartUpGUI::processIndexPHP | ( | ) |
process index.php
Definition at line 1485 of file class.ilStartUpGUI.php.
References $_GET, $_POST, $ilIliasIniFile, $ilInit, $ilSetting, exit, processStartingPage(), showClientList(), and showLogin().
Referenced by showClientList().
ilStartUpGUI::processStartingPage | ( | ) |
open start page (personal desktop or repository)
precondition: authentication (maybe anonymous) successfull
Definition at line 1558 of file class.ilStartUpGUI.php.
References $_GET, $_SESSION, $ilBench, $ilCtrl, ilShopLinkBuilder\$linkArray, $lng, $shop_classes, $usr_id, ilPaymentShoppingCart\_assignObjectsToUserId(), _checkGoto(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), exit, ilUtil\redirect(), ilUtil\sendFailure(), and showLogin().
Referenced by processIndexPHP(), and showLogin().
|
protected |
Purge page editor html from unused placeholders.
string | $page_editor_html |
Definition at line 909 of file class.ilStartUpGUI.php.
Referenced by showLogin().
ilStartUpGUI::showAccountMigration | ( | $a_message = '' | ) |
Show account migration screen.
public
Definition at line 958 of file class.ilStartUpGUI.php.
References $_POST, $lng, $pass, $tpl, ilRadioOption\addSubItem(), ilUtil\prepareFormOutput(), ilRadioGroupInputGUI\setValue(), ilRadioOption\setValue(), and showFailure().
Referenced by migrateAccount().
|
protected |
Show cas login ilSetting $ilSetting.
string | $page_editor_html |
Definition at line 585 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 1250 of file class.ilStartUpGUI.php.
References $_GET, $client, $data, $ilCtrl, $ilIliasIniFile, $tpl, exit, and processIndexPHP().
Referenced by processIndexPHP().
|
protected |
Definition at line 350 of file class.ilStartUpGUI.php.
References $_POST, $_SESSION, $ilCtrl, $lng, $tpl, initCodeForm(), and showFailure().
Referenced by processCode(), and showLogin().
ilStartUpGUI::showFailure | ( | $a_mess | ) |
Definition at line 927 of file class.ilStartUpGUI.php.
References $lng, $tpl, and ilUtil\getImagePath().
Referenced by showAccountMigration(), showCodeForm(), showLogin(), and showUserMappingSelection().
|
protected |
Show language selection ilTemplate $tpl.
Definition at line 780 of file class.ilStartUpGUI.php.
References $GLOBALS, $lng, ilLanguage\_lookupEntry(), and substituteLoginPageElements().
Referenced by showLogin().
ilStartUpGUI::showLogin | ( | ) |
show login
ilLanguage $lng
Definition at line 85 of file class.ilStartUpGUI.php.
References $_COOKIE, $_GET, $_SESSION, $ilIliasIniFile, $ilSetting, $lng, $tpl, ilOnlineTracking\_addUser(), ilObjForum\_updateOldAccess(), AUTH_APACHE_FAILED, 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_WRONG_LOGIN, exit, getLoginPageEditorHTML(), processStartingPage(), purgePlaceholders(), ilUtil\redirect(), ilUtil\setCookie(), showCASLoginForm(), showCodeForm(), showFailure(), showLanguageSelection(), showLoginForm(), showLoginInformation(), showOpenIdLoginForm(), showRegistrationLinks(), showShibbolethLoginForm(), showSuccess(), showUserAgreementLink(), and showUserMappingSelection().
Referenced by processCode(), processIndexPHP(), and processStartingPage().
|
protected |
Show login form ilSetting $ilSetting.
string | $page_editor_html |
Definition at line 473 of file class.ilStartUpGUI.php.
References $ilSetting, $lng, $tpl, ilAuthModeDetermination\_getInstance(), ilAuthUtils\_getMultipleAuthModeOptions(), ilAuthUtils\_hasMultipleAuthenticationMethods(), AUTH_CAS, AUTH_SHIBBOLETH, ilPasswordInputGUI\setRetype(), ilTextInputGUI\setSize(), and substituteLoginPageElements().
Referenced by showLogin().
|
protected |
Show login information.
string | $page_editor_html |
Definition at line 559 of file class.ilStartUpGUI.php.
Referenced by showLogin().
ilStartUpGUI::showLogout | ( | ) |
show logout screen
Definition at line 1137 of file class.ilStartUpGUI.php.
References $_COOKIE, $client_id, $ilIliasIniFile, $ilSetting, $lng, $tpl, and ilUtil\setCookie().
ilStartUpGUI::showNoCookiesScreen | ( | ) |
show help screen, if cookies are disabled
to do: link to online help here
Definition at line 1365 of file class.ilStartUpGUI.php.
References $tpl.
|
protected |
Show openid login if enabled.
Definition at line 1821 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 826 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 617 of file class.ilStartUpGUI.php.
References $_GET, $GLOBALS, $ilSetting, $lng, $tpl, and substituteLoginPageElements().
Referenced by showLogin().
ilStartUpGUI::showSuccess | ( | $a_mess | ) |
Definition at line 939 of file class.ilStartUpGUI.php.
References $lng, $tpl, and ilUtil\getImagePath().
Referenced by showLogin().
ilStartUpGUI::showUserAgreement | ( | ) |
show user agreement
Definition at line 1402 of file class.ilStartUpGUI.php.
References $_GET, $_POST, $lng, $tpl, ilUserAgreement\_getText(), ilLanguage\_lookupEntry(), ilUtil\formCheckbox(), ilUtil\infoPanel(), and ilUtil\redirect().
Referenced by getAcceptance().
|
protected |
Show user agreement link ilLanguage $lng.
string | $page_editor_html |
Definition at line 886 of file class.ilStartUpGUI.php.
References $GLOBALS, $lng, 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 1183 of file class.ilStartUpGUI.php.
References $_GET, $_POST, $lng, $tpl, $valid, ilObjUser\_getLocalAccountsForEmail(), AUTH_WRONG_LOGIN, ilUtil\prepareFormOutput(), and showFailure().
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 698 of file class.ilStartUpGUI.php.
References $tpl.
Referenced by showCASLoginForm(), showLanguageSelection(), showLoginForm(), showOpenIdLoginForm(), showRegistrationLinks(), showShibbolethLoginForm(), and showUserAgreementLink().