Completed
Push — console-installer ( 3d54e5...e2b50d )
by Adam
69:10 queued 48:24
created
modules/TableDictionary.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,6 +125,6 @@
 block discarded – undo
125 125
 include('metadata/securitygroups_usersMetaData.php');
126 126
 
127 127
 if(file_exists('custom/application/Ext/TableDictionary/tabledictionary.ext.php')){
128
-	include('custom/application/Ext/TableDictionary/tabledictionary.ext.php');
128
+    include('custom/application/Ext/TableDictionary/tabledictionary.ext.php');
129 129
 }
130 130
 ?>
Please login to merge, or discard this patch.
modules/AOS_Products_Quotes/vardefs.php 1 patch
Indentation   +98 added lines, -98 removed lines patch added patch discarded remove patch
@@ -23,43 +23,43 @@  discard block
 block discarded – undo
23 23
  */
24 24
 
25 25
 $dictionary['AOS_Products_Quotes'] = array(
26
-	'table'=>'aos_products_quotes',
27
-	'audited'=>true,
28
-	'fields'=>array (
29
-  'name' => 
26
+    'table'=>'aos_products_quotes',
27
+    'audited'=>true,
28
+    'fields'=>array (
29
+    'name' => 
30 30
     array (
31
-      'name' => 'name',
32
-      'vname' => 'LBL_NAME',
33
-      'type' => 'text',
34
-      'link' => true,
35
-      'unified_search' => true,
36
-      'required' => true,
37
-      'importable' => 'required',
31
+        'name' => 'name',
32
+        'vname' => 'LBL_NAME',
33
+        'type' => 'text',
34
+        'link' => true,
35
+        'unified_search' => true,
36
+        'required' => true,
37
+        'importable' => 'required',
38 38
     ),
39 39
     'currency_id' =>
40
-     array (
41
-      'required' => false,
42
-      'name' => 'currency_id',
43
-      'vname' => 'LBL_CURRENCY',
44
-      'type' => 'id',
45
-      'massupdate' => 0,
46
-      'comments' => '',
47
-      'help' => '',
48
-      'importable' => 'true',
49
-      'duplicate_merge' => 'disabled',
50
-      'duplicate_merge_dom_value' => 0,
51
-      'audited' => false,
52
-      'reportable' => false,
53
-      'len' => 36,
54
-      'size' => '20',
55
-      'studio' => 'visible',
56
-      'function' =>
40
+        array (
41
+        'required' => false,
42
+        'name' => 'currency_id',
43
+        'vname' => 'LBL_CURRENCY',
44
+        'type' => 'id',
45
+        'massupdate' => 0,
46
+        'comments' => '',
47
+        'help' => '',
48
+        'importable' => 'true',
49
+        'duplicate_merge' => 'disabled',
50
+        'duplicate_merge_dom_value' => 0,
51
+        'audited' => false,
52
+        'reportable' => false,
53
+        'len' => 36,
54
+        'size' => '20',
55
+        'studio' => 'visible',
56
+        'function' =>
57 57
         array (
58 58
             'name' => 'getCurrencyDropDown',
59 59
             'returns' => 'html',
60 60
         ),
61 61
     ),
62
-  'part_number' =>
62
+    'part_number' =>
63 63
     array (
64 64
         'required' => false,
65 65
         'name' => 'part_number',
@@ -90,8 +90,8 @@  discard block
 block discarded – undo
90 90
             'rows' => 6,
91 91
             'cols' => 80,
92 92
         ),
93
-  'number' => 
94
-  array (
93
+    'number' => 
94
+    array (
95 95
     'required' => false,
96 96
     'name' => 'number',
97 97
     'vname' => 'LBL_LIST_NUM',
@@ -106,9 +106,9 @@  discard block
 block discarded – undo
106 106
     'reportable' => true,
107 107
     'len' => '11',
108 108
     'disable_num_format' => '',
109
-  ),
110
-  'product_qty' => 
111
-  array (
109
+    ),
110
+    'product_qty' => 
111
+    array (
112 112
     'required' => false,
113 113
     'name' => 'product_qty',
114 114
     'vname' => 'LBL_PRODUCT_QTY',
@@ -125,9 +125,9 @@  discard block
 block discarded – undo
125 125
     'size' => '20',
126 126
     'enable_range_search' => false,
127 127
     'precision' => '4',
128
-  ),
129
-  'product_cost_price' => 
130
-  array (
128
+    ),
129
+    'product_cost_price' => 
130
+    array (
131 131
     'required' => false,
132 132
     'name' => 'product_cost_price',
133 133
     'vname' => 'LBL_PRODUCT_COST_PRICE',
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     'audited' => 0,
142 142
     'reportable' => true,
143 143
     'len' => '26,6',
144
-  ),
144
+    ),
145 145
         'product_cost_price_usdollar' =>
146 146
             array (
147 147
                 'name' => 'product_cost_price_usdollar',
@@ -159,8 +159,8 @@  discard block
 block discarded – undo
159 159
                 ),
160 160
                 'len' => '26,6',
161 161
             ),
162
-  'product_list_price' => 
163
-  array (
162
+    'product_list_price' => 
163
+    array (
164 164
     'required' => false,
165 165
     'name' => 'product_list_price',
166 166
     'vname' => 'LBL_PRODUCT_LIST_PRICE',
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
     'audited' => 1,
175 175
     'reportable' => true,
176 176
     'len' => '26,6',
177
-  ),
177
+    ),
178 178
         'product_list_price_usdollar' =>
179 179
             array (
180 180
                 'name' => 'product_list_price_usdollar',
@@ -192,8 +192,8 @@  discard block
 block discarded – undo
192 192
                 ),
193 193
                 'len' => '26,6',
194 194
             ),
195
-  'product_discount' => 
196
-  array (
195
+    'product_discount' => 
196
+    array (
197 197
     'required' => false,
198 198
     'name' => 'product_discount',
199 199
     'vname' => 'LBL_PRODUCT_DISCOUNT',
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
     'audited' => 1,
208 208
     'reportable' => true,
209 209
     'len' => '26,6',
210
-  ),
210
+    ),
211 211
         'product_discount_usdollar' =>
212 212
             array (
213 213
                 'name' => 'product_discount_usdollar',
@@ -225,8 +225,8 @@  discard block
 block discarded – undo
225 225
                 ),
226 226
                 'len' => '26,6',
227 227
             ),
228
-  'product_discount_amount' => 
229
-  array (
228
+    'product_discount_amount' => 
229
+    array (
230 230
     'required' => false,
231 231
     'name' => 'product_discount_amount',
232 232
     'vname' => 'LBL_PRODUCT_DISCOUNT_AMOUNT',
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
     'audited' => 1,
241 241
     'reportable' => true,
242 242
     'len' => '26,6',
243
-  ),
243
+    ),
244 244
         'product_discount_amount_usdollar' =>
245 245
             array (
246 246
                 'name' => 'product_discount_amount_usdollar',
@@ -258,8 +258,8 @@  discard block
 block discarded – undo
258 258
                 ),
259 259
                 'len' => '26,6',
260 260
             ),
