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/rospirotorg.ru/bitrix/modules/workflow/admin/ |
Upload File : |
<?php /** @var CMain $APPLICATION */ IncludeModuleLangFile(__FILE__); $WORKFLOW_RIGHT = $APPLICATION->GetGroupRight('workflow'); if ($WORKFLOW_RIGHT != 'D') { $aMenu = [ 'parent_menu' => 'global_menu_content', 'section' => 'workflow', 'sort' => 400, 'text' => GetMessage('FLOW_MENU_MAIN'), 'title' => GetMessage('FLOW_MENU_MAIN_TITLE'), 'icon' => 'workflow_menu_icon', 'page_icon' => 'workflow_page_icon', 'items_id' => 'menu_workflow', 'items' => [ [ 'text' => GetMessage('FLOW_MENU_DOCUMENTS'), 'title' => GetMessage('FLOW_MENU_DOCUMENTS_ALT'), 'url' => 'workflow_list.php?lang=' . LANG, 'more_url' => [ 'workflow_list.php', 'workflow_edit.php', ], ], [ 'text' => GetMessage('FLOW_MENU_HISTORY'), 'title' => GetMessage('FLOW_MENU_HISTORY_ALT'), 'url' => 'workflow_history_list.php?lang=' . LANG, 'more_url' => [ 'workflow_history_list.php', 'workflow_history_view.php', ], ], ], ]; if ($WORKFLOW_RIGHT != 'D') { $aMenu['items'][] = [ 'text' => GetMessage('FLOW_MENU_STAGE'), 'title' => GetMessage('FLOW_MENU_STAGE_ALT'), 'url' => 'workflow_status_list.php?lang=' . LANG, 'more_url' => [ 'workflow_status_list.php', 'workflow_status_edit.php', ], ]; } return $aMenu; } return false;