@@ -150,7 +150,7 @@ |
||
150 | 150 | public function getFieldInstanceByName($name) |
151 | 151 | { |
152 | 152 | $moduleName = $this->getName(true); |
153 | - $params = ['uitype' => 7, 'column' => $name, 'name' => $name, 'displaytype' => 1, 'typeofdata' => 'I~M', 'presence' => 0, 'isEditableReadOnly' => false, 'maximumlength' => '', 'validator' => [['name' => 'NumberRange100']], 'source' => 'main']; |
|
153 | + $params = ['uitype' => 7, 'column' => $name, 'name' => $name, 'displaytype' => 1, 'typeofdata' => 'I~M', 'presence' => 0, 'isEditableReadOnly' => false, 'maximumlength' => '', 'validator' => [['name' => 'NumberRange100']], 'source' => 'main']; |
|
154 | 154 | switch ($name) { |
155 | 155 | case 'MAX_NUMBER_EXPORT_RECORDS': |
156 | 156 | $params['label'] = $this->performanceFields[$name]; |
@@ -79,7 +79,7 @@ |
||
79 | 79 | } |
80 | 80 | $customViewData['columnslist'] = $selectedColumnsList; |
81 | 81 | $customFieldNames = $request->getArray('customFieldNames', 'Text'); |
82 | - array_walk($customFieldNames, function (&$customLabel) { |
|
82 | + array_walk($customFieldNames, function(&$customLabel) { |
|
83 | 83 | $customLabel = \App\Purifier::decodeHtml(trim($customLabel)); |
84 | 84 | }); |
85 | 85 | $customViewData['customFieldNames'] = $customFieldNames; |
@@ -170,13 +170,13 @@ |
||
170 | 170 | $value = \App\Language::translate($moduleName, $moduleName); |
171 | 171 | break; |
172 | 172 | case 'views': |
173 | - $value = implode(', ', array_map(function ($val) { |
|
173 | + $value = implode(', ', array_map(function($val) { |
|
174 | 174 | return \App\Language::translate(\App\FieldsDependency::VIEWS[$val], 'Settings:FieldsDependency'); |
175 | 175 | }, \App\Json::decode($value) ?? [])); |
176 | 176 | break; |
177 | 177 | case 'fields': |
178 | 178 | $moduleModel = Vtiger_Module_Model::getInstance($this->get('tabid')); |
179 | - $value = implode(', ', array_map(function ($fieldName) use ($moduleModel) { |
|
179 | + $value = implode(', ', array_map(function($fieldName) use ($moduleModel) { |
|
180 | 180 | return $moduleModel->getFieldByName($fieldName)->getFullLabelTranslation(); |
181 | 181 | }, \App\Json::decode($value) ?? [])); |
182 | 182 | $value = "<div class=\"js-popover-tooltip ml-2 mr-2 d-inline mt-2\" data-js=\"popover\" data-content=\"$value\">" . \App\TextUtils::textTruncate($value) . '</div>'; |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | 'default_host' => [ |
10 | 10 | 'default' => ['ssl://imap.gmail.com' => 'ssl://imap.gmail.com'], |
11 | 11 | 'description' => 'Default host.', |
12 | - 'validation' => function () { |
|
12 | + 'validation' => function() { |
|
13 | 13 | $arg = func_get_arg(0); |
14 | 14 | if (!$arg) { |
15 | 15 | return false; |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | } |
23 | 23 | return true; |
24 | 24 | }, |
25 | - 'sanitization' => function () { |
|
25 | + 'sanitization' => function() { |
|
26 | 26 | $values = func_get_arg(0); |
27 | 27 | if (!\is_array($values)) { |
28 | 28 | $values = [$values]; |
@@ -39,14 +39,14 @@ discard block |
||
39 | 39 | 'default' => 993, |
40 | 40 | 'description' => 'Port used to connect to IMAP.', |
41 | 41 | 'validation' => '\App\Validator::port', |
42 | - 'sanitization' => function () { |
|
42 | + 'sanitization' => function() { |
|
43 | 43 | return (int) func_get_arg(0); |
44 | 44 | } |
45 | 45 | ], |
46 | 46 | 'smtp_server' => [ |
47 | 47 | 'default' => 'ssl://smtp.gmail.com', |
48 | 48 | 'description' => 'Name of SMTP server', |
49 | - 'validation' => function () { |
|
49 | + 'validation' => function() { |
|
50 | 50 | $arg = func_get_arg(0); |
51 | 51 | return $arg && \App\Purifier::purify($arg); |
52 | 52 | }, |
@@ -56,14 +56,14 @@ discard block |
||
56 | 56 | 'default' => 465, |
57 | 57 | 'description' => 'Default smtp port', |
58 | 58 | 'validation' => '\App\Validator::port', |
59 | - 'sanitization' => function () { |
|
59 | + 'sanitization' => function() { |
|
60 | 60 | return (int) func_get_arg(0); |
61 | 61 | } |
62 | 62 | ], |
63 | 63 | 'username_domain' => [ |
64 | 64 | 'default' => 'gmail.com', |
65 | 65 | 'description' => 'User name domain', |
66 | - 'validation' => function () { |
|
66 | + 'validation' => function() { |
|
67 | 67 | $arg = func_get_arg(0); |
68 | 68 | return '' === $arg || \App\Validator::domain($arg); |
69 | 69 | } |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | 'smtp_user' => [ |
88 | 88 | 'default' => '%u', |
89 | 89 | 'description' => 'Login to SMTP server', |
90 | - 'validation' => function () { |
|
90 | + 'validation' => function() { |
|
91 | 91 | $arg = func_get_arg(0); |
92 | 92 | return $arg && !is_numeric($arg) && \is_string($arg) && $arg === strip_tags($arg) && 256 > \App\TextUtils::getTextLength($arg); |
93 | 93 | }, |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | 'smtp_pass' => [ |
97 | 97 | 'default' => '%p', |
98 | 98 | 'description' => "SMTP password (if required) if you use %p as the password Roundcube will use the current user's password for login", |
99 | - 'validation' => function () { |
|
99 | + 'validation' => function() { |
|
100 | 100 | $arg = func_get_arg(0); |
101 | 101 | return !empty($arg) && 256 > \App\TextUtils::getTextLength($arg); |
102 | 102 | } |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | 'language' => [ |
105 | 105 | 'default' => 'en_US', |
106 | 106 | 'description' => 'Set default language', |
107 | - 'validation' => function () { |
|
107 | + 'validation' => function() { |
|
108 | 108 | $arg = func_get_arg(0); |
109 | 109 | return $arg && \in_array($arg, \Settings_OSSMail_Config_Model::LANGUAGES); |
110 | 110 | } |
@@ -112,11 +112,11 @@ discard block |
||
112 | 112 | 'skin_logo' => [ |
113 | 113 | 'default' => '/images/null.png', |
114 | 114 | 'description' => 'Skin logo', |
115 | - 'validation' => function () { |
|
115 | + 'validation' => function() { |
|
116 | 116 | $arg = func_get_arg(0); |
117 | 117 | return !empty($arg) && \App\Purifier::purify($arg); |
118 | 118 | }, |
119 | - 'sanitization' => function () { |
|
119 | + 'sanitization' => function() { |
|
120 | 120 | $arg = func_get_arg(0); |
121 | 121 | return ['*' => \App\Purifier::encodeHtml($arg)]; |
122 | 122 | } |
@@ -136,11 +136,11 @@ discard block |
||
136 | 136 | 'identities_level' => [ |
137 | 137 | 'default' => 0, |
138 | 138 | 'description' => 'Identities level.', |
139 | - 'validation' => function () { |
|
139 | + 'validation' => function() { |
|
140 | 140 | $arg = func_get_arg(0); |
141 | 141 | return is_numeric($arg) && \in_array($arg, [0, 1, 2, 3, 4]); |
142 | 142 | }, |
143 | - 'sanitization' => function () { |
|
143 | + 'sanitization' => function() { |
|
144 | 144 | return (int) func_get_arg(0); |
145 | 145 | } |
146 | 146 | ], |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | 'default' => 30, |
149 | 149 | 'description' => 'Session lifetime in minutes', |
150 | 150 | 'validation' => '\App\Validator::naturalNumber', |
151 | - 'sanitization' => function () { |
|
151 | + 'sanitization' => function() { |
|
152 | 152 | return (int) func_get_arg(0); |
153 | 153 | } |
154 | 154 | ], |
@@ -353,7 +353,7 @@ discard block |
||
353 | 353 | 'useragent' => [ |
354 | 354 | 'default' => 'YetiForce Webmail', |
355 | 355 | 'description' => 'Add this user-agent to message headers when sending', |
356 | - 'validation' => function () { |
|
356 | + 'validation' => function() { |
|
357 | 357 | $arg = func_get_arg(0); |
358 | 358 | return $arg && \App\Purifier::purify($arg); |
359 | 359 | }, |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | public static function decodeCustomTag(string $text): string |
108 | 108 | { |
109 | 109 | if (false !== strpos($text, '<yetiforce')) { |
110 | - $text = preg_replace_callback('/<yetiforce\s(.*)><\/yetiforce>/', function (array $matches) { |
|
110 | + $text = preg_replace_callback('/<yetiforce\s(.*)><\/yetiforce>/', function(array $matches) { |
|
111 | 111 | $attributes = \App\TextUtils::getTagAttributes($matches[0]); |
112 | 112 | $return = ''; |
113 | 113 | if (!empty($attributes['type'])) { |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | ); |
145 | 145 | return \preg_replace_callback( |
146 | 146 | static::ROW_REGEX, |
147 | - function (array $matches) { |
|
147 | + function(array $matches) { |
|
148 | 148 | $type = $matches[1]; |
149 | 149 | $id = (int) $matches[2]; |
150 | 150 | if (self::OWNER_SEPARATOR === $type) { |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | { |
203 | 203 | return \preg_replace_callback( |
204 | 204 | "/<a\\s+[^>]*data-id=(?:\"|')(.)(\\d+)(?:\"|')[^>]*>[^<]+<\\/a>/i", |
205 | - function (array $matches) { |
|
205 | + function(array $matches) { |
|
206 | 206 | $type = $matches[1]; |
207 | 207 | $recordName = strip_tags($matches[0]); |
208 | 208 | return "{$type}{$type}{$matches[2]}_{$recordName}{$type}{$type}"; |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | 'BACKUP_PATH' => [ |
92 | 92 | 'default' => '', |
93 | 93 | 'description' => 'Backup catalog path.', |
94 | - 'validation' => function () { |
|
94 | + 'validation' => function() { |
|
95 | 95 | $arg = func_get_arg(0); |
96 | 96 | return '' === $arg || \App\Fields\File::isAllowedDirectory($arg); |
97 | 97 | }, |
@@ -203,7 +203,7 @@ discard block |
||
203 | 203 | 'watchdogUrl' => [ |
204 | 204 | 'default' => '', |
205 | 205 | 'description' => 'YetiForce watchdog monitor URL', |
206 | - 'validation' => function () { |
|
206 | + 'validation' => function() { |
|
207 | 207 | $arg = func_get_arg(0); |
208 | 208 | return empty($arg) || \App\Validator::url($arg); |
209 | 209 | }, |
@@ -111,7 +111,7 @@ |
||
111 | 111 | foreach ($params as $key => $value) { |
112 | 112 | $textParser->setParam($key, $value); |
113 | 113 | } |
114 | - if ('Calendar' === $moduleName && !$recordModel->isEmpty('meeting_url') && !\array_key_exists('meetingUrl', $params) ) { |
|
114 | + if ('Calendar' === $moduleName && !$recordModel->isEmpty('meeting_url') && !\array_key_exists('meetingUrl', $params)) { |
|
115 | 115 | $textParser->setParam('meetingUrl', $recordModel->get('meeting_url')); |
116 | 116 | } |
117 | 117 | $subject = $textParser->setContent($templateModel->get('subject'))->parse()->getContent(); |
@@ -144,7 +144,7 @@ |
||
144 | 144 | $dataReader = (new App\Db\Query())->from('s_#__picklist_dependency_data')->where(['id' => $this->getId()])->createCommand()->query(); |
145 | 145 | $this->mapping = []; |
146 | 146 | while ($row = $dataReader->read()) { |
147 | - ['source_id' => $sourceId,'conditions' => $conditions] = $row; |
|
147 | + ['source_id' => $sourceId, 'conditions' => $conditions] = $row; |
|
148 | 148 | $this->mapping[$sourceId] = $conditions; |
149 | 149 | } |
150 | 150 | $dataReader->close(); |
@@ -1,3 +1,3 @@ |
||
1 | -<?php $tab_seq_array=[1=>0,3=>0,4=>0,6=>0,7=>0,8=>0,9=>0,13=>0,14=>0,15=>0,18=>0,19=>0,24=>0,26=>0,29=>0,30=>0,32=>0,34=>0,35=>0,37=>0,40=>0,41=>0,42=>0,43=>0,45=>0,48=>0,51=>0,53=>0,54=>0,57=>0,58=>0,59=>0,61=>0,73=>0,74=>0,75=>0,78=>0,79=>0,80=>0,81=>0,82=>0,83=>0,84=>0,85=>0,86=>0,87=>0,88=>0,89=>0,90=>0,91=>0,92=>0,93=>0,94=>0,95=>0,96=>0,97=>0,98=>0,99=>0,100=>0,101=>0,102=>0,103=>0,104=>0,105=>0,106=>0,107=>0,108=>0,109=>0,110=>0,111=>0,112=>0,113=>0,114=>0,115=>0,116=>0,117=>0,118=>1,119=>0,120=>0,121=>0,122=>0,123=>0,124=>0,125=>0,126=>0,127=>0,128=>0,129=>0,130=>0,131=>0,132=>0,133=>0,134=>0,135=>0,136=>0,137=>0]; |
|
2 | -return ['tabId'=>['Dashboard'=>1,'Home'=>3,'Contacts'=>4,'Accounts'=>6,'Leads'=>7,'Documents'=>8,'Calendar'=>9,'HelpDesk'=>13,'Products'=>14,'Faq'=>15,'Vendors'=>18,'PriceBooks'=>19,'Rss'=>24,'Campaigns'=>26,'Users'=>29,'Import'=>30,'ModTracker'=>32,'ServiceContracts'=>34,'Services'=>35,'Assets'=>37,'ModComments'=>40,'ProjectMilestone'=>41,'ProjectTask'=>42,'Project'=>43,'SMSNotifier'=>45,'OSSMail'=>48,'OSSTimeControl'=>51,'OSSMailScanner'=>53,'OSSMailView'=>54,'OSSOutsourcedServices'=>57,'OSSSoldServices'=>58,'OutsourcedProducts'=>59,'OSSEmployees'=>61,'ApiAddress'=>73,'CallHistory'=>74,'Ideas'=>75,'HolidaysEntitlement'=>78,'PaymentsIn'=>79,'PaymentsOut'=>80,'LettersIn'=>81,'LettersOut'=>82,'Announcements'=>83,'Reservations'=>84,'SQuoteEnquiries'=>85,'SSalesProcesses'=>86,'SRequirementsCards'=>87,'SCalculations'=>88,'SQuotes'=>89,'SSingleOrders'=>90,'SRecurringOrders'=>91,'Partners'=>92,'Competition'=>93,'FBookkeeping'=>94,'FInvoice'=>95,'KnowledgeBase'=>96,'IStorages'=>97,'IGRN'=>98,'FInvoiceProforma'=>99,'IGDN'=>100,'IIDN'=>101,'IGIN'=>102,'IPreOrder'=>103,'ISTDN'=>104,'ISTN'=>105,'ISTRN'=>106,'FCorectingInvoice'=>107,'IGRNC'=>108,'IGDNC'=>109,'OpenStreetMap'=>110,'Notification'=>111,'EmailTemplates'=>112,'CFixedAssets'=>113,'CInternalTickets'=>114,'FInvoiceCost'=>115,'CMileageLogbook'=>116,'SVendorEnquiries'=>117,'Chat'=>118,'MultiCompany'=>119,'PermissionInspector'=>120,'DataSetRegister'=>121,'ActivityRegister'=>122,'LocationRegister'=>123,'IncidentRegister'=>124,'AuditRegister'=>125,'RecycleBin'=>126,'Approvals'=>127,'ApprovalsRegister'=>128,'MailIntegration'=>129,'Locations'=>130,'Occurrences'=>131,'ProductCategory'=>132,'BankAccounts'=>133,'Queue'=>134,'Passwords'=>135,'TESTMD'=>136,'SMSTemplates'=>137],'tabPresence'=>[1=>0,3=>0,4=>0,6=>0,7=>0,8=>0,9=>0,13=>0,14=>0,15=>0,18=>0,19=>0,24=>0,26=>0,29=>0,30=>0,32=>0,34=>0,35=>0,37=>0,40=>0,41=>0,42=>0,43=>0,45=>0,48=>0,51=>0,53=>0,54=>0,57=>0,58=>0,59=>0,61=>0,73=>0,74=>0,75=>0,78=>0,79=>0,80=>0,81=>0,82=>0,83=>0,84=>0,85=>0,86=>0,87=>0,88=>0,89=>0,90=>0,91=>0,92=>0,93=>0,94=>0,95=>0,96=>0,97=>0,98=>0,99=>0,100=>0,101=>0,102=>0,103=>0,104=>0,105=>0,106=>0,107=>0,108=>0,109=>0,110=>0,111=>0,112=>0,113=>0,114=>0,115=>0,116=>0,117=>0,118=>1,119=>0,120=>0,121=>0,122=>0,123=>0,124=>0,125=>0,126=>0,127=>0,128=>0,129=>0,130=>0,131=>0,132=>0,133=>0,134=>0,135=>0,136=>0,137=>0],'tabOwnedby'=>[1=>1,3=>1,4=>0,6=>0,7=>0,8=>0,9=>0,13=>0,14=>0,15=>1,18=>0,19=>1,24=>1,26=>0,29=>1,30=>0,32=>0,34=>0,35=>0,37=>0,40=>0,41=>0,42=>0,43=>0,45=>0,48=>0,51=>0,53=>0,54=>0,57=>0,58=>0,59=>0,61=>0,73=>0,74=>0,75=>0,78=>0,79=>0,80=>0,81=>0,82=>0,83=>0,84=>0,85=>0,86=>0,87=>0,88=>0,89=>0,90=>0,91=>0,92=>0,93=>0,94=>0,95=>0,96=>0,97=>0,98=>0,99=>0,100=>0,101=>0,102=>0,103=>0,104=>0,105=>0,106=>0,107=>0,108=>0,109=>0,110=>0,111=>0,112=>0,113=>0,114=>0,115=>0,116=>0,117=>0,118=>0,119=>0,120=>0,121=>0,122=>0,123=>0,124=>0,125=>0,126=>0,127=>0,128=>0,129=>0,130=>0,131=>0,132=>0,133=>0,134=>0,135=>0,136=>0,137=>0],'actionId'=>['Save'=>0,'SavePriceBook'=>0,'SaveVendor'=>0,'DetailViewAjax'=>1,'EditView'=>1,'PriceBookEditView'=>1,'QuickCreate'=>1,'VendorEditView'=>1,'Delete'=>2,'DeletePriceBook'=>2,'DeleteVendor'=>2,'index'=>3,'Popup'=>3,'DetailView'=>4,'PriceBookDetailView'=>4,'VendorDetailView'=>4,'Import'=>5,'Export'=>6,'CreateView'=>7,'Merge'=>8,'ConvertLead'=>9,'ModTracker'=>13,'CreateCustomFilter'=>14,'DuplicateRecord'=>15,'EditableComments'=>16,'MassEdit'=>17,'MassDelete'=>18,'MassAddComment'=>19,'MassComposeEmail'=>20,'MassSendSMS'=>21,'MassTransferOwnership'=>22,'MassMoveDocuments'=>23,'ReadRecord'=>24,'WorkflowTrigger'=>25,'Dashboard'=>26,'CreateDashboardFilter'=>27,'QuickExportToExcel'=>28,'DetailTransferOwnership'=>30,'ActivityPostponed'=>31,'ActivityCancel'=>32,'ActivityComplete'=>33,'ExportPdf'=>34,'PrintMail'=>35,'RecordMapping'=>36,'RecordMappingList'=>37,'OpenRecord'=>38,'CloseRecord'=>39,'FavoriteRecords'=>40,'WatchingRecords'=>41,'WatchingModule'=>42,'RemoveRelation'=>46,'ReceivingMailNotifications'=>47,'ReviewingUpdates'=>48,'CreateDashboardChartFilter'=>49,'ReloadRelationRecord'=>50,'TimeLineList'=>51,'MassArchived'=>52,'MassActive'=>53,'ArchiveRecord'=>54,'ActiveRecord'=>55,'MassTrash'=>56,'MoveToTrash'=>57,'RecordConventer'=>58,'AutoAssignRecord'=>59,'AssignToYourself'=>60,'RecordPdfInventory'=>61,'SetQtyProducts'=>62,'RecordCollector'=>63,'MeetingUrl'=>64,'InterestsConflictUsers'=>65,'Kanban'=>66,'RecordActivityNotifier'=>67],'actionName'=>[0=>'Save',1=>'EditView',2=>'Delete',3=>'index',4=>'DetailView',5=>'Import',6=>'Export',7=>'CreateView',8=>'Merge',9=>'ConvertLead',13=>'ModTracker',14=>'CreateCustomFilter',15=>'DuplicateRecord',16=>'EditableComments',17=>'MassEdit',18=>'MassDelete',19=>'MassAddComment',20=>'MassComposeEmail',21=>'MassSendSMS',22=>'MassTransferOwnership',23=>'MassMoveDocuments',24=>'ReadRecord',25=>'WorkflowTrigger',26=>'Dashboard',27=>'CreateDashboardFilter',28=>'QuickExportToExcel',30=>'DetailTransferOwnership',31=>'ActivityPostponed',32=>'ActivityCancel',33=>'ActivityComplete',34=>'ExportPdf',35=>'PrintMail',36=>'RecordMapping',37=>'RecordMappingList',38=>'OpenRecord',39=>'CloseRecord',40=>'FavoriteRecords',41=>'WatchingRecords',42=>'WatchingModule',46=>'RemoveRelation',47=>'ReceivingMailNotifications',48=>'ReviewingUpdates',49=>'CreateDashboardChartFilter',50=>'ReloadRelationRecord',51=>'TimeLineList',52=>'MassArchived',53=>'MassActive',54=>'ArchiveRecord',55=>'ActiveRecord',56=>'MassTrash',57=>'MoveToTrash',58=>'RecordConventer',59=>'AutoAssignRecord',60=>'AssignToYourself',61=>'RecordPdfInventory',62=>'SetQtyProducts',63=>'RecordCollector',64=>'MeetingUrl',65=>'InterestsConflictUsers',66=>'Kanban',67=>'RecordActivityNotifier']]; |
|
1 | +<?php $tab_seq_array = [1=>0, 3=>0, 4=>0, 6=>0, 7=>0, 8=>0, 9=>0, 13=>0, 14=>0, 15=>0, 18=>0, 19=>0, 24=>0, 26=>0, 29=>0, 30=>0, 32=>0, 34=>0, 35=>0, 37=>0, 40=>0, 41=>0, 42=>0, 43=>0, 45=>0, 48=>0, 51=>0, 53=>0, 54=>0, 57=>0, 58=>0, 59=>0, 61=>0, 73=>0, 74=>0, 75=>0, 78=>0, 79=>0, 80=>0, 81=>0, 82=>0, 83=>0, 84=>0, 85=>0, 86=>0, 87=>0, 88=>0, 89=>0, 90=>0, 91=>0, 92=>0, 93=>0, 94=>0, 95=>0, 96=>0, 97=>0, 98=>0, 99=>0, 100=>0, 101=>0, 102=>0, 103=>0, 104=>0, 105=>0, 106=>0, 107=>0, 108=>0, 109=>0, 110=>0, 111=>0, 112=>0, 113=>0, 114=>0, 115=>0, 116=>0, 117=>0, 118=>1, 119=>0, 120=>0, 121=>0, 122=>0, 123=>0, 124=>0, 125=>0, 126=>0, 127=>0, 128=>0, 129=>0, 130=>0, 131=>0, 132=>0, 133=>0, 134=>0, 135=>0, 136=>0, 137=>0]; |
|
2 | +return ['tabId'=>['Dashboard'=>1, 'Home'=>3, 'Contacts'=>4, 'Accounts'=>6, 'Leads'=>7, 'Documents'=>8, 'Calendar'=>9, 'HelpDesk'=>13, 'Products'=>14, 'Faq'=>15, 'Vendors'=>18, 'PriceBooks'=>19, 'Rss'=>24, 'Campaigns'=>26, 'Users'=>29, 'Import'=>30, 'ModTracker'=>32, 'ServiceContracts'=>34, 'Services'=>35, 'Assets'=>37, 'ModComments'=>40, 'ProjectMilestone'=>41, 'ProjectTask'=>42, 'Project'=>43, 'SMSNotifier'=>45, 'OSSMail'=>48, 'OSSTimeControl'=>51, 'OSSMailScanner'=>53, 'OSSMailView'=>54, 'OSSOutsourcedServices'=>57, 'OSSSoldServices'=>58, 'OutsourcedProducts'=>59, 'OSSEmployees'=>61, 'ApiAddress'=>73, 'CallHistory'=>74, 'Ideas'=>75, 'HolidaysEntitlement'=>78, 'PaymentsIn'=>79, 'PaymentsOut'=>80, 'LettersIn'=>81, 'LettersOut'=>82, 'Announcements'=>83, 'Reservations'=>84, 'SQuoteEnquiries'=>85, 'SSalesProcesses'=>86, 'SRequirementsCards'=>87, 'SCalculations'=>88, 'SQuotes'=>89, 'SSingleOrders'=>90, 'SRecurringOrders'=>91, 'Partners'=>92, 'Competition'=>93, 'FBookkeeping'=>94, 'FInvoice'=>95, 'KnowledgeBase'=>96, 'IStorages'=>97, 'IGRN'=>98, 'FInvoiceProforma'=>99, 'IGDN'=>100, 'IIDN'=>101, 'IGIN'=>102, 'IPreOrder'=>103, 'ISTDN'=>104, 'ISTN'=>105, 'ISTRN'=>106, 'FCorectingInvoice'=>107, 'IGRNC'=>108, 'IGDNC'=>109, 'OpenStreetMap'=>110, 'Notification'=>111, 'EmailTemplates'=>112, 'CFixedAssets'=>113, 'CInternalTickets'=>114, 'FInvoiceCost'=>115, 'CMileageLogbook'=>116, 'SVendorEnquiries'=>117, 'Chat'=>118, 'MultiCompany'=>119, 'PermissionInspector'=>120, 'DataSetRegister'=>121, 'ActivityRegister'=>122, 'LocationRegister'=>123, 'IncidentRegister'=>124, 'AuditRegister'=>125, 'RecycleBin'=>126, 'Approvals'=>127, 'ApprovalsRegister'=>128, 'MailIntegration'=>129, 'Locations'=>130, 'Occurrences'=>131, 'ProductCategory'=>132, 'BankAccounts'=>133, 'Queue'=>134, 'Passwords'=>135, 'TESTMD'=>136, 'SMSTemplates'=>137], 'tabPresence'=>[1=>0, 3=>0, 4=>0, 6=>0, 7=>0, 8=>0, 9=>0, 13=>0, 14=>0, 15=>0, 18=>0, 19=>0, 24=>0, 26=>0, 29=>0, 30=>0, 32=>0, 34=>0, 35=>0, 37=>0, 40=>0, 41=>0, 42=>0, 43=>0, 45=>0, 48=>0, 51=>0, 53=>0, 54=>0, 57=>0, 58=>0, 59=>0, 61=>0, 73=>0, 74=>0, 75=>0, 78=>0, 79=>0, 80=>0, 81=>0, 82=>0, 83=>0, 84=>0, 85=>0, 86=>0, 87=>0, 88=>0, 89=>0, 90=>0, 91=>0, 92=>0, 93=>0, 94=>0, 95=>0, 96=>0, 97=>0, 98=>0, 99=>0, 100=>0, 101=>0, 102=>0, 103=>0, 104=>0, 105=>0, 106=>0, 107=>0, 108=>0, 109=>0, 110=>0, 111=>0, 112=>0, 113=>0, 114=>0, 115=>0, 116=>0, 117=>0, 118=>1, 119=>0, 120=>0, 121=>0, 122=>0, 123=>0, 124=>0, 125=>0, 126=>0, 127=>0, 128=>0, 129=>0, 130=>0, 131=>0, 132=>0, 133=>0, 134=>0, 135=>0, 136=>0, 137=>0], 'tabOwnedby'=>[1=>1, 3=>1, 4=>0, 6=>0, 7=>0, 8=>0, 9=>0, 13=>0, 14=>0, 15=>1, 18=>0, 19=>1, 24=>1, 26=>0, 29=>1, 30=>0, 32=>0, 34=>0, 35=>0, 37=>0, 40=>0, 41=>0, 42=>0, 43=>0, 45=>0, 48=>0, 51=>0, 53=>0, 54=>0, 57=>0, 58=>0, 59=>0, 61=>0, 73=>0, 74=>0, 75=>0, 78=>0, 79=>0, 80=>0, 81=>0, 82=>0, 83=>0, 84=>0, 85=>0, 86=>0, 87=>0, 88=>0, 89=>0, 90=>0, 91=>0, 92=>0, 93=>0, 94=>0, 95=>0, 96=>0, 97=>0, 98=>0, 99=>0, 100=>0, 101=>0, 102=>0, 103=>0, 104=>0, 105=>0, 106=>0, 107=>0, 108=>0, 109=>0, 110=>0, 111=>0, 112=>0, 113=>0, 114=>0, 115=>0, 116=>0, 117=>0, 118=>0, 119=>0, 120=>0, 121=>0, 122=>0, 123=>0, 124=>0, 125=>0, 126=>0, 127=>0, 128=>0, 129=>0, 130=>0, 131=>0, 132=>0, 133=>0, 134=>0, 135=>0, 136=>0, 137=>0], 'actionId'=>['Save'=>0, 'SavePriceBook'=>0, 'SaveVendor'=>0, 'DetailViewAjax'=>1, 'EditView'=>1, 'PriceBookEditView'=>1, 'QuickCreate'=>1, 'VendorEditView'=>1, 'Delete'=>2, 'DeletePriceBook'=>2, 'DeleteVendor'=>2, 'index'=>3, 'Popup'=>3, 'DetailView'=>4, 'PriceBookDetailView'=>4, 'VendorDetailView'=>4, 'Import'=>5, 'Export'=>6, 'CreateView'=>7, 'Merge'=>8, 'ConvertLead'=>9, 'ModTracker'=>13, 'CreateCustomFilter'=>14, 'DuplicateRecord'=>15, 'EditableComments'=>16, 'MassEdit'=>17, 'MassDelete'=>18, 'MassAddComment'=>19, 'MassComposeEmail'=>20, 'MassSendSMS'=>21, 'MassTransferOwnership'=>22, 'MassMoveDocuments'=>23, 'ReadRecord'=>24, 'WorkflowTrigger'=>25, 'Dashboard'=>26, 'CreateDashboardFilter'=>27, 'QuickExportToExcel'=>28, 'DetailTransferOwnership'=>30, 'ActivityPostponed'=>31, 'ActivityCancel'=>32, 'ActivityComplete'=>33, 'ExportPdf'=>34, 'PrintMail'=>35, 'RecordMapping'=>36, 'RecordMappingList'=>37, 'OpenRecord'=>38, 'CloseRecord'=>39, 'FavoriteRecords'=>40, 'WatchingRecords'=>41, 'WatchingModule'=>42, 'RemoveRelation'=>46, 'ReceivingMailNotifications'=>47, 'ReviewingUpdates'=>48, 'CreateDashboardChartFilter'=>49, 'ReloadRelationRecord'=>50, 'TimeLineList'=>51, 'MassArchived'=>52, 'MassActive'=>53, 'ArchiveRecord'=>54, 'ActiveRecord'=>55, 'MassTrash'=>56, 'MoveToTrash'=>57, 'RecordConventer'=>58, 'AutoAssignRecord'=>59, 'AssignToYourself'=>60, 'RecordPdfInventory'=>61, 'SetQtyProducts'=>62, 'RecordCollector'=>63, 'MeetingUrl'=>64, 'InterestsConflictUsers'=>65, 'Kanban'=>66, 'RecordActivityNotifier'=>67], 'actionName'=>[0=>'Save', 1=>'EditView', 2=>'Delete', 3=>'index', 4=>'DetailView', 5=>'Import', 6=>'Export', 7=>'CreateView', 8=>'Merge', 9=>'ConvertLead', 13=>'ModTracker', 14=>'CreateCustomFilter', 15=>'DuplicateRecord', 16=>'EditableComments', 17=>'MassEdit', 18=>'MassDelete', 19=>'MassAddComment', 20=>'MassComposeEmail', 21=>'MassSendSMS', 22=>'MassTransferOwnership', 23=>'MassMoveDocuments', 24=>'ReadRecord', 25=>'WorkflowTrigger', 26=>'Dashboard', 27=>'CreateDashboardFilter', 28=>'QuickExportToExcel', 30=>'DetailTransferOwnership', 31=>'ActivityPostponed', 32=>'ActivityCancel', 33=>'ActivityComplete', 34=>'ExportPdf', 35=>'PrintMail', 36=>'RecordMapping', 37=>'RecordMappingList', 38=>'OpenRecord', 39=>'CloseRecord', 40=>'FavoriteRecords', 41=>'WatchingRecords', 42=>'WatchingModule', 46=>'RemoveRelation', 47=>'ReceivingMailNotifications', 48=>'ReviewingUpdates', 49=>'CreateDashboardChartFilter', 50=>'ReloadRelationRecord', 51=>'TimeLineList', 52=>'MassArchived', 53=>'MassActive', 54=>'ArchiveRecord', 55=>'ActiveRecord', 56=>'MassTrash', 57=>'MoveToTrash', 58=>'RecordConventer', 59=>'AutoAssignRecord', 60=>'AssignToYourself', 61=>'RecordPdfInventory', 62=>'SetQtyProducts', 63=>'RecordCollector', 64=>'MeetingUrl', 65=>'InterestsConflictUsers', 66=>'Kanban', 67=>'RecordActivityNotifier']]; |
|
3 | 3 |