261
-  'discount' => 
262
-  array (
261
+    'discount' => 
262
+    array (
263 263
     'required' => false,
264 264
     'name' => 'discount',
265 265
     'vname' => 'LBL_DISCOUNT',
@@ -276,10 +276,10 @@  discard block
 block discarded – undo
276 276
     'len' => 255,
277 277
     'options' => 'discount_list',
278 278
     'studio' => 'visible',
279
-  ),
279
+    ),
280 280
 
281
-  'product_unit_price' => 
282
-  array (
281
+    'product_unit_price' => 
282
+    array (
283 283
     'required' => '1',
284 284
     'name' => 'product_unit_price',
285 285
     'vname' => 'LBL_PRODUCT_UNIT_PRICE',
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
     'audited' => 1,
294 294
     'reportable' => true,
295 295
     'len' => '26,6',
296
-  ),
296
+    ),
297 297
         'product_unit_price_usdollar' =>
298 298
             array (
299 299
                 'name' => 'product_unit_price_usdollar',
@@ -311,8 +311,8 @@  discard block
 block discarded – undo
311 311
                 ),
312 312
                 'len' => '26,6',
313 313
             ),
314
-  'vat_amt' => 
315
-  array (
314
+    'vat_amt' => 
315
+    array (
316 316
     'required' => '1',
317 317
     'name' => 'vat_amt',
318 318
     'vname' => 'LBL_VAT_AMT',
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
     'audited' => 1,
327 327
     'reportable' => true,
328 328
     'len' => '26,6',
329
-  ),
329
+    ),
330 330
         'vat_amt_usdollar' =>
331 331
             array (
332 332
                 'name' => 'vat_amt_usdollar',
@@ -344,8 +344,8 @@  discard block
 block discarded – undo
344 344
                 ),
345 345
                 'len' => '26,6',
346 346
             ),
347
-  'product_total_price' => 
348
-  array (
347
+    'product_total_price' => 
348
+    array (
349 349
     'required' => '1',
350 350
     'name' => 'product_total_price',
351 351
     'vname' => 'LBL_PRODUCT_TOTAL_PRICE',
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
     'audited' => 1,
360 360
     'reportable' => true,
361 361
     'len' => '26,6',
362
-  ),
362
+    ),
363 363
         'product_total_price_usdollar' =>
364 364
             array (
365 365
                 'name' => 'product_total_price_usdollar',
@@ -377,8 +377,8 @@  discard block
 block discarded – undo
377 377
                 ),
378 378
                 'len' => '26,6',
379 379
             ),
380
-  'vat' => 
381
-  array (
380
+    'vat' => 
381
+    array (
382 382
     'required' => false,
383 383
     'name' => 'vat',
384 384
     'vname' => 'LBL_VAT',
@@ -395,9 +395,9 @@  discard block
 block discarded – undo
395 395
     'len' => 100,
396 396
     'options' => 'vat_list',
397 397
     'studio' => 'visible',
398
-  ),
399
-  'parent_name' => 
400
-  array (
398
+    ),
399
+    'parent_name' => 
400
+    array (
401 401
     'required' => false,
402 402
     'source' => 'non-db',
403 403
     'name' => 'parent_name',
@@ -417,9 +417,9 @@  discard block
 block discarded – undo
417 417
     'type_name' => 'parent_type',
418 418
     'id_name' => 'parent_id',
419 419
     'parent_type' => 'record_type_display',
420
-  ),
421
-  'parent_type' => 
422
-  array (
420
+    ),
421
+    'parent_type' => 
422
+    array (
423 423
     'required' => false,
424 424
     'name' => 'parent_type',
425 425
     'vname' => 'LBL_PARENT_TYPE',
@@ -435,9 +435,9 @@  discard block
 block discarded – undo
435 435
     'len' => 100,
436 436
     'dbType' => 'varchar',
437 437
     'studio' => 'hidden',
438
-  ),
439
-  'parent_id' => 
440
-  array (
438
+    ),
439
+    'parent_id' => 
440
+    array (
441 441
     'required' => false,
442 442
     'name' => 'parent_id',
443 443
     'vname' => 'LBL_PARENT_ID',
@@ -451,9 +451,9 @@  discard block
 block discarded – undo
451 451
     'audited' => 0,
452 452
     'reportable' => 0,
453 453
     'len' => 36,
454
-  ),
455
-  'product_id' => 
456
-  array (
454
+    ),
455
+    'product_id' => 
456
+    array (
457 457
     'required' => false,
458 458
     'name' => 'product_id',
459 459
     'vname' => '',
@@ -467,9 +467,9 @@  discard block
 block discarded – undo
467 467
     'audited' => 0,
468 468
     'reportable' => 0,
469 469
     'len' => 36,
470
-  ),
471
-  'group_name' =>
472
-  array(
470
+    ),
471
+    'group_name' =>
472
+    array(
473 473
     'name'=>'group_name',
474 474
     'rname'=>'name',
475 475
     'vname' => 'LBL_GROUP_NAME',
@@ -480,9 +480,9 @@  discard block
 block discarded – undo
480 480
     'id_name' => 'group_id',
481 481
     'module'=>'AOS_Line_Item_Groups',
482 482
     'duplicate_merge'=>'disabled',
483
-  ),
484
-  'group_id' => 
485
-  array (
483
+    ),
484
+    'group_id' => 
485
+    array (
486 486
     'required' => false,
487 487
     'name' => 'group_id',
488 488
     'vname' => '',
@@ -496,37 +496,37 @@  discard block
 block discarded – undo
496 496
     'audited' => 0,
497 497
     'reportable' => 0,
498 498
     'len' => 36,
499
-  ),
500
-   'aos_products' =>
501
-  array (
502
-  'name' => 'aos_products',
499
+    ),
500
+    'aos_products' =>
501
+    array (
502
+    'name' => 'aos_products',
503 503
     'type' => 'link',
504 504
     'relationship' => 'aos_product_quotes_aos_products',
505 505
     'module'=>'AOS_Products',
506 506
     'bean_name'=>'AOS_Products',
507 507
     'source'=>'non-db',
508
- ),
508
+    ),
509 509
 ),
