Completed
Push — develop ( 7c1bda...edae1e )
by Adam
18:38 queued 03:14
created
modules/Contacts/views/view.mailmergepopup.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -48,18 +48,18 @@
 block discarded – undo
48 48
 
49 49
 class ContactsViewMailMergePopup extends SugarView {
50 50
 	
51
- 	function ContactAddressPopup(){
52
- 		parent::__construct();
53
- 	}
51
+        function ContactAddressPopup(){
52
+            parent::__construct();
53
+        }
54 54
  	
55
- 	function process() {
56
-		$this->display();
57
- 	}
55
+        function process() {
56
+        $this->display();
57
+        }
58 58
 
59
- 	function display() {
59
+        function display() {
60 60
  		
61
-		$popup = new Popup_Picker();
62
-		echo $popup->process_page_for_merge();
63
- 	}	
61
+        $popup = new Popup_Picker();
62
+        echo $popup->process_page_for_merge();
63
+        }	
64 64
 }
65 65
 ?>
66 66
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 
49 49
 class ContactsViewMailMergePopup extends SugarView {
50 50
 	
51
- 	function ContactAddressPopup(){
51
+ 	function ContactAddressPopup() {
52 52
  		parent::__construct();
53 53
  	}
54 54
  	
Please login to merge, or discard this patch.
modules/Contacts/views/view.retrieveemail.php 2 patches
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -52,29 +52,29 @@
 block discarded – undo
52 52
 
53 53
 class ContactsViewRetrieveEmail extends SugarView {
54 54
 
55
- 	function __construct(){
56
- 		parent::__construct();
57
- 	}
55
+        function __construct(){
56
+            parent::__construct();
57
+        }
58 58
 
59
- 	function process() {
60
-		$this->display();
61
- 	}
59
+        function process() {
60
+        $this->display();
61
+        }
62 62
 
63
- 	function display(){
64
-	    $data = array();
65
-	    $data['target'] = $_REQUEST['target'];
63
+        function display(){
64
+        $data = array();
65
+        $data['target'] = $_REQUEST['target'];
66 66
         if(!empty($_REQUEST['email'])) {
67
-	        $db = DBManagerFactory::getInstance();
68
-	        $email = $GLOBALS['db']->quote(strtoupper(trim($_REQUEST['email'])));
69
-	        $result = $db->query("SELECT * FROM email_addresses WHERE email_address_caps = '$email' AND deleted = 0");
70
-			if($row = $db->fetchByAssoc($result)) {
71
-		        $data['email'] = $row;
72
-			} else {
73
-				$data['email'] = '';
74
-			}
67
+            $db = DBManagerFactory::getInstance();
68
+            $email = $GLOBALS['db']->quote(strtoupper(trim($_REQUEST['email'])));
69
+            $result = $db->query("SELECT * FROM email_addresses WHERE email_address_caps = '$email' AND deleted = 0");
70
+            if($row = $db->fetchByAssoc($result)) {
71
+                $data['email'] = $row;
72
+            } else {
73
+                $data['email'] = '';
74
+            }
75
+        }
76
+        $json = new JSON(JSON_LOOSE_TYPE);
77
+        echo $json->encode($data);
75 78
         }
76
-		$json = new JSON(JSON_LOOSE_TYPE);
77
-		echo $json->encode($data);
78
- 	}
79 79
 }
80 80
 ?>
81 81
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 
53 53
 class ContactsViewRetrieveEmail extends SugarView {
54 54
 
55
- 	function __construct(){
55
+ 	function __construct() {
56 56
  		parent::__construct();
57 57
  	}
58 58
 
@@ -60,14 +60,14 @@  discard block
 block discarded – undo
60 60
 		$this->display();
61 61
  	}
62 62
 
63
- 	function display(){
63
+ 	function display() {
64 64
 	    $data = array();
65 65
 	    $data['target'] = $_REQUEST['target'];
66
-        if(!empty($_REQUEST['email'])) {
66
+        if (!empty($_REQUEST['email'])) {
67 67
 	        $db = DBManagerFactory::getInstance();
68 68
 	        $email = $GLOBALS['db']->quote(strtoupper(trim($_REQUEST['email'])));
69 69
 	        $result = $db->query("SELECT * FROM email_addresses WHERE email_address_caps = '$email' AND deleted = 0");
70
-			if($row = $db->fetchByAssoc($result)) {
70
+			if ($row = $db->fetchByAssoc($result)) {
71 71
 		        $data['email'] = $row;
72 72
 			} else {
73 73
 				$data['email'] = '';
Please login to merge, or discard this patch.
modules/AOS_Products_Quotes/AOS_Utils.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
2
+if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
3 3
 /**
4 4
  * Products, Quotations & Invoices modules.
5 5
  * Extensions to SugarCRM
@@ -25,17 +25,17 @@  discard block
 block discarded – undo
25 25
  * @author Salesagility Ltd <[email protected]>
26 26
  */
27 27
 
28
-function perform_aos_save($focus){
28
+function perform_aos_save($focus) {
29 29
 
30
-    foreach($focus->field_defs as $field){
30
+    foreach ($focus->field_defs as $field) {
31 31
 
32 32
         $fieldName = $field['name'];
33 33
         $fieldNameDollar = $field['name'].'_usdollar';
34 34
 
35
-        if(isset($focus->field_defs[$fieldNameDollar])){
35
+        if (isset($focus->field_defs[$fieldNameDollar])) {
36 36
 
37 37
             $focus->$fieldNameDollar = '';
38
-            if(!number_empty($focus->field_defs[$field['name']])){
38
+            if (!number_empty($focus->field_defs[$field['name']])) {
39 39
                 $currency = new Currency();
40 40
                 $currency->retrieve($focus->currency_id);
41 41
                 $focus->$fieldNameDollar = $currency->convertToDollar(unformat_number($fieldName));
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,7 @@
 block discarded – undo
1 1
 <?php
2
-if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
2
+if(!defined('sugarEntry') || !sugarEntry) {
3
+    die('Not A Valid Entry Point');
4
+}
3 5
 /**
4 6
  * Products, Quotations & Invoices modules.
5 7
  * Extensions to SugarCRM
Please login to merge, or discard this patch.
modules/Meetings/vardefs.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -418,7 +418,7 @@
 block discarded – undo
418 418
                 'vname' => 'LBL_CASE',
419 419
             ),
420 420
         'aos_contracts' =>
421
-            array (
421
+            array(
422 422
                 'name' => 'aos_contracts',
423 423
                 'type' => 'link',
424 424
                 'relationship' => 'aos_contracts_meetings',
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,7 @@
 block discarded – undo
1 1
 <?php
2
-if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
2
+if (!defined('sugarEntry') || !sugarEntry) {
3
+    die('Not A Valid Entry Point');
4
+}
3 5
 /*********************************************************************************
4 6
  * SugarCRM Community Edition is a customer relationship management program developed by
5 7
  * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
Please login to merge, or discard this patch.
modules/TemplateSectionLine/metadata/editviewdefs.php 2 patches
Indentation   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -2,62 +2,62 @@
 block discarded – undo
2 2
 $module_name = 'TemplateSectionLine';
3 3
 $viewdefs [$module_name] = 
4 4
 array (
5
-  'EditView' => 
6
-  array (
5
+    'EditView' => 
6
+    array (
7 7
     'templateMeta' => 
8 8
     array (
9
-      'maxColumns' => '1',
10
-      'widths' => 
11
-      array (
9
+        'maxColumns' => '1',
10
+        'widths' => 
11
+        array (
12 12
         0 => 
13 13
         array (
14
-          'label' => '10',
15
-          'field' => '30',
14
+            'label' => '10',
15
+            'field' => '30',
16 16
         ),
17 17
         1 => 
18 18
         array (
19
-          'label' => '10',
20
-          'field' => '30',
19
+            'label' => '10',
20
+            'field' => '30',
21 21
         ),
22
-      ),
23
-      'useTabs' => false,
24
-      'tabDefs' => 
25
-      array (
22
+        ),
23
+        'useTabs' => false,
24
+        'tabDefs' => 
25
+        array (
26 26
         'DEFAULT' => 
27 27
         array (
28
-          'newTab' => false,
29
-          'panelDefault' => 'expanded',
28
+            'newTab' => false,
29
+            'panelDefault' => 'expanded',
30
+        ),
30 31
         ),
31
-      ),
32 32
     ),
33 33
     'panels' => 
34 34
     array (
35
-      'default' => 
36
-      array (
35
+        'default' => 
36
+        array (
37 37
         0 => 
38 38
         array (
39
-          0 => 'name',
39
+            0 => 'name',
40 40
         ),
41 41
         1 =>
42
-          array (
42
+            array (
43 43
             'name' => 'grp',
44 44
             'label' => 'LBL_GRP',
45
-          ),
46
-          2 => array(
47
-              'name' => 'ord',
48
-              'label' => 'LBL_ORD',
49
-          ),
50
-          3 =>
51
-              array (
52
-                  0 => 'description',
53
-              ),
54
-          4 =>
55
-              array (
56
-                  'name' => 'thumbnail',
57
-                  'label' => 'LBL_THUMBNAIL',
58
-              ),
59
-      ),
45
+            ),
46
+            2 => array(
47
+                'name' => 'ord',
48
+                'label' => 'LBL_ORD',
49
+            ),
50
+            3 =>
51
+                array (
52
+                    0 => 'description',
53
+                ),
54
+            4 =>
55
+                array (
56
+                    'name' => 'thumbnail',
57
+                    'label' => 'LBL_THUMBNAIL',
58
+                ),
59
+        ),
60
+    ),
60 61
     ),
61
-  ),
62 62
 );
63 63
 ?>
Please login to merge, or discard this patch.
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,45 +1,45 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 $module_name = 'TemplateSectionLine';
3 3
 $viewdefs [$module_name] = 
4
-array (
4
+array(
5 5
   'EditView' => 
6
-  array (
6
+  array(
7 7
     'templateMeta' => 
8
-    array (
8
+    array(
9 9
       'maxColumns' => '1',
10 10
       'widths' => 
11
-      array (
11
+      array(
12 12
         0 => 
13
-        array (
13
+        array(
14 14
           'label' => '10',
15 15
           'field' => '30',
16 16
         ),
17 17
         1 => 
18
-        array (
18
+        array(
19 19
           'label' => '10',
20 20
           'field' => '30',
21 21
         ),
22 22
       ),
23 23
       'useTabs' => false,
24 24
       'tabDefs' => 
25
-      array (
25
+      array(
26 26
         'DEFAULT' => 
27
-        array (
27
+        array(
28 28
           'newTab' => false,
29 29
           'panelDefault' => 'expanded',
30 30
         ),
31 31
       ),
32 32
     ),
33 33
     'panels' => 
34
-    array (
34
+    array(
35 35
       'default' => 
36
-      array (
36
+      array(
37 37
         0 => 
38
-        array (
38
+        array(
39 39
           0 => 'name',
40 40
         ),
41 41
         1 =>
42
-          array (
42
+          array(
43 43
             'name' => 'grp',
44 44
             'label' => 'LBL_GRP',
45 45
           ),
@@ -48,11 +48,11 @@  discard block
 block discarded – undo
48 48
               'label' => 'LBL_ORD',
49 49
           ),
50 50
           3 =>
51
-              array (
51
+              array(
52 52
                   0 => 'description',
53 53
               ),
54 54
           4 =>
55
-              array (
55
+              array(
56 56
                   'name' => 'thumbnail',
57 57
                   'label' => 'LBL_THUMBNAIL',
58 58
               ),
Please login to merge, or discard this patch.
modules/TemplateSectionLine/metadata/popupdefs.php 2 patches
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -4,63 +4,63 @@
 block discarded – undo
4 4
     'varName' => 'TemplateSectionLine',
5 5
     'orderBy' => 'templatesectionline.name',
6 6
     'whereClauses' => array (
7
-  'name' => 'templatesectionline.name',
8
-  'grp' => 'templatesectionline.grp',
9
-  'description' => 'templatesectionline.description',
7
+    'name' => 'templatesectionline.name',
8
+    'grp' => 'templatesectionline.grp',
9
+    'description' => 'templatesectionline.description',
10 10
 ),
11 11
     'searchInputs' => array (
12
-  1 => 'name',
13
-  4 => 'grp',
14
-  5 => 'description',
12
+    1 => 'name',
13
+    4 => 'grp',
14
+    5 => 'description',
15 15
 ),
16 16
     'searchdefs' => array (
17
-  'name' => 
18
-  array (
17
+    'name' => 
18
+    array (
19 19
     'type' => 'name',
20 20
     'link' => true,
21 21
     'label' => 'LBL_NAME',
22 22
     'width' => '10%',
23 23
     'name' => 'name',
24
-  ),
25
-  'grp' => 
26
-  array (
24
+    ),
25
+    'grp' => 
26
+    array (
27 27
     'type' => 'varchar',
28 28
     'label' => 'LBL_GRP',
29 29
     'width' => '10%',
30 30
     'name' => 'grp',
31
-  ),
32
-  'description' => 
33
-  array (
31
+    ),
32
+    'description' => 
33
+    array (
34 34
     'type' => 'text',
35 35
     'label' => 'LBL_DESCRIPTION',
36 36
     'sortable' => false,
37 37
     'width' => '10%',
38 38
     'name' => 'description',
39
-  ),
39
+    ),
40 40
 ),
41 41
     'listviewdefs' => array (
42
-  'NAME' => 
43
-  array (
42
+    'NAME' => 
43
+    array (
44 44
     'type' => 'name',
45 45
     'link' => true,
46 46
     'label' => 'LBL_NAME',
47 47
     'width' => '10%',
48 48
     'default' => true,
49
-  ),
50
-  'GRP' => 
51
-  array (
49
+    ),
50
+    'GRP' => 
51
+    array (
52 52
     'type' => 'varchar',
53 53
     'label' => 'LBL_GRP',
54 54
     'width' => '10%',
55 55
     'default' => true,
56
-  ),
57
-  'DESCRIPTION' => 
58
-  array (
56
+    ),
57
+    'DESCRIPTION' => 
58
+    array (
59 59
     'type' => 'text',
60 60
     'label' => 'LBL_DESCRIPTION',
61 61
     'sortable' => false,
62 62
     'width' => '10%',
63 63
     'default' => true,
64
-  ),
64
+    ),
65 65
 ),
66 66
 );
Please login to merge, or discard this patch.
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@  discard block
 block discarded – undo
1 1
 <?php
2
-$popupMeta = array (
2
+$popupMeta = array(
3 3
     'moduleMain' => 'TemplateSectionLine',
4 4
     'varName' => 'TemplateSectionLine',
5 5
     'orderBy' => 'templatesectionline.name',
6
-    'whereClauses' => array (
6
+    'whereClauses' => array(
7 7
   'name' => 'templatesectionline.name',
8 8
   'grp' => 'templatesectionline.grp',
9 9
   'description' => 'templatesectionline.description',
10 10
 ),
11
-    'searchInputs' => array (
11
+    'searchInputs' => array(
12 12
   1 => 'name',
13 13
   4 => 'grp',
14 14
   5 => 'description',
15 15
 ),
16
-    'searchdefs' => array (
16
+    'searchdefs' => array(
17 17
   'name' => 
18
-  array (
18
+  array(
19 19
     'type' => 'name',
20 20
     'link' => true,
21 21
     'label' => 'LBL_NAME',
@@ -23,14 +23,14 @@  discard block
 block discarded – undo
23 23
     'name' => 'name',
24 24
   ),
25 25
   'grp' => 
26
-  array (
26
+  array(
27 27
     'type' => 'varchar',
28 28
     'label' => 'LBL_GRP',
29 29
     'width' => '10%',
30 30
     'name' => 'grp',
31 31
   ),
32 32
   'description' => 
33
-  array (
33
+  array(
34 34
     'type' => 'text',
35 35
     'label' => 'LBL_DESCRIPTION',
36 36
     'sortable' => false,
@@ -38,9 +38,9 @@  discard block
 block discarded – undo
38 38
     'name' => 'description',
39 39
   ),
40 40
 ),
41
-    'listviewdefs' => array (
41
+    'listviewdefs' => array(
42 42
   'NAME' => 
43
-  array (
43
+  array(
44 44
     'type' => 'name',
45 45
     'link' => true,
46 46
     'label' => 'LBL_NAME',
@@ -48,14 +48,14 @@  discard block
 block discarded – undo
48 48
     'default' => true,
49 49
   ),
50 50
   'GRP' => 
51
-  array (
51
+  array(
52 52
     'type' => 'varchar',
53 53
     'label' => 'LBL_GRP',
54 54
     'width' => '10%',
55 55
     'default' => true,
56 56
   ),
57 57
   'DESCRIPTION' => 
58
-  array (
58
+  array(
59 59
     'type' => 'text',
60 60
     'label' => 'LBL_DESCRIPTION',
61 61
     'sortable' => false,
Please login to merge, or discard this patch.
modules/TemplateSectionLine/metadata/detailviewdefs.php 2 patches
Indentation   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -2,63 +2,63 @@
 block discarded – undo
2 2
 $module_name = 'TemplateSectionLine';
3 3
 $viewdefs [$module_name] = 
4 4
 array (
5
-  'DetailView' => 
6
-  array (
5
+    'DetailView' => 
6
+    array (
7 7
     'templateMeta' => 
8 8
     array (
9
-      'form' => 
10
-      array (
9
+        'form' => 
10
+        array (
11 11
         'buttons' => 
12 12
         array (
13
-          0 => 'EDIT',
14
-          1 => 'DUPLICATE',
15
-          2 => 'DELETE',
16
-          3 => 'FIND_DUPLICATES',
13
+            0 => 'EDIT',
14
+            1 => 'DUPLICATE',
15
+            2 => 'DELETE',
16
+            3 => 'FIND_DUPLICATES',
17
+        ),
17 18
         ),
18
-      ),
19
-      'maxColumns' => '2',
20
-      'widths' => 
21
-      array (
19
+        'maxColumns' => '2',
20
+        'widths' => 
21
+        array (
22 22
         0 => 
23 23
         array (
24
-          'label' => '10',
25
-          'field' => '30',
24
+            'label' => '10',
25
+            'field' => '30',
26 26
         ),
27 27
         1 => 
28 28
         array (
29
-          'label' => '10',
30
-          'field' => '30',
29
+            'label' => '10',
30
+            'field' => '30',
31
+        ),
31 32
         ),
32
-      ),
33
-      'useTabs' => false,
34
-      'tabDefs' => 
35
-      array (
33
+        'useTabs' => false,
34
+        'tabDefs' => 
35
+        array (
36 36
         'DEFAULT' => 
37 37
         array (
38
-          'newTab' => false,
39
-          'panelDefault' => 'expanded',
38
+            'newTab' => false,
39
+            'panelDefault' => 'expanded',
40
+        ),
40 41
         ),
41
-      ),
42 42
     ),
43 43
     'panels' => 
44 44
     array (
45
-      'default' => 
46
-      array (
45
+        'default' => 
46
+        array (
47 47
         0 => 
48 48
         array (
49
-          0 => 'name',
50
-          1 => 
51
-          array (
49
+            0 => 'name',
50
+            1 => 
51
+            array (
52 52
             'name' => 'grp',
53 53
             'label' => 'LBL_GRP',
54
-          ),
54
+            ),
55 55
         ),
56 56
         1 => 
57 57
         array (
58
-          0 => 'description',
58
+            0 => 'description',
59 59
         ),
60
-      ),
60
+        ),
61
+    ),
61 62
     ),
62
-  ),
63 63
 );
64 64
 ?>
Please login to merge, or discard this patch.
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 $module_name = 'TemplateSectionLine';
3 3
 $viewdefs [$module_name] = 
4
-array (
4
+array(
5 5
   'DetailView' => 
6
-  array (
6
+  array(
7 7
     'templateMeta' => 
8
-    array (
8
+    array(
9 9
       'form' => 
10
-      array (
10
+      array(
11 11
         'buttons' => 
12
-        array (
12
+        array(
13 13
           0 => 'EDIT',
14 14
           1 => 'DUPLICATE',
15 15
           2 => 'DELETE',
@@ -18,43 +18,43 @@  discard block
 block discarded – undo
18 18
       ),
19 19
       'maxColumns' => '2',
20 20
       'widths' => 
21
-      array (
21
+      array(
22 22
         0 => 
23
-        array (
23
+        array(
24 24
           'label' => '10',
25 25
           'field' => '30',
26 26
         ),
27 27
         1 => 
28
-        array (
28
+        array(
29 29
           'label' => '10',
30 30
           'field' => '30',
31 31
         ),
32 32
       ),
33 33
       'useTabs' => false,
34 34
       'tabDefs' => 
35
-      array (
35
+      array(
36 36
         'DEFAULT' => 
37
-        array (
37
+        array(
38 38
           'newTab' => false,
39 39
           'panelDefault' => 'expanded',
40 40
         ),
41 41
       ),
42 42
     ),
43 43
     'panels' => 
44
-    array (
44
+    array(
45 45
       'default' => 
46
-      array (
46
+      array(
47 47
         0 => 
48
-        array (
48
+        array(
49 49
           0 => 'name',
50 50
           1 => 
51
-          array (
51
+          array(
52 52
             'name' => 'grp',
53 53
             'label' => 'LBL_GRP',
54 54
           ),
55 55
         ),
56 56
         1 => 
57
-        array (
57
+        array(
58 58
           0 => 'description',
59 59
         ),
60 60
       ),
Please login to merge, or discard this patch.
modules/TemplateSectionLine/metadata/quickcreatedefs.php 2 patches
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -2,58 +2,58 @@
 block discarded – undo
2 2
 $module_name = 'TemplateSectionLine';
3 3
 $viewdefs [$module_name] = 
4 4
 array (
5
-  'QuickCreate' => 
6
-  array (
5
+    'QuickCreate' => 
6
+    array (
7 7
     'templateMeta' => 
8 8
     array (
9
-      'maxColumns' => '2',
10
-      'widths' => 
11
-      array (
9
+        'maxColumns' => '2',
10
+        'widths' => 
11
+        array (
12 12
         0 => 
13 13
         array (
14
-          'label' => '10',
15
-          'field' => '30',
14
+            'label' => '10',
15
+            'field' => '30',
16 16
         ),
17 17
         1 => 
18 18
         array (
19
-          'label' => '10',
20
-          'field' => '30',
19
+            'label' => '10',
20
+            'field' => '30',
21 21
         ),
22
-      ),
23
-      'useTabs' => false,
24
-      'tabDefs' => 
25
-      array (
22
+        ),
23
+        'useTabs' => false,
24
+        'tabDefs' => 
25
+        array (
26 26
         'DEFAULT' => 
27 27
         array (
28
-          'newTab' => false,
29
-          'panelDefault' => 'expanded',
28
+            'newTab' => false,
29
+            'panelDefault' => 'expanded',
30
+        ),
30 31
         ),
31
-      ),
32 32
     ),
33 33
     'panels' => 
34 34
     array (
35
-      'default' => 
36
-      array (
35
+        'default' => 
36
+        array (
37 37
         0 => 
38 38
         array (
39
-          0 => 'name',
40
-          1 => 
41
-          array (
39
+            0 => 'name',
40
+            1 => 
41
+            array (
42 42
             'name' => 'grp',
43 43
             'label' => 'LBL_GRP',
44
-          ),
44
+            ),
45 45
         ),
46 46
         1 => 
47 47
         array (
48
-          0 => 
49
-          array (
48
+            0 => 
49
+            array (
50 50
             'name' => 'description',
51 51
             'comment' => 'Full text of the note',
52 52
             'label' => 'LBL_DESCRIPTION',
53
-          ),
53
+            ),
54 54
         ),
55
-      ),
55
+        ),
56
+    ),
56 57
     ),
57
-  ),
58 58
 );
59 59
 ?>
Please login to merge, or discard this patch.
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -1,52 +1,52 @@
 block discarded – undo
1 1
 <?php
2 2
 $module_name = 'TemplateSectionLine';
3 3
 $viewdefs [$module_name] = 
4
-array (
4
+array(
5 5
   'QuickCreate' => 
6
-  array (
6
+  array(
7 7
     'templateMeta' => 
8
-    array (
8
+    array(
9 9
       'maxColumns' => '2',
10 10
       'widths' => 
11
-      array (
11
+      array(
12 12
         0 => 
13
-        array (
13
+        array(
14 14
           'label' => '10',
15 15
           'field' => '30',
16 16
         ),
17 17
         1 => 
18
-        array (
18
+        array(
19 19
           'label' => '10',
20 20
           'field' => '30',
21 21
         ),
22 22
       ),
23 23
       'useTabs' => false,
24 24
       'tabDefs' => 
25
-      array (
25
+      array(
26 26
         'DEFAULT' => 
27
-        array (
27
+        array(
28 28
           'newTab' => false,
29 29
           'panelDefault' => 'expanded',
30 30
         ),
31 31
       ),
32 32
     ),
33 33
     'panels' => 
34
-    array (
34
+    array(
35 35
       'default' => 
36
-      array (
36
+      array(
37 37
         0 => 
38
-        array (
38
+        array(
39 39
           0 => 'name',
40 40
           1 => 
41
-          array (
41
+          array(
42 42
             'name' => 'grp',
43 43
             'label' => 'LBL_GRP',
44 44
           ),
45 45
         ),
46 46
         1 => 
47
-        array (
47
+        array(
48 48
           0 => 
49
-          array (
49
+          array(
50 50
             'name' => 'description',
51 51
             'comment' => 'Full text of the note',
52 52
             'label' => 'LBL_DESCRIPTION',
Please login to merge, or discard this patch.
modules/TemplateSectionLine/metadata/listviewdefs.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 $module_name = 'TemplateSectionLine';
3 3
 $listViewDefs [$module_name] = 
4 4
 array (
5
-  'NAME' => 
6
-  array (
5
+    'NAME' => 
6
+    array (
7 7
     'width' => '32%',
8 8
     'label' => 'LBL_NAME',
9 9
     'default' => true,
10 10
     'link' => true,
11
-  ),
11
+    ),
12 12
 );
13 13
 ?>
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 $module_name = 'TemplateSectionLine';
3 3
 $listViewDefs [$module_name] = 
4
-array (
4
+array(
5 5
   'NAME' => 
6
-  array (
6
+  array(
7 7
     'width' => '32%',
8 8
     'label' => 'LBL_NAME',
9 9
     'default' => true,
Please login to merge, or discard this patch.