Completed
Push — console-installer ( 67c42e...186d32 )
by Adam
89:28 queued 70:47
created
modules/Project/metadata/dashletviewdefs.php 2 patches
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -1,78 +1,78 @@
 block discarded – undo
1 1
 <?php
2 2
 $dashletData['ProjectDashlet']['searchFields'] = array (
3
-  'date_entered' => 
4
-  array (
3
+    'date_entered' => 
4
+    array (
5 5
     'default' => '',
6
-  ),
7
-  'date_modified' => 
8
-  array (
6
+    ),
7
+    'date_modified' => 
8
+    array (
9 9
     'default' => '',
10
-  ),
11
-  'assigned_user_id' => 
12
-  array (
10
+    ),
11
+    'assigned_user_id' => 
12
+    array (
13 13
     'type' => 'assigned_user_name',
14 14
     'default' => 'Administrator',
15
-  ),
15
+    ),
16 16
 );
17 17
 $dashletData['ProjectDashlet']['columns'] = array (
18
-  'name' => 
19
-  array (
18
+    'name' => 
19
+    array (
20 20
     'width' => '30%',
21 21
     'label' => 'LBL_LIST_NAME',
22 22
     'link' => true,
23 23
     'default' => true,
24 24
     'name' => 'name',
25
-  ),
26
-  'status' => 
27
-  array (
25
+    ),
26
+    'status' => 
27
+    array (
28 28
     'type' => 'enum',
29 29
     'default' => true,
30 30
     'label' => 'LBL_STATUS',
31 31
     'width' => '10%',
32 32
     'name' => 'status',
33
-  ),
34
-  'estimated_start_date' => 
35
-  array (
33
+    ),
34
+    'estimated_start_date' => 
35
+    array (
36 36
     'type' => 'date',
37 37
     'label' => 'LBL_DATE_START',
38 38
     'width' => '10%',
39 39
     'default' => true,
40 40
     'name' => 'estimated_start_date',
41
-  ),
42
-  'assigned_user_name' => 
43
-  array (
41
+    ),
42
+    'assigned_user_name' => 
43
+    array (
44 44
     'width' => '8%',
45 45
     'label' => 'LBL_LIST_ASSIGNED_USER',
46 46
     'name' => 'assigned_user_name',
47 47
     'default' => true,
48
-  ),
49
-  'estimated_end_date' => 
50
-  array (
48
+    ),
49
+    'estimated_end_date' => 
50
+    array (
51 51
     'type' => 'date',
52 52
     'label' => 'LBL_DATE_END',
53 53
     'width' => '10%',
54 54
     'default' => true,
55 55
     'name' => 'estimated_end_date',
56
-  ),
57
-  'date_modified' => 
58
-  array (
56
+    ),
57
+    'date_modified' => 
58
+    array (
59 59
     'width' => '15%',
60 60
     'label' => 'LBL_DATE_MODIFIED',
61 61
     'name' => 'date_modified',
62 62
     'default' => false,
63
-  ),
64
-  'date_entered' => 
65
-  array (
63
+    ),
64
+    'date_entered' => 
65
+    array (
66 66
     'width' => '15%',
67 67
     'label' => 'LBL_DATE_ENTERED',
68 68
     'default' => false,
69 69
     'name' => 'date_entered',
70
-  ),
71
-  'created_by' => 
72
-  array (
70
+    ),
71
+    'created_by' => 
72
+    array (
73 73
     'width' => '8%',
74 74
     'label' => 'LBL_CREATED',
75 75
     'name' => 'created_by',
76 76
     'default' => false,
77
-  ),
77
+    ),
78 78
 );
Please login to merge, or discard this patch.
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,22 +1,22 @@  discard block
 block discarded – undo
1 1
 <?php