510 510
 'indices' => array (
511 511
     array (
512
-    	'name' => 'idx_aospq_par_del',
513
-    	'type' => 'index',
514
-    	'fields' => array('parent_id','parent_type','deleted')
512
+        'name' => 'idx_aospq_par_del',
513
+        'type' => 'index',
514
+        'fields' => array('parent_id','parent_type','deleted')
515 515
     )
516 516
 ),
517 517
 'relationships'=>array (
518
-	'aos_product_quotes_aos_products' =>
519
-	array (
520
-	'lhs_module'=> 'AOS_Products', 
521
-	'lhs_table'=> 'aos_products', 
522
-	'lhs_key' => 'id',
523
-	'rhs_module'=> 'AOS_Products_Quotes', 
524
-	'rhs_table'=> 'aos_products_quotes', 
525
-	'rhs_key' => 'product_id',
526
-	'relationship_type'=>'one-to-many',
527
-	),
518
+    'aos_product_quotes_aos_products' =>
519
+    array (
520
+    'lhs_module'=> 'AOS_Products', 
521
+    'lhs_table'=> 'aos_products', 
522
+    'lhs_key' => 'id',
523
+    'rhs_module'=> 'AOS_Products_Quotes', 
524
+    'rhs_table'=> 'aos_products_quotes', 
525
+    'rhs_key' => 'product_id',
526
+    'relationship_type'=>'one-to-many',
527
+    ),
528 528
 ),
529
-	'optimistic_lock'=>true,
529
+    'optimistic_lock'=>true,
530 530
 );
531 531
 require_once('include/SugarObjects/VardefManager.php');
532 532
 VardefManager::createVardef('AOS_Products_Quotes','AOS_Products_Quotes', array('basic','assignable'));
Please login to merge, or discard this patch.
modules/Home/language/en_us.lang.php 1 patch
Indentation   +133 added lines, -133 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     'LBL_EMAIL_ADDRESS' => 'Email Address:',
56 56
     'LBL_MY_PIPELINE_FORM_TITLE' => 'My Pipeline',
57 57
     'LBL_PIPELINE_FORM_TITLE' => 'Pipeline By Sales Stage',
58
-		'LBL_RGraph_PIPELINE_FORM_TITLE' => 'Pipeline By Sales Stage',
58
+        'LBL_RGraph_PIPELINE_FORM_TITLE' => 'Pipeline By Sales Stage',
59 59
     'LBL_CAMPAIGN_ROI_FORM_TITLE' => 'Campaign ROI',
60 60
     'LBL_MY_CLOSED_OPPORTUNITIES_GAUGE' => 'My Closed Won Opportunities Gauge',
61 61
     'LNK_NEW_CONTACT' => 'Create Contact',
@@ -80,35 +80,35 @@  discard block
 block discarded – undo
80 80
     'LBL_NO_RESULTS' => '<h2>There were no results found. Please search again.</h2><br>',
81 81
     'LBL_NO_RESULTS_TIPS' => '<h3>Search Tips:</h3><ul><li>Make sure you have the proper categories selected above.</li><li>Broaden your search criteria.</li><li>If you still cannot find any results try the advanced search option.</li></ul>',
82 82
 
