1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
include.php
См. документацию.
1<?php
2
3/*patchlimitationmutatormark1*/
5 "fileman",
6 array(
7 "CLightHTMLEditor" => "classes/general/light_editor.php",
8 "CEditorUtils" => "classes/general/editor_utils.php",
9 "CMedialib" => "classes/general/medialib.php",
10 "CEventFileman" => "classes/general/fileman_event_list.php",
11 "CCodeEditor" => "classes/general/code_editor.php",
12 "CFileInput" => "classes/general/file_input.php",
13 "CMedialibTabControl" => "classes/general/medialib.php",
14 "CSticker" => "classes/general/sticker.php",
15 "CSnippets" => "classes/general/snippets.php",
16 "CAdminContextMenuML" => "classes/general/medialib_admin.php",
17 "CHTMLEditor" => "classes/general/html_editor.php",
18 "CComponentParamsManager" => "classes/general/component_params_manager.php",
19 "CSpellchecker" => "classes/general/spellchecker.php"
20 )
21);
22
23IncludeModuleLangFile($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/fileman/lang.php");
24include_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin_tools.php");
25include_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/fileman/fileman.php");
26include_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/fileman/properties.php");
27/*patchlimitationmutatormark2*/
28
29CJSCore::RegisterExt('file_input', array(
30 'js' => '/bitrix/js/fileman/core_file_input.js',
31 'lang' => '/bitrix/modules/fileman/lang/'.LANGUAGE_ID.'/classes/general/file_input.php',
32 'rel' => array('window') //BX.COpener
33));
34
35CJSCore::RegisterExt('map_google', array(
36 'js' => '/bitrix/js/fileman/core_map_google.js'
37));
38
39CJSCore::RegisterExt('google_loader', array(
40 'js' => '/bitrix/js/fileman/google/loader.js',
41 'oninit' => function()
42 {
43 $additionalLang = array(
44 'GOOGLE_MAP_API_KEY' => \Bitrix\Fileman\UserField\Address::getApiKey(),
45 'GOOGLE_MAP_API_KEY_HINT' => \Bitrix\Fileman\UserField\Address::getApiKeyHint(),
46 );
47
48 return array(
49 'lang_additional' => $additionalLang,
50 );
51 }
52));
53
54CJSCore::RegisterExt('google_map', array(
55 'js' => '/bitrix/js/fileman/google/map.js',
56 'rel' => array('google_loader'),
57));
58
59CJSCore::RegisterExt('google_geocoder', array(
60 'js' => '/bitrix/js/fileman/google/geocoder.js',
61 'rel' => array('google_loader'),
62));
63
64CJSCore::RegisterExt('google_autocomplete', array(
65 'js' => '/bitrix/js/fileman/google/autocomplete.js',
66 'rel' => array('google_loader'),
67));
68
69CJSCore::RegisterExt('userfield_address', array(
70 'js' => array('/bitrix/js/fileman/userfield/address.js'),
71 'css' => array('/bitrix/js/fileman/userfield/address.css'),
72 'lang' => '/bitrix/modules/fileman/lang/'.LANGUAGE_ID.'/js_userfield_address.php',
73 'rel' => array('uf', 'google_map', 'google_geocoder', 'google_autocomplete', 'popup'),
74));
75
76CJSCore::RegisterExt('player', [
77 'rel' => [
78 'ui.video-player',
79 ],
80]);
81
82//on update method still not exist
83if(method_exists($GLOBALS["APPLICATION"], 'AddJSKernelInfo'))
84{
85 $GLOBALS["APPLICATION"]->AddJSKernelInfo(
86 'fileman',
87 array(
88 '/bitrix/js/fileman/light_editor/le_dialogs.js', '/bitrix/js/fileman/light_editor/le_controls.js',
89 '/bitrix/js/fileman/light_editor/le_toolbarbuttons.js', '/bitrix/js/fileman/light_editor/le_core.js'
90 )
91 );
92
93 $GLOBALS["APPLICATION"]->AddCSSKernelInfo('fileman',array('/bitrix/js/fileman/light_editor/light_editor.css'));
94
95 // Park new html-editor
96 $GLOBALS["APPLICATION"]->AddJSKernelInfo(
97 'htmleditor',
98 array(
99 '/bitrix/js/fileman/html_editor/range.js',
100 '/bitrix/js/fileman/html_editor/html-actions.js',
101 '/bitrix/js/fileman/html_editor/html-views.js',
102 '/bitrix/js/fileman/html_editor/html-parser.js',
103 '/bitrix/js/fileman/html_editor/html-base-controls.js',
104 '/bitrix/js/fileman/html_editor/html-controls.js',
105 '/bitrix/js/fileman/html_editor/html-components.js',
106 '/bitrix/js/fileman/html_editor/html-snippets.js',
107 '/bitrix/js/fileman/html_editor/html-editor.js'
108 )
109 );
110}
static RegisterExt($name, $arPaths)
Определения jscore.php:28
static AddAutoloadClasses($module, $arParams=[])
Определения module.php:27
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$_SERVER["DOCUMENT_ROOT"]
Определения cron_frame.php:9
IncludeModuleLangFile($filepath, $lang=false, $bReturnArray=false)
Определения tools.php:3778
$GLOBALS['_____370096793']
Определения update_client.php:1