2define(
"NO_KEEP_STATISTIC",
true);
3define(
"NO_AGENT_STATISTIC",
true);
4define(
"NOT_CHECK_PERMISSIONS",
true);
5require(
$_SERVER[
"DOCUMENT_ROOT"].
"/bitrix/modules/main/include/prolog_admin_before.php");
19 "KEYS_STRING"=>rawurldecode(
$_REQUEST[
"KEYS_STRING"]),
45 while($arHK=$listRes->Fetch())
57 while($arHK=$listRes->Fetch())
58 $res.=$arHK[
"CODE_ID"].
"::".$arHK[
"ID"].
"::".$arHK[
"KEYS_STRING"].
";;";
68 if(file_exists($tmpExportFile))
69 if(filesize($tmpExportFile)>0)
71 header(
'Content-type: application/force-download');
73 $res = file_get_contents($tmpExportFile);
78 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
79 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="'.LANGUAGE_ID.
'" lang="'.LANGUAGE_ID.
'">
81 <script>alert("'.
GetMessage(
"HK_EXP_FALSE").
'");
89 if(!$_FILES[
'bx_hk_filename'][
'name'] || !$_FILES[
'bx_hk_filename'][
'size'])
91 $res=
'<script>window.parent.BXHotKeys.OnImportResponse(0);</script>';
97 $tmpDir = CTempFile::GetDirectoryName();
100 $name = $tmpDir.basename($_FILES[
'bx_hk_filename'][
'name']);
102 if(move_uploaded_file($_FILES[
'bx_hk_filename'][
'tmp_name'], $tmpDir.CHotKeys::$ExpImpFileName))
103 $numImported =
$hkInstance->Import($tmpDir.CHotKeys::$ExpImpFileName,
$uid);
105 $res=
'<script>window.parent.BXHotKeys.OnImportResponse("'.$numImported.
'");</script>';
113require(
$_SERVER[
"DOCUMENT_ROOT"].
BX_ROOT.
"/modules/main/include/epilog_admin_after.php");
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
$_SERVER["DOCUMENT_ROOT"]
check_bitrix_sessid($varname='sessid')
GetMessage($name, $aReplace=null)