83
-  'LBL_RELOAD_PAGE' => 'Please <a href="javascript: window.location.reload()">reload the window</a> to use this SuiteCRM Dashlet.',
84
-  'LBL_ADD_DASHLETS' => 'Add SuiteCRM Dashlets',
85
-  'LBL_ADD_PAGE' => 'Add Page',
86
-  'LBL_DEL_PAGE' => 'Delete Page',
87
-  'LBL_WEBSITE_TITLE' => 'Website',
88
-  'LBL_RSS_TITLE' => 'News Feed',
89
-  'LBL_DELETE_PAGE' => 'Delete Page',
90
-  'LBL_CHANGE_LAYOUT' => 'Change Layout',
91
-  'LBL_RENAME_PAGE' => 'Rename Page',
92
-  'LBL_CLOSE_DASHLETS' => 'Close',
93
-  'LBL_OPTIONS' => 'Options',
94
-  // dashlet search fields
95
-  'LBL_TODAY'=>'Today',
96
-  'LBL_YESTERDAY' => 'Yesterday',
97
-  'LBL_TOMORROW'=>'Tomorrow',
98
-  'LBL_LAST_WEEK'=>'Last Week',
99
-  'LBL_NEXT_WEEK'=>'Next Week',
100
-  'LBL_LAST_7_DAYS'=>'Last 7 Days',
101
-  'LBL_NEXT_7_DAYS'=>'Next 7 Days',
102
-  'LBL_LAST_MONTH'=>'Last Month',
103
-  'LBL_NEXT_MONTH'=>'Next Month',
104
-  'LBL_LAST_QUARTER'=>'Last Quarter',
105
-  'LBL_THIS_QUARTER'=>'This Quarter',
106
-  'LBL_LAST_YEAR'=>'Last Year',
107
-  'LBL_NEXT_YEAR'=>'Next Year',
108
-  'LBL_LAST_30_DAYS' => 'Last 30 Days',
109
-  'LBL_NEXT_30_DAYS' => 'Next 30 Days',
110
-  'LBL_THIS_MONTH' => 'This Month',
111
-  'LBL_THIS_YEAR' => 'This Year',
83
+    'LBL_RELOAD_PAGE' => 'Please <a href="javascript: window.location.reload()">reload the window</a> to use this SuiteCRM Dashlet.',
84
+    'LBL_ADD_DASHLETS' => 'Add SuiteCRM Dashlets',
85
+    'LBL_ADD_PAGE' => 'Add Page',
86
+    'LBL_DEL_PAGE' => 'Delete Page',
87
+    'LBL_WEBSITE_TITLE' => 'Website',
88
+    'LBL_RSS_TITLE' => 'News Feed',
89
+    'LBL_DELETE_PAGE' => 'Delete Page',
90
+    'LBL_CHANGE_LAYOUT' => 'Change Layout',
91
+    'LBL_RENAME_PAGE' => 'Rename Page',
92
+    'LBL_CLOSE_DASHLETS' => 'Close',
93
+    'LBL_OPTIONS' => 'Options',
94
+    // dashlet search fields
95
+    'LBL_TODAY'=>'Today',
96
+    'LBL_YESTERDAY' => 'Yesterday',
97
+    'LBL_TOMORROW'=>'Tomorrow',
98
+    'LBL_LAST_WEEK'=>'Last Week',
99
+    'LBL_NEXT_WEEK'=>'Next Week',
100
+    'LBL_LAST_7_DAYS'=>'Last 7 Days',
101
+    'LBL_NEXT_7_DAYS'=>'Next 7 Days',
102
+    'LBL_LAST_MONTH'=>'Last Month',
103
+    'LBL_NEXT_MONTH'=>'Next Month',
104
+    'LBL_LAST_QUARTER'=>'Last Quarter',
105
+    'LBL_THIS_QUARTER'=>'This Quarter',
106
+    'LBL_LAST_YEAR'=>'Last Year',
107
+    'LBL_NEXT_YEAR'=>'Next Year',
108
+    'LBL_LAST_30_DAYS' => 'Last 30 Days',
109
+    'LBL_NEXT_30_DAYS' => 'Next 30 Days',
110
+    'LBL_THIS_MONTH' => 'This Month',
111
+    'LBL_THIS_YEAR' => 'This Year',
112 112
 
113 113
     'LBL_MODULES' => 'Modules',
114 114
     'LBL_CHARTS' => 'Charts',
@@ -116,44 +116,44 @@  discard block
 block discarded – undo
116 116
     'LBL_WEB' => 'Web',
117 117
     'LBL_SEARCH_RESULTS' => 'Search Result',
118 118
 
119
-  // Dashlet Categories
120
-  'dashlet_categories_dom' => array(
121
-      'Module Views' => 'Module Views',
122
-      'Portal' => 'Portal',
123
-      'Charts' => 'Charts',
124
-      'Tools' => 'Tools',
125
-      'Miscellaneous' => 'Miscellaneous'),
126
-  'LBL_MAX_DASHLETS_REACHED' => 'You have reached the maximum number of SuiteCRM Dashlets your administrator has set. Please remove a SuiteCRM Dashlet to add a new one.',
127
-  'LBL_ADDING_DASHLET' => 'Adding SuiteCRM Dashlet ...',
128
-  'LBL_ADDED_DASHLET' => 'SuiteCRM Dashlet Added',
129
-  'LBL_REMOVE_DASHLET_CONFIRM' => 'Are you sure you want to remove this SuiteCRM Dashlet?',
130
-  'LBL_REMOVING_DASHLET' => 'Removing SuiteCRM Dashlet ...',
131
-  'LBL_REMOVED_DASHLET' => 'SuiteCRM Dashlet Removed',
132
-  'LBL_DASHLET_CONFIGURE_GENERAL' => 'General',
133
-  'LBL_DASHLET_CONFIGURE_FILTERS' => 'Filters',
134
-  'LBL_DASHLET_CONFIGURE_MY_ITEMS_ONLY' => 'Only My Items',
135
-  'LBL_DASHLET_CONFIGURE_TITLE' => 'Title',
136
-  'LBL_DASHLET_CONFIGURE_DISPLAY_ROWS' => 'Display Rows',
119
+    // Dashlet Categories
120
+    'dashlet_categories_dom' => array(
121
+        'Module Views' => 'Module Views',
122
+        'Portal' => 'Portal',
123
+        'Charts' => 'Charts',
124
+        'Tools' => 'Tools',
125
+        'Miscellaneous' => 'Miscellaneous'),
126
+    'LBL_MAX_DASHLETS_REACHED' => 'You have reached the maximum number of SuiteCRM Dashlets your administrator has set. Please remove a SuiteCRM Dashlet to add a new one.',
127
+    'LBL_ADDING_DASHLET' => 'Adding SuiteCRM Dashlet ...',
128
+    'LBL_ADDED_DASHLET' => 'SuiteCRM Dashlet Added',
129
+    'LBL_REMOVE_DASHLET_CONFIRM' => 'Are you sure you want to remove this SuiteCRM Dashlet?',
130
+    'LBL_REMOVING_DASHLET' => 'Removing SuiteCRM Dashlet ...',
131
+    'LBL_REMOVED_DASHLET' => 'SuiteCRM Dashlet Removed',
132
+    'LBL_DASHLET_CONFIGURE_GENERAL' => 'General',
133
+    'LBL_DASHLET_CONFIGURE_FILTERS' => 'Filters',
134
+    'LBL_DASHLET_CONFIGURE_MY_ITEMS_ONLY' => 'Only My Items',
135
+    'LBL_DASHLET_CONFIGURE_TITLE' => 'Title',
136
+    'LBL_DASHLET_CONFIGURE_DISPLAY_ROWS' => 'Display Rows',
137 137
 
138
-  'LBL_DASHLET_DELETE' => 'Delete SuiteCRM Dashlet',
139
-  'LBL_DASHLET_REFRESH' => 'Refresh SuiteCRM Dashlet',
140
-  'LBL_DASHLET_EDIT' => 'Edit SuiteCRM Dashlet',
138
+    'LBL_DASHLET_DELETE' => 'Delete SuiteCRM Dashlet',
139
+    'LBL_DASHLET_REFRESH' => 'Refresh SuiteCRM Dashlet',
140
+    'LBL_DASHLET_EDIT' => 'Edit SuiteCRM Dashlet',
141 141
 
