Server IP : 85.193.89.191 / Your IP : 3.139.239.136 Web Server : Apache System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : bitrix ( 600) PHP Version : 8.1.27 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/bitrix/www/bitrix/activities/bitrix/requestinformationoptionalactivity/ |
Upload File : |
//////////////////////////////////////////////////////////////////////////////////////// // RequestInformationOptionalActivity //////////////////////////////////////////////////////////////////////////////////////// RequestInformationOptionalActivity = function() { var ob = new ParallelActivity(); ob.Type = 'RequestInformationOptionalActivity'; ob.__parallelActivityInitType = 'SequenceActivity'; ob.DrawParallelActivity = ob.Draw; ob.Draw = function (d) { var act = _crt(1, 4); act.style.fontSize = '11px'; act.rows[0].cells[1].style.background = 'url('+(ob.Icon?ob.Icon:'/bitrix/images/bizproc/act_icon.gif')+') 2px 2px no-repeat'; act.rows[0].cells[1].style.height = '24px'; act.rows[0].cells[1].style.width = '24px'; act.rows[0].cells[2].align = 'left'; act.rows[0].cells[2].innerHTML = HTMLEncode(ob['Properties']['Title']); act.rows[0].cells[2].style.overflow = 'hidden'; act.rows[0].cells[2].style.lineHeight = '14px'; act.rows[0].cells[0].width = '33'; act.rows[0].cells[0].align = 'left'; act.rows[0].cells[0].innerHTML = ' <span style="color: #007700">'+BPMESS['BPRIOA_OK']+'</span>'; act.rows[0].cells[3].align = 'right'; act.rows[0].cells[3].innerHTML = '<span style="color: #770000">'+BPMESS['BPRIOA_CANCEL']+'</span> '; ob.activityContent = act; ob.activityHeight = '30px'; ob.activityWidth = '200px'; ob.DrawParallelActivity(d); }; return ob; };