Completed
Push — develop ( 695bbe...affb48 )
by Adam
19:17
created
include/ListView/ListViewSubPanel.php 1 patch
Spacing   +62 added lines, -62 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
                 $this->createSmartyTemplate();
137 137
             }
138 138
 
139
-            $html_var = $this->subpanel_module . "_CELL";
139
+            $html_var = $this->subpanel_module."_CELL";
140 140
 
141 141
             $list_data = $this->processUnionBeans($sugarbean, $subpanel_def, $html_var);
142 142
 
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
                 }
292 292
             }
293 293
 
294
-            foreach($data as $aVal => $aItem) {
294
+            foreach ($data as $aVal => $aItem) {
295 295
                 $widget_contents[$aVal] = array();
296 296
                 $subpanel_item_count++;
297 297
                 $aItem->check_date_relationships_load();
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
 
325 325
                 if ($this->shouldProcess) {
326 326
                     if ($aItem->ACLAccess('EditView')) {
327
-                        $widget_contents[$aVal][0] = "<input type='checkbox' class='checkbox' name='mass[]' value='" . $fields['ID'] . "' />";
327
+                        $widget_contents[$aVal][0] = "<input type='checkbox' class='checkbox' name='mass[]' value='".$fields['ID']."' />";
328 328
                     }
329 329
                     else {
330 330
                         $widget_contents[$aVal][0] = '';
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
 //                    else {
336 336
 //                        $this->smartyTemplate->assign('TAG_NAME', 'span');
337 337
 //                    }
338
-                    $this->smartyTemplate->assign('CHECKALL', "<input type='checkbox'  title='" . $GLOBALS['app_strings']['LBL_SELECT_ALL_TITLE'] . "' class='checkbox' name='massall' id='massall' value='' onclick='sListView.check_all(document.MassUpdate, \"mass[]\", this.checked);' />");
338
+                    $this->smartyTemplate->assign('CHECKALL', "<input type='checkbox'  title='".$GLOBALS['app_strings']['LBL_SELECT_ALL_TITLE']."' class='checkbox' name='massall' id='massall' value='' onclick='sListView.check_all(document.MassUpdate, \"mass[]\", this.checked);' />");
339 339
 
340 340
                 }
341 341
                 $oddRow = !$oddRow;
@@ -415,8 +415,8 @@  discard block
 block discarded – undo
415 415
                         if ($usage != 'query_only') {
416 416
                             $list_field['name'] = $field_name;
417 417
 
418
-                            $module_field = $field_name . '_mod';
419
-                            $owner_field = $field_name . '_owner';
418
+                            $module_field = $field_name.'_mod';
419
+                            $owner_field = $field_name.'_owner';
420 420
                             if (!empty($aItem->$module_field)) {
421 421
 
422 422
                                 $list_field['owner_id'] = $aItem->$owner_field;
@@ -504,11 +504,11 @@  discard block
 block discarded – undo
504 504
                                         unset($_content);
505 505
                                     }
506 506
                                     else {
507
-                                        $doNotProcessTheseActions = array("edit_button", "close_button","remove_button");
508
-                                        if(!in_array($list_field['name'],$doNotProcessTheseActions) && '' != ($_content = $layout_manager->widgetDisplay($list_field))){
507
+                                        $doNotProcessTheseActions = array("edit_button", "close_button", "remove_button");
508
+                                        if (!in_array($list_field['name'], $doNotProcessTheseActions) && '' != ($_content = $layout_manager->widgetDisplay($list_field))) {
509 509
                                             $button_contents[$aVal][] = $_content;
510 510
                                             unset($_content);
511
-                                        }else{
511
+                                        } else {
512 512
                                             $button_contents[$aVal][] = '';
513 513
                                         }
514 514
                                     }
@@ -545,9 +545,9 @@  discard block
 block discarded – undo
545 545
             global $currentModule;
546 546
             global $app_strings;
547 547
 
548
-            if(!isset($current_offset) || empty($current_offset))
548
+            if (!isset($current_offset) || empty($current_offset))
549 549
 	    {
550
-  		$current_offset=0;
550
+  		$current_offset = 0;
551 551
 	    }
552 552
 	    $start_record = $current_offset + 1;
553 553
 
@@ -579,21 +579,21 @@  discard block
 block discarded – undo
579 579
                 $dynamic_url = '';
580 580
 
581 581
                 if ($this->is_dynamic) {
582
-                    $dynamic_url .= '&' . $this->getSessionVariableName($html_varName, 'ORDER_BY') . '=' . $this->getSessionVariable($html_varName, 'ORDER_BY') . '&sort_order=' . $this->sort_order . '&to_pdf=true&action=SubPanelViewer&subpanel=' . $this->subpanel_module;
582
+                    $dynamic_url .= '&'.$this->getSessionVariableName($html_varName, 'ORDER_BY').'='.$this->getSessionVariable($html_varName, 'ORDER_BY').'&sort_order='.$this->sort_order.'&to_pdf=true&action=SubPanelViewer&subpanel='.$this->subpanel_module;
583 583
                 }
584 584
 
585
-                $current_URL = htmlentities($this->base_URL . $current_offset . $dynamic_url);
586
-                $start_URL = htmlentities($this->base_URL . "0" . $dynamic_url);
587
-                $previous_URL = htmlentities($this->base_URL . $previous_offset . $dynamic_url);
588
-                $next_URL = htmlentities($this->base_URL . $next_offset . $dynamic_url);
589
-                $end_URL = htmlentities($this->base_URL . 'end' . $dynamic_url);
585
+                $current_URL = htmlentities($this->base_URL.$current_offset.$dynamic_url);
586
+                $start_URL = htmlentities($this->base_URL."0".$dynamic_url);
587
+                $previous_URL = htmlentities($this->base_URL.$previous_offset.$dynamic_url);
588
+                $next_URL = htmlentities($this->base_URL.$next_offset.$dynamic_url);
589
+                $end_URL = htmlentities($this->base_URL.'end'.$dynamic_url);
590 590
 
591 591
                 if (!empty($this->start_link_wrapper)) {
592
-                    $current_URL = $this->start_link_wrapper . $current_URL . $this->end_link_wrapper;
593
-                    $start_URL = $this->start_link_wrapper . $start_URL . $this->end_link_wrapper;
594
-                    $previous_URL = $this->start_link_wrapper . $previous_URL . $this->end_link_wrapper;
595
-                    $next_URL = $this->start_link_wrapper . $next_URL . $this->end_link_wrapper;
596
-                    $end_URL = $this->start_link_wrapper . $end_URL . $this->end_link_wrapper;
592
+                    $current_URL = $this->start_link_wrapper.$current_URL.$this->end_link_wrapper;
593
+                    $start_URL = $this->start_link_wrapper.$start_URL.$this->end_link_wrapper;
594
+                    $previous_URL = $this->start_link_wrapper.$previous_URL.$this->end_link_wrapper;
595
+                    $next_URL = $this->start_link_wrapper.$next_URL.$this->end_link_wrapper;
596
+                    $end_URL = $this->start_link_wrapper.$end_URL.$this->end_link_wrapper;
597 597
                 }
598 598
 
599 599
                 $moduleString = htmlspecialchars("{$currentModule}_{$html_varName}_offset");
@@ -606,7 +606,7 @@  discard block
 block discarded – undo
606 606
                     $uids = empty($_REQUEST['uid']) || $massUpdateRun ? '' : $_REQUEST['uid'];
607 607
                     $select_entire_list = ($massUpdateRun) ? 0 : (isset($_POST['select_entire_list']) ? $_POST['select_entire_list'] : (isset($_REQUEST['select_entire_list']) ? htmlspecialchars($_REQUEST['select_entire_list']) : 0));
608 608
 
609
-                    echo "<textarea style='display: none' name='uid'>{$uids}</textarea>\n" . "<input type='hidden' name='select_entire_list' value='{$select_entire_list}'>\n" . "<input type='hidden' name='{$moduleString}' value='0'>\n" . "<input type='hidden' name='{$moduleStringOrder}' value='0'>\n";
609
+                    echo "<textarea style='display: none' name='uid'>{$uids}</textarea>\n"."<input type='hidden' name='select_entire_list' value='{$select_entire_list}'>\n"."<input type='hidden' name='{$moduleString}' value='0'>\n"."<input type='hidden' name='{$moduleStringOrder}' value='0'>\n";
610 610
 
611 611
                 }
612 612
 
@@ -614,17 +614,17 @@  discard block
 block discarded – undo
614 614
                 $GLOBALS['log']->debug("Offsets: (start, previous, next, last)(0, $previous_offset, $next_offset, $last_offset)");
615 615
 
616 616
                 if (0 == $current_offset) {
617
-                    $start_link = "<button type='button' name='listViewStartButton' title='{$this->local_app_strings['LNK_LIST_START']}' class='button' disabled>" . SugarThemeRegistry::current()->getImage("start_off", "aborder='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_START']) . "</button>";
618
-                    $previous_link = "<button type='button' name='listViewPrevButton' title='{$this->local_app_strings['LNK_LIST_PREVIOUS']}' class='button' disabled>" . SugarThemeRegistry::current()->getImage("previous_off", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_PREVIOUS']) . "</button>";
617
+                    $start_link = "<button type='button' name='listViewStartButton' title='{$this->local_app_strings['LNK_LIST_START']}' class='button' disabled>".SugarThemeRegistry::current()->getImage("start_off", "aborder='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_START'])."</button>";
618
+                    $previous_link = "<button type='button' name='listViewPrevButton' title='{$this->local_app_strings['LNK_LIST_PREVIOUS']}' class='button' disabled>".SugarThemeRegistry::current()->getImage("previous_off", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_PREVIOUS'])."</button>";
619 619
                 }
620 620
                 else {
621 621
                     if ($this->multi_select_popup) {// nav links for multiselect popup, submit form to save checks.
622
-                        $start_link = "<button type='button' class='button' name='listViewStartButton' title='{$this->local_app_strings['LNK_LIST_START']}' onClick='javascript:save_checks(0, \"{$moduleString}\");'>" . SugarThemeRegistry::current()->getImage("start", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_START']) . "</button>";
623
-                        $previous_link = "<button type='button' class='button' name='listViewPrevButton' title='{$this->local_app_strings['LNK_LIST_PREVIOUS']}' onClick='javascript:save_checks($previous_offset, \"{$moduleString}\");'>" . SugarThemeRegistry::current()->getImage("previous", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_PREVIOUS']) . "</button>";
622
+                        $start_link = "<button type='button' class='button' name='listViewStartButton' title='{$this->local_app_strings['LNK_LIST_START']}' onClick='javascript:save_checks(0, \"{$moduleString}\");'>".SugarThemeRegistry::current()->getImage("start", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_START'])."</button>";
623
+                        $previous_link = "<button type='button' class='button' name='listViewPrevButton' title='{$this->local_app_strings['LNK_LIST_PREVIOUS']}' onClick='javascript:save_checks($previous_offset, \"{$moduleString}\");'>".SugarThemeRegistry::current()->getImage("previous", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_PREVIOUS'])."</button>";
624 624
                     }
625 625
                     elseif ($this->shouldProcess) {
626
-                        $start_link = "<button type='button' class='button' name='listViewStartButton' title='{$this->local_app_strings['LNK_LIST_START']}' onClick='location.href=\"$start_URL\"; sListView.save_checks(0, \"{$moduleString}\");'>" . SugarThemeRegistry::current()->getImage("start", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_START']) . "</button>";
627
-                        $previous_link = "<button type='button' class='button' name='listViewPrevButton' title='{$this->local_app_strings['LNK_LIST_PREVIOUS']}' onClick='location.href=\"$previous_URL\"; sListView.save_checks($previous_offset, \"{$moduleString}\");'>" . SugarThemeRegistry::current()->getImage("previous", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_PREVIOUS']) . "</button>";
626
+                        $start_link = "<button type='button' class='button' name='listViewStartButton' title='{$this->local_app_strings['LNK_LIST_START']}' onClick='location.href=\"$start_URL\"; sListView.save_checks(0, \"{$moduleString}\");'>".SugarThemeRegistry::current()->getImage("start", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_START'])."</button>";
627
+                        $previous_link = "<button type='button' class='button' name='listViewPrevButton' title='{$this->local_app_strings['LNK_LIST_PREVIOUS']}' onClick='location.href=\"$previous_URL\"; sListView.save_checks($previous_offset, \"{$moduleString}\");'>".SugarThemeRegistry::current()->getImage("previous", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_PREVIOUS'])."</button>";
628 628
                     }
629 629
                     else {
630 630
                         $onClick = '';
@@ -634,7 +634,7 @@  discard block
 block discarded – undo
634 634
                         else {
635 635
                             $onClick = "'location.href=\"$start_URL\";'";
636 636
                         }
637
-                        $start_link = "<button type='button' class='button' name='listViewStartButton' title='{$this->local_app_strings['LNK_LIST_START']}' onClick=" . $onClick . ">" . SugarThemeRegistry::current()->getImage("start", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_START']) . "</button>";
637
+                        $start_link = "<button type='button' class='button' name='listViewStartButton' title='{$this->local_app_strings['LNK_LIST_START']}' onClick=".$onClick.">".SugarThemeRegistry::current()->getImage("start", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_START'])."</button>";
638 638
 
639 639
                         $onClick = '';
640 640
                         if (0 != preg_match('/javascript.*/', $previous_URL)) {
@@ -643,25 +643,25 @@  discard block
 block discarded – undo
643 643
                         else {
644 644
                             $onClick = "'location.href=\"$previous_URL\";'";
645 645
                         }
646
-                        $previous_link = "<button type='button' class='button' name='listViewPrevButton' title='{$this->local_app_strings['LNK_LIST_PREVIOUS']}' onClick=" . $onClick . ">" . SugarThemeRegistry::current()->getImage("previous", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_PREVIOUS']) . "</button>";
646
+                        $previous_link = "<button type='button' class='button' name='listViewPrevButton' title='{$this->local_app_strings['LNK_LIST_PREVIOUS']}' onClick=".$onClick.">".SugarThemeRegistry::current()->getImage("previous", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_PREVIOUS'])."</button>";
647 647
                     }
648 648
                 }
649 649
 
650 650
                 if ($last_offset <= $current_offset) {
651
-                    $end_link = "<button type='button' name='listViewEndButton' title='{$this->local_app_strings['LNK_LIST_END']}' class='button' disabled>" . SugarThemeRegistry::current()->getImage("end_off", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_END']) . "</button>";
652
-                    $next_link = "<button type='button' name='listViewNextButton' title='{$this->local_app_strings['LNK_LIST_NEXT']}' class='button' disabled>" . SugarThemeRegistry::current()->getImage("next_off", "aborder='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_NEXT']) . "</button>";
651
+                    $end_link = "<button type='button' name='listViewEndButton' title='{$this->local_app_strings['LNK_LIST_END']}' class='button' disabled>".SugarThemeRegistry::current()->getImage("end_off", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_END'])."</button>";
652
+                    $next_link = "<button type='button' name='listViewNextButton' title='{$this->local_app_strings['LNK_LIST_NEXT']}' class='button' disabled>".SugarThemeRegistry::current()->getImage("next_off", "aborder='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_NEXT'])."</button>";
653 653
                 }
654 654
                 else {
655 655
                     if ($this->multi_select_popup) { // nav links for multiselect popup, submit form to save checks.
656
-                        $end_link = "<button type='button' name='listViewEndButton' class='button' title='{$this->local_app_strings['LNK_LIST_END']}' onClick='javascript:save_checks($last_offset, \"{$moduleString}\");'>" . SugarThemeRegistry::current()->getImage("end", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_END']) . "</button>";
656
+                        $end_link = "<button type='button' name='listViewEndButton' class='button' title='{$this->local_app_strings['LNK_LIST_END']}' onClick='javascript:save_checks($last_offset, \"{$moduleString}\");'>".SugarThemeRegistry::current()->getImage("end", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_END'])."</button>";
657 657
                         if (!empty($sugar_config['disable_count_query'])) {
658 658
                             $end_link = '';
659 659
                         }
660
-                        $next_link = "<button type='button' name='listViewNextButton' title='{$this->local_app_strings['LNK_LIST_NEXT']}' class='button' onClick='javascript:save_checks($next_offset, \"{$moduleString}\");'>" . SugarThemeRegistry::current()->getImage("next", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_NEXT']) . "</button>";
660
+                        $next_link = "<button type='button' name='listViewNextButton' title='{$this->local_app_strings['LNK_LIST_NEXT']}' class='button' onClick='javascript:save_checks($next_offset, \"{$moduleString}\");'>".SugarThemeRegistry::current()->getImage("next", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_NEXT'])."</button>";
661 661
                     }
662 662
                     elseif ($this->shouldProcess) {
663
-                        $end_link = "<button type='button' name='listViewEndButton' class='button' title='{$this->local_app_strings['LNK_LIST_END']}' onClick='location.href=\"$end_URL\"; sListView.save_checks(\"end\", \"{$moduleString}\");'>" . SugarThemeRegistry::current()->getImage("end", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_END']) . "</button>";
664
-                        $next_link = "<button type='button' name='listViewNextButton' class='button' title='{$this->local_app_strings['LNK_LIST_NEXT']}' onClick='location.href=\"$next_URL\"; sListView.save_checks($next_offset, \"{$moduleString}\");'>" . SugarThemeRegistry::current()->getImage("next", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_NEXT']) . "</button>";
663
+                        $end_link = "<button type='button' name='listViewEndButton' class='button' title='{$this->local_app_strings['LNK_LIST_END']}' onClick='location.href=\"$end_URL\"; sListView.save_checks(\"end\", \"{$moduleString}\");'>".SugarThemeRegistry::current()->getImage("end", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_END'])."</button>";
664
+                        $next_link = "<button type='button' name='listViewNextButton' class='button' title='{$this->local_app_strings['LNK_LIST_NEXT']}' onClick='location.href=\"$next_URL\"; sListView.save_checks($next_offset, \"{$moduleString}\");'>".SugarThemeRegistry::current()->getImage("next", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_NEXT'])."</button>";
665 665
                     }
666 666
                     else {
667 667
                         $onClick = '';
@@ -671,7 +671,7 @@  discard block
 block discarded – undo
671 671
                         else {
672 672
                             $onClick = "'location.href=\"$next_URL\";'";
673 673
                         }
674
-                        $next_link = "<button type='button' name='listViewNextButton' class='button' title='{$this->local_app_strings['LNK_LIST_NEXT']}' onClick=" . $onClick . ">" . SugarThemeRegistry::current()->getImage("next", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_NEXT']) . "</button>";
674
+                        $next_link = "<button type='button' name='listViewNextButton' class='button' title='{$this->local_app_strings['LNK_LIST_NEXT']}' onClick=".$onClick.">".SugarThemeRegistry::current()->getImage("next", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_NEXT'])."</button>";
675 675
 
676 676
                         $onClick = '';
677 677
                         if (0 != preg_match('/javascript.*/', $end_URL)) {
@@ -680,7 +680,7 @@  discard block
 block discarded – undo
680 680
                         else {
681 681
                             $onClick = "'location.href=\"$end_URL\";'";
682 682
                         }
683
-                        $end_link = "<button type='button' name='listViewEndButton' class='button' title='{$this->local_app_strings['LNK_LIST_END']}' onClick=" . $onClick . ">" . SugarThemeRegistry::current()->getImage("end", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_END']) . "</button>";
683
+                        $end_link = "<button type='button' name='listViewEndButton' class='button' title='{$this->local_app_strings['LNK_LIST_END']}' onClick=".$onClick.">".SugarThemeRegistry::current()->getImage("end", "border='0' align='absmiddle'", null, null, '.gif', $this->local_app_strings['LNK_LIST_END'])."</button>";
684 684
 
685 685
                     }
686 686
                 }
@@ -690,14 +690,14 @@  discard block
 block discarded – undo
690 690
 
691 691
                 $end_record = $end_record - 1;
692 692
 
693
-                $script_href = "<a style=\'width: 150px\' name=\"thispage\" class=\'menuItem\' onmouseover=\'hiliteItem(this,\"yes\");\' onmouseout=\'unhiliteItem(this);\' onclick=\'if (document.MassUpdate.select_entire_list.value==1){document.MassUpdate.select_entire_list.value=0;sListView.check_all(document.MassUpdate, \"mass[]\", true, $this->records_per_page)}else {sListView.check_all(document.MassUpdate, \"mass[]\", true)};\' href=\'#\'>{$this->local_app_strings['LBL_LISTVIEW_OPTION_CURRENT']}&nbsp;&#x28;{$this->records_per_page}&#x29;&#x200E;</a>" . "<a style=\'width: 150px\' name=\"selectall\" class=\'menuItem\' onmouseover=\'hiliteItem(this,\"yes\");\' onmouseout=\'unhiliteItem(this);\' onclick=\'sListView.check_entire_list(document.MassUpdate, \"mass[]\",true,{$row_count});\' href=\'#\'>{$this->local_app_strings['LBL_LISTVIEW_OPTION_ENTIRE']}&nbsp;&#x28;{$row_count}&#x29;&#x200E;</a>" . "<a style=\'width: 150px\' name=\"deselect\" class=\'menuItem\' onmouseover=\'hiliteItem(this,\"yes\");\' onmouseout=\'unhiliteItem(this);\' onclick=\'sListView.clear_all(document.MassUpdate, \"mass[]\", false);\' href=\'#\'>{$this->local_app_strings['LBL_LISTVIEW_NONE']}</a>";
693
+                $script_href = "<a style=\'width: 150px\' name=\"thispage\" class=\'menuItem\' onmouseover=\'hiliteItem(this,\"yes\");\' onmouseout=\'unhiliteItem(this);\' onclick=\'if (document.MassUpdate.select_entire_list.value==1){document.MassUpdate.select_entire_list.value=0;sListView.check_all(document.MassUpdate, \"mass[]\", true, $this->records_per_page)}else {sListView.check_all(document.MassUpdate, \"mass[]\", true)};\' href=\'#\'>{$this->local_app_strings['LBL_LISTVIEW_OPTION_CURRENT']}&nbsp;&#x28;{$this->records_per_page}&#x29;&#x200E;</a>"."<a style=\'width: 150px\' name=\"selectall\" class=\'menuItem\' onmouseover=\'hiliteItem(this,\"yes\");\' onmouseout=\'unhiliteItem(this);\' onclick=\'sListView.check_entire_list(document.MassUpdate, \"mass[]\",true,{$row_count});\' href=\'#\'>{$this->local_app_strings['LBL_LISTVIEW_OPTION_ENTIRE']}&nbsp;&#x28;{$row_count}&#x29;&#x200E;</a>"."<a style=\'width: 150px\' name=\"deselect\" class=\'menuItem\' onmouseover=\'hiliteItem(this,\"yes\");\' onmouseout=\'unhiliteItem(this);\' onclick=\'sListView.clear_all(document.MassUpdate, \"mass[]\", false);\' href=\'#\'>{$this->local_app_strings['LBL_LISTVIEW_NONE']}</a>";
694 694
 
695 695
                 $close_inline_img = SugarThemeRegistry::current()->getImage('close_inline', 'border=0', null, null, ".gif", $app_strings['LBL_CLOSEINLINE']);
696 696
 
697 697
                 echo "<script>
698 698
                 function select_dialog() {
699 699
                 	var \$dialog = \$('<div></div>')
700
-					.html('<a style=\'width: 150px\' name=\"thispage\" class=\'menuItem\' onmouseover=\'hiliteItem(this,\"yes\");\' onmouseout=\'unhiliteItem(this);\' onclick=\'if (document.MassUpdate.select_entire_list.value==1){document.MassUpdate.select_entire_list.value=0;sListView.check_all(document.MassUpdate, \"mass[]\", true, $this->records_per_page)}else {sListView.check_all(document.MassUpdate, \"mass[]\", true)};\' href=\'javascript:void(0)\'>{$this->local_app_strings['LBL_LISTVIEW_OPTION_CURRENT']}&nbsp;&#x28;{$this->records_per_page}&#x29;&#x200E;</a>" . "<a style=\'width: 150px\' name=\"selectall\" class=\'menuItem\' onmouseover=\'hiliteItem(this,\"yes\");\' onmouseout=\'unhiliteItem(this);\' onclick=\'sListView.check_entire_list(document.MassUpdate, \"mass[]\",true,{$row_count});\' href=\'javascript:void(0)\'>{$this->local_app_strings['LBL_LISTVIEW_OPTION_ENTIRE']}&nbsp;&#x28;{$row_count}&#x29;&#x200E;</a>" . "<a style=\'width: 150px\' name=\"deselect\" class=\'menuItem\' onmouseover=\'hiliteItem(this,\"yes\");\' onmouseout=\'unhiliteItem(this);\' onclick=\'sListView.clear_all(document.MassUpdate, \"mass[]\", false);\' href=\'javascript:void(0)\'>{$this->local_app_strings['LBL_LISTVIEW_NONE']}</a>')
700
+					.html('<a style=\'width: 150px\' name=\"thispage\" class=\'menuItem\' onmouseover=\'hiliteItem(this,\"yes\");\' onmouseout=\'unhiliteItem(this);\' onclick=\'if (document.MassUpdate.select_entire_list.value==1){document.MassUpdate.select_entire_list.value=0;sListView.check_all(document.MassUpdate, \"mass[]\", true, $this->records_per_page)}else {sListView.check_all(document.MassUpdate, \"mass[]\", true)};\' href=\'javascript:void(0)\'>{$this->local_app_strings['LBL_LISTVIEW_OPTION_CURRENT']}&nbsp;&#x28;{$this->records_per_page}&#x29;&#x200E;</a>"."<a style=\'width: 150px\' name=\"selectall\" class=\'menuItem\' onmouseover=\'hiliteItem(this,\"yes\");\' onmouseout=\'unhiliteItem(this);\' onclick=\'sListView.check_entire_list(document.MassUpdate, \"mass[]\",true,{$row_count});\' href=\'javascript:void(0)\'>{$this->local_app_strings['LBL_LISTVIEW_OPTION_ENTIRE']}&nbsp;&#x28;{$row_count}&#x29;&#x200E;</a>"."<a style=\'width: 150px\' name=\"deselect\" class=\'menuItem\' onmouseover=\'hiliteItem(this,\"yes\");\' onmouseout=\'unhiliteItem(this);\' onclick=\'sListView.clear_all(document.MassUpdate, \"mass[]\", false);\' href=\'javascript:void(0)\'>{$this->local_app_strings['LBL_LISTVIEW_NONE']}</a>')
701 701
 					.dialog({
702 702
 						autoOpen: false,
703 703
 						width: 150
@@ -714,7 +714,7 @@  discard block
 block discarded – undo
714 714
                     if (!empty($GLOBALS['sugar_config']['disable_count_query']) && $GLOBALS['sugar_config']['disable_count_query'] === true && $total > $pageTotal) {
715 715
                         $this->show_plus = true;
716 716
                         $total = $pageTotal;
717
-                        $total_label = $total . '+';
717
+                        $total_label = $total.'+';
718 718
                     }
719 719
                     else {
720 720
                         $this->show_plus = false;
@@ -725,7 +725,7 @@  discard block
 block discarded – undo
725 725
                     //Bug#52931: Replace with actionMenu
726 726
                     //$select_link = "<a id='select_link' onclick='return select_dialog();' href=\"javascript:void(0)\">".$this->local_app_strings['LBL_LINK_SELECT']."&nbsp;".SugarThemeRegistry::current()->getImage('MoreDetail', 'border=0', 11, 7, '.png', $app_strings['LBL_MOREDETAIL'])."</a>";
727 727
                     $menuItems = array(
728
-                        "<input title=\"" . $app_strings['LBL_SELECT_ALL_TITLE'] . "\" type='checkbox' class='checkbox massall' name='massall' id='massall' value='' onclick='sListView.check_all(document.MassUpdate, \"mass[]\", this.checked);' /><a href='javascript: void(0);'></a>", "<a  name='thispage' id='button_select_this_page' class='menuItem' onmouseover='hiliteItem(this,\"yes\");' onmouseout='unhiliteItem(this);' onclick='if (document.MassUpdate.select_entire_list.value==1){document.MassUpdate.select_entire_list.value=0;sListView.check_all(document.MassUpdate, \"mass[]\", true, $pageTotal)}else {sListView.check_all(document.MassUpdate, \"mass[]\", true)};' href='#'>{$app_strings['LBL_LISTVIEW_OPTION_CURRENT']}&nbsp;&#x28;{$pageTotal}&#x29;&#x200E;</a>", "<a  name='selectall' id='button_select_all' class='menuItem' onmouseover='hiliteItem(this,\"yes\");' onmouseout='unhiliteItem(this);' onclick='sListView.check_entire_list(document.MassUpdate, \"mass[]\",true,{$total});' href='#'>{$app_strings['LBL_LISTVIEW_OPTION_ENTIRE']}&nbsp;&#x28;{$total_label}&#x29;&#x200E;</a>", "<a name='deselect' id='button_deselect' class='menuItem' onmouseover='hiliteItem(this,\"yes\");' onmouseout='unhiliteItem(this);' onclick='sListView.clear_all(document.MassUpdate, \"mass[]\", false);' href='#'>{$app_strings['LBL_LISTVIEW_NONE']}</a>",
728
+                        "<input title=\"".$app_strings['LBL_SELECT_ALL_TITLE']."\" type='checkbox' class='checkbox massall' name='massall' id='massall' value='' onclick='sListView.check_all(document.MassUpdate, \"mass[]\", this.checked);' /><a href='javascript: void(0);'></a>", "<a  name='thispage' id='button_select_this_page' class='menuItem' onmouseover='hiliteItem(this,\"yes\");' onmouseout='unhiliteItem(this);' onclick='if (document.MassUpdate.select_entire_list.value==1){document.MassUpdate.select_entire_list.value=0;sListView.check_all(document.MassUpdate, \"mass[]\", true, $pageTotal)}else {sListView.check_all(document.MassUpdate, \"mass[]\", true)};' href='#'>{$app_strings['LBL_LISTVIEW_OPTION_CURRENT']}&nbsp;&#x28;{$pageTotal}&#x29;&#x200E;</a>", "<a  name='selectall' id='button_select_all' class='menuItem' onmouseover='hiliteItem(this,\"yes\");' onmouseout='unhiliteItem(this);' onclick='sListView.check_entire_list(document.MassUpdate, \"mass[]\",true,{$total});' href='#'>{$app_strings['LBL_LISTVIEW_OPTION_ENTIRE']}&nbsp;&#x28;{$total_label}&#x29;&#x200E;</a>", "<a name='deselect' id='button_deselect' class='menuItem' onmouseover='hiliteItem(this,\"yes\");' onmouseout='unhiliteItem(this);' onclick='sListView.clear_all(document.MassUpdate, \"mass[]\", false);' href='#'>{$app_strings['LBL_LISTVIEW_NONE']}</a>",
729 729
                     );
730 730
                     require_once('include/Smarty/plugins/function.sugar_action_menu.php');
731 731
                     $select_link = smarty_function_sugar_action_menu(array(
@@ -737,10 +737,10 @@  discard block
 block discarded – undo
737 737
                     $select_link = "&nbsp;";
738 738
                 }
739 739
 
740
-                $export_link = '<input class="button" type="button" value="' . $this->local_app_strings['LBL_EXPORT'] . '" ' . 'onclick="return sListView.send_form(true, \'' . $_REQUEST['module'] . '\', \'index.php?entryPoint=export\',\'' . $this->local_app_strings['LBL_LISTVIEW_NO_SELECTED'] . '\')">';
740
+                $export_link = '<input class="button" type="button" value="'.$this->local_app_strings['LBL_EXPORT'].'" '.'onclick="return sListView.send_form(true, \''.$_REQUEST['module'].'\', \'index.php?entryPoint=export\',\''.$this->local_app_strings['LBL_LISTVIEW_NO_SELECTED'].'\')">';
741 741
 
742 742
                 if ($this->show_delete_button) {
743
-                    $delete_link = '<input class="button" type="button" id="delete_button" name="Delete" value="' . $this->local_app_strings['LBL_DELETE_BUTTON_LABEL'] . '" onclick="return sListView.send_mass_update(\'selected\',\'' . $this->local_app_strings['LBL_LISTVIEW_NO_SELECTED'] . '\', 1)">';
743
+                    $delete_link = '<input class="button" type="button" id="delete_button" name="Delete" value="'.$this->local_app_strings['LBL_DELETE_BUTTON_LABEL'].'" onclick="return sListView.send_mass_update(\'selected\',\''.$this->local_app_strings['LBL_LISTVIEW_NO_SELECTED'].'\', 1)">';
744 744
                 }
745 745
                 else {
746 746
                     $delete_link = '&nbsp;';
@@ -750,7 +750,7 @@  discard block
 block discarded – undo
750 750
                 $admin->retrieveSettings('system');
751 751
 
752 752
                 $user_merge = $current_user->getPreference('mailmerge_on');
753
-                if($user_merge == 'on' && isset($admin->settings['system_mailmerge_on']) && $admin->settings['system_mailmerge_on']) {
753
+                if ($user_merge == 'on' && isset($admin->settings['system_mailmerge_on']) && $admin->settings['system_mailmerge_on']) {
754 754
                     echo "<script>
755 755
                 function mailmerge_dialog(el) {
756 756
                    	var \$dialog = \$('<div></div>')
@@ -759,7 +759,7 @@  discard block
 block discarded – undo
759 759
                         . "<a  class=\'menuItem\' onmouseover=\'hiliteItem(this,\"yes\");\' onmouseout=\'unhiliteItem(this);\' href=\'index.php?action=index&module=MailMerge&entire=true\'>{$this->local_app_strings['LBL_LISTVIEW_OPTION_ENTIRE']}</a>')
760 760
 					.dialog({
761 761
 						autoOpen: false,
762
-						title: '". $this->local_app_strings['LBL_MAILMERGE']."',
762
+						title: '".$this->local_app_strings['LBL_MAILMERGE']."',
763 763
 						width: 150,
764 764
 						position: {
765 765
 						    my: myPos,
@@ -775,7 +775,7 @@  discard block
 block discarded – undo
775 775
                     $merge_link = "&nbsp;";
776 776
                 }
777 777
 
778
-                $selected_objects_span = "&nbsp;|&nbsp;{$this->local_app_strings['LBL_LISTVIEW_SELECTED_OBJECTS']}<input  style='border: 0px; background: transparent; font-size: inherit; color: inherit' type='text' readonly name='selectCount[]' value='" . ((isset($_POST['mass'])) ? count($_POST['mass']) : 0) . "' />";
778
+                $selected_objects_span = "&nbsp;|&nbsp;{$this->local_app_strings['LBL_LISTVIEW_SELECTED_OBJECTS']}<input  style='border: 0px; background: transparent; font-size: inherit; color: inherit' type='text' readonly name='selectCount[]' value='".((isset($_POST['mass'])) ? count($_POST['mass']) : 0)."' />";
779 779
 
780 780
                 if ($_REQUEST['module'] == 'Home' || $this->local_current_module == 'Import' || $this->show_export_button == false || (!empty($sugar_config['disable_export'])) || (!empty($sugar_config['admin_export_only']) && !(is_admin($current_user) || (ACLController::moduleSupportsACL($_REQUEST['module']) && ACLAction::getUserAccessLevel($current_user->id, $_REQUEST['module'], 'access') == ACL_ALLOW_ENABLED && (ACLAction::getUserAccessLevel($current_user->id, $_REQUEST['module'], 'admin') == ACL_ALLOW_ADMIN || ACLAction::getUserAccessLevel($current_user->id, $_REQUEST['module'], 'admin') == ACL_ALLOW_ADMIN_DEV))))) {
781 781
                     if ($_REQUEST['module'] != 'InboundEmail' && $_REQUEST['module'] != 'EmailMan' && $_REQUEST['module'] != 'iFrames') {
@@ -807,7 +807,7 @@  discard block
 block discarded – undo
807 807
 
808 808
                         //attempt to get the query to recreate this subpanel
809 809
                         if (!empty($this->response)) {
810
-                            $response =& $this->response;
810
+                            $response = & $this->response;
811 811
                         }
812 812
                         else {
813 813
                             $response = SugarBean::get_union_related_list($sugarbean, $this->sortby, $this->sort_order, $this->query_where, $current_offset, -1, $this->records_per_page, $this->query_limit, $subpanel_def);
@@ -824,7 +824,7 @@  discard block
 block discarded – undo
824 824
                     else {
825 825
                         $html_text .= "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td align=\"left\"  nowrap>$select_link&nbsp;$export_link&nbsp;$delete_link&nbsp;$selected_objects_span";
826 826
                     }
827
-                    $html_text .= "</td>\n<td nowrap align=\"right\">" . $start_link . "&nbsp;&nbsp;" . $previous_link . "&nbsp;&nbsp;<span class='pageNumbers'>(" . $start_record . " - " . $end_record . " " . $this->local_app_strings['LBL_LIST_OF'] . " " . $row_count . ")</span>&nbsp;&nbsp;" . $next_link . "&nbsp;&nbsp;" . $end_link . "</td></tr></table>\n";
827
+                    $html_text .= "</td>\n<td nowrap align=\"right\">".$start_link."&nbsp;&nbsp;".$previous_link."&nbsp;&nbsp;<span class='pageNumbers'>(".$start_record." - ".$end_record." ".$this->local_app_strings['LBL_LIST_OF']." ".$row_count.")</span>&nbsp;&nbsp;".$next_link."&nbsp;&nbsp;".$end_link."</td></tr></table>\n";
828 828
                     $html_text .= "</td>\n";
829 829
                     $html_text .= "</tr>\n";
830 830
                     $this->smartyTemplate->assign("PAGINATION", $html_text);
@@ -843,42 +843,42 @@  discard block
 block discarded – undo
843 843
                 $this->base_URL = $_SERVER['PHP_SELF'];
844 844
 
845 845
                 if (isset($_SERVER['QUERY_STRING'])) {
846
-                    $this->base_URL = preg_replace("/\&" . $this->getSessionVariableName($html_varName, "ORDER_BY") . "=[0-9a-zA-Z\_\.]*/", "", $this->base_URL . '?' . $_SERVER['QUERY_STRING']);
847
-                    $this->base_URL = preg_replace("/\&" . $this->getSessionVariableName($html_varName, "offset") . "=[0-9]*/", "", $this->base_URL);
846
+                    $this->base_URL = preg_replace("/\&".$this->getSessionVariableName($html_varName, "ORDER_BY")."=[0-9a-zA-Z\_\.]*/", "", $this->base_URL.'?'.$_SERVER['QUERY_STRING']);
847
+                    $this->base_URL = preg_replace("/\&".$this->getSessionVariableName($html_varName, "offset")."=[0-9]*/", "", $this->base_URL);
848 848
                 }
849 849
                 if ($_SERVER['REQUEST_METHOD'] == 'POST') {
850 850
                     $this->base_URL .= '?';
851 851
                     if (isset($_REQUEST['action'])) {
852
-                        $this->base_URL .= '&action=' . $_REQUEST['action'];
852
+                        $this->base_URL .= '&action='.$_REQUEST['action'];
853 853
                     }
854 854
                     if (isset($_REQUEST['record'])) {
855
-                        $this->base_URL .= '&record=' . $_REQUEST['record'];
855
+                        $this->base_URL .= '&record='.$_REQUEST['record'];
856 856
                     }
857 857
                     if (isset($_REQUEST['module'])) {
858
-                        $this->base_URL .= '&module=' . $_REQUEST['module'];
858
+                        $this->base_URL .= '&module='.$_REQUEST['module'];
859 859
                     }
860 860
                 }
861
-                $this->base_URL .= "&" . $this->getSessionVariableName($html_varName, "offset") . "=";
861
+                $this->base_URL .= "&".$this->getSessionVariableName($html_varName, "offset")."=";
862 862
             }
863 863
 
864 864
             if ($this->is_dynamic) {
865
-                $this->base_URL .= '&to_pdf=true&action=SubPanelViewer&subpanel=' . $this->source_module;
865
+                $this->base_URL .= '&to_pdf=true&action=SubPanelViewer&subpanel='.$this->source_module;
866 866
             }
867 867
 
868 868
             //bug43465 start
869 869
             if (isset($this->appendToBaseUrl) && is_array($this->appendToBaseUrl)) {
870 870
                 foreach ($this->appendToBaseUrl as $key => $value) {
871
-                    $fullRequestString = $key . '=' . $value;
871
+                    $fullRequestString = $key.'='.$value;
872 872
 
873 873
                     if ($this->base_URL == "/index.php") {
874 874
                         $this->base_URL .= "?";
875 875
                     }
876 876
                     else {
877
-                        if ($fullRequestString == substr($this->baseURL, '-' . strlen($fullRequestString))) {
878
-                            $this->base_URL = preg_replace("/&" . $key . "\=.*/", "", $this->base_URL);
877
+                        if ($fullRequestString == substr($this->baseURL, '-'.strlen($fullRequestString))) {
878
+                            $this->base_URL = preg_replace("/&".$key."\=.*/", "", $this->base_URL);
879 879
                         }
880 880
                         else {
881
-                            $this->base_URL = preg_replace("/&" . $key . "\=.*?&/", "&", $this->base_URL);
881
+                            $this->base_URL = preg_replace("/&".$key."\=.*?&/", "&", $this->base_URL);
882 882
                         }
883 883
                         $this->base_URL .= "&";
884 884
                     }
@@ -889,7 +889,7 @@  discard block
 block discarded – undo
889 889
             }
890 890
             //bug43465 end
891 891
 
892
-            $sort_URL_base = $this->base_URL . "&" . $this->getSessionVariableName($html_varName, "ORDER_BY") . "=";
892
+            $sort_URL_base = $this->base_URL."&".$this->getSessionVariableName($html_varName, "ORDER_BY")."=";
893 893
 
894 894
             if ($sort_URL_base !== "") {
895 895
                 $this->smartyTemplate->assign("ORDER_BY", $sort_URL_base);
Please login to merge, or discard this patch.
custom/modules/Accounts/metadata/listviewdefs.php 1 patch
Spacing   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -1,33 +1,33 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 $listViewDefs ['Accounts'] = 
3
-array (
3
+array(
4 4
   'NAME' => 
5
-  array (
5
+  array(
6 6
     'width' => '20%',
7 7
     'label' => 'LBL_LIST_ACCOUNT_NAME',
8 8
     'link' => true,
9 9
     'default' => true,
10 10
   ),
11 11
   'BILLING_ADDRESS_COUNTRY' => 
12
-  array (
12
+  array(
13 13
     'width' => '10%',
14 14
     'label' => 'LBL_BILLING_ADDRESS_COUNTRY',
15 15
     'default' => true,
16 16
   ),
17 17
   'BILLING_ADDRESS_CITY' => 
18
-  array (
18
+  array(
19 19
     'width' => '10%',
20 20
     'label' => 'LBL_LIST_CITY',
21 21
     'default' => true,
22 22
   ),
23 23
   'PHONE_OFFICE' => 
24
-  array (
24
+  array(
25 25
     'width' => '10%',
26 26
     'label' => 'LBL_LIST_PHONE',
27 27
     'default' => true,
28 28
   ),
29 29
   'ASSIGNED_USER_NAME' => 
30
-  array (
30
+  array(
31 31
     'width' => '10%',
32 32
     'label' => 'LBL_LIST_ASSIGNED_USER',
33 33
     'module' => 'Employees',
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     'default' => true,
36 36
   ),
37 37
   'EMAIL1' => 
38
-  array (
38
+  array(
39 39
     'width' => '15%',
40 40
     'label' => 'LBL_EMAIL_ADDRESS',
41 41
     'sortable' => false,
@@ -44,139 +44,139 @@  discard block
 block discarded – undo
44 44
     'default' => true,
45 45
   ),
46 46
   'DATE_ENTERED' => 
47
-  array (
47
+  array(
48 48
     'width' => '5%',
49 49
     'label' => 'LBL_DATE_ENTERED',
50 50
     'default' => true,
51 51
   ),
52 52
   'ACCOUNT_TYPE' => 
53
-  array (
53
+  array(
54 54
     'width' => '10%',
55 55
     'label' => 'LBL_TYPE',
56 56
     'default' => false,
57 57
   ),
58 58
   'INDUSTRY' => 
59
-  array (
59
+  array(
60 60
     'width' => '10%',
61 61
     'label' => 'LBL_INDUSTRY',
62 62
     'default' => false,
63 63
   ),
64 64
   'ANNUAL_REVENUE' => 
65
-  array (
65
+  array(
66 66
     'width' => '10%',
67 67
     'label' => 'LBL_ANNUAL_REVENUE',
68 68
     'default' => false,
69 69
   ),
70 70
   'PHONE_FAX' => 
71
-  array (
71
+  array(
72 72
     'width' => '10%',
73 73
     'label' => 'LBL_PHONE_FAX',
74 74
     'default' => false,
75 75
   ),
76 76
   'BILLING_ADDRESS_STREET' => 
77
-  array (
77
+  array(
78 78
     'width' => '15%',
79 79
     'label' => 'LBL_BILLING_ADDRESS_STREET',
80 80
     'default' => false,
81 81
   ),
82 82
   'BILLING_ADDRESS_STATE' => 
83
-  array (
83
+  array(
84 84
     'width' => '7%',
85 85
     'label' => 'LBL_BILLING_ADDRESS_STATE',
86 86
     'default' => false,
87 87
   ),
88 88
   'BILLING_ADDRESS_POSTALCODE' => 
89
-  array (
89
+  array(
90 90
     'width' => '10%',
91 91
     'label' => 'LBL_BILLING_ADDRESS_POSTALCODE',
92 92
     'default' => false,
93 93
   ),
94 94
   'SHIPPING_ADDRESS_STREET' => 
95
-  array (
95
+  array(
96 96
     'width' => '15%',
97 97
     'label' => 'LBL_SHIPPING_ADDRESS_STREET',
98 98
     'default' => false,
99 99
   ),
100 100
   'SHIPPING_ADDRESS_CITY' => 
101
-  array (
101
+  array(
102 102
     'width' => '10%',
103 103
     'label' => 'LBL_SHIPPING_ADDRESS_CITY',
104 104
     'default' => false,
105 105
   ),
106 106
   'SHIPPING_ADDRESS_STATE' => 
107
-  array (
107
+  array(
108 108
     'width' => '7%',
109 109
     'label' => 'LBL_SHIPPING_ADDRESS_STATE',
110 110
     'default' => false,
111 111
   ),
112 112
   'SHIPPING_ADDRESS_POSTALCODE' => 
113
-  array (
113
+  array(
114 114
     'width' => '10%',
115 115
     'label' => 'LBL_SHIPPING_ADDRESS_POSTALCODE',
116 116
     'default' => false,
117 117
   ),
118 118
   'SHIPPING_ADDRESS_COUNTRY' => 
119
-  array (
119
+  array(
120 120
     'width' => '10%',
121 121
     'label' => 'LBL_SHIPPING_ADDRESS_COUNTRY',
122 122
     'default' => false,
123 123
   ),
124 124
   'RATING' => 
125
-  array (
125
+  array(
126 126
     'width' => '10%',
127 127
     'label' => 'LBL_RATING',
128 128
     'default' => false,
129 129
   ),
130 130
   'PHONE_ALTERNATE' => 
131
-  array (
131
+  array(
132 132
     'width' => '10%',
133 133
     'label' => 'LBL_OTHER_PHONE',
134 134
     'default' => false,
135 135
   ),
136 136
   'WEBSITE' => 
137
-  array (
137
+  array(
138 138
     'width' => '10%',
139 139
     'label' => 'LBL_WEBSITE',
140 140
     'default' => false,
141 141
   ),
142 142
   'OWNERSHIP' => 
143
-  array (
143
+  array(
144 144
     'width' => '10%',
145 145
     'label' => 'LBL_OWNERSHIP',
146 146
     'default' => false,
147 147
   ),
148 148
   'EMPLOYEES' => 
149
-  array (
149
+  array(
150 150
     'width' => '10%',
151 151
     'label' => 'LBL_EMPLOYEES',
152 152
     'default' => false,
153 153
   ),
154 154
   'SIC_CODE' => 
155
-  array (
155
+  array(
156 156
     'width' => '10%',
157 157
     'label' => 'LBL_SIC_CODE',
158 158
     'default' => false,
159 159
   ),
160 160
   'TICKER_SYMBOL' => 
161
-  array (
161
+  array(
162 162
     'width' => '10%',
163 163
     'label' => 'LBL_TICKER_SYMBOL',
164 164
     'default' => false,
165 165
   ),
166 166
   'DATE_MODIFIED' => 
167
-  array (
167
+  array(
168 168
     'width' => '5%',
169 169
     'label' => 'LBL_DATE_MODIFIED',
170 170
     'default' => false,
171 171
   ),
172 172
   'CREATED_BY_NAME' => 
173
-  array (
173
+  array(
174 174
     'width' => '10%',
175 175
     'label' => 'LBL_CREATED',
176 176
     'default' => false,
177 177
   ),
178 178
   'MODIFIED_BY_NAME' => 
179
-  array (
179
+  array(
180 180
     'width' => '10%',
181 181
     'label' => 'LBL_MODIFIED',
182 182
     'default' => false,
Please login to merge, or discard this patch.
custom/modules/Accounts/language/it_IT.lang.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1 1
 <?php
2 2
 // created: 2017-10-13 13:01:25
3
-$mod_strings = array (
3
+$mod_strings = array(
4 4
 );
5 5
\ No newline at end of file
Please login to merge, or discard this patch.