142 142
     'LBL_TRAINING_TITLE' => 'Training',
143 143
 
144
-  'LBL_CREATING_NEW_PAGE' => 'Creating New Page...',
145
-  'LBL_NEW_PAGE_FEEDBACK' => 'You have created a new page. You can add new content with the Add SuiteCRM Dashlets option.',
146
-  'LBL_DELETE_PAGE_CONFIRM' => 'Are you sure you want to delete this page?',
147
-  'LBL_SAVING_PAGE_TITLE' => 'Saving Page Title...',
148
-  'LBL_RETRIEVING_PAGE' => 'Retrieving Page...',
144
+    'LBL_CREATING_NEW_PAGE' => 'Creating New Page...',
145
+    'LBL_NEW_PAGE_FEEDBACK' => 'You have created a new page. You can add new content with the Add SuiteCRM Dashlets option.',
146
+    'LBL_DELETE_PAGE_CONFIRM' => 'Are you sure you want to delete this page?',
147
+    'LBL_SAVING_PAGE_TITLE' => 'Saving Page Title...',
148
+    'LBL_RETRIEVING_PAGE' => 'Retrieving Page...',
149 149
 
150
-  // Default out-of-box names for tabs
151
-  'LBL_HOME_PAGE_1_NAME' => 'My SuiteCRM',
152
-  'LBL_HOME_PAGE_2_NAME' => 'Sales',
153
-  'LBL_HOME_PAGE_3_NAME' => 'Support',
154
-  'LBL_HOME_PAGE_6_NAME' => 'Marketing',//bug 16510, separate the support and marketing page from each other
155
-  'LBL_HOME_PAGE_4_NAME' => 'Tracker',
156
-  'LBL_CLOSE_SITEMAP' => 'Close',
150
+    // Default out-of-box names for tabs
151
+    'LBL_HOME_PAGE_1_NAME' => 'My SuiteCRM',
152
+    'LBL_HOME_PAGE_2_NAME' => 'Sales',
153
+    'LBL_HOME_PAGE_3_NAME' => 'Support',
154
+    'LBL_HOME_PAGE_6_NAME' => 'Marketing',//bug 16510, separate the support and marketing page from each other
155
+    'LBL_HOME_PAGE_4_NAME' => 'Tracker',
156
+    'LBL_CLOSE_SITEMAP' => 'Close',
157 157
 
158 158
     'LBL_SEARCH' => 'Search',
159 159
     'LBL_CLEAR' => 'Clear',
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     'LBL_MY_TEAM_REPORT_CHARTS' => 'My Team Reports',
167 167
     'LBL_MY_SAVED_REPORT_CHARTS' => 'My Saved Reports',
168 168
 
169
-  'LBL_DASHLET_SEARCH' => 'Find SuiteCRM Dashlet',
169
+    'LBL_DASHLET_SEARCH' => 'Find SuiteCRM Dashlet',
170 170
 
171 171
 //ABOUT page
172 172
     'LBL_VERSION' => 'Version',
@@ -177,77 +177,77 @@  discard block
 block discarded – undo
177 177
     'LBL_ADD_TERM_COM' => '<P>The interactive user interfaces in modified source and object code versions of this program must display Appropriate Legal Notices, as required under Section 5 of the GNU Affero General Public License version 3. In accordance with Section 7(b) of the GNU General Public License version 3, these Appropriate Legal Notices must retain the display of the &quot;Powered by SugarCRM&quot; logo. If the display of the logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices must display the words &quot;Powered by SugarCRM&quot;.</P>',
178 178
 
179 179
 
180
-  'LBL_SUGAR_COMMUNITY_EDITION' => 'Sugar Community Edition',
181
-  'LBL_AND' => "and",
182
-  'LBL_ARE' => "are",
183
-  'LBL_TRADEMARKS' => 'trademarks',
184
-  'LBL_OF' => 'of',
185
-  'LBL_FOUNDERS' => 'Founders',
186
-  'LBL_JOIN_SUGAR_COMMUNITY' => 'Join the SuiteCRM Community',
187
-  'LBL_DETAILS_SUGARFORGE' => 'Collaborate and develop SuiteCRM extensions',
188
-  'LBL_DETAILS_SUGAREXCHANGE' => 'Buy and sell certified SuiteCRM extensions',
189
-  'LBL_TRAINING' => 'Training',
190
-  'LBL_DETAILS_TRAINING' => 'Learn about SuiteCRM using online and interactive learning content',
191
-  'LBL_FORUMS' => 'Forums',
192
-  'LBL_DETAILS_FORUMS' => 'Discuss SuiteCRM with expert community users and developers',
193
-  'LBL_WIKI' => 'Wiki',
194
-  'LBL_DETAILS_WIKI' => 'Search the knowledge base of user and developer topics',
195
-  'LBL_DEVSITE' => 'Developer Site',
196
-  'LBL_DETAILS_DEVSITE' => 'Discover resources, tutorials, and helpful links to get you up to speed on SuiteCRM development',
197
- 'LBL_GET_SUGARCRM_RSS' => 'Get SuiteCRM RSS',
198
-  'LBL_SUGARCRM_NEWS' => 'SuiteCRM News',
199
-  'LBL_SUGARCRM_TRAINING_NEWS' => 'SuiteCRM Training News',
200
-  'LBL_SUGARCRM_FORUMS' => 'SuiteCRM Forums',
201
-  'LBL_SUGARFORGE_NEWS' => 'SuiteCRM News',
202
-  'LBL_ALL_NEWS' => 'All News',
203
-  'LBL_SOURCE_CODE' => 'Source Code',
180
+    'LBL_SUGAR_COMMUNITY_EDITION' => 'Sugar Community Edition',
181
+    'LBL_AND' => "and",
182
+    'LBL_ARE' => "are",
183
+    'LBL_TRADEMARKS' => 'trademarks',
184
+    'LBL_OF' => 'of',
185
+    'LBL_FOUNDERS' => 'Founders',
186
+    'LBL_JOIN_SUGAR_COMMUNITY' => 'Join the SuiteCRM Community',
187
+    'LBL_DETAILS_SUGARFORGE' => 'Collaborate and develop SuiteCRM extensions',
188
+    'LBL_DETAILS_SUGAREXCHANGE' => 'Buy and sell certified SuiteCRM extensions',
189
+    'LBL_TRAINING' => 'Training',
190
+    'LBL_DETAILS_TRAINING' => 'Learn about SuiteCRM using online and interactive learning content',
191
+    'LBL_FORUMS' => 'Forums',
192
+    'LBL_DETAILS_FORUMS' => 'Discuss SuiteCRM with expert community users and developers',
193
+    'LBL_WIKI' => 'Wiki',
194
+    'LBL_DETAILS_WIKI' => 'Search the knowledge base of user and developer topics',
195
+    'LBL_DEVSITE' => 'Developer Site',
196
+    'LBL_DETAILS_DEVSITE' => 'Discover resources, tutorials, and helpful links to get you up to speed on SuiteCRM development',
197
+    'LBL_GET_SUGARCRM_RSS' => 'Get SuiteCRM RSS',
198
+    'LBL_SUGARCRM_NEWS' => 'SuiteCRM News',
199
+    'LBL_SUGARCRM_TRAINING_NEWS' => 'SuiteCRM Training News',
200
+    'LBL_SUGARCRM_FORUMS' => 'SuiteCRM Forums',
201
+    'LBL_SUGARFORGE_NEWS' => 'SuiteCRM News',
202
+    'LBL_ALL_NEWS' => 'All News',
203
+    'LBL_SOURCE_CODE' => 'Source Code',
204 204
     'LBL_SOURCE_SUGAR' => 'SugarCRM Inc - providers of CE framework',
