Your IP : 18.221.213.201


Current Path : /home/bitrix/initial_sites/coffe.land_1/bitrix/modules/calendar/install/
Upload File :
Current File : /home/bitrix/initial_sites/coffe.land_1/bitrix/modules/calendar/install/step1.php

<?if(!check_bitrix_sessid()) return;?>
<?
global $errors;


if(!is_array($errors) && strlen($errors)<=0 || is_array($errors) && count($errors) <= 0)
{
	echo CAdminMessage::ShowNote(GetMessage("MOD_INST_OK"));
	if (COption::GetOptionString("intranet", "calendar_2", "N") != "Y")
		echo "<form action=\"/bitrix/admin/calendar_convert.php\"><input type=\"hidden\" name=\"lang\" value=\"".LANG."\" /><input type=\"submit\" value=\"".GetMessage("CAL_GO_CONVERT")."\" />";
}
else
{
	for($i=0; $i<count($errors); $i++)
		$alErrors .= $errors[$i]."<br>";

	echo CAdminMessage::ShowMessage(Array("TYPE"=>"ERROR", "MESSAGE" =>GetMessage("MOD_INST_ERR"), "DETAILS"=>$alErrors, "HTML"=>true));
}

if ($ex = $APPLICATION->GetException())
	echo CAdminMessage::ShowMessage(Array("TYPE" => "ERROR", "MESSAGE" => GetMessage("MOD_INST_ERR"), "HTML" => true, "DETAILS" => $ex->GetString()));
?>