Beispiel #1
0
        $arHelpUpdates = CUpdateSystem::GetLoadedHelpUpdates($temporary_updates_dir, $strErrorMessage);
    }
    $arErrorHelp = array();
    $arSuccessHelp = array();
    if (strlen($strErrorMessage) <= 0) {
        if (strlen($UNIID) > 0) {
            $_SESSION[$UNIID] = "Y";
        }
        if (!CUpdateSystem::UpdateHelp($temporary_updates_dir, array($load_help), $strErrorMessage, $arErrorHelp, $arSuccessHelp)) {
            $strErrorMessage .= GetMessage("SUP_BAD_HELP_INSTALL") . " [PUH305]. ";
            CUpdateSystem::AddMessage2Log(GetMessage("SUP_BAD_HELP_INSTALL"), "PUH305");
        }
    }
}
if ($TYPE == "HELP" && $STEP == 2 && $MAIN_RIGHT == "W") {
    $arHelpUpdates = CUpdateSystem::GetServerHelpUpdates($strErrorMessage, LANG, $stableVersionsOnly);
}
/*********** КОНЕЦ ДЕЙСТВИЙ *************/
$strTitle = GetMessage("SUP_TITLE_BASE");
if ($TYPE == "UPDATE" && $STEP == 1) {
    $strTitle = GetMessage("SUP_TITLE_UPD_1");
} elseif ($TYPE == "UPDATE" && $STEP == 2) {
    $strTitle = GetMessage("SUP_TITLE_UPD_2");
} elseif ($TYPE == "UPDATE" && $STEP == 3) {
    $strTitle = GetMessage("SUP_TITLE_UPD_3");
} elseif ($TYPE == "UPDATE" && $STEP == 4) {
    $strTitle = GetMessage("SUP_TITLE_UPD_4");
} elseif ($TYPE == "LANGS" && $STEP == 2) {
    $strTitle = GetMessage("SUP_TITLE_LANG_2");
} elseif ($TYPE == "LANGS" && $STEP == 3) {
    $strTitle = GetMessage("SUP_TITLE_LANG_3");