205
-  'LBL_SOURCE_XTEMPLATE' => 'XTemplate - A template engine for PHP created by Barnabás Debreceni',
206
-  'LBL_SOURCE_NUSOAP' => 'NuSOAP - A set of PHP classes that allow developers to create and consume web services created by NuSphere Corporation and Dietrich Ayala',
207
-  'LBL_SOURCE_JSCALENDAR' => 'JS Calendar - A calendar for entering dates created by Mihai Bazon',
208
-  'LBL_SOURCE_PHPPDF' => 'PHP PDF - A library for creating PDF documents created by Wayne Munro',
209
-  'LBL_SOURCE_HTTP_WEBDAV_SERVER' => 'HTTP_WebDAV_Server - A WebDAV Server Implementation in PHP.',
210
-  'LBL_SOURCE_PCLZIP' => 'PclZip - library offers compression and extraction functions for Zip formatted archives by Vincent Blavet',
211
-  'LBL_SOURCE_SMARTY' => 'Smarty - A template engine for PHP.',
212
-  'LBL_SOURCE_YAHOO_UI_LIB' => 'Yahoo! User Interface Library - The UI Library Utilities facilitate the implementation of rich client-side features.',
213
-  'LBL_SOURCE_PHPMAILER' => 'PHPMailer - A full featured email transfer class for PHP',
214
-  'LBL_SOURCE_JSHRINK' => 'JShrink - A Javascript minifier written in PHP',
215
-  'LBL_SOURCE_CRYPT_BLOWFISH' => 'Crypt_Blowfish - Allows for quick two-way blowfish encryption without requiring the MCrypt PHP extension.',
216
-  'LBL_SOURCE_XML_HTMLSAX3' => 'XML_HTMLSax3 - A SAX parser for HTML and other badly formed XML documents',
217
-  'LBL_SOURCE_YAHOO_UI_LIB_EXT' => 'Yahoo! UI Extensions Library - Extensions to the Yahoo! User Interface Library by Jack Slocum',
218
-  'LBL_SOURCE_SWFOBJECT' => 'SWFObject - Javascript Flash Player detection and embed script.',
219
-  'LBL_SOURCE_TINYMCE' => 'TinyMCE - A WYSIWYG editor control for web browsers that enables the user to edit HTML contents',
220
-  'LBL_SOURCE_EXT' => 'Ext - A client-side JavaScript framework for building web applications.',
221
-  'LBL_SOURCE_RECAPTCHA' => 'reCAPTCHA - A free CAPTCHA service that helps to digitize books, newspapers and old time radio shows.',
222
-  'LBL_SOURCE_TCPDF' => 'TCPDF - A PHP class for generating PDF documents.',
223
-  'LBL_SOURCE_CSSMIN' => 'CssMin - A css parser and minifier.',
224
-  'LBL_SOURCE_PHPSAML' => 'PHP-SAML - A simple SAML toolkit for PHP.',
225
-  'LBL_SOURCE_ISCROLL' => 'iScroll - The overflow:scroll for mobile webkit.  Native scrolling inside a fixed width/height element.',
226
-  'LBL_SOURCE_FLASHCANVAS' => 'FlashCanvas - FlashCanvas is a JavaScript library which adds the HTML5 Canvas support to Internet Explorer. It renders shapes and images via Flash drawing API. It supports almost all Canvas APIs and, in many cases, runs faster than other similar libraries which use VML or Silverlight.',
227
-  'LBL_SOURCE_JIT' => 'JavaScript InfoVis Toolkit - The JavaScript InfoVis Toolkit provides tools for creating Interactive Data Visualizations for the Web.',
228
-  'LBL_SOURCE_ZEND' => 'Zend Framework - An open source, object oriented web application framework for PHP5.',
229
-  'LBL_SOURCE_PARSECSV' => 'parseCSV - CSV data parser for PHP',
230
-  'LBL_SOURCE_PHPJS' => 'php.js - Use PHP functions in JavaScript',
231
-  'LBL_SOURCE_PHPSQL' => 'PHP SQL Parser',
232
-  'LBL_SOURCE_HTMLPURIFIER' => 'HTML Purifier - A standards-compliant HTML filtering library.',
233
-  'LBL_SOURCE_XHPROF' => 'XHProf - A function-level hierarchical profiler for PHP.',
234
-  'LBL_SOURCE_ELASTICA' => 'Elastica - PHP client for the distributed search engine elasticsearch ',
235
-  'LBL_SOURCE_FACEBOOKSDK' => 'Facebook PHP SDK',
236
-  'LBL_SOURCE_JQUERY' => 'jQuery - jQuery is a fast, small, and feature-rich JavaScript library.',
237
-  'LBL_SOURCE_JQUERY_UI' => 'jQuery UI - jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.',
238
-  'LBL_SOURCE_OVERLIB' => 'OverlibMWS - The overlibmws library uses javascript for DHTML popups that serve as informational and navigational aids for websites.',
205
+    'LBL_SOURCE_XTEMPLATE' => 'XTemplate - A template engine for PHP created by Barnabás Debreceni',
206
+    'LBL_SOURCE_NUSOAP' => 'NuSOAP - A set of PHP classes that allow developers to create and consume web services created by NuSphere Corporation and Dietrich Ayala',
207
+    'LBL_SOURCE_JSCALENDAR' => 'JS Calendar - A calendar for entering dates created by Mihai Bazon',
208
+    'LBL_SOURCE_PHPPDF' => 'PHP PDF - A library for creating PDF documents created by Wayne Munro',
209
+    'LBL_SOURCE_HTTP_WEBDAV_SERVER' => 'HTTP_WebDAV_Server - A WebDAV Server Implementation in PHP.',
210
+    'LBL_SOURCE_PCLZIP' => 'PclZip - library offers compression and extraction functions for Zip formatted archives by Vincent Blavet',
211
+    'LBL_SOURCE_SMARTY' => 'Smarty - A template engine for PHP.',
212
+    'LBL_SOURCE_YAHOO_UI_LIB' => 'Yahoo! User Interface Library - The UI Library Utilities facilitate the implementation of rich client-side features.',
213
+    'LBL_SOURCE_PHPMAILER' => 'PHPMailer - A full featured email transfer class for PHP',
214
+    'LBL_SOURCE_JSHRINK' => 'JShrink - A Javascript minifier written in PHP',
215
+    'LBL_SOURCE_CRYPT_BLOWFISH' => 'Crypt_Blowfish - Allows for quick two-way blowfish encryption without requiring the MCrypt PHP extension.',
216
+    'LBL_SOURCE_XML_HTMLSAX3' => 'XML_HTMLSax3 - A SAX parser for HTML and other badly formed XML documents',
217
+    'LBL_SOURCE_YAHOO_UI_LIB_EXT' => 'Yahoo! UI Extensions Library - Extensions to the Yahoo! User Interface Library by Jack Slocum',
218
+    'LBL_SOURCE_SWFOBJECT' => 'SWFObject - Javascript Flash Player detection and embed script.',
219
+    'LBL_SOURCE_TINYMCE' => 'TinyMCE - A WYSIWYG editor control for web browsers that enables the user to edit HTML contents',
220
+    'LBL_SOURCE_EXT' => 'Ext - A client-side JavaScript framework for building web applications.',
221
+    'LBL_SOURCE_RECAPTCHA' => 'reCAPTCHA - A free CAPTCHA service that helps to digitize books, newspapers and old time radio shows.',
222
+    'LBL_SOURCE_TCPDF' => 'TCPDF - A PHP class for generating PDF documents.',
223
+    'LBL_SOURCE_CSSMIN' => 'CssMin - A css parser and minifier.',
224
+    'LBL_SOURCE_PHPSAML' => 'PHP-SAML - A simple SAML toolkit for PHP.',
225
+    'LBL_SOURCE_ISCROLL' => 'iScroll - The overflow:scroll for mobile webkit.  Native scrolling inside a fixed width/height element.',
226
+    'LBL_SOURCE_FLASHCANVAS' => 'FlashCanvas - FlashCanvas is a JavaScript library which adds the HTML5 Canvas support to Internet Explorer. It renders shapes and images via Flash drawing API. It supports almost all Canvas APIs and, in many cases, runs faster than other similar libraries which use VML or Silverlight.',
227
+    'LBL_SOURCE_JIT' => 'JavaScript InfoVis Toolkit - The JavaScript InfoVis Toolkit provides tools for creating Interactive Data Visualizations for the Web.',
228
+    'LBL_SOURCE_ZEND' => 'Zend Framework - An open source, object oriented web application framework for PHP5.',
229
+    'LBL_SOURCE_PARSECSV' => 'parseCSV - CSV data parser for PHP',
230
+    'LBL_SOURCE_PHPJS' => 'php.js - Use PHP functions in JavaScript',
231
+    'LBL_SOURCE_PHPSQL' => 'PHP SQL Parser',
232
+    'LBL_SOURCE_HTMLPURIFIER' => 'HTML Purifier - A standards-compliant HTML filtering library.',
233
+    'LBL_SOURCE_XHPROF' => 'XHProf - A function-level hierarchical profiler for PHP.',
234
+    'LBL_SOURCE_ELASTICA' => 'Elastica - PHP client for the distributed search engine elasticsearch ',
235
+    'LBL_SOURCE_FACEBOOKSDK' => 'Facebook PHP SDK',
236
+    'LBL_SOURCE_JQUERY' => 'jQuery - jQuery is a fast, small, and feature-rich JavaScript library.',
237
+    'LBL_SOURCE_JQUERY_UI' => 'jQuery UI - jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.',
238
+    'LBL_SOURCE_OVERLIB' => 'OverlibMWS - The overlibmws library uses javascript for DHTML popups that serve as informational and navigational aids for websites.',
239 239
 
