Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/ilovecveti.ru/bitrix/modules/bizproc/ |
Upload File : |
<?php require_once __DIR__.'/autoload.php'; /*patchlimitationmutatormark1*/ CJSCore::RegisterExt('bp_selector', array( 'js' => '/bitrix/js/bizproc/bp_selector.js', 'css' => '/bitrix/js/bizproc/css/bp_selector.css', 'lang' => '/bitrix/modules/bizproc/lang/'.LANGUAGE_ID.'/install/js/bp_selector.php', 'rel' => array('core', 'popup', 'translit'), 'oninit' => function() { $functions = \Bitrix\Bizproc\Calc\Functions::getList(); array_walk( $functions, function(&$func, $name) { $func = [ 'name' => $name, 'args' => $func['args'] ?? false, 'description' => $func['description'] ?? '' ]; } ); return ['settings' => ['functions' => array_values($functions)]]; }, )); CJSCore::RegisterExt('bp_starter', array( 'js' => '/bitrix/js/bizproc/starter.js', //'css' => '/bitrix/js/bizproc/css/starter.css', //'lang' => '/bitrix/modules/bizproc/lang/'.LANGUAGE_ID.'/install/js/starter.php', 'rel' => ['bizproc.workflow.starter'], )); CJSCore::RegisterExt('bp_user_selector', array( 'js' => '/bitrix/js/bizproc/user_selector.js', //'css' => '/bitrix/js/bizproc/css/starter.css', 'lang' => '/bitrix/modules/bizproc/lang/'.LANGUAGE_ID.'/install/js/user_selector.php', 'rel' => ['core', 'popup', 'socnetlogdest', 'bp_field_type', 'ui.entity-selector'], )); CJSCore::RegisterExt('bp_field_type', array( 'js' => '/bitrix/js/bizproc/fieldtype.js', 'css' => '/bitrix/js/bizproc/css/fieldtype.css', 'lang' => '/bitrix/modules/bizproc/lang/'.LANGUAGE_ID.'/install/js/fieldtype.php', 'rel' => [ 'core', 'ui.design-tokens', 'popup', 'socnetlogdest', 'bp_user_selector', 'ui.dialogs.messagebox', 'date', ], 'oninit' => function() { \Bitrix\Main\Loader::includeModule('socialnetwork'); }, ));