Beispiel #1
0
 &gt;&gt;</a>
			<br><br><br>
			<?
		}
		?>

		<?
		// Если есть обновления по модулям
		if ($arTypesUpdates!==false
			&& isset($arTypesUpdates["MODULES"])
			&& !isset($arTypesUpdates["UPDATE_SYSTEM"])
			&& IntVal($arTypesUpdates["MODULES"]["@"]["COUNT"])>0)
		{
			?>
			<?php 
echo str_replace("#END#", CUpdateSystem::NumberEndings($arTypesUpdates["MODULES"]["@"]["COUNT"]), str_replace("#NUM#", $arTypesUpdates["MODULES"]["@"]["COUNT"], GetMessage("SUP_MUPD_PROMT")));
?>
			<br><br>

			<a href="sysupdate.php?STEP=2&TYPE=UPDATE&lang=<?php 
echo htmlspecialchars($lang);
?>
"><img src="/bitrix/images/main/icon2.gif" width="15" height="15" border="0" alt="<?php 
echo GetMessage("SUP_MUPD_ACT_ALT");
?>
"> <?php 
echo GetMessage("SUP_MUPD_ACT");
?>
 &gt;&gt;</a>
			<br><br><br>
			<?
Beispiel #2
0
            echo GetMessage("SUP_HUPD_ACT_ALT");
            ?>
"> <?php 
            echo GetMessage("SUP_HUPD_ACT");
            ?>
 &gt;&gt;</a>
			<br><br><br>
			<?php 
        }
        ?>

		<?php 
        if ($arTypesUpdates !== false && isset($arTypesUpdates["CLIENT"]) && !isset($arTypesUpdates["UPDATE_SYSTEM"]) && count($arTypesUpdates["CLIENT"]) > 0 && $arTypesUpdates["CLIENT"]["@"]["RESERVED"] != "Y") {
            $arTypesUpdates["CLIENT"]["@"]["MAX_SITES"] = IntVal($arTypesUpdates["CLIENT"]["@"]["MAX_SITES"]);
            if ($arTypesUpdates["CLIENT"]["@"]["MAX_SITES"] > 0) {
                echo str_replace("#END#", CUpdateSystem::NumberEndings($arTypesUpdates["CLIENT"]["@"]["MAX_SITES"], $lang, array(GetMessage("SUP_WORD_SAIT_END1"), GetMessage("SUP_WORD_SAIT_END2"), GetMessage("SUP_WORD_SAIT_END3"), GetMessage("SUP_WORD_SAIT_END4"))), str_replace("#NUM#", $arTypesUpdates["CLIENT"]["@"]["MAX_SITES"], GetMessage("SUP_CHECK_PROMT")));
            } else {
                echo GetMessage("SUP_CHECK_PROMT_2");
            }
            ?>
			<br><br>
			<?php 
            echo GetMessage("SUP_CHECK_PROMT_1");
            ?>
			<br><br>

			<a href="sysupdate.php?TYPE=ADD_SITE&STEP=1&lang=<?php 
            echo htmlspecialchars($lang);
            ?>
"><img src="/bitrix/images/main/icon2.gif" width="15" height="15" border="0" alt="<?php 
            echo GetMessage("SUP_SITES_ACT_ALT");
Beispiel #3
0
             $sMess .= GetMessage("SUP_HUPD_PROMT", array("#END#" => CUpdateSystem::NumberEndings($arTypesUpdates["HELPS"]["@"]["COUNT"], LANGUAGE_ID, array(GetMessage("SUP_WORD_YAZIK_END1"), GetMessage("SUP_WORD_YAZIK_END2"), GetMessage("SUP_WORD_YAZIK_END3"), GetMessage("SUP_WORD_YAZIK_END4"))), "#NUM#" => $arTypesUpdates["HELPS"]["@"]["COUNT"]));
         }
         if (IntVal($arTypesUpdates["HELPS"]["@"]["OTHER_COUNT"]) > 0) {
             $sMess .= ($sMess != "" ? "<br><br>" : "") . GetMessage("SUP_HUPD_PROMT_OTHER");
         }
         $sLink = '<a href="sysupdate.php?STEP=2&amp;TYPE=HELP&amp;lang=' . LANGUAGE_ID . '">' . GetMessage("SUP_HUPD_ACT") . '</a>';
         echo CUpdateOutput::ShowBlock($sMess, $sLink, "icon-help");
     }
     //*********************************
     //* Add site licence
     //*********************************
     if ($arTypesUpdates !== false && isset($arTypesUpdates["CLIENT"]) && !isset($arTypesUpdates["UPDATE_SYSTEM"]) && count($arTypesUpdates["CLIENT"]) > 0 && $arTypesUpdates["CLIENT"]["@"]["RESERVED"] != "Y") {
         $arTypesUpdates["CLIENT"]["@"]["MAX_SITES"] = IntVal($arTypesUpdates["CLIENT"]["@"]["MAX_SITES"]);
         $sMess = "";
         if ($arTypesUpdates["CLIENT"]["@"]["MAX_SITES"] > 0) {
             $sMess .= GetMessage("SUP_CHECK_PROMT", array("#END#" => CUpdateSystem::NumberEndings($arTypesUpdates["CLIENT"]["@"]["MAX_SITES"], LANGUAGE_ID, array(GetMessage("SUP_WORD_SAIT_END1"), GetMessage("SUP_WORD_SAIT_END2"), GetMessage("SUP_WORD_SAIT_END3"), GetMessage("SUP_WORD_SAIT_END4"))), "#NUM#" => $arTypesUpdates["CLIENT"]["@"]["MAX_SITES"]));
         } else {
             $sMess .= GetMessage("SUP_CHECK_PROMT_2");
         }
         $sMess .= "<br><br>";
         $sMess .= GetMessage("SUP_CHECK_PROMT_1");
         $sLink = '<a href="sysupdate.php?TYPE=ADD_SITE&amp;STEP=1&amp;lang=' . LANGUAGE_ID . '">' . GetMessage("SUP_CHECK_ACT") . '</a>';
         echo CUpdateOutput::ShowBlock($sMess, $sLink, "icon-licence");
     }
 } elseif (!$bLockUpdateSystemKernel) {
     //*****************************
     //* Licence Agreement
     //*****************************
     if (LANGUAGE_ID == "ru") {
         $license_text_file = "http://www.bitrixsoft.ru/license-ru.htm";
     } else {