240
-  'LBL_DASHLET_TITLE' => 'My Sites',
241
-  'LBL_DASHLET_OPT_TITLE' => 'Title',
242
-  'LBL_DASHLET_INCORRECT_URL' => 'Incorrect website location is specified',
243
-  'LBL_DASHLET_OPT_URL' => 'Website Location',
244
-  'LBL_DASHLET_OPT_HEIGHT' => 'Dashlet Height (in pixels)',
245
-  'LBL_DASHLET_SUGAR_NEWS' => 'SuiteCRM News',
246
-  'LBL_DASHLET_DISCOVER_SUGAR_PRO' => 'Discover SuiteCRM',
247
-	'LBL_POWERED_BY_SUGAR' => 'Powered By SugarCRM' /*for 508 compliance fix*/,
248
-	'LBL_MORE_DETAIL' => 'More Detail' /*for 508 compliance fix*/,
249
-	'LBL_BASIC_SEARCH' => 'Basic Search' /*for 508 compliance fix*/,
250
-	'LBL_ADVANCED_SEARCH' => 'Advanced Search' /*for 508 compliance fix*/,
240
+    'LBL_DASHLET_TITLE' => 'My Sites',
241
+    'LBL_DASHLET_OPT_TITLE' => 'Title',
242
+    'LBL_DASHLET_INCORRECT_URL' => 'Incorrect website location is specified',
243
+    'LBL_DASHLET_OPT_URL' => 'Website Location',
244
+    'LBL_DASHLET_OPT_HEIGHT' => 'Dashlet Height (in pixels)',
245
+    'LBL_DASHLET_SUGAR_NEWS' => 'SuiteCRM News',
246
+    'LBL_DASHLET_DISCOVER_SUGAR_PRO' => 'Discover SuiteCRM',
247
+    'LBL_POWERED_BY_SUGAR' => 'Powered By SugarCRM' /*for 508 compliance fix*/,
248
+    'LBL_MORE_DETAIL' => 'More Detail' /*for 508 compliance fix*/,
249
+    'LBL_BASIC_SEARCH' => 'Basic Search' /*for 508 compliance fix*/,
250
+    'LBL_ADVANCED_SEARCH' => 'Advanced Search' /*for 508 compliance fix*/,
251 251
     'LBL_TOUR_HOME' => 'Home Icon',