2
-$dashletData['ProjectDashlet']['searchFields'] = array (
2
+$dashletData['ProjectDashlet']['searchFields'] = array(
3 3
   'date_entered' => 
4
-  array (
4
+  array(
5 5
     'default' => '',
6 6
   ),
7 7
   'date_modified' => 
8
-  array (
8
+  array(
9 9
     'default' => '',
10 10
   ),
11 11
   'assigned_user_id' => 
12
-  array (
12
+  array(
13 13
     'type' => 'assigned_user_name',
14 14
     'default' => 'Administrator',
15 15
   ),
16 16
 );
17
-$dashletData['ProjectDashlet']['columns'] = array (
17
+$dashletData['ProjectDashlet']['columns'] = array(
18 18
   'name' => 
19
-  array (
19
+  array(
20 20
     'width' => '30%',
21 21
     'label' => 'LBL_LIST_NAME',
22 22
     'link' => true,
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     'name' => 'name',
25 25
   ),
26 26
   'status' => 
27
-  array (
27
+  array(
28 28
     'type' => 'enum',
29 29
     'default' => true,
30 30
     'label' => 'LBL_STATUS',
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     'name' => 'status',
33 33
   ),
34 34
   'estimated_start_date' => 
35
-  array (
35
+  array(
36 36
     'type' => 'date',
37 37
     'label' => 'LBL_DATE_START',
38 38
     'width' => '10%',
@@ -40,14 +40,14 @@  discard block
 block discarded – undo
40 40
     'name' => 'estimated_start_date',
41 41
   ),
42 42
   'assigned_user_name' => 
43
-  array (
43
+  array(
44 44
     'width' => '8%',
45 45
     'label' => 'LBL_LIST_ASSIGNED_USER',
46 46
     'name' => 'assigned_user_name',
47 47
     'default' => true,
48 48
   ),
49 49
   'estimated_end_date' => 
50
-  array (
50
+  array(
51 51
     'type' => 'date',
52 52
     'label' => 'LBL_DATE_END',
53 53
     'width' => '10%',
@@ -55,21 +55,21 @@  discard block
 block discarded – undo
55 55
     'name' => 'estimated_end_date',
56 56
   ),
57 57
   'date_modified' => 
58
-  array (
58
+  array(
59 59
     'width' => '15%',
60 60
     'label' => 'LBL_DATE_MODIFIED',
61 61
     'name' => 'date_modified',
62 62
     'default' => false,
63 63
   ),
64 64
   'date_entered' => 
65
-  array (
65
+  array(
66 66
     'width' => '15%',
67 67
     'label' => 'LBL_DATE_ENTERED',
68 68
     'default' => false,
69 69
     'name' => 'date_entered',
70 70
   ),
71 71
   'created_by' => 
72
-  array (
72
+  array(
73 73
     'width' => '8%',
74 74
     'label' => 'LBL_CREATED',
75 75
     'name' => 'created_by',
Please login to merge, or discard this patch.
modules/Project/metadata/editviewdefs.php 2 patches
Indentation   +49 added lines, -49 removed lines patch added patch discarded remove patch
@@ -42,102 +42,102 @@
 block discarded – undo
42 42
 
43 43
 $viewdefs ['Project'] =
44 44
 array (
45
-  'EditView' => 
46
-  array (
45
+    'EditView' => 
46
+    array (
47 47
     'templateMeta' => 
48 48
     array (
49
-      'maxColumns' => '2',
50
-      'widths' => 
51
-      array (
49
+        'maxColumns' => '2',
50
+        'widths' => 
51
+        array (
52 52
         0 => 
53 53
         array (
54
-          'label' => '10',
55
-          'field' => '30',
54
+            'label' => '10',
55
+            'field' => '30',
56 56
         ),
57 57
         1 => 
58 58
         array (
59
-          'label' => '10',
60
-          'field' => '30',
59
+            'label' => '10',
60
+            'field' => '30',
61 61
         ),
62
-      ),
63
-      'form' => 
64
-      array (
62
+        ),
63
+        'form' => 
64
+        array (
65 65
         'hidden' => '<input type="hidden" name="is_template" value="{$is_template}" />',
66 66
         'buttons' => 
67 67
         array (
68
-          0 => 'SAVE',
69
-          1 => 
70
-          array (
68
+            0 => 'SAVE',
69
+            1 => 
70
+            array (
71 71
             'customCode' => '{if !empty($smarty.request.return_action) && $smarty.request.return_action == "ProjectTemplatesDetailView" && (!empty($fields.id.value) || !empty($smarty.request.return_id)) }<input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value=\'ProjectTemplatesDetailView\'; this.form.module.value=\'{$smarty.request.return_module}\'; this.form.record.value=\'{$smarty.request.return_id}\';" type="submit" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}" id="CANCEL{$place}"> {elseif !empty($smarty.request.return_action) && $smarty.request.return_action == "DetailView" && (!empty($fields.id.value) || !empty($smarty.request.return_id)) }<input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value=\'DetailView\'; this.form.module.value=\'{$smarty.request.return_module}\'; this.form.record.value=\'{$smarty.request.return_id}\';" type="submit" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}" id="CANCEL{$place}"> {elseif $is_template}<input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value=\'ProjectTemplatesListView\'; this.form.module.value=\'{$smarty.request.return_module}\'; this.form.record.value=\'{$smarty.request.return_id}\';" type="submit" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}" id="CANCEL{$place}"> {else}<input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value=\'index\'; this.form.module.value=\'{$smarty.request.return_module}\'; this.form.record.value=\'{$smarty.request.return_id}\';" type="submit" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}" id="CANCEL{$place}"> {/if}',
72
-          ),
72
+            ),
73 73
         ),
74
-      ),
75
-      'useTabs' => false,
76
-      'tabDefs' => 
77
-      array (
74
+        ),
75
+        'useTabs' => false,
76
+        'tabDefs' => 
77
+        array (
78 78
         'LBL_PROJECT_INFORMATION' => 
79 79
         array (
80
-          'newTab' => false,
81
-          'panelDefault' => 'expanded',
80
+            'newTab' => false,
81
+            'panelDefault' => 'expanded',
82 82
         ),
83 83
         'LBL_PANEL_ASSIGNMENT' => 
84 84
         array (
85
-          'newTab' => false,
86
-          'panelDefault' => 'expanded',
85
+            'newTab' => false,
86
+            'panelDefault' => 'expanded',
87
+        ),
87 88
         ),
88
-      ),
89 89
     ),
90 90
     'panels' => 
91 91
     array (
92
-      'lbl_project_information' => 
93
-      array (
92
+        'lbl_project_information' => 
93
+        array (
94 94
         0 => 
95 95
         array (
96
-          0 => 'name',
97
-          1 => 'status',
96
+            0 => 'name',
97
+            1 => 'status',
98 98
         ),
99 99
         1 => 
100 100
         array (
101
-          0 => 'estimated_start_date',
102
-          1 => 'priority',
101
+            0 => 'estimated_start_date',
102
+            1 => 'priority',
103 103
         ),
104 104
         2 => 
105 105
         array (
106
-          0 => 'estimated_end_date',
107
-          1 => '',
106
+            0 => 'estimated_end_date',
107
+            1 => '',
108 108
         ),
109 109
         3 => 
110 110
         array (
111
-          0 => 'description',
111
+            0 => 'description',
112
+        ),
112 113
         ),
113
-      ),
114
-      'LBL_PANEL_ASSIGNMENT' => 
115
-      array (
114
+        'LBL_PANEL_ASSIGNMENT' => 
115
+        array (
116 116
         0 => 
117 117
         array (
118
-          0 => 'assigned_user_name',
119
-          1 => 
120
-          array (
118
+            0 => 'assigned_user_name',
119
+            1 => 
120
+            array (
121 121
             'name' => 'am_projecttemplates_project_1_name',
122
-          ),
122
+            ),
123 123
         ),
124 124
         1 => 
125 125
         array (
126
-          0 => 
127
-          array (
126
+            0 => 
127
+            array (
128 128
             'name' => 'date_entered',
129 129
             'comment' => 'Date record created',
130 130
             'label' => 'LBL_DATE_ENTERED',
131
-          ),
132
-          1 => 
133
-          array (
131
+            ),
132
+            1 => 
133
+            array (
134 134
             'name' => 'date_modified',
135 135
             'comment' => 'Date record last modified',
136 136
             'label' => 'LBL_DATE_MODIFIED',
137
-          ),
137
+            ),
138
+        ),
138 139
         ),
139
-      ),
140 140
     ),
141
-  ),
141
+    ),
142 142
 );
143 143
 ?>
Please login to merge, or discard this patch.
Spacing   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -41,96 +41,96 @@
 block discarded – undo
41 41
 
42 42
 
43 43
 $viewdefs ['Project'] =
44
-array (
44
+array(
45 45
   'EditView' => 
46
-  array (
46
+  array(
47 47
     'templateMeta' => 
48
-    array (
48
+    array(
49 49
       'maxColumns' => '2',
50 50
       'widths' => 
51
-      array (
51
+      array(
52 52
         0 => 
53
-        array (
53
+        array(
54 54
           'label' => '10',
55 55
           'field' => '30',
56 56
         ),
57 57
         1 => 
58
-        array (
58
+        array(
59 59
           'label' => '10',
60 60
           'field' => '30',
61 61
         ),
62 62
       ),
63 63
       'form' => 
64
-      array (
64
+      array(
65 65
         'hidden' => '<input type="hidden" name="is_template" value="{$is_template}" />',
66 66
         'buttons' => 
67
-        array (
67
+        array(
68 68
           0 => 'SAVE',
69 69
           1 => 
70
-          array (
70
+          array(
71 71
             'customCode' => '{if !empty($smarty.request.return_action) && $smarty.request.return_action == "ProjectTemplatesDetailView" && (!empty($fields.id.value) || !empty($smarty.request.return_id)) }<input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value=\'ProjectTemplatesDetailView\'; this.form.module.value=\'{$smarty.request.return_module}\'; this.form.record.value=\'{$smarty.request.return_id}\';" type="submit" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}" id="CANCEL{$place}"> {elseif !empty($smarty.request.return_action) && $smarty.request.return_action == "DetailView" && (!empty($fields.id.value) || !empty($smarty.request.return_id)) }<input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value=\'DetailView\'; this.form.module.value=\'{$smarty.request.return_module}\'; this.form.record.value=\'{$smarty.request.return_id}\';" type="submit" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}" id="CANCEL{$place}"> {elseif $is_template}<input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value=\'ProjectTemplatesListView\'; this.form.module.value=\'{$smarty.request.return_module}\'; this.form.record.value=\'{$smarty.request.return_id}\';" type="submit" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}" id="CANCEL{$place}"> {else}<input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value=\'index\'; this.form.module.value=\'{$smarty.request.return_module}\'; this.form.record.value=\'{$smarty.request.return_id}\';" type="submit" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}" id="CANCEL{$place}"> {/if}',
72 72
           ),
73 73
         ),
74 74
       ),
75 75
       'useTabs' => false,
76 76
       'tabDefs' => 
77
-      array (
77
+      array(
78 78
         'LBL_PROJECT_INFORMATION' => 
79
-        array (
79
+        array(
80 80
           'newTab' => false,
81 81
           'panelDefault' => 'expanded',
82 82
         ),
83 83
         'LBL_PANEL_ASSIGNMENT' => 
84
-        array (
84
+        array(
85 85
           'newTab' => false,
86 86
           'panelDefault' => 'expanded',
87 87
         ),
88 88
       ),
89 89
     ),
90 90
     'panels' => 
91
-    array (
91
+    array(
92 92
       'lbl_project_information' => 
93
-      array (
93
+      array(
94 94
         0 => 
95
-        array (
95
+        array(
96 96
           0 => 'name',
97 97
           1 => 'status',
98 98
         ),
99 99
         1 => 
100
-        array (
100
+        array(
101 101
           0 => 'estimated_start_date',
102 102
           1 => 'priority',
103 103
         ),
104 104
         2 => 
105
-        array (
105
+        array(
106 106
           0 => 'estimated_end_date',
107 107
           1 => '',
108 108
         ),
109 109
         3 => 
110
-        array (
110
+        array(
111 111
           0 => 'description',
112 112
         ),
113 113
       ),
114 114
       'LBL_PANEL_ASSIGNMENT' => 
115
-      array (
115
+      array(
116 116
         0 => 
117
-        array (
117
+        array(
118 118
           0 => 'assigned_user_name',
119 119
           1 => 
120
-          array (
120
+          array(
121 121
             'name' => 'am_projecttemplates_project_1_name',
122 122
           ),
123 123
         ),
124 124
         1 => 
125
-        array (
125
+        array(
126 126
           0 => 
127
-          array (
127
+          array(
128 128
             'name' => 'date_entered',
129 129
             'comment' => 'Date record created',
130 130
             'label' => 'LBL_DATE_ENTERED',
131 131
           ),
132 132
           1 => 
133
-          array (
133
+          array(
134 134
             'name' => 'date_modified',
135 135
             'comment' => 'Date record last modified',
136 136
             'label' => 'LBL_DATE_MODIFIED',
Please login to merge, or discard this patch.
modules/Project/metadata/popupdefs.php 3 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -40,13 +40,13 @@
 block discarded – undo
40 40
 
41 41
 
42 42
 $popupMeta = array('moduleMain' => 'Project',
43
-						'varName' => 'PROJECT',
44
-						'orderBy' => 'name',
45
-						'whereClauses' => 
46
-							array('name' => 'project.name'),
47
-						'searchInputs' =>
48
-							array('name')
49
-						);
43
+                        'varName' => 'PROJECT',
44
+                        'orderBy' => 'name',
45
+                        'whereClauses' => 
46
+                            array('name' => 'project.name'),
47
+                        'searchInputs' =>
48
+                            array('name')
49
+                        );
50 50
 
51 51
 
52 52
 ?>
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 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
  * SugarCRM Community Edition is a customer relationship management program developed by
5 5
  * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
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/Project/metadata/searchdefs.php 2 patches
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -38,28 +38,28 @@
 block discarded – undo
38 38
  ********************************************************************************/
39 39
 
40 40
 
41
-  $searchdefs['Project'] = array(
42
-					'templateMeta' => array(
43
-							'maxColumns' => '3', 
44
-  							'maxColumnsBasic' => '4', 
41
+    $searchdefs['Project'] = array(
42
+                    'templateMeta' => array(
43
+                            'maxColumns' => '3', 
44
+                                'maxColumnsBasic' => '4', 
45 45
                             'widths' => array('label' => '10', 'field' => '30'),                 
46
-                           ),
46
+                            ),
47 47
                     'layout' => array(  					
48
-						'basic_search' => array(
49
-						 	'name',
50
-						 	array('name'=>'current_user_only', 'label'=>'LBL_CURRENT_USER_FILTER', 'type'=>'bool'),
48
+                        'basic_search' => array(
49
+                                'name',
50
+                                array('name'=>'current_user_only', 'label'=>'LBL_CURRENT_USER_FILTER', 'type'=>'bool'),
51 51
                             array ('name' => 'favorites_only','label' => 'LBL_FAVORITES_FILTER','type' => 'bool',),
52 52
 
53 53
 
54 54
                         ),
55
-						'advanced_search' => array(
56
-							'name', 
57
-							'estimated_start_date',
58
-							'estimated_end_date',
59
-							'status',
60
-							'priority',		
55
+                        'advanced_search' => array(
56
+                            'name', 
57
+                            'estimated_start_date',
58
+                            'estimated_end_date',
59
+                            'status',
60
+                            'priority',		
61 61
 							
62
-						),
63
-					),
64
- 			   );
62
+                        ),
63
+                    ),
64
+                );
65 65
 ?>
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
 						'basic_search' => array(
49 49
 						 	'name',
50 50
 						 	array('name'=>'current_user_only', 'label'=>'LBL_CURRENT_USER_FILTER', 'type'=>'bool'),
51
-                            array ('name' => 'favorites_only','label' => 'LBL_FAVORITES_FILTER','type' => 'bool',),
51
+                            array('name' => 'favorites_only', 'label' => 'LBL_FAVORITES_FILTER', 'type' => 'bool',),
52 52
 
53 53
 
54 54
                         ),
Please login to merge, or discard this patch.
modules/Project/metadata/detailviewdefs.php 2 patches
Indentation   +84 added lines, -84 removed lines patch added patch discarded remove patch
@@ -42,176 +42,176 @@
 block discarded – undo
42 42
 
43 43
 $viewdefs ['Project'] =
44 44
 array (
45
-  'DetailView' => 
46
-  array (
45
+    'DetailView' => 
46
+    array (
47 47
     'templateMeta' => 
48 48
     array (
49
-      'maxColumns' => '2',
50
-      'widths' => 
51
-      array (
49
+        'maxColumns' => '2',
50
+        'widths' => 
51
+        array (
52 52
         0 => 
53 53
         array (
54
-          'label' => '10',
55
-          'field' => '30',
54
+            'label' => '10',
55
+            'field' => '30',
56 56
         ),
57 57
         1 => 
58 58
         array (
59
-          'label' => '10',
60
-          'field' => '30',
59
+            'label' => '10',
60
+            'field' => '30',
61
+        ),
61 62
         ),
62
-      ),
63
-      'includes' => 
64
-      array (
63
+        'includes' => 
64
+        array (
65 65
         0 => 
66 66
         array (
67
-          'file' => 'modules/Project/Project.js',
67
+            'file' => 'modules/Project/Project.js',
68 68
         ),
69 69
         1 => 
70 70
         array (
71
-          'file' => 'modules/Project/js/custom_project.js',
71
+            'file' => 'modules/Project/js/custom_project.js',
72
+        ),
72 73
         ),
73
-      ),
74
-      'form' => 
75
-      array (
74
+        'form' => 
75
+        array (
76 76
         'buttons' => 
77 77
         array (
78
-          0 => 
79
-          array (
78
+            0 => 
79
+            array (
80 80
             'customCode' => '<input title="{$APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{$APP.LBL_EDIT_BUTTON_KEY}" class="button" type="submit" name="Edit" id="edit_button" value="{$APP.LBL_EDIT_BUTTON_LABEL}"onclick="{if $IS_TEMPLATE}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'ProjectTemplatesDetailView\'; this.form.return_id.value=\'{$id}\'; this.form.action.value=\'ProjectTemplatesEditView\';{else}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'DetailView\'; this.form.return_id.value=\'{$id}\'; this.form.action.value=\'EditView\'; {/if}"/>',
81 81
             'sugar_html' => 
82 82
             array (
83
-              'type' => 'submit',
84
-              'value' => ' {$APP.LBL_EDIT_BUTTON_LABEL} ',
85
-              'htmlOptions' => 
86
-              array (
83
+                'type' => 'submit',
84
+                'value' => ' {$APP.LBL_EDIT_BUTTON_LABEL} ',
85
+                'htmlOptions' => 
86
+                array (
87 87
                 'id' => 'edit_button',
88 88
                 'class' => 'button',
89 89
                 'accessKey' => '{$APP.LBL_EDIT_BUTTON_KEY}',
90 90
                 'name' => 'Edit',
91 91
                 'onclick' => '{if $IS_TEMPLATE}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'ProjectTemplatesDetailView\'; this.form.return_id.value=\'{$id}\'; this.form.action.value=\'ProjectTemplatesEditView\';{else}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'DetailView\'; this.form.return_id.value=\'{$id}\'; this.form.action.value=\'EditView\'; {/if}',
92
-              ),
92
+                ),
93 93
             ),
94
-          ),
95
-          1 => 
96
-          array (
94
+            ),
95
+            1 => 
96
+            array (
97 97
             'customCode' => '<input title="{$APP.LBL_DELETE_BUTTON_TITLE}" accessKey="{$APP.LBL_DELETE_BUTTON_KEY}" class="button" type="button" name="Delete" id="delete_button" value="{$APP.LBL_DELETE_BUTTON_LABEL}" onclick="project_delete(this);"/>',
98 98
             'sugar_html' => 
99 99
             array (
100
-              'type' => 'button',
101
-              'id' => 'delete_button',
102
-              'value' => '{$APP.LBL_DELETE_BUTTON_LABEL}',
103
-              'htmlOptions' => 
104
-              array (
100
+                'type' => 'button',
101
+                'id' => 'delete_button',
102
+                'value' => '{$APP.LBL_DELETE_BUTTON_LABEL}',
103
+                'htmlOptions' => 
104
+                array (
105 105
                 'title' => '{$APP.LBL_DELETE_BUTTON_TITLE}',
106 106
                 'accessKey' => '{$APP.LBL_DELETE_BUTTON_KEY}',
107 107
                 'id' => 'delete_button',
108 108
                 'class' => 'button',
109 109
                 'onclick' => 'project_delete(this);',
110
-              ),
110
+                ),
111
+            ),
111 112
             ),
112
-          ),
113
-          2 => 
114
-          array (
113
+            2 => 
114
+            array (
115 115
             'customCode' => '<input title="{$APP.LBL_DUPLICATE_BUTTON_TITLE}" accessKey="{$APP.LBL_DUPLICATE_BUTTON_KEY}" class="button" type="submit" name="Duplicate" id="duplicate_button" value="{$APP.LBL_DUPLICATE_BUTTON_LABEL}"onclick="{if $IS_TEMPLATE}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'ProjectTemplatesDetailView\'; this.form.isDuplicate.value=true; this.form.action.value=\'projecttemplateseditview\'; this.form.return_id.value=\'{$id}\';{else}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'DetailView\'; this.form.isDuplicate.value=true; this.form.action.value=\'EditView\'; this.form.return_id.value=\'{$id}\';{/if}""/>',
116 116
             'sugar_html' => 
117 117
             array (
118
-              'type' => 'submit',
119
-              'value' => '{$APP.LBL_DUPLICATE_BUTTON_LABEL}',
120
-              'htmlOptions' => 
121
-              array (
118
+                'type' => 'submit',
119
+                'value' => '{$APP.LBL_DUPLICATE_BUTTON_LABEL}',
120
+                'htmlOptions' => 
121
+                array (
122 122
                 'title' => '{$APP.LBL_DUPLICATE_BUTTON_TITLE}',
123 123
                 'accessKey' => '{$APP.LBL_DUPLICATE_BUTTON_KEY}',
124 124
                 'class' => 'button',
125 125
                 'name' => 'Duplicate',
126 126
                 'id' => 'duplicate_button',
127 127
                 'onclick' => '{if $IS_TEMPLATE}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'ProjectTemplatesDetailView\'; this.form.isDuplicate.value=true; this.form.action.value=\'projecttemplateseditview\'; this.form.return_id.value=\'{$id}\';{else}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'DetailView\'; this.form.isDuplicate.value=true; this.form.action.value=\'EditView\'; this.form.return_id.value=\'{$id}\';{/if}',
128
-              ),
128
+                ),
129 129
             ),
130
-          ),
131
-          3 => 
132
-          array (
130
+            ),
131
+            3 => 
132
+            array (
133 133
             'customCode' => '<input title="{$APP.LBL_VIEW_GANTT_TITLE}" class="button" type="button" name="view_gantt" id="view_gantt" value="{$APP.LBL_GANTT_BUTTON_LABEL}" onclick="javascript:window.location.href=\'index.php?module=Project&action=view_GanttChart&project_id={$id}\'"/>',
134
-          ),
134
+            ),
135
+        ),
135 136
         ),
136
-      ),
137
-      'useTabs' => true,
138
-      'tabDefs' => 
139
-      array (
137
+        'useTabs' => true,
138
+        'tabDefs' => 
139
+        array (
140 140
         'LBL_PROJECT_INFORMATION' => 
141 141
         array (
142
-          'newTab' => true,
143
-          'panelDefault' => 'expanded',
142
+            'newTab' => true,
143
+            'panelDefault' => 'expanded',
144 144
         ),
145 145
         'LBL_PANEL_ASSIGNMENT' => 
146 146
         array (
147
-          'newTab' => true,
148
-          'panelDefault' => 'expanded',
147
+            'newTab' => true,
148
+            'panelDefault' => 'expanded',
149
+        ),
149 150
         ),
150
-      ),
151 151
     ),
152 152
     'panels' => 
153 153
     array (
154
-      'lbl_project_information' => 
155
-      array (
154
+        'lbl_project_information' => 
155
+        array (
156 156
         0 => 
157 157
         array (
158
-          0 => 'name',
159
-          1 => 'status',
158
+            0 => 'name',
159
+            1 => 'status',
160 160
         ),
161 161
         1 => 
162 162
         array (
163
-          0 => 
164
-          array (
163
+            0 => 
164
+            array (
165 165
             'name' => 'estimated_start_date',
166 166
             'label' => 'LBL_DATE_START',
167
-          ),
168
-          1 => 'priority',
167
+            ),
168
+            1 => 'priority',
169 169
         ),
170 170
         2 => 
171 171
         array (
172
-          0 => 
173
-          array (
172
+            0 => 
173
+            array (
174 174
             'name' => 'estimated_end_date',
175 175
             'label' => 'LBL_DATE_END',
176
-          ),
177
-          1 => '',
176
+            ),
177
+            1 => '',
178 178
         ),
179 179
         3 => 
180 180
         array (
181
-          0 => 'description',
181
+            0 => 'description',
182 182
         ),
183
-      ),
184
-      'LBL_PANEL_ASSIGNMENT' => 
185
-      array (
183
+        ),
184
+        'LBL_PANEL_ASSIGNMENT' => 
185
+        array (
186 186
         0 => 
187 187
         array (
188
-          0 => 
189
-          array (
188
+            0 => 
189
+            array (
190 190
             'name' => 'assigned_user_name',
191 191
             'label' => 'LBL_ASSIGNED_TO',
192
-          ),
193
-          1 => 
194
-          array (
192
+            ),
193
+            1 => 
194
+            array (
195 195
             'name' => 'am_projecttemplates_project_1_name',
196
-          ),
196
+            ),
197 197
         ),
198 198
         1 => 
199 199
         array (
200
-          0 => 
201
-          array (
200
+            0 => 
201
+            array (
202 202
             'name' => 'date_entered',
203 203
             'comment' => 'Date record created',
204 204
             'label' => 'LBL_DATE_ENTERED',
205
-          ),
206
-          1 => 
207
-          array (
205
+            ),
206
+            1 => 
207
+            array (
208 208
             'name' => 'date_modified',
209 209
             'comment' => 'Date record last modified',
210 210
             'label' => 'LBL_DATE_MODIFIED',
211
-          ),
211
+            ),
212 212
         ),
213
-      ),
213
+        ),
214
+    ),
214 215
     ),
215
-  ),
216 216
 );
217 217
 ?>
Please login to merge, or discard this patch.
Spacing   +39 added lines, -39 removed lines patch added patch discarded remove patch
@@ -41,49 +41,49 @@  discard block
 block discarded – undo
41 41
 
42 42
 
43 43
 $viewdefs ['Project'] =
44
-array (
44
+array(
45 45
   'DetailView' => 
46
-  array (
46
+  array(
47 47
     'templateMeta' => 
48
-    array (
48
+    array(
49 49
       'maxColumns' => '2',
50 50
       'widths' => 
51
-      array (
51
+      array(
52 52
         0 => 
53
-        array (
53
+        array(
54 54
           'label' => '10',
55 55
           'field' => '30',
56 56
         ),
57 57
         1 => 
58
-        array (
58
+        array(
59 59
           'label' => '10',
60 60
           'field' => '30',
61 61
         ),
62 62
       ),
63 63
       'includes' => 
64
-      array (
64
+      array(
65 65
         0 => 
66
-        array (
66
+        array(
67 67
           'file' => 'modules/Project/Project.js',
68 68
         ),
69 69
         1 => 
70
-        array (
70
+        array(
71 71
           'file' => 'modules/Project/js/custom_project.js',
72 72
         ),
73 73
       ),
74 74
       'form' => 
75
-      array (
75
+      array(
76 76
         'buttons' => 
77
-        array (
77
+        array(
78 78
           0 => 
79
-          array (
79
+          array(
80 80
             'customCode' => '<input title="{$APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{$APP.LBL_EDIT_BUTTON_KEY}" class="button" type="submit" name="Edit" id="edit_button" value="{$APP.LBL_EDIT_BUTTON_LABEL}"onclick="{if $IS_TEMPLATE}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'ProjectTemplatesDetailView\'; this.form.return_id.value=\'{$id}\'; this.form.action.value=\'ProjectTemplatesEditView\';{else}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'DetailView\'; this.form.return_id.value=\'{$id}\'; this.form.action.value=\'EditView\'; {/if}"/>',
81 81
             'sugar_html' => 
82
-            array (
82
+            array(
83 83
               'type' => 'submit',
84 84
               'value' => ' {$APP.LBL_EDIT_BUTTON_LABEL} ',
85 85
               'htmlOptions' => 
86
-              array (
86
+              array(
87 87
                 'id' => 'edit_button',
88 88
                 'class' => 'button',
89 89
                 'accessKey' => '{$APP.LBL_EDIT_BUTTON_KEY}',
@@ -93,15 +93,15 @@  discard block
 block discarded – undo
93 93
             ),
94 94
           ),
95 95
           1 => 
96
-          array (
96
+          array(
97 97
             'customCode' => '<input title="{$APP.LBL_DELETE_BUTTON_TITLE}" accessKey="{$APP.LBL_DELETE_BUTTON_KEY}" class="button" type="button" name="Delete" id="delete_button" value="{$APP.LBL_DELETE_BUTTON_LABEL}" onclick="project_delete(this);"/>',
98 98
             'sugar_html' => 
99
-            array (
99
+            array(
100 100
               'type' => 'button',
101 101
               'id' => 'delete_button',
102 102
               'value' => '{$APP.LBL_DELETE_BUTTON_LABEL}',
103 103
               'htmlOptions' => 
104
-              array (
104
+              array(
105 105
                 'title' => '{$APP.LBL_DELETE_BUTTON_TITLE}',
106 106
                 'accessKey' => '{$APP.LBL_DELETE_BUTTON_KEY}',
107 107
                 'id' => 'delete_button',
@@ -111,14 +111,14 @@  discard block
 block discarded – undo
111 111
             ),
112 112
           ),
113 113
           2 => 
114
-          array (
114
+          array(
115 115
             'customCode' => '<input title="{$APP.LBL_DUPLICATE_BUTTON_TITLE}" accessKey="{$APP.LBL_DUPLICATE_BUTTON_KEY}" class="button" type="submit" name="Duplicate" id="duplicate_button" value="{$APP.LBL_DUPLICATE_BUTTON_LABEL}"onclick="{if $IS_TEMPLATE}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'ProjectTemplatesDetailView\'; this.form.isDuplicate.value=true; this.form.action.value=\'projecttemplateseditview\'; this.form.return_id.value=\'{$id}\';{else}this.form.return_module.value=\'Project\'; this.form.return_action.value=\'DetailView\'; this.form.isDuplicate.value=true; this.form.action.value=\'EditView\'; this.form.return_id.value=\'{$id}\';{/if}""/>',
116 116
             'sugar_html' => 
117
-            array (
117
+            array(
118 118
               'type' => 'submit',
119 119
               'value' => '{$APP.LBL_DUPLICATE_BUTTON_LABEL}',
120 120
               'htmlOptions' => 
121
-              array (
121
+              array(
122 122
                 'title' => '{$APP.LBL_DUPLICATE_BUTTON_TITLE}',
123 123
                 'accessKey' => '{$APP.LBL_DUPLICATE_BUTTON_KEY}',
124 124
                 'class' => 'button',
@@ -129,82 +129,82 @@  discard block
 block discarded – undo
129 129
             ),
130 130
           ),
131 131
           3 => 
132
-          array (
132
+          array(
133 133
             'customCode' => '<input title="{$APP.LBL_VIEW_GANTT_TITLE}" class="button" type="button" name="view_gantt" id="view_gantt" value="{$APP.LBL_GANTT_BUTTON_LABEL}" onclick="javascript:window.location.href=\'index.php?module=Project&action=view_GanttChart&project_id={$id}\'"/>',
134 134
           ),
135 135
         ),
136 136
       ),
137 137
       'useTabs' => true,
138 138
       'tabDefs' => 
139
-      array (
139
+      array(
140 140
         'LBL_PROJECT_INFORMATION' => 
141
-        array (
141
+        array(
142 142
           'newTab' => true,
143 143
           'panelDefault' => 'expanded',
144 144
         ),
145 145
         'LBL_PANEL_ASSIGNMENT' => 
146
-        array (
146
+        array(
147 147
           'newTab' => true,
148 148
           'panelDefault' => 'expanded',
149 149
         ),
150 150
       ),
151 151
     ),
152 152
     'panels' => 
153
-    array (
153
+    array(
154 154
       'lbl_project_information' => 
155
-      array (
155
+      array(
156 156
         0 => 
157
-        array (
157
+        array(
158 158
           0 => 'name',
159 159
           1 => 'status',
160 160
         ),
161 161
         1 => 
162
-        array (
162
+        array(
163 163
           0 => 
164
-          array (
164
+          array(
165 165
             'name' => 'estimated_start_date',
166 166
             'label' => 'LBL_DATE_START',
167 167
           ),
168 168
           1 => 'priority',
169 169
         ),
170 170
         2 => 
171
-        array (
171
+        array(
172 172
           0 => 
173
-          array (
173
+          array(
174 174
             'name' => 'estimated_end_date',
175 175
             'label' => 'LBL_DATE_END',
176 176
           ),
177 177
           1 => '',
178 178
         ),
179 179
         3 => 
180
-        array (
180
+        array(
181 181
           0 => 'description',
182 182
         ),
183 183
       ),
184 184
       'LBL_PANEL_ASSIGNMENT' => 
185
-      array (
185
+      array(
186 186
         0 => 
187
-        array (
187
+        array(
188 188
           0 => 
189
-          array (
189
+          array(
190 190
             'name' => 'assigned_user_name',
191 191
             'label' => 'LBL_ASSIGNED_TO',
192 192
           ),
193 193
           1 => 
194
-          array (
194
+          array(
195 195
             'name' => 'am_projecttemplates_project_1_name',
196 196
           ),
197 197
         ),
198 198
         1 => 
199
-        array (
199
+        array(
200 200
           0 => 
201
-          array (
201
+          array(
202 202
             'name' => 'date_entered',
203 203
             'comment' => 'Date record created',
204 204
             'label' => 'LBL_DATE_ENTERED',
205 205
           ),
206 206
           1 => 
207
-          array (
207
+          array(
208 208
             'name' => 'date_modified',
209 209
             'comment' => 'Date record last modified',
210 210
             'label' => 'LBL_DATE_MODIFIED',
Please login to merge, or discard this patch.
modules/Project/metadata/quickcreatedefs.php 3 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -40,34 +40,34 @@
 block discarded – undo
40 40
 
41 41
 
42 42
 $viewdefs['Project']['QuickCreate'] = array(
43
-					'templateMeta' => array('maxColumns' => '2', 
43
+                    'templateMeta' => array('maxColumns' => '2', 
44 44
                         'widths' => array(
45 45
                                         array('label' => '10', 'field' => '30'), 
46 46
                                         array('label' => '10', 'field' => '30')
47 47
                                         ),
48
-                       ),
48
+                        ),
49 49
 'panels' =>
50 50
 
51 51
 array (
52 52
   
53
-  array (
53
+    array (
54 54
     'name',
55 55
     'status'
56
-  ),
56
+    ),
57 57
   
58
-  array (
58
+    array (
59 59
     'estimated_start_date',
60 60
     'estimated_end_date'
61
-  ),
61
+    ),
62 62
   
63
-  array('priority',),
64
-  array('assigned_user_name',
65
-  ),
66
-  array (
63
+    array('priority',),
64
+    array('assigned_user_name',
65
+    ),
66
+    array (
67 67
     array (
68
-      'name' => 'description',
68
+        'name' => 'description',
69
+    ),
69 70
     ),
70
-  ),
71 71
 
72 72
 ),
73 73
 
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 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
  * SugarCRM Community Edition is a customer relationship management program developed by
5 5
  * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
@@ -48,14 +48,14 @@  discard block
 block discarded – undo
48 48
                        ),
49 49
 'panels' =>
50 50
 
51
-array (
51
+array(
52 52
   
53
-  array (
53
+  array(
54 54
     'name',
55 55
     'status'
56 56
   ),
57 57
   
58
-  array (
58
+  array(
59 59
     'estimated_start_date',
60 60
     'estimated_end_date'
61 61
   ),
@@ -63,8 +63,8 @@  discard block
 block discarded – undo
63 63
   array('priority',),
64 64
   array('assigned_user_name',
65 65
   ),
66
-  array (
67
-    array (
66
+  array(
67
+    array(
68 68
       'name' => 'description',
69 69
     ),
70 70
   ),
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/Project/metadata/metafiles.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -38,13 +38,13 @@
 block discarded – undo
38 38
  ********************************************************************************/
39 39
 
40 40
 
41
- $metafiles['Project'] = array(
42
-	'detailviewdefs'  => 	'modules/Project/metadata/detailviewdefs.php', 	
43
-	'editviewdefs'    => 	'modules/Project/metadata/editviewdefs.php',
44
- 	'listviewdefs'    => 	'modules/Project/metadata/listviewdefs.php',
45
- 	'searchdefs'      =>    'modules/Project/metadata/searchdefs.php',
46
- 	'popupdefs'	      =>    'modules/Project/metadata/popupdefs.php',
47
- 	'searchfields'	  =>    'modules/Project/metadata/SearchFields.php',
41
+    $metafiles['Project'] = array(
42
+    'detailviewdefs'  => 	'modules/Project/metadata/detailviewdefs.php', 	
43
+    'editviewdefs'    => 	'modules/Project/metadata/editviewdefs.php',
44
+        'listviewdefs'    => 	'modules/Project/metadata/listviewdefs.php',
45
+        'searchdefs'      =>    'modules/Project/metadata/searchdefs.php',
46
+        'popupdefs'	      =>    'modules/Project/metadata/popupdefs.php',
47
+        'searchfields'	  =>    'modules/Project/metadata/SearchFields.php',
48 48
 
49
- );
49
+    );
50 50
 ?>
Please login to merge, or discard this patch.
modules/Project/metadata/listviewdefs.php 3 patches
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -43,48 +43,48 @@
 block discarded – undo
43 43
 
44 44
 $listViewDefs ['Project'] =
45 45
 array (
46
-  'NAME' => 
47
-  array (
46
+    'NAME' => 
47
+    array (
48 48
     'width' => '25%',
49 49
     'label' => 'LBL_LIST_NAME',
50 50
     'link' => true,
51 51
     'default' => true,
52
-  ),
53
-  'PRIORITY' => 
54
-  array (
52
+    ),
53
+    'PRIORITY' => 
54
+    array (
55 55
     'type' => 'enum',
56 56
     'label' => 'LBL_PRIORITY',
57 57
     'width' => '10%',
58 58
     'default' => true,
59
-  ),
60
-  'STATUS' => 
61
-  array (
59
+    ),
60
+    'STATUS' => 
61
+    array (
62 62
     'width' => '10%',
63 63
     'label' => 'LBL_STATUS',
64 64
     'link' => false,
65 65
     'default' => true,
66
-  ),
67
-  'ESTIMATED_START_DATE' => 
68
-  array (
66
+    ),
67
+    'ESTIMATED_START_DATE' => 
68
+    array (
69 69
     'width' => '10%',
70 70
     'label' => 'LBL_DATE_START',
71 71
     'link' => false,
72 72
     'default' => true,
73
-  ),
74
-  'ASSIGNED_USER_NAME' => 
75
-  array (
73
+    ),
74
+    'ASSIGNED_USER_NAME' => 
75
+    array (
76 76
     'width' => '10%',
77 77
     'label' => 'LBL_LIST_ASSIGNED_USER_ID',
78 78
     'module' => 'Employees',
79 79
     'id' => 'ASSIGNED_USER_ID',
80 80
     'default' => true,
81
-  ),
82
-  'ESTIMATED_END_DATE' => 
83
-  array (
81
+    ),
82
+    'ESTIMATED_END_DATE' => 
83
+    array (
84 84
     'width' => '10%',
85 85
     'label' => 'LBL_DATE_END',
86 86
     'link' => false,
87 87
     'default' => true,
88
-  ),
88
+    ),
89 89
 );
90 90
 ?>
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 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
  * SugarCRM Community Edition is a customer relationship management program developed by
5 5
  * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
@@ -42,37 +42,37 @@  discard block
 block discarded – undo
42 42
 
43 43
 
44 44
 $listViewDefs ['Project'] =
45
-array (
45
+array(
46 46
   'NAME' => 
47
-  array (
47
+  array(
48 48
     'width' => '25%',
49 49
     'label' => 'LBL_LIST_NAME',
50 50
     'link' => true,
51 51
     'default' => true,
52 52
   ),
53 53
   'PRIORITY' => 
54
-  array (
54
+  array(
55 55
     'type' => 'enum',
56 56
     'label' => 'LBL_PRIORITY',
57 57
     'width' => '10%',
58 58
     'default' => true,
59 59
   ),
60 60
   'STATUS' => 
61
-  array (
61
+  array(
62 62
     'width' => '10%',
63 63
     'label' => 'LBL_STATUS',
64 64
     'link' => false,
65 65
     'default' => true,
66 66
   ),
67 67
   'ESTIMATED_START_DATE' => 
68
-  array (
68
+  array(
69 69
     'width' => '10%',
70 70
     'label' => 'LBL_DATE_START',
71 71
     'link' => false,
72 72
     'default' => true,
73 73
   ),
74 74
   'ASSIGNED_USER_NAME' => 
75
-  array (
75
+  array(
76 76
     'width' => '10%',
77 77
     'label' => 'LBL_LIST_ASSIGNED_USER_ID',
78 78
     'module' => 'Employees',
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     'default' => true,
81 81
   ),
82 82
   'ESTIMATED_END_DATE' => 
83
-  array (
83
+  array(
84 84
     'width' => '10%',
85 85
     'label' => 'LBL_DATE_END',
86 86
     'link' => false,
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/SugarFeed/Dashlets/SugarFeedDashlet/SugarFeedDashlet.meta.php 3 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -49,8 +49,8 @@
 block discarded – undo
49 49
 global $app_strings;
50 50
 
51 51
 $dashletMeta['SugarFeedDashlet'] = array('module'		=> 'SugarFeed',
52
-										  'title'       => translate('LBL_HOMEPAGE_TITLE', 'SugarFeed'), 
53
-                                          'description' => 'A customizable view into Sugar_Feed',
54
-                                          'icon'        => 'themes/default/images/icon_SugarFeed_32.gif',
55
-                                          'dynamic_hide' => true,
56
-                                          'category'    => 'Tools');
57 52
\ No newline at end of file
53
+                                            'title'       => translate('LBL_HOMEPAGE_TITLE', 'SugarFeed'), 
54
+                                            'description' => 'A customizable view into Sugar_Feed',
55
+                                            'icon'        => 'themes/default/images/icon_SugarFeed_32.gif',
56
+                                            'dynamic_hide' => true,
57
+                                            'category'    => 'Tools');
58 58
\ 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
@@ -1,5 +1,5 @@
 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
  * SugarCRM Community Edition is a customer relationship management program developed by
5 5
  * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
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.