Beispiel #1
0
function lostPassForm( $option ) {
	global $_CB_framework;

	$_CB_framework->setPageTitle( _PROMPT_PASSWORD );
	HTML_comprofiler::lostPassForm( $option );
}
Beispiel #2
0
function lostPassForm($option)
{
    global $_CB_framework, $ueConfig, $_PLUGINS;
    $loginType = isset($ueConfig['login_type']) ? (int) $ueConfig['login_type'] : 0;
    if ($loginType == 4) {
        $_CB_framework->enqueueMessage(CBTxt::Th('UE_NOT_AUTHORIZED', 'You are not authorized to view this page!'), 'error');
        return;
    }
    $_CB_framework->setPageTitle(CBTxt::Th('PROMPT_PASSWORD', 'Lost your Password?'));
    $_PLUGINS->loadPluginGroup('user');
    HTML_comprofiler::lostPassForm($option);
}