252 252
     'LBL_TOUR_HOME_DESCRIPTION' => 'Quickly get back to your Home Page dashboard in one click.',
253 253
     'LBL_TOUR_MODULES' => 'Modules',
Please login to merge, or discard this patch.
modules/Project/ProjectQuickCreate.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -66,24 +66,24 @@
 block discarded – undo
66 66
         $this->javascript->setSugarBean($focus);
67 67
         $this->javascript->addAllFields('');
68 68
 
69
-		//$this->ss->assign("STATUS_OPTIONS", get_select_options_with_id($app_list_strings['project_status_dom'], $focus->status));
69
+        //$this->ss->assign("STATUS_OPTIONS", get_select_options_with_id($app_list_strings['project_status_dom'], $focus->status));
70 70
         $this->ss->assign('additionalScripts', $this->javascript->getScript(false));
71 71
         $this->ss->assign('CALENDAR_DATEFORMAT', $timedate->get_cal_date_format());
72 72
         
73 73
         
74 74
         $json = getJSONobj();
75 75
         
76
-		$popup_request_data = array(
77
-			'call_back_function' => 'set_return',
78
-			'form_name' => 'projectsQuickCreate',
79
-			'field_to_name_array' => array(
80
-				'id' => 'account_id',
81
-				'name' => 'account_name',
82
-			),
83
-		);
76
+        $popup_request_data = array(
77
+            'call_back_function' => 'set_return',
78
+            'form_name' => 'projectsQuickCreate',
79
+            'field_to_name_array' => array(
80
+                'id' => 'account_id',
81
+                'name' => 'account_name',
82
+            ),
83
+        );
84 84
 	
85
-		$encoded_popup_request_data = $json->encode($popup_request_data);
86
-		$this->ss->assign('encoded_popup_request_data', $encoded_popup_request_data);        
85
+        $encoded_popup_request_data = $json->encode($popup_request_data);
86
+        $this->ss->assign('encoded_popup_request_data', $encoded_popup_request_data);        
87 87
 
88 88
         
89 89
     }   
Please login to merge, or discard this patch.
modules/Project/metadata/additionalDetails.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -42,25 +42,25 @@
 block discarded – undo
42 42
 
43 43
 
44 44
 function additionalDetailsProject($fields) {
45
-	static $mod_strings;
46
-	if(empty($mod_strings)) {
47
-		global $current_language;
48
-		$mod_strings = return_module_language($current_language, 'Project');
49
-	}
45
+    static $mod_strings;
46
+    if(empty($mod_strings)) {
47
+        global $current_language;
48
+        $mod_strings = return_module_language($current_language, 'Project');
49
+    }
50 50
 		
51
-	$overlib_string = '';
51
+    $overlib_string = '';
52 52
 	
53
-	if(!empty($fields['DESCRIPTION'])) {
54
-		$overlib_string .= '<b>'. $mod_strings['LBL_DESCRIPTION'] . '</b> ' . substr($fields['DESCRIPTION'], 0, 300);
55
-		if(strlen($fields['DESCRIPTION']) > 300) $overlib_string .= '...';
56
-	}	
53
+    if(!empty($fields['DESCRIPTION'])) {
54
+        $overlib_string .= '<b>'. $mod_strings['LBL_DESCRIPTION'] . '</b> ' . substr($fields['DESCRIPTION'], 0, 300);
55
+        if(strlen($fields['DESCRIPTION']) > 300) $overlib_string .= '...';
56
+    }	
57 57
 
58
-	return array('fieldToAddTo' => 'NAME', 
59
-				 'string' => $overlib_string, 
60
-				 'editLink' => "index.php?action=EditView&module=Project&return_module=Project&record={$fields['ID']}", 
61
-				 'viewLink' => "index.php?action=DetailView&module=Project&return_module=Project&record={$fields['ID']}");
58
+    return array('fieldToAddTo' => 'NAME', 
59
+                    'string' => $overlib_string, 
60
+                    'editLink' => "index.php?action=EditView&module=Project&return_module=Project&record={$fields['ID']}", 
61
+                    'viewLink' => "index.php?action=DetailView&module=Project&return_module=Project&record={$fields['ID']}");
62 62
 }
63 63
  
64
- ?>
64
+    ?>
65 65
  
66 66
  
67 67
\ No newline at end of file
Please login to merge, or discard this patch.
modules/Project/metadata/dashletviewdefs.php 1 patch
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.
modules/Project/metadata/editviewdefs.php 1 patch
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.
modules/Project/metadata/popupdefs.php 1 patch
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.
modules/Project/metadata/searchdefs.php 1 patch
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.