Completed
Push — master ( 24ce66...da2f36 )
by Adam
25:35
created
modules/EmailTemplates/EditView.php 1 patch
Braces   +42 added lines, -12 removed lines patch added patch discarded remove patch
@@ -68,7 +68,9 @@  discard block
 block discarded – undo
68 68
 
69 69
 
70 70
 //setting default flag value so due date and time not required
71
-if (!isset($focus->id)) $focus->date_due_flag = 1;
71
+if (!isset($focus->id)) {
72
+    $focus->date_due_flag = 1;
73
+}
72 74
 
73 75
 //needed when creating a new case with default values passed in
74 76
 if (isset($_REQUEST['contact_name']) && is_null($focus->contact_name)) {
@@ -130,12 +132,16 @@  discard block
 block discarded – undo
130 132
 $xtpl->parse("main.variable_option");
131 133
 
132 134
 $returnAction = 'index';
133
-if (isset($_REQUEST['return_module'])) $xtpl->assign("RETURN_MODULE", $_REQUEST['return_module']);
135
+if (isset($_REQUEST['return_module'])) {
136
+    $xtpl->assign("RETURN_MODULE", $_REQUEST['return_module']);
137
+}
134 138
 if (isset($_REQUEST['return_action'])) {
135 139
     $xtpl->assign("RETURN_ACTION", $_REQUEST['return_action']);
136 140
     $returnAction = $_REQUEST['return_action'];
137 141
 }
138
-if (isset($_REQUEST['return_id'])) $xtpl->assign("RETURN_ID", $_REQUEST['return_id']);
142
+if (isset($_REQUEST['return_id'])) {
143
+    $xtpl->assign("RETURN_ID", $_REQUEST['return_id']);
144
+}
139 145
 // handle Create $module then Cancel
140 146
 if (empty($_REQUEST['return_id'])) {
141 147
     $xtpl->assign("RETURN_ACTION", 'index');
@@ -164,8 +170,9 @@  discard block
 block discarded – undo
164 170
 );
165 171
 $json = getJSONobj();
166 172
 $xtpl->assign('encoded_assigned_users_popup_request_data', $json->encode($popup_request_data));
167
-if (!empty($focus->assigned_user_name))
173
+if (!empty($focus->assigned_user_name)) {
168 174
     $xtpl->assign("ASSIGNED_USER_NAME", $focus->assigned_user_name);
175
+}
169 176
 
170 177
 $xtpl->assign("assign_user_select", SugarThemeRegistry::current()->getImage('id-ff-select', '', null, null, '.png', $mod_strings['LBL_SELECT']));
171 178
 $xtpl->assign("assign_user_clear", SugarThemeRegistry::current()->getImage('id-ff-clear', '', null, null, '.gif', $mod_strings['LBL_ID_FF_CLEAR']));
@@ -187,23 +194,38 @@  discard block
 block discarded – undo
187 194
 $xtpl->assign("JSLANG", $jsLang);
188 195
 
189 196
 $xtpl->assign("ID", $focus->id);
190
-if (isset($focus->name)) $xtpl->assign("NAME", $focus->name); else $xtpl->assign("NAME", "");
197
+if (isset($focus->name)) {
198
+    $xtpl->assign("NAME", $focus->name);
199
+} else {
200
+    $xtpl->assign("NAME", "");
201
+}
191 202
 
192 203
 //Bug45632
193 204
 /* BEGIN - SECURITY GROUPS */
194 205
 /**
195 206
  * if(isset($focus->assigned_user_id)) $xtpl->assign("ASSIGNED_USER_ID", $focus->assigned_user_id); else $xtpl->assign("ASSIGNED_USER_ID", "");
196 207
  */
197
-if (isset($focus->assigned_user_id)) $xtpl->assign("ASSIGNED_USER_ID", $focus->assigned_user_id);
198
-else if (empty($focus->id) && empty($focus->assigned_user_id)) {
208
+if (isset($focus->assigned_user_id)) {
209
+    $xtpl->assign("ASSIGNED_USER_ID", $focus->assigned_user_id);
210
+} else if (empty($focus->id) && empty($focus->assigned_user_id)) {
199 211
     $xtpl->assign("ASSIGNED_USER_ID", $current_user->id);
200 212
     $xtpl->assign("ASSIGNED_USER_NAME", get_assigned_user_name($current_user->id));
201
-} else $xtpl->assign("ASSIGNED_USER_ID", "");
213
+} else {
214
+    $xtpl->assign("ASSIGNED_USER_ID", "");
215
+}
202 216
 /* END - SECURITY GROUPS */
203 217
 //Bug45632
204 218
 
205
-if (isset($focus->description)) $xtpl->assign("DESCRIPTION", $focus->description); else $xtpl->assign("DESCRIPTION", "");
206
-if (isset($focus->subject)) $xtpl->assign("SUBJECT", $focus->subject); else $xtpl->assign("SUBJECT", "");
219
+if (isset($focus->description)) {
220
+    $xtpl->assign("DESCRIPTION", $focus->description);
221
+} else {
222
+    $xtpl->assign("DESCRIPTION", "");
223
+}
224
+if (isset($focus->subject)) {
225
+    $xtpl->assign("SUBJECT", $focus->subject);
226
+} else {
227
+    $xtpl->assign("SUBJECT", "");
228
+}
207 229
 if ($focus->published == 'on') {
208 230
     $xtpl->assign("PUBLISHED", "CHECKED");
209 231
 }
@@ -244,8 +266,16 @@  discard block
 block discarded – undo
244 266
 $xtpl->assign("TYPE_OPTIONS", get_select_options_with_id($app_list_strings['record_type_display'], $focus->parent_type));
245 267
 //$xtpl->assign("DEFAULT_MODULE","Accounts");
246 268
 
247
-if (isset($focus->body)) $xtpl->assign("BODY", $focus->body); else $xtpl->assign("BODY", "");
248
-if (isset($focus->body_html)) $xtpl->assign("BODY_HTML", $focus->body_html); else $xtpl->assign("BODY_HTML", "");
269
+if (isset($focus->body)) {
270
+    $xtpl->assign("BODY", $focus->body);
271
+} else {
272
+    $xtpl->assign("BODY", "");
273
+}
274
+if (isset($focus->body_html)) {
275
+    $xtpl->assign("BODY_HTML", $focus->body_html);
276
+} else {
277
+    $xtpl->assign("BODY_HTML", "");
278
+}
249 279
 
250 280
 
251 281
 // ---------------------------------
Please login to merge, or discard this patch.
modules/FP_events/language/en_us.lang.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -112,17 +112,17 @@
 block discarded – undo
112 112
     'LBL_FP_EVENTS_LEADS_1_FROM_LEADS_TITLE' => 'Leads',
113 113
     'LBL_FP_EVENTS_PROSPECTS_1_FROM_PROSPECTS_TITLE' => 'Targets',
114 114
     'LBL_FP_EVENTS_FP_EVENT_DELEGATES_1_FROM_FP_EVENT_DELEGATES_TITLE' => 'Delegates',
115
-	'LBL_HOURS_ABBREV' => 'h',
116
-	'LBL_MINSS_ABBREV' => 'm',
115
+    'LBL_HOURS_ABBREV' => 'h',
116
+    'LBL_MINSS_ABBREV' => 'm',
117 117
 
118
-	// Attendance report
119
-	'LBL_CONTACT_NAME' => 'Name',
120
-	'LBL_ACCOUNT_NAME' => 'Company',
121
-	'LBL_SIGNATURE' => 'Signature',
122
-	// contacts/leads/targets subpanels
123
-	'LBL_LIST_INVITE_STATUS_EVENT' => 'Invited',
124
-	'LBL_LIST_ACCEPT_STATUS_EVENT' => 'Status',
118
+    // Attendance report
119
+    'LBL_CONTACT_NAME' => 'Name',
120
+    'LBL_ACCOUNT_NAME' => 'Company',
121
+    'LBL_SIGNATURE' => 'Signature',
122
+    // contacts/leads/targets subpanels
123
+    'LBL_LIST_INVITE_STATUS_EVENT' => 'Invited',
124
+    'LBL_LIST_ACCEPT_STATUS_EVENT' => 'Status',
125 125
 
126
-	'LBL_ACTIVITY_STATUS' => 'Activity Status',
127
-	'LBL_FP_EVENT_LOCATIONS_FP_EVENTS_1_FROM_FP_EVENTS_TITLE' => 'Event Locations from Events Title',
126
+    'LBL_ACTIVITY_STATUS' => 'Activity Status',
127
+    'LBL_FP_EVENT_LOCATIONS_FP_EVENTS_1_FROM_FP_EVENTS_TITLE' => 'Event Locations from Events Title',
128 128
 );
Please login to merge, or discard this patch.
modules/Home/language/en_us.lang.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -137,15 +137,15 @@
 block discarded – undo
137 137
 
138 138
     'LBL_SOURCE_SUGAR' => 'SugarCRM Inc - providers of CE framework',
139 139
 
140
-  'LBL_DASHLET_TITLE' => 'My Sites',
141
-  'LBL_DASHLET_OPT_TITLE' => 'Title',
142
-  'LBL_DASHLET_INCORRECT_URL' => 'Incorrect website location is specified',
143
-  'LBL_DASHLET_OPT_URL' => 'Website Location',
144
-  'LBL_DASHLET_OPT_HEIGHT' => 'Dashlet Height (in pixels)',
145
-  'LBL_DASHLET_SUGAR_NEWS' => 'SuiteCRM News',
146
-  'LBL_DASHLET_DISCOVER_SUGAR_PRO' => 'Discover SuiteCRM',
147
-	'LBL_BASIC_SEARCH' => 'Quick Filter' /*for 508 compliance fix*/,
148
-	'LBL_ADVANCED_SEARCH' => 'Advanced Filter' /*for 508 compliance fix*/,
140
+    'LBL_DASHLET_TITLE' => 'My Sites',
141
+    'LBL_DASHLET_OPT_TITLE' => 'Title',
142
+    'LBL_DASHLET_INCORRECT_URL' => 'Incorrect website location is specified',
143
+    'LBL_DASHLET_OPT_URL' => 'Website Location',
144
+    'LBL_DASHLET_OPT_HEIGHT' => 'Dashlet Height (in pixels)',
145
+    'LBL_DASHLET_SUGAR_NEWS' => 'SuiteCRM News',
146
+    'LBL_DASHLET_DISCOVER_SUGAR_PRO' => 'Discover SuiteCRM',
147
+    'LBL_BASIC_SEARCH' => 'Quick Filter' /*for 508 compliance fix*/,
148
+    'LBL_ADVANCED_SEARCH' => 'Advanced Filter' /*for 508 compliance fix*/,
149 149
     'LBL_TOUR_HOME' => 'Home Icon',
150 150
     'LBL_TOUR_HOME_DESCRIPTION' => 'Quickly get back to your Home Page dashboard in one click.',
151 151
     'LBL_TOUR_MODULES' => 'Modules',
Please login to merge, or discard this patch.
modules/OutboundEmailAccounts/language/en_us.lang.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -43,39 +43,39 @@
 block discarded – undo
43 43
 }
44 44
 
45 45
 $mod_strings = array (
46
-  'LBL_ASSIGNED_TO_ID' => 'Assigned User Id',
47
-  'LBL_ASSIGNED_TO_NAME' => 'Assigned to',
48
-  'LBL_ID' => 'ID',
49
-  'LBL_DATE_ENTERED' => 'Date Created',
50
-  'LBL_DATE_MODIFIED' => 'Date Modified',
51
-  'LBL_MODIFIED' => 'Modified By',
52
-  'LBL_MODIFIED_NAME' => 'Modified By Name',
53
-  'LBL_CREATED' => 'Created By',
54
-  'LBL_DESCRIPTION' => 'Description',
55
-  'LBL_DELETED' => 'Deleted',
56
-  'LBL_NAME' => 'Name',
57
-  'LBL_CREATED_USER' => 'Created by User',
58
-  'LBL_MODIFIED_USER' => 'Modified by User',
59
-  'LBL_LIST_NAME' => 'Name',
60
-  'LBL_EDIT_BUTTON' => 'Edit',
61
-  'LBL_REMOVE' => 'Remove',
62
-  'LBL_LIST_FORM_TITLE' => 'Outbound Email Accounts List',
63
-  'LBL_MODULE_NAME' => 'Outbound Email Accounts',
64
-  'LBL_MODULE_TITLE' => 'Outbound Email Accounts',
65
-  'LBL_HOMEPAGE_TITLE' => 'My Outbound Email Accounts',
66
-  'LNK_NEW_RECORD' => 'Create Outbound Email Accounts',
67
-  'LNK_LIST' => 'View Outbound Email Accounts',
68
-  'LBL_SEARCH_FORM_TITLE' => 'Search Outbound Email Accounts',
69
-  'LBL_HISTORY_SUBPANEL_TITLE' => 'View History',
70
-  'LBL_ACTIVITIES_SUBPANEL_TITLE' => 'Activities',
71
-  'LBL_NEW_FORM_TITLE' => 'New Outbound Email Accounts',
72
-  'LBL_USERNAME' => 'Username',
73
-  'LBL_PASSWORD' => 'Password',
74
-  'LBL_SMTP_SERVERNAME' => 'SMTP Server Name',
75
-  'LBL_SMTP_AUTH' => 'SMTP Auth',
76
-  'LBL_SMTP_PORT' => 'SMTP Port',
77
-  'LBL_SMTP_PROTOCOL' => 'SMTP Protocol',
78
-  'LBL_EDITVIEW_PANEL1' => 'Account settings',
46
+    'LBL_ASSIGNED_TO_ID' => 'Assigned User Id',
47
+    'LBL_ASSIGNED_TO_NAME' => 'Assigned to',
48
+    'LBL_ID' => 'ID',
49
+    'LBL_DATE_ENTERED' => 'Date Created',
50
+    'LBL_DATE_MODIFIED' => 'Date Modified',
51
+    'LBL_MODIFIED' => 'Modified By',
52
+    'LBL_MODIFIED_NAME' => 'Modified By Name',
53
+    'LBL_CREATED' => 'Created By',
54
+    'LBL_DESCRIPTION' => 'Description',
55
+    'LBL_DELETED' => 'Deleted',
56
+    'LBL_NAME' => 'Name',
57
+    'LBL_CREATED_USER' => 'Created by User',
58
+    'LBL_MODIFIED_USER' => 'Modified by User',
59
+    'LBL_LIST_NAME' => 'Name',
60
+    'LBL_EDIT_BUTTON' => 'Edit',
61
+    'LBL_REMOVE' => 'Remove',
62
+    'LBL_LIST_FORM_TITLE' => 'Outbound Email Accounts List',
63
+    'LBL_MODULE_NAME' => 'Outbound Email Accounts',
64
+    'LBL_MODULE_TITLE' => 'Outbound Email Accounts',
65
+    'LBL_HOMEPAGE_TITLE' => 'My Outbound Email Accounts',
66
+    'LNK_NEW_RECORD' => 'Create Outbound Email Accounts',
67
+    'LNK_LIST' => 'View Outbound Email Accounts',
68
+    'LBL_SEARCH_FORM_TITLE' => 'Search Outbound Email Accounts',
69
+    'LBL_HISTORY_SUBPANEL_TITLE' => 'View History',
70
+    'LBL_ACTIVITIES_SUBPANEL_TITLE' => 'Activities',
71
+    'LBL_NEW_FORM_TITLE' => 'New Outbound Email Accounts',
72
+    'LBL_USERNAME' => 'Username',
73
+    'LBL_PASSWORD' => 'Password',
74
+    'LBL_SMTP_SERVERNAME' => 'SMTP Server Name',
75
+    'LBL_SMTP_AUTH' => 'SMTP Auth',
76
+    'LBL_SMTP_PORT' => 'SMTP Port',
77
+    'LBL_SMTP_PROTOCOL' => 'SMTP Protocol',
78
+    'LBL_EDITVIEW_PANEL1' => 'Account settings',
79 79
     'LBL_CHANGE_PASSWORD' => 'Change password',
80 80
     'LBL_SEND_TEST_EMAIL' => 'Send Test Email',
81 81
 
Please login to merge, or discard this patch.
modules/AOR_Reports/AOR_Report.php 1 patch
Spacing   +174 added lines, -174 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
         foreach ($this->get_linked_beans('aor_fields', 'AOR_Fields') as $field) {
171 171
             $fields[] = $field;
172 172
         }
173
-        usort($fields, function ($a, $b) {
173
+        usort($fields, function($a, $b) {
174 174
             return $a->field_order - $b->field_order;
175 175
         });
176 176
 
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
             return '';
192 192
         }
193 193
 
194
-        $sql = "SELECT id FROM aor_fields WHERE aor_report_id = '" . $this->id . "' AND deleted = 0 ORDER BY field_order ASC";
194
+        $sql = "SELECT id FROM aor_fields WHERE aor_report_id = '".$this->id."' AND deleted = 0 ORDER BY field_order ASC";
195 195
         $result = $this->db->query($sql);
196 196
 
197 197
         $fields = array();
@@ -216,10 +216,10 @@  discard block
 block discarded – undo
216 216
                         continue;
217 217
                     }
218 218
                     $field_module = getRelatedModule($field_module, $rel);
219
-                    $field_alias = $field_alias . ':' . $rel;
219
+                    $field_alias = $field_alias.':'.$rel;
220 220
                 }
221 221
             }
222
-            $label = str_replace(' ', '_', $field->label) . $i;
222
+            $label = str_replace(' ', '_', $field->label).$i;
223 223
             $fields[$label]['field'] = $field->field;
224 224
             $fields[$label]['label'] = $field->label;
225 225
             $fields[$label]['display'] = $field->display;
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
         while ($row = $this->db->fetchByAssoc($result, false)) {
255 255
             foreach ($fields as $name => $att) {
256 256
 
257
-                $currency_id = isset($row[$att['alias'] . '_currency_id']) ? $row[$att['alias'] . '_currency_id'] : '';
257
+                $currency_id = isset($row[$att['alias'].'_currency_id']) ? $row[$att['alias'].'_currency_id'] : '';
258 258
 
259 259
                 if ($att['function'] != 'COUNT' && empty($att['params']) && !is_numeric($row[$name])) {
260 260
                     $row[$name] = trim(strip_tags(getModuleField($att['module'], $att['field'], $att['field'],
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
         $rows = $this->getGroupDisplayFieldByReportId($this->id, $level);
300 300
 
301 301
         if (count($rows) > 1) {
302
-            $GLOBALS['log']->fatal('ambiguous group display for report ' . $this->id);
302
+            $GLOBALS['log']->fatal('ambiguous group display for report '.$this->id);
303 303
         } else {
304 304
             if (count($rows) == 1) {
305 305
                 $rows[0]['module_path'] = unserialize(base64_decode($rows[0]['module_path']));
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
                         $html = '';
327 327
                         foreach ($path as $pth) {
328 328
                             $_fieldIdName = $this->db->quoteIdentifier($pth['field_id_name']);
329
-                            $query = "SELECT $_fieldIdName FROM " . $this->db->quoteIdentifier($pth['module_path'][0]) . " GROUP BY $_fieldIdName;";
329
+                            $query = "SELECT $_fieldIdName FROM ".$this->db->quoteIdentifier($pth['module_path'][0])." GROUP BY $_fieldIdName;";
330 330
                             $values = $this->dbSelect($query);
331 331
 
332 332
                             foreach ($values as $value) {
@@ -392,8 +392,8 @@  discard block
 block discarded – undo
392 392
     private function getMultiGroupFrameHTML($header, $body)
393 393
     {
394 394
         $html = '<div class="multi-group-list" style="border: 1px solid black; padding: 10px;">
395
-                    <h3>' . $header . '</h3>
396
-                    <div class="multi-group-list-inner">' . $body . '</div>
395
+                    <h3>' . $header.'</h3>
396
+                    <div class="multi-group-list-inner">' . $body.'</div>
397 397
                 </div>';
398 398
 
399 399
         return $html;
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
     private function addDataIdValueToInnertext($html)
403 403
     {
404 404
         preg_match('/\sdata-id-value\s*=\s*"([^"]*)"/', $html, $match);
405
-        $html = preg_replace('/(>)([^<]*)(<\/\w+>$)/', '$1$2' . $match[1] . '$3', $html);
405
+        $html = preg_replace('/(>)([^<]*)(<\/\w+>$)/', '$1$2'.$match[1].'$3', $html);
406 406
 
407 407
         return $html;
408 408
     }
@@ -417,11 +417,11 @@  discard block
 block discarded – undo
417 417
         $query_array = array();
418 418
         $module = new $beanList[$this->report_module]();
419 419
 
420
-        $sql = "SELECT id FROM aor_fields WHERE aor_report_id = '" . $this->id . "' AND group_display = 1 AND deleted = 0 ORDER BY field_order ASC";
420
+        $sql = "SELECT id FROM aor_fields WHERE aor_report_id = '".$this->id."' AND group_display = 1 AND deleted = 0 ORDER BY field_order ASC";
421 421
         $field_id = $this->db->getOne($sql);
422 422
 
423 423
         if (!$field_id) {
424
-            $query_array['select'][] = $module->table_name . ".id AS '" . $module->table_name . "_id'";
424
+            $query_array['select'][] = $module->table_name.".id AS '".$module->table_name."_id'";
425 425
         }
426 426
 
427 427
         if ($field_id != '') {
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
                 foreach ($path as $rel) {
439 439
                     $new_field_module = new $beanList[getRelatedModule($field_module->module_dir, $rel)];
440 440
                     $oldAlias = $table_alias;
441
-                    $table_alias = $table_alias . ":" . $rel;
441
+                    $table_alias = $table_alias.":".$rel;
442 442
 
443 443
                     $query_array = $this->build_report_query_join($rel, $table_alias, $oldAlias, $field_module,
444 444
                         'relationship', $query_array, $new_field_module);
@@ -456,23 +456,23 @@  discard block
 block discarded – undo
456 456
                     '_USD') && isset($field_module->field_defs['currency_id'])
457 457
             ) {
458 458
                 if ((isset($field_module->field_defs['currency_id']['source']) && $field_module->field_defs['currency_id']['source'] == 'custom_fields')) {
459
-                    $query['select'][$table_alias . '_currency_id'] = $table_alias . '_cstm' . ".currency_id AS '" . $table_alias . "_currency_id'";
459
+                    $query['select'][$table_alias.'_currency_id'] = $table_alias.'_cstm'.".currency_id AS '".$table_alias."_currency_id'";
460 460
                 } else {
461
-                    $query_array['select'][$table_alias . '_currency_id'] = $table_alias . ".currency_id AS '" . $table_alias . "_currency_id'";
461
+                    $query_array['select'][$table_alias.'_currency_id'] = $table_alias.".currency_id AS '".$table_alias."_currency_id'";
462 462
                 }
463 463
             }
464 464
 
465 465
             if ((isset($data['source']) && $data['source'] == 'custom_fields')) {
466
-                $select_field = $this->db->quoteIdentifier($table_alias . '_cstm') . '.' . $field->field;
466
+                $select_field = $this->db->quoteIdentifier($table_alias.'_cstm').'.'.$field->field;
467 467
                 // Fix for #1251 - added a missing parameter to the function call
468
-                $query_array = $this->build_report_query_join($table_alias . '_cstm', $table_alias . '_cstm',
468
+                $query_array = $this->build_report_query_join($table_alias.'_cstm', $table_alias.'_cstm',
469 469
                     $table_alias, $field_module, 'custom', $query);
470 470
             } else {
471
-                $select_field = $this->db->quoteIdentifier($table_alias) . '.' . $field->field;
471
+                $select_field = $this->db->quoteIdentifier($table_alias).'.'.$field->field;
472 472
             }
473 473
 
474 474
             if ($field->sort_by != '') {
475
-                $query_array['sort_by'][] = $field_label . ' ' . $field->sort_by;
475
+                $query_array['sort_by'][] = $field_label.' '.$field->sort_by;
476 476
             }
477 477
 
478 478
             if ($field->format && in_array($data['type'], array('date', 'datetime', 'datetimecombo'))) {
@@ -484,35 +484,35 @@  discard block
 block discarded – undo
484 484
             }
485 485
 
486 486
             if ($field->field_function != null) {
487
-                $select_field = $field->field_function . '(' . $select_field . ')';
487
+                $select_field = $field->field_function.'('.$select_field.')';
488 488
             }
489 489
 
490 490
             if ($field->group_by == 1) {
491 491
                 $query_array['group_by'][] = $select_field;
492 492
             }
493 493
 
494
-            $query_array['select'][] = $select_field . " AS '" . $field_label . "'";
494
+            $query_array['select'][] = $select_field." AS '".$field_label."'";
495 495
             if (isset($extra['select']) && $extra['select']) {
496 496
                 foreach ($extra['select'] as $selectField => $selectAlias) {
497 497
                     if ($selectAlias) {
498
-                        $query_array['select'][] = $selectField . " AS " . $selectAlias;
498
+                        $query_array['select'][] = $selectField." AS ".$selectAlias;
499 499
                     } else {
500 500
                         $query_array['select'][] = $selectField;
501 501
                     }
502 502
                 }
503 503
             }
504
-            $query_array['where'][] = $select_field . " IS NOT NULL AND ";
504
+            $query_array['where'][] = $select_field." IS NOT NULL AND ";
505 505
             if (isset($extra['where']) && $extra['where']) {
506
-                $query_array['where'][] = implode(' AND ', $extra['where']) . ' AND ';
506
+                $query_array['where'][] = implode(' AND ', $extra['where']).' AND ';
507 507
             }
508 508
 
509 509
             $query_array = $this->build_report_query_where($query_array);
510 510
 
511 511
             foreach ($query_array['select'] as $select) {
512
-                $query .= ($query == '' ? 'SELECT ' : ', ') . $select;
512
+                $query .= ($query == '' ? 'SELECT ' : ', ').$select;
513 513
             }
514 514
 
515
-            $query .= ' FROM ' . $module->table_name . ' ';
515
+            $query .= ' FROM '.$module->table_name.' ';
516 516
 
517 517
             if (isset($query_array['join'])) {
518 518
                 foreach ($query_array['join'] as $join) {
@@ -522,28 +522,28 @@  discard block
 block discarded – undo
522 522
             if (isset($query_array['where'])) {
523 523
                 $query_where = '';
524 524
                 foreach ($query_array['where'] as $where) {
525
-                    $query_where .= ($query_where == '' ? 'WHERE ' : ' ') . $where;
525
+                    $query_where .= ($query_where == '' ? 'WHERE ' : ' ').$where;
526 526
                 }
527 527
 
528 528
                 $query_where = $this->queryWhereRepair($query_where);
529 529
 
530
-                $query .= ' ' . $query_where;
530
+                $query .= ' '.$query_where;
531 531
             }
532 532
 
533 533
             if (isset($query_array['group_by'])) {
534 534
                 $query_group_by = '';
535 535
                 foreach ($query_array['group_by'] as $group_by) {
536
-                    $query_group_by .= ($query_group_by == '' ? 'GROUP BY ' : ', ') . $group_by;
536
+                    $query_group_by .= ($query_group_by == '' ? 'GROUP BY ' : ', ').$group_by;
537 537
                 }
538
-                $query .= ' ' . $query_group_by;
538
+                $query .= ' '.$query_group_by;
539 539
             }
540 540
 
541 541
             if (isset($query_array['sort_by'])) {
542 542
                 $query_sort_by = '';
543 543
                 foreach ($query_array['sort_by'] as $sort_by) {
544
-                    $query_sort_by .= ($query_sort_by == '' ? 'ORDER BY ' : ', ') . $sort_by;
544
+                    $query_sort_by .= ($query_sort_by == '' ? 'ORDER BY ' : ', ').$sort_by;
545 545
                 }
546
-                $query .= ' ' . $query_sort_by;
546
+                $query .= ' '.$query_sort_by;
547 547
             }
548 548
             $result = $this->db->query($query);
549 549
 
@@ -584,7 +584,7 @@  discard block
 block discarded – undo
584 584
 
585 585
         $total_rows = 0;
586 586
         $count_sql = explode('ORDER BY', $report_sql);
587
-        $count_query = 'SELECT count(*) c FROM (' . $count_sql[0] . ') as n';
587
+        $count_query = 'SELECT count(*) c FROM ('.$count_sql[0].') as n';
588 588
 
589 589
         // We have a count query.  Run it and get the results.
590 590
         $result = $this->db->query($count_query);
@@ -593,7 +593,7 @@  discard block
 block discarded – undo
593 593
             $total_rows = $assoc['c'];
594 594
         }
595 595
 
596
-        $html = "<table class='list aor_reports' id='report_table_" . $tableIdentifier . "' width='100%' cellspacing='0' cellpadding='0' border='0' repeat_header='1'>";
596
+        $html = "<table class='list aor_reports' id='report_table_".$tableIdentifier."' width='100%' cellspacing='0' cellpadding='0' border='0' repeat_header='1'>";
597 597
 
598 598
         if ($offset >= 0) {
599 599
             $start = 0;
@@ -627,33 +627,33 @@  discard block
 block discarded – undo
627 627
 
628 628
             if ($offset == 0) {
629 629
                 $html .= "<button type='button' id='listViewStartButton_top' name='listViewStartButton' title='Start' class='button' disabled='disabled'>
630
-                    <img src='" . SugarThemeRegistry::current()->getImageURL('start_off.gif') . "' alt='Start' align='absmiddle' border='0'>
630
+                    <img src='" . SugarThemeRegistry::current()->getImageURL('start_off.gif')."' alt='Start' align='absmiddle' border='0'>
631 631
                 </button>
632 632
                 <button type='button' id='listViewPrevButton_top' name='listViewPrevButton' class='button' title='Previous' disabled='disabled'>
633
-                    <img src='" . SugarThemeRegistry::current()->getImageURL('previous_off.gif') . "' alt='Previous' align='absmiddle' border='0'>
633
+                    <img src='" . SugarThemeRegistry::current()->getImageURL('previous_off.gif')."' alt='Previous' align='absmiddle' border='0'>
634 634
                 </button>";
635 635
             } else {
636
-                $html .= "<button type='button' id='listViewStartButton_top' name='listViewStartButton' title='Start' class='button' onclick='changeReportPage(\"" . $this->id . "\",0,\"" . $group_value . "\",\"" . $tableIdentifier . "\")'>
637
-                    <img src='" . SugarThemeRegistry::current()->getImageURL('start.gif') . "' alt='Start' align='absmiddle' border='0'>
636
+                $html .= "<button type='button' id='listViewStartButton_top' name='listViewStartButton' title='Start' class='button' onclick='changeReportPage(\"".$this->id."\",0,\"".$group_value."\",\"".$tableIdentifier."\")'>
637
+                    <img src='" . SugarThemeRegistry::current()->getImageURL('start.gif')."' alt='Start' align='absmiddle' border='0'>
638 638
                 </button>
639
-                <button type='button' id='listViewPrevButton_top' name='listViewPrevButton' class='button' title='Previous' onclick='changeReportPage(\"" . $this->id . "\"," . $previous_offset . ",\"" . $group_value . "\",\"" . $tableIdentifier . "\")'>
640
-                    <img src='" . SugarThemeRegistry::current()->getImageURL('previous.gif') . "' alt='Previous' align='absmiddle' border='0'>
639
+                <button type='button' id='listViewPrevButton_top' name='listViewPrevButton' class='button' title='Previous' onclick='changeReportPage(\"" . $this->id."\",".$previous_offset.",\"".$group_value."\",\"".$tableIdentifier."\")'>
640
+                    <img src='" . SugarThemeRegistry::current()->getImageURL('previous.gif')."' alt='Previous' align='absmiddle' border='0'>
641 641
                 </button>";
642 642
             }
643
-            $html .= " <span class='pageNumbers'>(" . $start . " - " . $end . " of " . $total_rows . ")</span>";
643
+            $html .= " <span class='pageNumbers'>(".$start." - ".$end." of ".$total_rows.")</span>";
644 644
             if ($next_offset < $total_rows) {
645
-                $html .= "<button type='button' id='listViewNextButton_top' name='listViewNextButton' title='Next' class='button' onclick='changeReportPage(\"" . $this->id . "\"," . $next_offset . ",\"" . $group_value . "\",\"" . $tableIdentifier . "\")'>
646
-                        <img src='" . SugarThemeRegistry::current()->getImageURL('next.gif') . "' alt='Next' align='absmiddle' border='0'>
645
+                $html .= "<button type='button' id='listViewNextButton_top' name='listViewNextButton' title='Next' class='button' onclick='changeReportPage(\"".$this->id."\",".$next_offset.",\"".$group_value."\",\"".$tableIdentifier."\")'>
646
+                        <img src='" . SugarThemeRegistry::current()->getImageURL('next.gif')."' alt='Next' align='absmiddle' border='0'>
647 647
                     </button>
648
-                     <button type='button' id='listViewEndButton_top' name='listViewEndButton' title='End' class='button' onclick='changeReportPage(\"" . $this->id . "\"," . $last_offset . ",\"" . $group_value . "\",\"" . $tableIdentifier . "\")'>
649
-                        <img src='" . SugarThemeRegistry::current()->getImageURL('end.gif') . "' alt='End' align='absmiddle' border='0'>
648
+                     <button type='button' id='listViewEndButton_top' name='listViewEndButton' title='End' class='button' onclick='changeReportPage(\"" . $this->id."\",".$last_offset.",\"".$group_value."\",\"".$tableIdentifier."\")'>
649
+                        <img src='" . SugarThemeRegistry::current()->getImageURL('end.gif')."' alt='End' align='absmiddle' border='0'>
650 650
                     </button>";
651 651
             } else {
652 652
                 $html .= "<button type='button' id='listViewNextButton_top' name='listViewNextButton' title='Next' class='button'  disabled='disabled'>
653
-                        <img src='" . SugarThemeRegistry::current()->getImageURL('next_off.gif') . "' alt='Next' align='absmiddle' border='0'>
653
+                        <img src='" . SugarThemeRegistry::current()->getImageURL('next_off.gif')."' alt='Next' align='absmiddle' border='0'>
654 654
                     </button>
655 655
                      <button type='button' id='listViewEndButton_top$dashletPaginationButtons' name='listViewEndButton' title='End' class='button'  disabled='disabled'>
656
-                        <img src='" . SugarThemeRegistry::current()->getImageURL('end_off.gif') . "' alt='End' align='absmiddle' border='0'>
656
+                        <img src='".SugarThemeRegistry::current()->getImageURL('end_off.gif')."' alt='End' align='absmiddle' border='0'>
657 657
                     </button>";
658 658
 
659 659
             }
@@ -667,10 +667,10 @@  discard block
 block discarded – undo
667 667
 
668 668
             $moduleFieldByGroupValue = $this->getModuleFieldByGroupValue($beanList, $group_value);
669 669
 
670
-            $html = "<H3>$moduleFieldByGroupValue</H3>" . $html;
670
+            $html = "<H3>$moduleFieldByGroupValue</H3>".$html;
671 671
         }
672 672
 
673
-        $sql = "SELECT id FROM aor_fields WHERE aor_report_id = '" . $this->id . "' AND deleted = 0 ORDER BY field_order ASC";
673
+        $sql = "SELECT id FROM aor_fields WHERE aor_report_id = '".$this->id."' AND deleted = 0 ORDER BY field_order ASC";
674 674
         $result = $this->db->query($sql);
675 675
 
676 676
         $html .= "<thead>";
@@ -695,10 +695,10 @@  discard block
 block discarded – undo
695 695
                         continue;
696 696
                     }
697 697
                     $field_module = getRelatedModule($field_module, $rel);
698
-                    $field_alias = $field_alias . ':' . $rel;
698
+                    $field_alias = $field_alias.':'.$rel;
699 699
                 }
700 700
             }
701
-            $label = str_replace(' ', '_', $field->label) . $i;
701
+            $label = str_replace(' ', '_', $field->label).$i;
702 702
             $fields[$label]['field'] = $field->field;
703 703
             $fields[$label]['label'] = $field->label;
704 704
             $fields[$label]['display'] = $field->display;
@@ -735,16 +735,16 @@  discard block
 block discarded – undo
735 735
 
736 736
         $totals = array();
737 737
         while ($row = $this->db->fetchByAssoc($result)) {
738
-            $html .= "<tr class='" . $row_class . "' height='20'>";
738
+            $html .= "<tr class='".$row_class."' height='20'>";
739 739
 
740 740
             foreach ($fields as $name => $att) {
741 741
                 if ($att['display']) {
742 742
                     $html .= "<td class='' valign='top' align='left'>";
743 743
                     if ($att['link'] && $links) {
744
-                        $html .= "<a href='" . $sugar_config['site_url'] . "/index.php?module=" . $att['module'] . "&action=DetailView&record=" . $row[$att['alias'] . '_id'] . "'>";
744
+                        $html .= "<a href='".$sugar_config['site_url']."/index.php?module=".$att['module']."&action=DetailView&record=".$row[$att['alias'].'_id']."'>";
745 745
                     }
746 746
 
747
-                    $currency_id = isset($row[$att['alias'] . '_currency_id']) ? $row[$att['alias'] . '_currency_id'] : '';
747
+                    $currency_id = isset($row[$att['alias'].'_currency_id']) ? $row[$att['alias'].'_currency_id'] : '';
748 748
 
749 749
                     if ($att['function'] == 'COUNT' || !empty($att['params'])) {
750 750
                         $html .= $row[$name];
@@ -799,7 +799,7 @@  discard block
 block discarded – undo
799 799
     {
800 800
         $moduleFieldByGroupValues = array();
801 801
 
802
-        $sql = "SELECT id FROM aor_fields WHERE aor_report_id = '" . $this->id . "' AND group_display = 1 AND deleted = 0 ORDER BY field_order ASC";
802
+        $sql = "SELECT id FROM aor_fields WHERE aor_report_id = '".$this->id."' AND group_display = 1 AND deleted = 0 ORDER BY field_order ASC";
803 803
         $result = $this->db->limitQuery($sql, 0, 1);
804 804
         while ($row = $this->db->fetchByAssoc($result)) {
805 805
 
@@ -823,11 +823,11 @@  discard block
 block discarded – undo
823 823
                         continue;
824 824
                     }
825 825
                     $field_module = getRelatedModule($field_module, $rel);
826
-                    $field_alias = $field_alias . ':' . $rel;
826
+                    $field_alias = $field_alias.':'.$rel;
827 827
                 }
828 828
             }
829 829
 
830
-            $currency_id = isset($row[$field_alias . '_currency_id']) ? $row[$field_alias . '_currency_id'] : '';
830
+            $currency_id = isset($row[$field_alias.'_currency_id']) ? $row[$field_alias.'_currency_id'] : '';
831 831
             $moduleFieldByGroupValues[] = getModuleField($this->report_module, $field->field, $field->field,
832 832
                 'DetailView', $group_value, '', $currency_id);
833 833
 
@@ -853,7 +853,7 @@  discard block
 block discarded – undo
853 853
                 continue;
854 854
             }
855 855
             if ($field['total']) {
856
-                $totalLabel = $field['label'] . " " . $app_list_strings['aor_total_options'][$field['total']];
856
+                $totalLabel = $field['label']." ".$app_list_strings['aor_total_options'][$field['total']];
857 857
                 $html .= "<th>{$totalLabel}</th>";
858 858
             } else {
859 859
                 $html .= "<th></th>";
@@ -879,9 +879,9 @@  discard block
 block discarded – undo
879 879
                             case 'SUM':
880 880
                             case 'AVG':
881 881
                                 if ($currency->id == -99) {
882
-                                    $total = $currency->symbol . format_number($total, null, null);
882
+                                    $total = $currency->symbol.format_number($total, null, null);
883 883
                                 } else {
884
-                                    $total = $currency->symbol . format_number($total, null, null,
884
+                                    $total = $currency->symbol.format_number($total, null, null,
885 885
                                             array('convert' => true));
886 886
                                 }
887 887
                                 break;
@@ -893,7 +893,7 @@  discard block
 block discarded – undo
893 893
                     default:
894 894
                         break;
895 895
                 }
896
-                $html .= "<td>" . $total . "</td>";
896
+                $html .= "<td>".$total."</td>";
897 897
             } else {
898 898
                 $html .= "<td></td>";
899 899
             }
@@ -920,7 +920,7 @@  discard block
 block discarded – undo
920 920
 
921 921
     private function encloseForCSV($field)
922 922
     {
923
-        return '"' . $field . '"';
923
+        return '"'.$field.'"';
924 924
     }
925 925
 
926 926
     function build_report_csv()
@@ -935,7 +935,7 @@  discard block
 block discarded – undo
935 935
         $csv = '';
936 936
         //text/comma-separated-values
937 937
 
938
-        $sql = "SELECT id FROM aor_fields WHERE aor_report_id = '" . $this->id . "' AND deleted = 0 ORDER BY field_order ASC";
938
+        $sql = "SELECT id FROM aor_fields WHERE aor_report_id = '".$this->id."' AND deleted = 0 ORDER BY field_order ASC";
939 939
         $result = $this->db->query($sql);
940 940
 
941 941
         $fields = array();
@@ -956,10 +956,10 @@  discard block
 block discarded – undo
956 956
                         continue;
957 957
                     }
958 958
                     $field_module = getRelatedModule($field_module, $rel);
959
-                    $field_alias = $field_alias . ':' . $rel;
959
+                    $field_alias = $field_alias.':'.$rel;
960 960
                 }
961 961
             }
962
-            $label = str_replace(' ', '_', $field->label) . $i;
962
+            $label = str_replace(' ', '_', $field->label).$i;
963 963
             $fields[$label]['field'] = $field->field;
964 964
             $fields[$label]['display'] = $field->display;
965 965
             $fields[$label]['function'] = $field->field_function;
@@ -980,7 +980,7 @@  discard block
 block discarded – undo
980 980
         while ($row = $this->db->fetchByAssoc($result)) {
981 981
             $csv .= "\r\n";
982 982
             foreach ($fields as $name => $att) {
983
-                $currency_id = isset($row[$att['alias'] . '_currency_id']) ? $row[$att['alias'] . '_currency_id'] : '';
983
+                $currency_id = isset($row[$att['alias'].'_currency_id']) ? $row[$att['alias'].'_currency_id'] : '';
984 984
                 if ($att['display']) {
985 985
                     if ($att['function'] != '' || $att['params'] != '') {
986 986
                         $csv .= $this->encloseForCSV($row[$name]);
@@ -997,15 +997,15 @@  discard block
 block discarded – undo
997 997
 
998 998
         ob_clean();
999 999
         header("Pragma: cache");
1000
-        header("Content-type: text/comma-separated-values; charset=" . $GLOBALS['locale']->getExportCharset());
1000
+        header("Content-type: text/comma-separated-values; charset=".$GLOBALS['locale']->getExportCharset());
1001 1001
         header("Content-Disposition: attachment; filename=\"{$this->name}.csv\"");
1002 1002
         header("Content-transfer-encoding: binary");
1003 1003
         header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
1004
-        header("Last-Modified: " . TimeDate::httpTime());
1004
+        header("Last-Modified: ".TimeDate::httpTime());
1005 1005
         header("Cache-Control: post-check=0, pre-check=0", false);
1006
-        header("Content-Length: " . mb_strlen($csv, '8bit'));
1006
+        header("Content-Length: ".mb_strlen($csv, '8bit'));
1007 1007
         if (!empty($sugar_config['export_excel_compatible'])) {
1008
-            $csv = chr(255) . chr(254) . mb_convert_encoding($csv, 'UTF-16LE', 'UTF-8');
1008
+            $csv = chr(255).chr(254).mb_convert_encoding($csv, 'UTF-16LE', 'UTF-8');
1009 1009
         }
1010 1010
         print $csv;
1011 1011
 
@@ -1029,21 +1029,21 @@  discard block
 block discarded – undo
1029 1029
 
1030 1030
         $query_array = $this->build_report_query_select($query_array, $group_value);
1031 1031
         if (isset($extra['where']) && $extra['where']) {
1032
-            $query_array['where'][] = implode(' AND ', $extra['where']) . ' AND ';
1032
+            $query_array['where'][] = implode(' AND ', $extra['where']).' AND ';
1033 1033
         }
1034 1034
         $query_array = $this->build_report_query_where($query_array);
1035 1035
 
1036 1036
         foreach ($query_array['select'] as $select) {
1037
-            $query .= ($query == '' ? 'SELECT ' : ', ') . $select;
1037
+            $query .= ($query == '' ? 'SELECT ' : ', ').$select;
1038 1038
         }
1039 1039
 
1040 1040
         if (empty($query_array['group_by'])) {
1041 1041
             foreach ($query_array['id_select'] as $select) {
1042
-                $query .= ', ' . $select;
1042
+                $query .= ', '.$select;
1043 1043
             }
1044 1044
         }
1045 1045
 
1046
-        $query .= ' FROM ' . $this->db->quoteIdentifier($module->table_name) . ' ';
1046
+        $query .= ' FROM '.$this->db->quoteIdentifier($module->table_name).' ';
1047 1047
 
1048 1048
         if (isset($query_array['join'])) {
1049 1049
             foreach ($query_array['join'] as $join) {
@@ -1053,33 +1053,33 @@  discard block
 block discarded – undo
1053 1053
         if (isset($query_array['where'])) {
1054 1054
             $query_where = '';
1055 1055
             foreach ($query_array['where'] as $where) {
1056
-                $query_where .= ($query_where == '' ? 'WHERE ' : ' ') . $where;
1056
+                $query_where .= ($query_where == '' ? 'WHERE ' : ' ').$where;
1057 1057
             }
1058 1058
 
1059 1059
             $query_where = $this->queryWhereRepair($query_where);
1060 1060
 
1061
-            $query .= ' ' . $query_where;
1061
+            $query .= ' '.$query_where;
1062 1062
         }
1063 1063
 
1064 1064
         if (isset($query_array['group_by'])) {
1065 1065
             $query_group_by = '';
1066 1066
             foreach ($query_array['group_by'] as $group_by) {
1067
-                $query_group_by .= ($query_group_by == '' ? 'GROUP BY ' : ', ') . $group_by;
1067
+                $query_group_by .= ($query_group_by == '' ? 'GROUP BY ' : ', ').$group_by;
1068 1068
             }
1069 1069
             if (isset($query_array['second_group_by']) && $query_group_by != '') {
1070 1070
                 foreach ($query_array['second_group_by'] as $group_by) {
1071
-                    $query_group_by .= ', ' . $group_by;
1071
+                    $query_group_by .= ', '.$group_by;
1072 1072
                 }
1073 1073
             }
1074
-            $query .= ' ' . $query_group_by;
1074
+            $query .= ' '.$query_group_by;
1075 1075
         }
1076 1076
 
1077 1077
         if (isset($query_array['sort_by'])) {
1078 1078
             $query_sort_by = '';
1079 1079
             foreach ($query_array['sort_by'] as $sort_by) {
1080
-                $query_sort_by .= ($query_sort_by == '' ? 'ORDER BY ' : ', ') . $sort_by;
1080
+                $query_sort_by .= ($query_sort_by == '' ? 'ORDER BY ' : ', ').$sort_by;
1081 1081
             }
1082
-            $query .= ' ' . $query_sort_by;
1082
+            $query .= ' '.$query_sort_by;
1083 1083
         }
1084 1084
 
1085 1085
         return $query;
@@ -1113,10 +1113,10 @@  discard block
 block discarded – undo
1113 1113
         if ($beanList[$this->report_module]) {
1114 1114
             $module = new $beanList[$this->report_module]();
1115 1115
 
1116
-            $query['id_select'][$module->table_name] = $this->db->quoteIdentifier($module->table_name) . ".id AS '" . $module->table_name . "_id'";
1117
-            $query['id_select_group'][$module->table_name] = $this->db->quoteIdentifier($module->table_name) . ".id";
1116
+            $query['id_select'][$module->table_name] = $this->db->quoteIdentifier($module->table_name).".id AS '".$module->table_name."_id'";
1117
+            $query['id_select_group'][$module->table_name] = $this->db->quoteIdentifier($module->table_name).".id";
1118 1118
 
1119
-            $sql = "SELECT id FROM aor_fields WHERE aor_report_id = '" . $this->id . "' AND deleted = 0 ORDER BY field_order ASC";
1119
+            $sql = "SELECT id FROM aor_fields WHERE aor_report_id = '".$this->id."' AND deleted = 0 ORDER BY field_order ASC";
1120 1120
 
1121 1121
             $result = $this->db->query($sql);
1122 1122
             $i = 0;
@@ -1125,7 +1125,7 @@  discard block
 block discarded – undo
1125 1125
                 $field = new AOR_Field();
1126 1126
                 $field->retrieve($row['id']);
1127 1127
 
1128
-                $field->label = str_replace(' ', '_', $field->label) . $i;
1128
+                $field->label = str_replace(' ', '_', $field->label).$i;
1129 1129
 
1130 1130
                 $path = unserialize(base64_decode($field->module_path));
1131 1131
 
@@ -1136,7 +1136,7 @@  discard block
 block discarded – undo
1136 1136
                     foreach ($path as $rel) {
1137 1137
                         $new_field_module = new $beanList[getRelatedModule($field_module->module_dir, $rel)];
1138 1138
                         $oldAlias = $table_alias;
1139
-                        $table_alias = $table_alias . ":" . $rel;
1139
+                        $table_alias = $table_alias.":".$rel;
1140 1140
                         $query =
1141 1141
                             $this->build_report_query_join(
1142 1142
                                 $rel,
@@ -1173,20 +1173,20 @@  discard block
 block discarded – undo
1173 1173
 
1174 1174
                 if ($data['type'] == 'currency' && isset($field_module->field_defs['currency_id'])) {
1175 1175
                     if ((isset($field_module->field_defs['currency_id']['source']) && $field_module->field_defs['currency_id']['source'] == 'custom_fields')) {
1176
-                        $query['select'][$table_alias . '_currency_id'] = $this->db->quoteIdentifier($table_alias . '_cstm') . ".currency_id AS '" . $table_alias . "_currency_id'";
1177
-                        $query['second_group_by'][] = $this->db->quoteIdentifier($table_alias . '_cstm') . ".currency_id";
1176
+                        $query['select'][$table_alias.'_currency_id'] = $this->db->quoteIdentifier($table_alias.'_cstm').".currency_id AS '".$table_alias."_currency_id'";
1177
+                        $query['second_group_by'][] = $this->db->quoteIdentifier($table_alias.'_cstm').".currency_id";
1178 1178
                     } else {
1179
-                        $query['select'][$table_alias . '_currency_id'] = $this->db->quoteIdentifier($table_alias) . ".currency_id AS '" . $table_alias . "_currency_id'";
1180
-                        $query['second_group_by'][] = $this->db->quoteIdentifier($table_alias) . ".currency_id";
1179
+                        $query['select'][$table_alias.'_currency_id'] = $this->db->quoteIdentifier($table_alias).".currency_id AS '".$table_alias."_currency_id'";
1180
+                        $query['second_group_by'][] = $this->db->quoteIdentifier($table_alias).".currency_id";
1181 1181
                     }
1182 1182
                 }
1183 1183
 
1184 1184
                 if ((isset($data['source']) && $data['source'] == 'custom_fields')) {
1185
-                    $select_field = $this->db->quoteIdentifier($table_alias . '_cstm') . '.' . $field->field;
1186
-                    $query = $this->build_report_query_join($table_alias . '_cstm', $table_alias . '_cstm',
1185
+                    $select_field = $this->db->quoteIdentifier($table_alias.'_cstm').'.'.$field->field;
1186
+                    $query = $this->build_report_query_join($table_alias.'_cstm', $table_alias.'_cstm',
1187 1187
                         $table_alias, $field_module, 'custom', $query);
1188 1188
                 } else {
1189
-                    $select_field = $this->db->quoteIdentifier($table_alias) . '.' . $field->field;
1189
+                    $select_field = $this->db->quoteIdentifier($table_alias).'.'.$field->field;
1190 1190
                 }
1191 1191
 
1192 1192
                 if ($field->format && in_array($data['type'], array('date', 'datetime', 'datetimecombo'))) {
@@ -1206,19 +1206,19 @@  discard block
 block discarded – undo
1206 1206
                 if ($field->group_by == 1) {
1207 1207
                     $query['group_by'][] = $select_field;
1208 1208
                 } elseif ($field->field_function != null) {
1209
-                    $select_field = $field->field_function . '(' . $select_field . ')';
1209
+                    $select_field = $field->field_function.'('.$select_field.')';
1210 1210
                 } else {
1211 1211
                     $query['second_group_by'][] = $select_field;
1212 1212
                 }
1213 1213
 
1214 1214
                 if ($field->sort_by != '') {
1215
-                    $query['sort_by'][] = $select_field . " " . $field->sort_by;
1215
+                    $query['sort_by'][] = $select_field." ".$field->sort_by;
1216 1216
                 }
1217 1217
 
1218
-                $query['select'][] = $select_field . " AS '" . $field->label . "'";
1218
+                $query['select'][] = $select_field." AS '".$field->label."'";
1219 1219
 
1220 1220
                 if ($field->group_display == 1 && $group_value) {
1221
-                    $query['where'][] = $select_field . " = '" . $group_value . "' AND ";
1221
+                    $query['where'][] = $select_field." = '".$group_value."' AND ";
1222 1222
                 }
1223 1223
 
1224 1224
                 ++$i;
@@ -1242,7 +1242,7 @@  discard block
 block discarded – undo
1242 1242
 
1243 1243
             switch ($type) {
1244 1244
                 case 'custom':
1245
-                    $query['join'][$alias] = 'LEFT JOIN ' . $this->db->quoteIdentifier($module->get_custom_table_name()) . ' ' . $this->db->quoteIdentifier($name) . ' ON ' . $this->db->quoteIdentifier($parentAlias) . '.id = ' . $this->db->quoteIdentifier($name) . '.id_c ';
1245
+                    $query['join'][$alias] = 'LEFT JOIN '.$this->db->quoteIdentifier($module->get_custom_table_name()).' '.$this->db->quoteIdentifier($name).' ON '.$this->db->quoteIdentifier($parentAlias).'.id = '.$this->db->quoteIdentifier($name).'.id_c ';
1246 1246
                     break;
1247 1247
 
1248 1248
                 case 'relationship':
@@ -1264,7 +1264,7 @@  discard block
 block discarded – undo
1264 1264
                             $params['join_table_alias'] = $this->db->quoteIdentifier($alias);
1265 1265
                             $params['left_join_table_alias'] = $this->db->quoteIdentifier($parentAlias);
1266 1266
                         }
1267
-                        $linkAlias = $parentAlias . "|" . $alias;
1267
+                        $linkAlias = $parentAlias."|".$alias;
1268 1268
                         $params['join_table_link_alias'] = $this->db->quoteIdentifier($linkAlias);
1269 1269
                         $join = $module->$name->getJoin($params, true);
1270 1270
                         $query['join'][$alias] = $join['join'];
@@ -1272,7 +1272,7 @@  discard block
 block discarded – undo
1272 1272
                             $query['join'][$alias] .= $this->build_report_access_query($rel_module,
1273 1273
                                 $this->db->quoteIdentifier($alias));
1274 1274
                         }
1275
-                        $query['id_select'][$alias] = $join['select'] . " AS '" . $alias . "_id'";
1275
+                        $query['id_select'][$alias] = $join['select']." AS '".$alias."_id'";
1276 1276
                         $query['id_select_group'][$alias] = $join['select'];
1277 1277
                     }
1278 1278
                     break;
@@ -1294,7 +1294,7 @@  discard block
 block discarded – undo
1294 1294
         if ($module->bean_implements('ACL') && ACLController::requireOwner($module->module_dir, 'list')) {
1295 1295
             global $current_user;
1296 1296
             $owner_where = $module->getOwnerWhere($current_user->id);
1297
-            $where = ' AND ' . $owner_where;
1297
+            $where = ' AND '.$owner_where;
1298 1298
 
1299 1299
         }
1300 1300
 
@@ -1306,9 +1306,9 @@  discard block
 block discarded – undo
1306 1306
                 $owner_where = $module->getOwnerWhere($current_user->id);
1307 1307
                 $group_where = SecurityGroup::getGroupWhere($alias, $module->module_dir, $current_user->id);
1308 1308
                 if (!empty($owner_where)) {
1309
-                    $where .= " AND (" . $owner_where . " or " . $group_where . ") ";
1309
+                    $where .= " AND (".$owner_where." or ".$group_where.") ";
1310 1310
                 } else {
1311
-                    $where .= ' AND ' . $group_where;
1311
+                    $where .= ' AND '.$group_where;
1312 1312
                 }
1313 1313
             }
1314 1314
             /* END - SECURITY GROUPS */
@@ -1344,7 +1344,7 @@  discard block
 block discarded – undo
1344 1344
         if ($beanList[$this->report_module]) {
1345 1345
             $module = new $beanList[$this->report_module]();
1346 1346
 
1347
-            $sql = "SELECT id FROM aor_conditions WHERE aor_report_id = '" . $this->id . "' AND deleted = 0 ORDER BY condition_order ASC";
1347
+            $sql = "SELECT id FROM aor_conditions WHERE aor_report_id = '".$this->id."' AND deleted = 0 ORDER BY condition_order ASC";
1348 1348
             $result = $this->db->query($sql);
1349 1349
 
1350 1350
             $tiltLogicOp = true;
@@ -1370,7 +1370,7 @@  discard block
 block discarded – undo
1370 1370
                             return false;
1371 1371
                         }
1372 1372
                         $oldAlias = $table_alias;
1373
-                        $table_alias = $table_alias . ":" . $rel;
1373
+                        $table_alias = $table_alias.":".$rel;
1374 1374
                         $query = $this->build_report_query_join($rel, $table_alias, $oldAlias, $condition_module,
1375 1375
                             'relationship', $query, $new_condition_module);
1376 1376
                         $condition_module = $new_condition_module;
@@ -1401,16 +1401,16 @@  discard block
 block discarded – undo
1401 1401
 
1402 1402
                         // Debugging: security groups conditions - It's a hack to just get the query working
1403 1403
                         if ($condition_module->module_dir = 'SecurityGroups' && count($path) > 1) {
1404
-                            $table_alias = $oldAlias . ':' . $rel;
1404
+                            $table_alias = $oldAlias.':'.$rel;
1405 1405
                         }
1406 1406
                         $condition->field = 'id';
1407 1407
                     }
1408 1408
                     if ((isset($data['source']) && $data['source'] == 'custom_fields')) {
1409
-                        $field = $this->db->quoteIdentifier($table_alias . '_cstm') . '.' . $condition->field;
1410
-                        $query = $this->build_report_query_join($table_alias . '_cstm', $table_alias . '_cstm',
1409
+                        $field = $this->db->quoteIdentifier($table_alias.'_cstm').'.'.$condition->field;
1410
+                        $query = $this->build_report_query_join($table_alias.'_cstm', $table_alias.'_cstm',
1411 1411
                             $table_alias, $condition_module, 'custom', $query);
1412 1412
                     } else {
1413
-                        $field = $this->db->quoteIdentifier($table_alias) . '.' . $condition->field;
1413
+                        $field = $this->db->quoteIdentifier($table_alias).'.'.$condition->field;
1414 1414
                     }
1415 1415
 
1416 1416
                     if (!empty($this->user_parameters[$condition->id]) && $condition->parameter) {
@@ -1446,11 +1446,11 @@  discard block
 block discarded – undo
1446 1446
                                 $condition->field = 'id';
1447 1447
                             }
1448 1448
                             if ((isset($data['source']) && $data['source'] == 'custom_fields')) {
1449
-                                $value = $condition_module->table_name . '_cstm.' . $condition->value;
1450
-                                $query = $this->build_report_query_join($condition_module->table_name . '_cstm',
1451
-                                    $table_alias . '_cstm', $table_alias, $condition_module, 'custom', $query);
1449
+                                $value = $condition_module->table_name.'_cstm.'.$condition->value;
1450
+                                $query = $this->build_report_query_join($condition_module->table_name.'_cstm',
1451
+                                    $table_alias.'_cstm', $table_alias, $condition_module, 'custom', $query);
1452 1452
                             } else {
1453
-                                $value = ($table_alias ? $this->db->quoteIdentifier($table_alias) : $condition_module->table_name) . '.' . $condition->value;
1453
+                                $value = ($table_alias ? $this->db->quoteIdentifier($table_alias) : $condition_module->table_name).'.'.$condition->value;
1454 1454
                             }
1455 1455
                             break;
1456 1456
 
@@ -1474,17 +1474,17 @@  discard block
 block discarded – undo
1474 1474
                                         //$field =
1475 1475
                                         $value = 'CAST(GETDATE() AS DATE)';
1476 1476
                                     } else {
1477
-                                        $field = 'DATE(' . $field . ')';
1477
+                                        $field = 'DATE('.$field.')';
1478 1478
                                         $value = 'Curdate()';
1479 1479
                                     }
1480 1480
                                 } else {
1481 1481
                                     $data = $condition_module->field_defs[$params[0]];
1482 1482
                                     if ((isset($data['source']) && $data['source'] == 'custom_fields')) {
1483
-                                        $value = $condition_module->table_name . '_cstm.' . $params[0];
1484
-                                        $query = $this->build_report_query_join($condition_module->table_name . '_cstm',
1485
-                                            $table_alias . '_cstm', $table_alias, $condition_module, 'custom', $query);
1483
+                                        $value = $condition_module->table_name.'_cstm.'.$params[0];
1484
+                                        $query = $this->build_report_query_join($condition_module->table_name.'_cstm',
1485
+                                            $table_alias.'_cstm', $table_alias, $condition_module, 'custom', $query);
1486 1486
                                     } else {
1487
-                                        $value = $condition_module->table_name . '.' . $params[0];
1487
+                                        $value = $condition_module->table_name.'.'.$params[0];
1488 1488
                                     }
1489 1489
                                 }
1490 1490
                             }
@@ -1496,9 +1496,9 @@  discard block
 block discarded – undo
1496 1496
                                         $params[3] = 'hours';
1497 1497
                                     default:
1498 1498
                                         if ($sugar_config['dbconfig']['db_type'] == 'mssql') {
1499
-                                            $value = "DATEADD(" . $params[3] . ",  " . $app_list_strings['aor_date_operator'][$params[1]] . " $params[2], $value)";
1499
+                                            $value = "DATEADD(".$params[3].",  ".$app_list_strings['aor_date_operator'][$params[1]]." $params[2], $value)";
1500 1500
                                         } else {
1501
-                                            $value = "DATE_ADD($value, INTERVAL " . $app_list_strings['aor_date_operator'][$params[1]] . " $params[2] " . $params[3] . ")";
1501
+                                            $value = "DATE_ADD($value, INTERVAL ".$app_list_strings['aor_date_operator'][$params[1]]." $params[2] ".$params[3].")";
1502 1502
                                         }
1503 1503
                                         break;
1504 1504
                                 }
@@ -1517,11 +1517,11 @@  discard block
 block discarded – undo
1517 1517
                                     if ($value != '(') {
1518 1518
                                         $value .= $sep;
1519 1519
                                     }
1520
-                                    $value .= $field . ' ' . $aor_sql_operator_list[$condition->operator] . " '" . $multi_value . "'";
1520
+                                    $value .= $field.' '.$aor_sql_operator_list[$condition->operator]." '".$multi_value."'";
1521 1521
                                 }
1522 1522
                                 $value .= ')';
1523 1523
                             }
1524
-                            $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op . ' ' : 'AND ')) . $value;
1524
+                            $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op.' ' : 'AND ')).$value;
1525 1525
                             $where_set = true;
1526 1526
                             break;
1527 1527
                         case "Period":
@@ -1530,11 +1530,11 @@  discard block
 block discarded – undo
1530 1530
                             } else {
1531 1531
                                 $params = base64_decode($condition->value);
1532 1532
                             }
1533
-                            $value = '"' . getPeriodDate($params)->format('Y-m-d H:i:s') . '"';
1533
+                            $value = '"'.getPeriodDate($params)->format('Y-m-d H:i:s').'"';
1534 1534
                             break;
1535 1535
                         case "CurrentUserID":
1536 1536
                             global $current_user;
1537
-                            $value = '"' . $current_user->id . '"';
1537
+                            $value = '"'.$current_user->id.'"';
1538 1538
                             break;
1539 1539
                         case 'Value':
1540 1540
                             $utc = new DateTimeZone("UTC");
@@ -1543,132 +1543,132 @@  discard block
 block discarded – undo
1543 1543
                             if ($condition->operator === 'Equal_To') {
1544 1544
                                 if ($dateTime !== false) {
1545 1545
                                     $day_ahead = $dateTime->modify('+1 day');
1546
-                                    $equal_query = "( $field  BETWEEN '" . $this->db->quote($condition->value) . "' AND '" . $this->db->quote($day_ahead->format('Y-m-d H:i:s')) . "' ) ";
1547
-                                    $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op . ' ' : 'AND ')) . $equal_query;
1546
+                                    $equal_query = "( $field  BETWEEN '".$this->db->quote($condition->value)."' AND '".$this->db->quote($day_ahead->format('Y-m-d H:i:s'))."' ) ";
1547
+                                    $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op.' ' : 'AND ')).$equal_query;
1548 1548
                                 } elseif ($dateTime === false && $data['type'] === 'datetime') { // check for incorrectly converted dateTime
1549 1549
                                         $dateTime = convertToDateTime($condition->value);
1550 1550
 
1551 1551
                                         $query_date = $dateTime->format('Y-m-d H:i:s');
1552
-                                        $equal_query = "( $field  BETWEEN '" . $this->db->quote($query_date);
1552
+                                        $equal_query = "( $field  BETWEEN '".$this->db->quote($query_date);
1553 1553
                                         $day_ahead = $dateTime->modify('+1 day');
1554
-                                        $equal_query .= "' AND '" . $this->db->quote($day_ahead->format('Y-m-d H:i:s')) . "' ) ";
1555
-                                        $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op . ' ' : 'AND ')) . $equal_query;
1554
+                                        $equal_query .= "' AND '".$this->db->quote($day_ahead->format('Y-m-d H:i:s'))."' ) ";
1555
+                                        $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op.' ' : 'AND ')).$equal_query;
1556 1556
                                     } else {
1557
-                                        $value = "'" . $this->db->quote($condition->value) . "'";
1557
+                                        $value = "'".$this->db->quote($condition->value)."'";
1558 1558
                                         break;
1559 1559
                                     }
1560 1560
                                 $where_set = true;
1561 1561
                             } elseif ($condition->operator === 'Not_Equal_To') {
1562 1562
                                     if ($dateTime !== false) {
1563 1563
                                         $day_ahead = $dateTime->modify('+1 day');
1564
-                                        $not_equal_query = "( $field NOT BETWEEN '" . $this->db->quote($condition->value) . "' AND '" . $this->db->quote($day_ahead->format('Y-m-d H:i:s')) . "' ) ";
1565
-                                        $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op . ' ' : 'AND ')) . $not_equal_query;
1564
+                                        $not_equal_query = "( $field NOT BETWEEN '".$this->db->quote($condition->value)."' AND '".$this->db->quote($day_ahead->format('Y-m-d H:i:s'))."' ) ";
1565
+                                        $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op.' ' : 'AND ')).$not_equal_query;
1566 1566
                                     } elseif ($dateTime === false && $data['type'] === 'datetime') { // check for incorrectly converted dateTime
1567 1567
                                             $dateTime = convertToDateTime($condition->value);
1568 1568
 
1569 1569
                                             $query_date = $dateTime->format('Y-m-d H:i:s');
1570
-                                            $not_equal_query = "( $field NOT BETWEEN '" . $this->db->quote($query_date);
1570
+                                            $not_equal_query = "( $field NOT BETWEEN '".$this->db->quote($query_date);
1571 1571
                                             $day_ahead = $dateTime->modify('+1 day');
1572
-                                            $not_equal_query .= "' AND '" . $this->db->quote($day_ahead->format('Y-m-d H:i:s')) . "' ) ";
1573
-                                            $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op . ' ' : 'AND ')) . $not_equal_query;
1572
+                                            $not_equal_query .= "' AND '".$this->db->quote($day_ahead->format('Y-m-d H:i:s'))."' ) ";
1573
+                                            $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op.' ' : 'AND ')).$not_equal_query;
1574 1574
                                         } else {
1575
-                                            $value = "'" . $this->db->quote($condition->value) . "'";
1575
+                                            $value = "'".$this->db->quote($condition->value)."'";
1576 1576
                                             break;
1577 1577
                                         }
1578 1578
                                     $where_set = true;
1579 1579
                                 } elseif ($condition->operator === 'Greater_Than') {
1580 1580
                                         if ($dateTime !== false) {
1581
-                                            $greater_than_query = "( $field > '" . $this->db->quote($condition->value) . "' ) ";
1582
-                                            $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op . ' ' : 'AND ')) . $greater_than_query;
1581
+                                            $greater_than_query = "( $field > '".$this->db->quote($condition->value)."' ) ";
1582
+                                            $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op.' ' : 'AND ')).$greater_than_query;
1583 1583
                                         } elseif ($dateTime === false && $data['type'] === 'datetime') { // check for incorrectly converted dateTime
1584 1584
                                                 $dateTime = convertToDateTime($condition->value);
1585 1585
 
1586 1586
                                                 $query_date = $dateTime->format('Y-m-d H:i:s');
1587
-                                                $greater_than_query = "( $field > '" . $this->db->quote($query_date) . "' ) ";
1588
-                                                $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op . ' ' : 'AND ')) . $greater_than_query;
1587
+                                                $greater_than_query = "( $field > '".$this->db->quote($query_date)."' ) ";
1588
+                                                $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op.' ' : 'AND ')).$greater_than_query;
1589 1589
                                             } else {
1590
-                                                $value = "'" . $this->db->quote($condition->value) . "'";
1590
+                                                $value = "'".$this->db->quote($condition->value)."'";
1591 1591
                                                 break;
1592 1592
                                             }
1593 1593
                                         $where_set = true;
1594 1594
                                     } elseif ($condition->operator === 'Less_Than') {
1595 1595
                                             if ($dateTime !== false) {
1596
-                                                $less_than_query = "( $field < '" . $this->db->quote($condition->value) . "' ) ";
1597
-                                                $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op . ' ' : 'AND ')) . $less_than_query;
1596
+                                                $less_than_query = "( $field < '".$this->db->quote($condition->value)."' ) ";
1597
+                                                $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op.' ' : 'AND ')).$less_than_query;
1598 1598
                                             } elseif ($dateTime === false && $data['type'] === 'datetime') { // check for incorrectly converted dateTime
1599 1599
                                                     $dateTime = convertToDateTime($condition->value);
1600 1600
 
1601 1601
                                                     $query_date = $dateTime->format('Y-m-d H:i:s');
1602
-                                                    $less_than_query = "( $field < '" . $this->db->quote($query_date) . "' ) ";
1603
-                                                    $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op . ' ' : 'AND ')) . $less_than_query;
1602
+                                                    $less_than_query = "( $field < '".$this->db->quote($query_date)."' ) ";
1603
+                                                    $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op.' ' : 'AND ')).$less_than_query;
1604 1604
                                                 } else {
1605
-                                                    $value = "'" . $this->db->quote($condition->value) . "'";
1605
+                                                    $value = "'".$this->db->quote($condition->value)."'";
1606 1606
                                                     break;
1607 1607
                                                 }
1608 1608
                                             $where_set = true;
1609 1609
                                         } elseif ($condition->operator === 'Greater_Than_or_Equal_To') {
1610 1610
                                                 if ($dateTime !== false) {
1611
-                                                    $equal_greater_than_query = "( $field > '" . $this->db->quote($condition->value) . "'";
1611
+                                                    $equal_greater_than_query = "( $field > '".$this->db->quote($condition->value)."'";
1612 1612
                                                     $day_ahead = $dateTime->modify('+1 day');
1613
-                                                    $equal_greater_than_query .= " OR $field  BETWEEN '" . $this->db->quote($condition->value) . "' AND '" . $this->db->quote($day_ahead->format('Y-m-d H:i:s')) . "' ) ";
1614
-                                                    $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op . ' ' : 'AND ')) . $equal_greater_than_query;
1613
+                                                    $equal_greater_than_query .= " OR $field  BETWEEN '".$this->db->quote($condition->value)."' AND '".$this->db->quote($day_ahead->format('Y-m-d H:i:s'))."' ) ";
1614
+                                                    $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op.' ' : 'AND ')).$equal_greater_than_query;
1615 1615
                                                 } elseif ($dateTime === false && $data['type'] === 'datetime') { // check for incorrectly converted dateTime
1616 1616
                                                         $dateTime = convertToDateTime($condition->value);
1617 1617
 
1618 1618
                                                         $query_date = $dateTime->format('Y-m-d H:i:s');
1619
-                                                        $equal_greater_than_query = "( $field > '" . $this->db->quote($query_date) . "'";
1619
+                                                        $equal_greater_than_query = "( $field > '".$this->db->quote($query_date)."'";
1620 1620
                                                         $day_ahead = $dateTime->modify('+1 day');
1621
-                                                        $equal_greater_than_query .= " OR $field  BETWEEN '" . $this->db->quote($query_date) . "' AND '" . $this->db->quote($day_ahead->format('Y-m-d H:i:s')) . "' ) ";
1622
-                                                        $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op . ' ' : 'AND ')) . $equal_greater_than_query;
1621
+                                                        $equal_greater_than_query .= " OR $field  BETWEEN '".$this->db->quote($query_date)."' AND '".$this->db->quote($day_ahead->format('Y-m-d H:i:s'))."' ) ";
1622
+                                                        $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op.' ' : 'AND ')).$equal_greater_than_query;
1623 1623
                                                     } else {
1624
-                                                        $value = "'" . $this->db->quote($condition->value) . "'";
1624
+                                                        $value = "'".$this->db->quote($condition->value)."'";
1625 1625
                                                         break;
1626 1626
                                                     }
1627 1627
                                                 $where_set = true;
1628 1628
                                             } elseif ($condition->operator === 'Less_Than_or_Equal_To') {
1629 1629
                                                     if ($dateTime !== false) {
1630
-                                                        $equal_less_than_query = "( $field < '" . $this->db->quote($condition->value) . "'";
1630
+                                                        $equal_less_than_query = "( $field < '".$this->db->quote($condition->value)."'";
1631 1631
                                                         $day_ahead = $dateTime->modify('+1 day');
1632
-                                                        $equal_less_than_query .= " OR $field  BETWEEN '" . $this->db->quote($condition->value) . "' AND '" . $this->db->quote($day_ahead->format('Y-m-d H:i:s')) . "' ) ";
1633
-                                                        $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op . ' ' : 'AND ')) . $equal_less_than_query;
1632
+                                                        $equal_less_than_query .= " OR $field  BETWEEN '".$this->db->quote($condition->value)."' AND '".$this->db->quote($day_ahead->format('Y-m-d H:i:s'))."' ) ";
1633
+                                                        $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op.' ' : 'AND ')).$equal_less_than_query;
1634 1634
                                                     } elseif ($dateTime === false && $data['type'] === 'datetime') { // check for incorrectly converted dateTime
1635 1635
                                                             $dateTime = convertToDateTime($condition->value);
1636 1636
 
1637 1637
                                                             $query_date = $dateTime->format('Y-m-d H:i:s');
1638
-                                                            $equal_less_than_query = "( $field < '" . $this->db->quote($query_date) . "'";
1638
+                                                            $equal_less_than_query = "( $field < '".$this->db->quote($query_date)."'";
1639 1639
                                                             $day_ahead = $dateTime->modify('+1 day');
1640
-                                                            $equal_less_than_query .= " OR $field  BETWEEN '" . $this->db->quote($query_date) . "' AND '" . $this->db->quote($day_ahead->format('Y-m-d H:i:s')) . "' ) ";
1641
-                                                            $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op . ' ' : 'AND ')) . $equal_less_than_query;
1640
+                                                            $equal_less_than_query .= " OR $field  BETWEEN '".$this->db->quote($query_date)."' AND '".$this->db->quote($day_ahead->format('Y-m-d H:i:s'))."' ) ";
1641
+                                                            $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op.' ' : 'AND ')).$equal_less_than_query;
1642 1642
                                                         } else {
1643
-                                                            $value = "'" . $this->db->quote($condition->value) . "'";
1643
+                                                            $value = "'".$this->db->quote($condition->value)."'";
1644 1644
                                                             break;
1645 1645
                                                         }
1646 1646
                                                     $where_set = true;
1647 1647
                                                 } else {
1648
-                                                    $value = "'" . $this->db->quote($condition->value) . "'";
1648
+                                                    $value = "'".$this->db->quote($condition->value)."'";
1649 1649
                                                 }
1650 1650
                             break;
1651 1651
                         default:
1652
-                            $value = "'" . $this->db->quote($condition->value) . "'";
1652
+                            $value = "'".$this->db->quote($condition->value)."'";
1653 1653
                             break;
1654 1654
                     }
1655 1655
 
1656 1656
                     //handle like conditions
1657 1657
                     Switch ($condition->operator) {
1658 1658
                         case 'Contains':
1659
-                            $value = "CONCAT('%', " . $value . " ,'%')";
1659
+                            $value = "CONCAT('%', ".$value." ,'%')";
1660 1660
                             break;
1661 1661
                         case 'Starts_With':
1662
-                            $value = "CONCAT(" . $value . " ,'%')";
1662
+                            $value = "CONCAT(".$value." ,'%')";
1663 1663
                             break;
1664 1664
                         case 'Ends_With':
1665
-                            $value = "CONCAT('%', " . $value . ")";
1665
+                            $value = "CONCAT('%', ".$value.")";
1666 1666
                             break;
1667 1667
                     }
1668 1668
 
1669 1669
                     if ($condition->value_type == 'Value' && !$condition->value && $condition->operator == 'Equal_To') {
1670 1670
                         $value = "{$value} OR {$field} IS NULL)";
1671
-                        $field = "(" . $field;
1671
+                        $field = "(".$field;
1672 1672
                     }
1673 1673
 
1674 1674
                     if (!$where_set) {
@@ -1679,28 +1679,28 @@  discard block
 block discarded – undo
1679 1679
                                 $params = base64_decode($condition->value);
1680 1680
                             }
1681 1681
                             $date = getPeriodEndDate($params)->format('Y-m-d H:i:s');
1682
-                            $value = '"' . getPeriodDate($params)->format('Y-m-d H:i:s') . '"';
1682
+                            $value = '"'.getPeriodDate($params)->format('Y-m-d H:i:s').'"';
1683 1683
 
1684
-                            $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op . ' ' : 'AND '));
1684
+                            $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op.' ' : 'AND '));
1685 1685
                             $tiltLogicOp = false;
1686 1686
 
1687 1687
                             switch ($aor_sql_operator_list[$condition->operator]) {
1688 1688
                                 case "=":
1689
-                                    $query['where'][] = $field . ' BETWEEN ' . $value . ' AND ' . '"' . $date . '"';
1689
+                                    $query['where'][] = $field.' BETWEEN '.$value.' AND '.'"'.$date.'"';
1690 1690
                                     break;
1691 1691
                                 case "!=":
1692
-                                    $query['where'][] = $field . ' NOT BETWEEN ' . $value . ' AND ' . '"' . $date . '"';
1692
+                                    $query['where'][] = $field.' NOT BETWEEN '.$value.' AND '.'"'.$date.'"';
1693 1693
                                     break;
1694 1694
                                 case ">":
1695 1695
                                 case "<":
1696 1696
                                 case ">=":
1697 1697
                                 case "<=":
1698
-                                    $query['where'][] = $field . ' ' . $aor_sql_operator_list[$condition->operator] . ' ' . $value;
1698
+                                    $query['where'][] = $field.' '.$aor_sql_operator_list[$condition->operator].' '.$value;
1699 1699
                                     break;
1700 1700
                             }
1701 1701
                         } else {
1702 1702
                             if (!$where_set) {
1703
-                                $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op . ' ' : 'AND ')) . $field . ' ' . $aor_sql_operator_list[$condition->operator] . ' ' . $value;
1703
+                                $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op.' ' : 'AND ')).$field.' '.$aor_sql_operator_list[$condition->operator].' '.$value;
1704 1704
                             }
1705 1705
                         }
1706 1706
                     }
@@ -1708,7 +1708,7 @@  discard block
 block discarded – undo
1708 1708
                 } else {
1709 1709
                     if ($condition->parenthesis) {
1710 1710
                         if ($condition->parenthesis == 'START') {
1711
-                            $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op . ' ' : 'AND ')) . '(';
1711
+                            $query['where'][] = ($tiltLogicOp ? '' : ($condition->logic_op ? $condition->logic_op.' ' : 'AND ')).'(';
1712 1712
                             $tiltLogicOp = true;
1713 1713
                         } else {
1714 1714
                             $query['where'][] = ')';
@@ -1725,7 +1725,7 @@  discard block
 block discarded – undo
1725 1725
                 array_unshift($query['where'], '(');
1726 1726
                 $query['where'][] = ') AND ';
1727 1727
             }
1728
-            $query['where'][] = $module->table_name . ".deleted = 0 " . $this->build_report_access_query($module,
1728
+            $query['where'][] = $module->table_name.".deleted = 0 ".$this->build_report_access_query($module,
1729 1729
                     $module->table_name);
1730 1730
 
1731 1731
         }
Please login to merge, or discard this patch.
modules/AOR_Reports/aor_utils.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -111,9 +111,9 @@  discard block
 block discarded – undo
111 111
             if ($_REQUEST['parameter_type'][$key] === 'Date') {
112 112
                 $values = array();
113 113
                 $values[] = $_REQUEST['parameter_value'][0];
114
-                $values[] = $_REQUEST['parameter_value'][1];;
115
-                $values[] = $_REQUEST['parameter_value'][2];;
116
-                $values[] = $_REQUEST['parameter_value'][3];;
114
+                $values[] = $_REQUEST['parameter_value'][1]; ;
115
+                $values[] = $_REQUEST['parameter_value'][2]; ;
116
+                $values[] = $_REQUEST['parameter_value'][3]; ;
117 117
 
118 118
                 $params[$parameterId] = array(
119 119
                     'id' => $parameterId,
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
     $offsetMonths -= 1;
393 393
     // Offset months
394 394
     if ($offsetMonths > 0) {
395
-        $q1start->add(new DateInterval('P' . $offsetMonths . 'M'));
395
+        $q1start->add(new DateInterval('P'.$offsetMonths.'M'));
396 396
     }
397 397
     $q1end = DateTime::createFromFormat(DATE_ISO8601, $q1start->format(DATE_ISO8601));
398 398
     $q1end->add(new DateInterval('P2M'));
Please login to merge, or discard this patch.
modules/AOBH_BusinessHours/language/en_us.lang.php 1 patch
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -43,34 +43,34 @@
 block discarded – undo
43 43
 }
44 44
 
45 45
 $mod_strings = array (
46
-  'LBL_ASSIGNED_TO_ID' => 'Assigned User Id',
47
-  'LBL_ASSIGNED_TO_NAME' => 'Assigned to',
48
-  'LBL_ID' => 'ID',
49
-  'LBL_DATE_ENTERED' => 'Date Created',
50
-  'LBL_DATE_MODIFIED' => 'Date Modified',
51
-  'LBL_MODIFIED' => 'Modified By',
52
-  'LBL_MODIFIED_NAME' => 'Modified By Name',
53
-  'LBL_CREATED' => 'Created By',
54
-  'LBL_DESCRIPTION' => 'Description',
55
-  'LBL_DELETED' => 'Deleted',
56
-  'LBL_NAME' => 'Name',
57
-  'LBL_CREATED_USER' => 'Created by User',
58
-  'LBL_MODIFIED_USER' => 'Modified by User',
59
-  'LBL_LIST_NAME' => 'Name',
60
-  'LBL_EDIT_BUTTON' => 'Edit',
61
-  'LBL_REMOVE' => 'Remove',
62
-  'LBL_LIST_FORM_TITLE' => 'Business Hours List',
63
-  'LBL_MODULE_NAME' => 'Business Hours',
64
-  'LBL_MODULE_TITLE' => 'Business Hours',
65
-  'LBL_HOMEPAGE_TITLE' => 'My Business Hours',
66
-  'LNK_NEW_RECORD' => 'Create Business Hours',
67
-  'LNK_LIST' => 'View Business Hours',
68
-  'LBL_SEARCH_FORM_TITLE' => 'Search Business Hours',
69
-  'LBL_HISTORY_SUBPANEL_TITLE' => 'View History',
70
-  'LBL_ACTIVITIES_SUBPANEL_TITLE' => 'Activities',
71
-  'LBL_NEW_FORM_TITLE' => 'New Business Hours',
72
-  'LBL_OPENING_HOURS' => 'Opening Hours',
73
-  'LBL_CLOSING_HOURS' => 'Closing Hours',
74
-  'LBL_DAY' => 'Day',
75
-  'LBL_OPEN' => 'Open',
46
+    'LBL_ASSIGNED_TO_ID' => 'Assigned User Id',
47
+    'LBL_ASSIGNED_TO_NAME' => 'Assigned to',
48
+    'LBL_ID' => 'ID',
49
+    'LBL_DATE_ENTERED' => 'Date Created',
50
+    'LBL_DATE_MODIFIED' => 'Date Modified',
51
+    'LBL_MODIFIED' => 'Modified By',
52
+    'LBL_MODIFIED_NAME' => 'Modified By Name',
53
+    'LBL_CREATED' => 'Created By',
54
+    'LBL_DESCRIPTION' => 'Description',
55
+    'LBL_DELETED' => 'Deleted',
56
+    'LBL_NAME' => 'Name',
57
+    'LBL_CREATED_USER' => 'Created by User',
58
+    'LBL_MODIFIED_USER' => 'Modified by User',
59
+    'LBL_LIST_NAME' => 'Name',
60
+    'LBL_EDIT_BUTTON' => 'Edit',
61
+    'LBL_REMOVE' => 'Remove',
62
+    'LBL_LIST_FORM_TITLE' => 'Business Hours List',
63
+    'LBL_MODULE_NAME' => 'Business Hours',
64
+    'LBL_MODULE_TITLE' => 'Business Hours',
65
+    'LBL_HOMEPAGE_TITLE' => 'My Business Hours',
66
+    'LNK_NEW_RECORD' => 'Create Business Hours',
67
+    'LNK_LIST' => 'View Business Hours',
68
+    'LBL_SEARCH_FORM_TITLE' => 'Search Business Hours',
69
+    'LBL_HISTORY_SUBPANEL_TITLE' => 'View History',
70
+    'LBL_ACTIVITIES_SUBPANEL_TITLE' => 'Activities',
71
+    'LBL_NEW_FORM_TITLE' => 'New Business Hours',
72
+    'LBL_OPENING_HOURS' => 'Opening Hours',
73
+    'LBL_CLOSING_HOURS' => 'Closing Hours',
74
+    'LBL_DAY' => 'Day',
75
+    'LBL_OPEN' => 'Open',
76 76
 );
77 77
\ No newline at end of file
Please login to merge, or discard this patch.
modules/AOK_KnowledgeBase/language/en_us.lang.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -43,39 +43,39 @@
 block discarded – undo
43 43
 }
44 44
 
45 45
 $mod_strings = array (
46
-  'LBL_ASSIGNED_TO_ID' => 'Assigned User Id',
47
-  'LBL_ASSIGNED_TO_NAME' => 'Assigned to',
48
-  'LBL_ID' => 'ID',
49
-  'LBL_DATE_ENTERED' => 'Date Created',
50
-  'LBL_DATE_MODIFIED' => 'Date Modified',
51
-  'LBL_MODIFIED' => 'Modified By',
52
-  'LBL_MODIFIED_NAME' => 'Modified By Name',
53
-  'LBL_CREATED' => 'Created By',
54
-  'LBL_DESCRIPTION' => 'Body',
55
-  'LBL_ADDITIONAL_INFO' => 'Resolution',
56
-  'LBL_DELETED' => 'Deleted',
57
-  'LBL_NAME' => 'Title',
58
-  'LBL_CREATED_USER' => 'Created by User',
59
-  'LBL_MODIFIED_USER' => 'Modified by User',
60
-  'LBL_LIST_NAME' => 'Name',
61
-  'LBL_EDIT_BUTTON' => 'Edit',
62
-  'LBL_REMOVE' => 'Remove',
63
-  'LBL_LIST_FORM_TITLE' => 'Knowledge Base List',
64
-  'LBL_MODULE_NAME' => 'Knowledge Base',
65
-  'LBL_MODULE_TITLE' => 'Knowledge Base',
66
-  'LBL_HOMEPAGE_TITLE' => 'My Knowledge Base',
67
-  'LNK_NEW_RECORD' => 'Create Knowledge Base',
68
-  'LNK_LIST' => 'View Knowledge Base',
69
-  'LBL_SEARCH_FORM_TITLE' => 'Search Knowledge Base',
70
-  'LBL_HISTORY_SUBPANEL_TITLE' => 'View History',
71
-  'LBL_ACTIVITIES_SUBPANEL_TITLE' => 'Activities',
72
-  'LBL_NEW_FORM_TITLE' => 'New Knowledge Base',
73
-  'LBL_STATUS' => 'Status',
74
-  'LBL_REVISION' => 'Revision',
75
-  'LBL_AUTHOR_USER_ID' => 'Author (related User ID)',
76
-  'LBL_AUTHOR' => 'Author',
77
-  'LBL_APPROVER_USER_ID' => 'Approver (related User ID)',
78
-  'LBL_APPROVER' => 'Approver',
46
+    'LBL_ASSIGNED_TO_ID' => 'Assigned User Id',
47
+    'LBL_ASSIGNED_TO_NAME' => 'Assigned to',
48
+    'LBL_ID' => 'ID',
49
+    'LBL_DATE_ENTERED' => 'Date Created',
50
+    'LBL_DATE_MODIFIED' => 'Date Modified',
51
+    'LBL_MODIFIED' => 'Modified By',
52
+    'LBL_MODIFIED_NAME' => 'Modified By Name',
53
+    'LBL_CREATED' => 'Created By',
54
+    'LBL_DESCRIPTION' => 'Body',
55
+    'LBL_ADDITIONAL_INFO' => 'Resolution',
56
+    'LBL_DELETED' => 'Deleted',
57
+    'LBL_NAME' => 'Title',
58
+    'LBL_CREATED_USER' => 'Created by User',
59
+    'LBL_MODIFIED_USER' => 'Modified by User',
60
+    'LBL_LIST_NAME' => 'Name',
61
+    'LBL_EDIT_BUTTON' => 'Edit',
62
+    'LBL_REMOVE' => 'Remove',
63
+    'LBL_LIST_FORM_TITLE' => 'Knowledge Base List',
64
+    'LBL_MODULE_NAME' => 'Knowledge Base',
65
+    'LBL_MODULE_TITLE' => 'Knowledge Base',
66
+    'LBL_HOMEPAGE_TITLE' => 'My Knowledge Base',
67
+    'LNK_NEW_RECORD' => 'Create Knowledge Base',
68
+    'LNK_LIST' => 'View Knowledge Base',
69
+    'LBL_SEARCH_FORM_TITLE' => 'Search Knowledge Base',
70
+    'LBL_HISTORY_SUBPANEL_TITLE' => 'View History',
71
+    'LBL_ACTIVITIES_SUBPANEL_TITLE' => 'Activities',
72
+    'LBL_NEW_FORM_TITLE' => 'New Knowledge Base',
73
+    'LBL_STATUS' => 'Status',
74
+    'LBL_REVISION' => 'Revision',
75
+    'LBL_AUTHOR_USER_ID' => 'Author (related User ID)',
76
+    'LBL_AUTHOR' => 'Author',
77
+    'LBL_APPROVER_USER_ID' => 'Approver (related User ID)',
78
+    'LBL_APPROVER' => 'Approver',
79 79
 );
80 80
 
81 81
 $mod_strings['LBL_AOK_KB_CATEGORIES_TITLE'] = 'Categories';
82 82
\ No newline at end of file
Please login to merge, or discard this patch.
install/language/en_us.lang.php 1 patch
Indentation   +427 added lines, -427 removed lines patch added patch discarded remove patch
@@ -43,296 +43,296 @@  discard block
 block discarded – undo
43 43
 }
44 44
 
45 45
 $mod_strings = array(
46
-	'LBL_BASIC_SEARCH'					=> 'Quick Filter',
47
-	'LBL_ADVANCED_SEARCH'				=> 'Advanced Filter',
48
-	'LBL_BASIC_TYPE'					=> 'Basic Type',
49
-	'LBL_ADVANCED_TYPE'					=> 'Advanced Type',
50
-	'LBL_SYSOPTS_2'                     => 'What type of database will be used for the SuiteCRM instance you are about to install?',
51
-	'LBL_SYSOPTS_DB'					=> 'Specify Database Type',
52
-	'LBL_SYSOPTS_DB_TITLE'              => 'Database Type',
53
-	'LBL_SYSOPTS_ERRS_TITLE'			=> 'Please fix the following errors before proceeding:',
54
-	'ERR_DB_VERSION_FAILURE'			=> 'Unable to check database version.',
55
-	'DEFAULT_CHARSET'					=> 'UTF-8',
56
-	'ERR_ADMIN_USER_NAME_BLANK'         => 'Provide the user name for the SuiteCRM admin user. ',
57
-	'ERR_ADMIN_PASS_BLANK'				=> 'Provide the password for the SuiteCRM admin user. ',
58
-
59
-	'ERR_CHECKSYS'                      => 'Errors have been detected during compatibility check. In order for your SuiteCRM Installation to function properly, please take the proper steps to address the issues listed below and either press the recheck button, or try installing again.',
60
-	'ERR_CHECKSYS_CALL_TIME'            => 'Allow Call Time Pass Reference is On (this should be set to Off in php.ini)',
61
-	'ERR_CHECKSYS_CURL'					=> 'Not found: SuiteCRM Scheduler will run with limited functionality.',
62
-	'ERR_CHECKSYS_IMAP'					=> 'Not found: InboundEmail and Campaigns (Email) require the IMAP libraries. Neither will be functional.',
63
-	'ERR_CHECKSYS_MEM_LIMIT_1'			=> ' (Set this to ',
64
-	'ERR_CHECKSYS_MEM_LIMIT_2'			=> 'M or larger in your php.ini file)',
65
-	'ERR_CHECKSYS_NOT_WRITABLE'			=> 'Warning: Not Writable',
66
-	'ERR_CHECKSYS_PHP_INVALID_VER'		=> 'Your version of PHP is not supported by SuiteCRM. You will need to install a version that is compatible with the SuiteCRM application. Please consult the Compatibility Matrix in the Release Notes for supported PHP Versions. Your version is ',
67
-	'ERR_CHECKSYS_IIS_INVALID_VER'      => 'Your version of IIS is not supported by SuiteCRM. You will need to install a version that is compatible with the SuiteCRM application. Please consult the Compatibility Matrix in the Release Notes for supported IIS Versions. Your version is ',
68
-	'ERR_CHECKSYS_FASTCGI'              => 'We detect that you are not using a FastCGI handler mapping for PHP. You will need to install/configure a version that is compatible with the SuiteCRM application. Please consult the Compatibility Matrix in the Release Notes for supported Versions. Please see <a href="http://www.iis.net/php/" target="_blank">http://www.iis.net/php/</a> for details ',
69
-	'ERR_CHECKSYS_FASTCGI_LOGGING'      => 'For optimal experience using IIS/FastCGI sapi, set fastcgi.logging to 0 in your php.ini file.',
70
-	'LBL_DB_UNAVAILABLE'                => 'Database unavailable',
71
-	'LBL_CHECKSYS_DB_SUPPORT_NOT_AVAILABLE' => 'Database Support was not found. Please make sure you have the necessary drivers for one of the following supported Database Types: MySQL or MS SQLServer. You might need to uncomment the extension in the php.ini file, or recompile with the right binary file, depending on your version of PHP. Please refer to your PHP Manual for more information on how to enable Database Support.',
72
-	'LBL_CHECKSYS_XML_NOT_AVAILABLE'        => 'Functions associated with XML Parser Libraries that are needed by the SuiteCRM application were not found. You might need to uncomment the extension in the  php.ini file, or recompile with the right binary file, depending on your version of PHP. Please refer to your PHP Manual for more information.',
73
-	'ERR_CHECKSYS_MBSTRING'             => 'Functions associated with the Multibyte Strings PHP extension (mbstring) that are needed by the SuiteCRM application were not found. <br/><br/>Generally, the mbstring module is not enabled by default in PHP and must be activated with --enable-mbstring when the PHP binary is built. Please refer to your PHP Manual for more information on how to enable mbstring support.',
74
-	'ERR_CHECKSYS_CONFIG_NOT_WRITABLE'  => 'The config file exists but is not writeable. Please take the necessary steps to make the file writeable. Depending on your Operating system, this might require you to change the permissions by running chmod 766, or to right click on the filename to access the properties and uncheck the read only option.',
75
-	'ERR_CHECKSYS_CONFIG_OVERRIDE_NOT_WRITABLE'  => 'The config override file exists but is not writeable. Please take the necessary steps to make the file writeable. Depending on your Operating system, this might require you to change the permissions by running chmod 766, or to right click on the filename to access the properties and uncheck the read only option.',
76
-	'ERR_CHECKSYS_CUSTOM_NOT_WRITABLE'  => 'The Custom Directory exists but is not writeable. You may have to change permissions on it (chmod 766) or right click on it and uncheck the read only option, depending on your Operating System. Please take the needed steps to make the file writeable.',
77
-	'ERR_CHECKSYS_FILES_NOT_WRITABLE'   => "The files or directories listed below are not writeable or are missing and cannot be created. Depending on your Operating System, correcting this may require you to change permissions on the files or parent directory (chmod 755), or to right click on the parent directory and uncheck the 'read only' option and apply it to all subfolders.",
78
-	'LBL_CHECKSYS_OVERRIDE_CONFIG' => 'Config override',
79
-	'ERR_CHECKSYS_SAFE_MODE'			=> 'Safe Mode is On (you may wish to disable in php.ini)',
80
-	'ERR_CHECKSYS_ZLIB'					=> 'ZLib support not found: SuiteCRM reaps enormous performance benefits with zlib compression.',
81
-	'ERR_CHECKSYS_ZIP'					=> 'ZIP support not found: SuiteCRM needs ZIP support in order to process compressed files.',
82
-	'ERR_CHECKSYS_PCRE'					=> 'PCRE library not found: SuiteCRM needs PCRE library in order to process Perl style of regular expression pattern matching.',
83
-	'ERR_CHECKSYS_PCRE_VER'				=> 'PCRE library version: SuiteCRM needs PCRE library 7.0 or above to process Perl style of regular expression pattern matching.',
84
-	'ERR_DB_ADMIN'						=> 'The provided database administrator username and/or password is invalid, and a connection to the database could not be established. Please enter a valid user name and password. (Error: ',
85
-	'ERR_DB_ADMIN_MSSQL'                => 'The provided database administrator username and/or password is invalid, and a connection to the database could not be established. Please enter a valid user name and password.',
86
-	'ERR_DB_EXISTS_NOT'					=> 'The specified database does not exist.',
87
-	'ERR_DB_EXISTS_WITH_CONFIG'			=> 'Database already exists with config data. To run an install with the chosen database, please re-run the install and choose: "Drop and recreate existing SuiteCRM tables?"  To upgrade, use the Upgrade Wizard in the Admin Console. Please read the upgrade documentation located <a href="http://www.suitecrm.com" target="_new">here</a>.',
88
-	'ERR_DB_EXISTS'						=> 'The provided Database Name already exists -- cannot create another one with the same name.',
89
-	'ERR_DB_EXISTS_PROCEED'             => 'The provided Database Name already exists. You can<br>1. hit the back button and choose a new database name <br>2. click next and continue but all existing tables on this database will be dropped. <strong>This means your tables and data will be blown away.</strong>',
90
-	'ERR_DB_HOSTNAME'					=> 'Host name cannot be blank.',
91
-	'ERR_DB_INVALID'					=> 'Invalid database type selected.',
92
-	'ERR_DB_LOGIN_FAILURE'				=> 'The provided database host, username, and/or password is invalid, and a connection to the database could not be established. Please enter a valid host, username and password',
93
-	'ERR_DB_LOGIN_FAILURE_MYSQL'		=> 'The provided database host, username, and/or password is invalid, and a connection to the database could not be established. Please enter a valid host, username and password',
94
-	'ERR_DB_LOGIN_FAILURE_MSSQL'		=> 'The provided database host, username, and/or password is invalid, and a connection to the database could not be established. Please enter a valid host, username and password',
95
-	'ERR_DB_MYSQL_VERSION'				=> 'Your MySQL version (%s) is not supported by SuiteCRM. You will need to install a version that is compatible with the SuiteCRM application. Please consult the Compatibility Matrix in the Release Notes for supported MySQL versions.',
96
-	'ERR_DB_NAME'						=> 'Database name cannot be blank.',
97
-	'ERR_DB_MYSQL_DB_NAME_INVALID'      => "Database name cannot contain a '\\', '/', or '.'",
98
-	'ERR_DB_MSSQL_DB_NAME_INVALID'      => "Database name cannot begin with a number, '#', or '@' and cannot contain a space, '\"', \"'\", '*', '/', '\', '?', ':', '<', '>', '&', '!', or '-'",
99
-	'ERR_DB_OCI8_DB_NAME_INVALID'       => "Database name can only consist of alphanumeric characters and the symbols '#', '_' or '$'",
100
-	'ERR_DB_PASSWORD'					=> 'The passwords provided for the SuiteCRM database administrator do not match. Please re-enter the same passwords in the password fields.',
101
-	'ERR_DB_PRIV_USER'					=> 'Provide a database administrator user name. The user is required for the initial connection to the database.',
102
-	'ERR_DB_USER_EXISTS'				=> 'User name for SuiteCRM database user already exists -- cannot create another one with the same name. Please enter a new user name.',
103
-	'ERR_DB_USER'						=> 'Enter a user name for the SuiteCRM database administrator.',
104
-	'ERR_DBCONF_VALIDATION'				=> 'Please fix the following errors before proceeding:',
105
-	'ERR_DBCONF_PASSWORD_MISMATCH'      => 'The passwords provided for the SuiteCRM database user do not match. Please re-enter the same passwords in the password fields.',
106
-	'ERR_ERROR_GENERAL'					=> 'The following errors were encountered:',
107
-	'ERR_LANG_CANNOT_DELETE_FILE'		=> 'Cannot delete file: ',
108
-	'ERR_LANG_MISSING_FILE'				=> 'Cannot find file: ',
109
-	'ERR_LANG_NO_LANG_FILE'			 	=> 'No language pack file found at include/language inside: ',
110
-	'ERR_LANG_UPLOAD_1'					=> 'There was a problem with your upload. Please try again.',
111
-	'ERR_LANG_UPLOAD_2'					=> 'Language Packs must be ZIP archives.',
112
-	'ERR_LANG_UPLOAD_3'					=> 'PHP could not move the temp file to the upgrade directory.',
113
-	'ERR_LOG_DIRECTORY_NOT_EXISTS'		=> 'Log directory provided is not a valid directory.',
114
-	'ERR_LOG_DIRECTORY_NOT_WRITABLE'	=> 'Log directory provided is not a writable directory.',
115
-	'ERR_NO_DIRECT_SCRIPT'				=> 'Unable to process script directly.',
116
-	'ERR_NO_SINGLE_QUOTE'				=> 'Cannot use the single quotation mark for ',
117
-	'ERR_PASSWORD_MISMATCH'				=> 'The passwords provided for the SuiteCRM admin user do not match. Please re-enter the same passwords in the password fields.',
118
-	'ERR_PERFORM_CONFIG_PHP_1'			=> 'Cannot write to the <span class=stop>config.php</span> file.',
119
-	'ERR_PERFORM_CONFIG_PHP_2'			=> 'You can continue this installation by manually creating the config.php file and pasting the configuration information below into the config.php file. However, you <strong>must </strong>create the config.php file before you continue to the next step.',
120
-	'ERR_PERFORM_CONFIG_PHP_3'			=> 'Did you remember to create the config.php file?',
121
-	'ERR_PERFORM_CONFIG_PHP_4'			=> 'Warning: Could not write to config.php file. Please ensure it exists.',
122
-	'ERR_PERFORM_HTACCESS_1'			=> 'Cannot write to the ',
123
-	'ERR_PERFORM_HTACCESS_2'			=> ' file.',
124
-	'ERR_PERFORM_HTACCESS_3'			=> 'If you want to secure your log file from being accessible via browser, create an .htaccess file in your log directory with the line:',
125
-	'ERR_PERFORM_NO_TCPIP'				=> '<b>We could not detect an Internet connection.</b> When you do have a connection, please visit <a href="http://www.suitecrm.com/">http://www.suitecrm.com/</a> to register with SuiteCRM. By letting us know a little bit about how your company plans to use SuiteCRM, we can ensure we are always delivering the right application for your business needs.',
126
-	'ERR_SESSION_DIRECTORY_NOT_EXISTS'	=> 'Session directory provided is not a valid directory.',
127
-	'ERR_SESSION_DIRECTORY'				=> 'Session directory provided is not a writable directory.',
128
-	'ERR_SESSION_PATH'					=> 'Session path is required if you wish to specify your own.',
129
-	'ERR_SI_NO_CONFIG'					=> 'You did not include config_si.php in the document root, or you did not define $sugar_config_si in config.php',
130
-	'ERR_SITE_GUID'						=> 'Application ID is required if you wish to specify your own.',
131
-	'ERROR_SPRITE_SUPPORT'              => "Currently we are not able to locate the GD library, as a result you will not be able to use the CSS Sprite functionality.",
132
-	'ERR_UPLOAD_MAX_FILESIZE'			=> 'Warning: Your PHP configuration should be changed to allow files of at least 6MB to be uploaded.',
133
-	'LBL_UPLOAD_MAX_FILESIZE_TITLE'     => 'Upload File Size',
134
-	'ERR_URL_BLANK'						=> 'Provide the base URL for the SuiteCRM instance.',
135
-	'ERR_UW_NO_UPDATE_RECORD'			=> 'Could not locate installation record of',
136
-	'ERROR_FLAVOR_INCOMPATIBLE'			=> 'The uploaded file is not compatible with this flavor of SuiteCRM: ',
137
-	'ERROR_MANIFEST_TYPE'				=> 'Manifest file must specify the package type.',
138
-	'ERROR_PACKAGE_TYPE'				=> 'Manifest file specifies an unrecognized package type',
139
-	'ERROR_VERSION_INCOMPATIBLE'		=> 'The uploaded file is not compatible with this version of SuiteCRM: ',
140
-
141
-	'LBL_BACK'							=> 'Back',
142
-	'LBL_CANCEL'                        => 'Cancel',
143
-	'LBL_ACCEPT'                        => 'I Accept',
144
-	'LBL_CHECKSYS_CACHE'				=> 'Writable Cache Sub-Directories',
145
-	'LBL_DROP_DB_CONFIRM'               => 'The provided Database Name already exists.<br>You can either:<br>1. Click on the Cancel button and choose a new database name, or <br>2. Click the Accept button and continue. All existing tables in the database will be dropped. <strong>This means that all of the tables and pre-existing data will be blown away.</strong>',
146
-	'LBL_CHECKSYS_COMPONENT'			=> 'Component',
147
-	'LBL_CHECKSYS_CONFIG'				=> 'Writable SuiteCRM Configuration File (config.php)',
148
-	'LBL_CHECKSYS_CURL'					=> 'cURL Module',
149
-	'LBL_CHECKSYS_CUSTOM'				=> 'Writeable Custom Directory',
150
-	'LBL_CHECKSYS_DATA'					=> 'Writable Data Sub-Directories',
151
-	'LBL_CHECKSYS_IMAP'					=> 'IMAP Module',
152
-	'LBL_CHECKSYS_FASTCGI'             => 'FastCGI',
153
-	'LBL_CHECKSYS_MBSTRING'				=> 'MB Strings Module',
154
-	'LBL_CHECKSYS_MEM_OK'				=> 'OK (No Limit)',
155
-	'LBL_CHECKSYS_MEM_UNLIMITED'		=> 'OK (Unlimited)',
156
-	'LBL_CHECKSYS_MEM'					=> 'PHP Memory Limit',
157
-	'LBL_CHECKSYS_MODULE'				=> 'Writable Modules Sub-Directories and Files',
158
-	'LBL_CHECKSYS_NOT_AVAILABLE'		=> 'Not Available',
159
-	'LBL_CHECKSYS_OK'					=> 'OK',
160
-	'LBL_CHECKSYS_PHP_INI'				=> 'Location of your PHP configuration file (php.ini):',
161
-	'LBL_CHECKSYS_PHP_OK'				=> 'OK (ver ',
162
-	'LBL_CHECKSYS_PHPVER'				=> 'PHP Version',
163
-	'LBL_CHECKSYS_IISVER'               => 'IIS Version',
164
-	'LBL_CHECKSYS_RECHECK'				=> 'Re-check',
165
-	'LBL_CHECKSYS_STATUS'				=> 'Status',
166
-	'LBL_CHECKSYS_TITLE'				=> 'System Check Acceptance',
167
-	'LBL_CHECKSYS_XML'					=> 'XML Parsing',
168
-	'LBL_CHECKSYS_ZLIB'					=> 'ZLIB Compression Module',
169
-	'LBL_CHECKSYS_ZIP'					=> 'ZIP Handling Module',
170
-	'LBL_CHECKSYS_PCRE'					=> 'PCRE Library',
171
-	'LBL_CHECKSYS_FIX_FILES'            => 'Please fix the following files or directories before proceeding:',
172
-	'LBL_CHECKSYS_FIX_MODULE_FILES'     => 'Please fix the following module directories and the files under them before proceeding:',
173
-	'LBL_CHECKSYS_UPLOAD'               => 'Writable Upload Directory',
174
-	'LBL_CLOSE'							=> 'Close',
175
-	'LBL_THREE'                         => '3',
176
-	'LBL_CONFIRM_BE_CREATED'			=> 'be created',
177
-	'LBL_CONFIRM_DB_TYPE'				=> 'Database Type',
178
-	'LBL_CONFIRM_NOT'					=> 'not',
179
-	'LBL_CONFIRM_TITLE'					=> 'Confirm Settings',
180
-	'LBL_CONFIRM_WILL'					=> 'will',
181
-	'LBL_DBCONF_DB_DROP'                => 'Drop Tables',
182
-	'LBL_DBCONF_DB_NAME'				=> 'Database Name',
183
-	'LBL_DBCONF_DB_PASSWORD'			=> 'SuiteCRM Database User Password',
184
-	'LBL_DBCONF_DB_PASSWORD2'			=> 'Re-enter SuiteCRM Database User Password',
185
-	'LBL_DBCONF_DB_USER'				=> 'SuiteCRM Database User',
186
-	'LBL_DBCONF_SUGAR_DB_USER'          => 'SuiteCRM Database User',
187
-	'LBL_DBCONF_DB_ADMIN_USER'          => 'Database Administrator Username',
188
-	'LBL_DBCONF_DB_ADMIN_PASSWORD'      => 'Database Admin Password',
189
-	'LBL_DBCONF_DEMO_DATA'				=> 'Populate Database with Demo Data?',
190
-	'LBL_DBCONF_DEMO_DATA_TITLE'        => 'Choose Demo Data',
191
-	'LBL_DBCONF_HOST_NAME'				=> 'Host Name',
192
-	'LBL_DBCONF_HOST_INSTANCE'			=> 'Host Instance',
193
-	'LBL_DBCONFIG_SECURITY'             => 'For security purposes, you can specify an exclusive database user to connect to the SuiteCRM database. This user must be able to write, update and retrieve data on the SuiteCRM database that will be created for this instance. This user can be the database administrator specified above, or you can provide new or existing database user information.',
194
-	'LBL_DBCONFIG_PROVIDE_DD'           => 'Provide existing user',
195
-	'LBL_DBCONFIG_CREATE_DD'            => 'Define user to create',
196
-	'LBL_DBCONFIG_SAME_DD'              => 'Same as Admin User',
197
-	'LBL_DBCONF_TITLE'					=> 'Database Configuration',
198
-	'LBL_DBCONF_TITLE_NAME'             => 'Provide Database Name',
199
-	'LBL_DBCONF_TITLE_USER_INFO'        => 'Provide Database User Information',
200
-	'LBL_DBCONF_TITLE_PSWD_INFO_LABEL' => 'Password',
201
-	'LBL_DISABLED_DESCRIPTION_2'		=> 'After this change has been made, you may click the "Start" button below to begin your installation. <i>After the installation is complete, you will want to change the value for \'installer_locked\' to \'true\'.</i>',
202
-	'LBL_DISABLED_DESCRIPTION'			=> 'The installer has already been run once. As a safety measure, it has been disabled from running a second time. If you are absolutely sure you want to run it again, please go to your config.php file and locate (or add) a variable called \'installer_locked\' and set it to \'false\'. The line should look like this:',
203
-	'LBL_DISABLED_HELP_1'				=> 'For installation help, please visit the SuiteCRM',
204
-	'LBL_DISABLED_HELP_LNK'             => 'http://www.suitecrm.com/forum/index',
205
-	'LBL_DISABLED_HELP_2'				=> 'support forums',
206
-	'LBL_DISABLED_TITLE_2'				=> 'SuiteCRM Installation has been Disabled',
207
-	'LBL_HELP'							=> 'Help',
208
-	'LBL_INSTALL'                       => 'Install',
209
-	'LBL_INSTALL_TYPE_TITLE'            => 'Installation Options',
210
-	'LBL_INSTALL_TYPE_SUBTITLE'         => 'Choose Install Type',
211
-	'LBL_INSTALL_TYPE_TYPICAL'          => ' <b>Typical Install</b>',
212
-	'LBL_INSTALL_TYPE_CUSTOM'           => ' <b>Custom Install</b>',
213
-	'LBL_INSTALL_TYPE_MSG2'             => 'Requires minimum information for the installation. Recommended for new users.',
214
-	'LBL_INSTALL_TYPE_MSG3'             => 'Provides additional options to set during the installation. Most of these options are also available after installation in the admin screens. Recommended for advanced users.',
215
-	'LBL_LANG_1'						=> 'To use a language in SuiteCRM other than the default language (US-English), you can upload and install the language pack at this time. You will be able to upload and install language packs from within the SuiteCRM application as well. If you would like to skip this step, click Next.',
216
-	'LBL_LANG_BUTTON_COMMIT'			=> 'Install',
217
-	'LBL_LANG_BUTTON_REMOVE'			=> 'Remove',
218
-	'LBL_LANG_BUTTON_UNINSTALL'			=> 'Uninstall',
219
-	'LBL_LANG_BUTTON_UPLOAD'			=> 'Upload',
220
-	'LBL_LANG_NO_PACKS'					=> 'none',
221
-	'LBL_LANG_PACK_INSTALLED'			=> 'The following language packs have been installed: ',
222
-	'LBL_LANG_PACK_READY'				=> 'The following language packs are ready to be installed: ',
223
-	'LBL_LANG_SUCCESS'					=> 'The language pack was successfully uploaded.',
224
-	'LBL_LANG_TITLE'			   		=> 'Language Pack',
225
-	'LBL_LAUNCHING_SILENT_INSTALL'     => 'Installing SuiteCRM now. This may take up to a few minutes.',
226
-	'LBL_LANG_UPLOAD'					=> 'Upload a Language Pack',
227
-	'LBL_LICENSE_ACCEPTANCE'			=> 'License Acceptance',
228
-	'LBL_LICENSE_CHECKING'              => 'Checking system for compatibility.',
229
-	'LBL_LICENSE_CHKENV_HEADER'         => 'Checking Environment',
230
-	'LBL_LICENSE_CHKDB_HEADER'          => 'Verifying DB Credentials.',
231
-	'LBL_LICENSE_CHECK_PASSED'          => 'System passed check for compatibility.',
232
-	'LBL_CREATE_CACHE' => 'Preparing to Install...',
233
-	'LBL_LICENSE_REDIRECT'              => 'Redirecting in ',
234
-	'LBL_LICENSE_I_ACCEPT'				=> 'I Accept',
235
-	'LBL_LICENSE_PRINTABLE'				=> ' Printable View ',
236
-	'LBL_PRINT_SUMM'                    => 'Print Summary',
237
-	'LBL_LICENSE_TITLE_2'				=> 'SuiteCRM License',
238
-
239
-	'LBL_LOCALE_NAME_FIRST'				=> 'David',
240
-	'LBL_LOCALE_NAME_LAST'				=> 'Livingstone',
241
-	'LBL_LOCALE_NAME_SALUTATION'		=> 'Dr.',
242
-
243
-	'LBL_ML_ACTION'						=> 'Action',
244
-	'LBL_ML_DESCRIPTION'				=> 'Description',
245
-	'LBL_ML_INSTALLED'					=> 'Date Installed',
246
-	'LBL_ML_NAME'						=> 'Name',
247
-	'LBL_ML_PUBLISHED'					=> 'Date Published',
248
-	'LBL_ML_TYPE'						=> 'Type',
249
-	'LBL_ML_UNINSTALLABLE'				=> 'Uninstallable',
250
-	'LBL_ML_VERSION'					=> 'Version',
251
-	'LBL_MSSQL'							=> 'SQL Server',
252
-	'LBL_MSSQL2'                        => 'SQL Server (FreeTDS)',
253
-	'LBL_MSSQL_SQLSRV'				    => 'SQL Server (Microsoft SQL Server Driver for PHP)',
254
-	'LBL_MYSQL'							=> 'MySQL',
255
-	'LBL_MYSQLI'						=> 'MySQL (mysqli extension)',
256
-	'LBL_NEXT'							=> 'Next',
257
-	'LBL_NO'							=> 'No',
258
-	'LBL_PERFORM_ADMIN_PASSWORD'		=> 'Setting site admin password',
259
-	'LBL_PERFORM_CONFIG_PHP'			=> 'Creating SuiteCRM configuration file',
260
-	'LBL_PERFORM_CREATE_DB_1'			=> '<b>Creating the database</b> ',
261
-	'LBL_PERFORM_CREATE_DB_2'			=> ' <b>on</b> ',
262
-	'LBL_PERFORM_CREATE_DB_USER'		=> 'Creating the Database username and password...',
263
-	'LBL_PERFORM_CREATE_DEFAULT'		=> 'Creating default SuiteCRM data',
264
-	'LBL_PERFORM_DEFAULT_SCHEDULER'		=> 'Creating default scheduler jobs',
265
-	'LBL_PERFORM_DEFAULT_USERS'			=> 'Creating default users',
266
-	'LBL_PERFORM_DEMO_DATA'				=> 'Populating the database tables with demo data (this may take a little while)',
267
-	'LBL_PERFORM_DONE'					=> 'done<br>',
268
-	'LBL_PERFORM_FINISH'				=> 'Finish',
269
-	'LBL_PERFORM_OUTRO_1'				=> 'The setup of SuiteCRM ',
270
-	'LBL_PERFORM_OUTRO_2'				=> ' is now complete!',
271
-	'LBL_PERFORM_OUTRO_3'				=> 'Total time: ',
272
-	'LBL_PERFORM_OUTRO_4'				=> ' seconds.',
273
-	'LBL_PERFORM_OUTRO_5'				=> 'Approximate memory used: ',
274
-	'LBL_PERFORM_OUTRO_6'				=> ' bytes.',
275
-	'LBL_PERFORM_SUCCESS'				=> 'Success!',
276
-	'LBL_PERFORM_TABLES'				=> 'Creating SuiteCRM application tables, audit tables and relationship metadata',
277
-	'LBL_PERFORM_TITLE'					=> 'Perform Setup',
278
-	'LBL_PRINT'							=> 'Print',
279
-	'LBL_REG_CONF_1'					=> 'Please complete the short form below to receive product announcements, training news, special offers and special event invitations from SuiteCRM. We do not sell, rent, share or otherwise distribute the information collected here to third parties.',
280
-	'LBL_REG_CONF_3'					=> 'Thank you for registering. Click on the Finish button to login to SuiteCRM. You will need to log in for the first time using the username "admin" and the password you entered in step 2.',
281
-	'LBL_REG_TITLE'						=> 'Registration',
282
-	'LBL_REQUIRED'						=> '* Required field',
283
-
284
-	'LBL_SITECFG_ADMIN_Name'            => 'SuiteCRM Application Admin Name',
285
-	'LBL_SITECFG_ADMIN_PASS_2'			=> 'Re-enter SuiteCRM Admin User Password',
286
-	'LBL_SITECFG_ADMIN_PASS'			=> 'SuiteCRM Admin User Password',
287
-	'LBL_SITECFG_APP_ID'				=> 'Application ID',
288
-	'LBL_SITECFG_CUSTOM_ID_DIRECTIONS'	=> 'If selected, you must provide an application ID to override the auto-generated ID. The ID ensures that sessions of one SuiteCRM instance are not used by other instances. If you have a cluster of SuiteCRM installations, they all must share the same application ID.',
289
-	'LBL_SITECFG_CUSTOM_ID'				=> 'Provide Your Own Application ID',
290
-	'LBL_SITECFG_CUSTOM_LOG_DIRECTIONS'	=> 'If selected, you must specify a log directory to override the default directory for the SuiteCRM log. Regardless of where the log file is located, access to it through a web browser will be restricted via an .htaccess redirect.',
291
-	'LBL_SITECFG_CUSTOM_LOG'			=> 'Use a Custom Log Directory',
292
-	'LBL_SITECFG_CUSTOM_SESSION_DIRECTIONS'	=> 'If selected, you must provide a secure folder for storing SuiteCRM session information. This can be done to prevent session data from being vulnerable on shared servers.',
293
-	'LBL_SITECFG_CUSTOM_SESSION'		=> 'Use a Custom Session Directory for SuiteCRM',
294
-	'LBL_SITECFG_FIX_ERRORS'			=> '<b>Please fix the following errors before proceeding:</b>',
295
-	'LBL_SITECFG_LOG_DIR'				=> 'Log Directory',
296
-	'LBL_SITECFG_SESSION_PATH'			=> 'Path to Session Directory<br>(must be writable)',
297
-	'LBL_SITECFG_SITE_SECURITY'			=> 'Select Security Options',
298
-	'LBL_SITECFG_SUGAR_UP_DIRECTIONS'	=> 'If selected, the system will periodically check for updated versions of the application.',
299
-	'LBL_SITECFG_SUGAR_UP'				=> 'Automatically Check For Updates?',
300
-	'LBL_SITECFG_SUGAR_UPDATES'			=> 'SuiteCRM Updates Config',
301
-	'LBL_SITECFG_TITLE'					=> 'Site Configuration',
302
-	'LBL_SITECFG_TITLE2'                => 'Identify Administration User',
303
-	'LBL_SITECFG_SECURITY_TITLE'        => 'Site Security',
304
-	'LBL_SITECFG_URL'					=> 'URL of SuiteCRM Instance',
305
-	'LBL_SITECFG_ANONSTATS'             => 'Send Anonymous Usage Statistics?',
306
-	'LBL_SITECFG_ANONSTATS_DIRECTIONS'  => 'If selected, SuiteCRM will send <b>anonymous</b> statistics about your installation to SuiteCRM Inc. every time your system checks for new versions. This information will help us better understand how the application is used and guide improvements to the product.',
307
-	'LBL_SITECFG_URL_MSG'               => 'Enter the URL that will be used to access the SuiteCRM instance after installation. The URL will also be used as a base for the URLs in the SuiteCRM application pages. The URL should include the web server or machine name or IP address.',
308
-	'LBL_SITECFG_SYS_NAME_MSG'          => 'Enter a name for your system. This name will be displayed in the browser title bar when users visit the SuiteCRM application.',
309
-	'LBL_SITECFG_PASSWORD_MSG'          => 'After installation, you will need to use the SuiteCRM admin user (default username = admin) to log in to the SuiteCRM instance. Enter a password for this administrator user. This password can be changed after the initial login. You may also enter another admin username to use besides the default value provided.',
310
-	'LBL_SITECFG_COLLATION_MSG'         => 'Select collation (sorting) settings for your system. This settings will create the tables with the specific language you use. In case your language doesn\'t require special settings please use default value.',
311
-	'LBL_SPRITE_SUPPORT'                => 'Sprite Support',
312
-	'LBL_SYSTEM_CREDS'                  => 'System Credentials',
313
-	'LBL_SYSTEM_ENV'                    => 'System Environment',
314
-	'LBL_START'							=> 'Start',
315
-	'LBL_SHOW_PASS'                     => 'Show Passwords',
316
-	'LBL_HIDE_PASS'                     => 'Hide Passwords',
317
-	'LBL_HIDDEN'                        => '<i>(hidden)</i>',
318
-	'LBL_STEP1' => 'Step 1 of 2 - Pre-Installation requirements',
319
-	'LBL_STEP2' => 'Step 2 of 2 - Configuration',
320
-	'LBL_STEP'							=> 'Step',
321
-	'LBL_TITLE_WELCOME'					=> 'Welcome to the SuiteCRM ',
322
-	//welcome page variables
323
-	'LBL_TITLE_ARE_YOU_READY'            => 'Are you ready to install?',
324
-	'REQUIRED_SYS_COMP' => 'Required System Components',
325
-	'REQUIRED_SYS_COMP_MSG' =>
326
-		'Before you begin, please be sure that you have the supported versions of the following system components:<br>
46
+    'LBL_BASIC_SEARCH'					=> 'Quick Filter',
47
+    'LBL_ADVANCED_SEARCH'				=> 'Advanced Filter',
48
+    'LBL_BASIC_TYPE'					=> 'Basic Type',
49
+    'LBL_ADVANCED_TYPE'					=> 'Advanced Type',
50
+    'LBL_SYSOPTS_2'                     => 'What type of database will be used for the SuiteCRM instance you are about to install?',
51
+    'LBL_SYSOPTS_DB'					=> 'Specify Database Type',
52
+    'LBL_SYSOPTS_DB_TITLE'              => 'Database Type',
53
+    'LBL_SYSOPTS_ERRS_TITLE'			=> 'Please fix the following errors before proceeding:',
54
+    'ERR_DB_VERSION_FAILURE'			=> 'Unable to check database version.',
55
+    'DEFAULT_CHARSET'					=> 'UTF-8',
56
+    'ERR_ADMIN_USER_NAME_BLANK'         => 'Provide the user name for the SuiteCRM admin user. ',
57
+    'ERR_ADMIN_PASS_BLANK'				=> 'Provide the password for the SuiteCRM admin user. ',
58
+
59
+    'ERR_CHECKSYS'                      => 'Errors have been detected during compatibility check. In order for your SuiteCRM Installation to function properly, please take the proper steps to address the issues listed below and either press the recheck button, or try installing again.',
60
+    'ERR_CHECKSYS_CALL_TIME'            => 'Allow Call Time Pass Reference is On (this should be set to Off in php.ini)',
61
+    'ERR_CHECKSYS_CURL'					=> 'Not found: SuiteCRM Scheduler will run with limited functionality.',
62
+    'ERR_CHECKSYS_IMAP'					=> 'Not found: InboundEmail and Campaigns (Email) require the IMAP libraries. Neither will be functional.',
63
+    'ERR_CHECKSYS_MEM_LIMIT_1'			=> ' (Set this to ',
64
+    'ERR_CHECKSYS_MEM_LIMIT_2'			=> 'M or larger in your php.ini file)',
65
+    'ERR_CHECKSYS_NOT_WRITABLE'			=> 'Warning: Not Writable',
66
+    'ERR_CHECKSYS_PHP_INVALID_VER'		=> 'Your version of PHP is not supported by SuiteCRM. You will need to install a version that is compatible with the SuiteCRM application. Please consult the Compatibility Matrix in the Release Notes for supported PHP Versions. Your version is ',
67
+    'ERR_CHECKSYS_IIS_INVALID_VER'      => 'Your version of IIS is not supported by SuiteCRM. You will need to install a version that is compatible with the SuiteCRM application. Please consult the Compatibility Matrix in the Release Notes for supported IIS Versions. Your version is ',
68
+    'ERR_CHECKSYS_FASTCGI'              => 'We detect that you are not using a FastCGI handler mapping for PHP. You will need to install/configure a version that is compatible with the SuiteCRM application. Please consult the Compatibility Matrix in the Release Notes for supported Versions. Please see <a href="http://www.iis.net/php/" target="_blank">http://www.iis.net/php/</a> for details ',
69
+    'ERR_CHECKSYS_FASTCGI_LOGGING'      => 'For optimal experience using IIS/FastCGI sapi, set fastcgi.logging to 0 in your php.ini file.',
70
+    'LBL_DB_UNAVAILABLE'                => 'Database unavailable',
71
+    'LBL_CHECKSYS_DB_SUPPORT_NOT_AVAILABLE' => 'Database Support was not found. Please make sure you have the necessary drivers for one of the following supported Database Types: MySQL or MS SQLServer. You might need to uncomment the extension in the php.ini file, or recompile with the right binary file, depending on your version of PHP. Please refer to your PHP Manual for more information on how to enable Database Support.',
72
+    'LBL_CHECKSYS_XML_NOT_AVAILABLE'        => 'Functions associated with XML Parser Libraries that are needed by the SuiteCRM application were not found. You might need to uncomment the extension in the  php.ini file, or recompile with the right binary file, depending on your version of PHP. Please refer to your PHP Manual for more information.',
73
+    'ERR_CHECKSYS_MBSTRING'             => 'Functions associated with the Multibyte Strings PHP extension (mbstring) that are needed by the SuiteCRM application were not found. <br/><br/>Generally, the mbstring module is not enabled by default in PHP and must be activated with --enable-mbstring when the PHP binary is built. Please refer to your PHP Manual for more information on how to enable mbstring support.',
74
+    'ERR_CHECKSYS_CONFIG_NOT_WRITABLE'  => 'The config file exists but is not writeable. Please take the necessary steps to make the file writeable. Depending on your Operating system, this might require you to change the permissions by running chmod 766, or to right click on the filename to access the properties and uncheck the read only option.',
75
+    'ERR_CHECKSYS_CONFIG_OVERRIDE_NOT_WRITABLE'  => 'The config override file exists but is not writeable. Please take the necessary steps to make the file writeable. Depending on your Operating system, this might require you to change the permissions by running chmod 766, or to right click on the filename to access the properties and uncheck the read only option.',
76
+    'ERR_CHECKSYS_CUSTOM_NOT_WRITABLE'  => 'The Custom Directory exists but is not writeable. You may have to change permissions on it (chmod 766) or right click on it and uncheck the read only option, depending on your Operating System. Please take the needed steps to make the file writeable.',
77
+    'ERR_CHECKSYS_FILES_NOT_WRITABLE'   => "The files or directories listed below are not writeable or are missing and cannot be created. Depending on your Operating System, correcting this may require you to change permissions on the files or parent directory (chmod 755), or to right click on the parent directory and uncheck the 'read only' option and apply it to all subfolders.",
78
+    'LBL_CHECKSYS_OVERRIDE_CONFIG' => 'Config override',
79
+    'ERR_CHECKSYS_SAFE_MODE'			=> 'Safe Mode is On (you may wish to disable in php.ini)',
80
+    'ERR_CHECKSYS_ZLIB'					=> 'ZLib support not found: SuiteCRM reaps enormous performance benefits with zlib compression.',
81
+    'ERR_CHECKSYS_ZIP'					=> 'ZIP support not found: SuiteCRM needs ZIP support in order to process compressed files.',
82
+    'ERR_CHECKSYS_PCRE'					=> 'PCRE library not found: SuiteCRM needs PCRE library in order to process Perl style of regular expression pattern matching.',
83
+    'ERR_CHECKSYS_PCRE_VER'				=> 'PCRE library version: SuiteCRM needs PCRE library 7.0 or above to process Perl style of regular expression pattern matching.',
84
+    'ERR_DB_ADMIN'						=> 'The provided database administrator username and/or password is invalid, and a connection to the database could not be established. Please enter a valid user name and password. (Error: ',
85
+    'ERR_DB_ADMIN_MSSQL'                => 'The provided database administrator username and/or password is invalid, and a connection to the database could not be established. Please enter a valid user name and password.',
86
+    'ERR_DB_EXISTS_NOT'					=> 'The specified database does not exist.',
87
+    'ERR_DB_EXISTS_WITH_CONFIG'			=> 'Database already exists with config data. To run an install with the chosen database, please re-run the install and choose: "Drop and recreate existing SuiteCRM tables?"  To upgrade, use the Upgrade Wizard in the Admin Console. Please read the upgrade documentation located <a href="http://www.suitecrm.com" target="_new">here</a>.',
88
+    'ERR_DB_EXISTS'						=> 'The provided Database Name already exists -- cannot create another one with the same name.',
89
+    'ERR_DB_EXISTS_PROCEED'             => 'The provided Database Name already exists. You can<br>1. hit the back button and choose a new database name <br>2. click next and continue but all existing tables on this database will be dropped. <strong>This means your tables and data will be blown away.</strong>',
90
+    'ERR_DB_HOSTNAME'					=> 'Host name cannot be blank.',
91
+    'ERR_DB_INVALID'					=> 'Invalid database type selected.',
92
+    'ERR_DB_LOGIN_FAILURE'				=> 'The provided database host, username, and/or password is invalid, and a connection to the database could not be established. Please enter a valid host, username and password',
93
+    'ERR_DB_LOGIN_FAILURE_MYSQL'		=> 'The provided database host, username, and/or password is invalid, and a connection to the database could not be established. Please enter a valid host, username and password',
94
+    'ERR_DB_LOGIN_FAILURE_MSSQL'		=> 'The provided database host, username, and/or password is invalid, and a connection to the database could not be established. Please enter a valid host, username and password',
95
+    'ERR_DB_MYSQL_VERSION'				=> 'Your MySQL version (%s) is not supported by SuiteCRM. You will need to install a version that is compatible with the SuiteCRM application. Please consult the Compatibility Matrix in the Release Notes for supported MySQL versions.',
96
+    'ERR_DB_NAME'						=> 'Database name cannot be blank.',
97
+    'ERR_DB_MYSQL_DB_NAME_INVALID'      => "Database name cannot contain a '\\', '/', or '.'",
98
+    'ERR_DB_MSSQL_DB_NAME_INVALID'      => "Database name cannot begin with a number, '#', or '@' and cannot contain a space, '\"', \"'\", '*', '/', '\', '?', ':', '<', '>', '&', '!', or '-'",
99
+    'ERR_DB_OCI8_DB_NAME_INVALID'       => "Database name can only consist of alphanumeric characters and the symbols '#', '_' or '$'",
100
+    'ERR_DB_PASSWORD'					=> 'The passwords provided for the SuiteCRM database administrator do not match. Please re-enter the same passwords in the password fields.',
101
+    'ERR_DB_PRIV_USER'					=> 'Provide a database administrator user name. The user is required for the initial connection to the database.',
102
+    'ERR_DB_USER_EXISTS'				=> 'User name for SuiteCRM database user already exists -- cannot create another one with the same name. Please enter a new user name.',
103
+    'ERR_DB_USER'						=> 'Enter a user name for the SuiteCRM database administrator.',
104
+    'ERR_DBCONF_VALIDATION'				=> 'Please fix the following errors before proceeding:',
105
+    'ERR_DBCONF_PASSWORD_MISMATCH'      => 'The passwords provided for the SuiteCRM database user do not match. Please re-enter the same passwords in the password fields.',
106
+    'ERR_ERROR_GENERAL'					=> 'The following errors were encountered:',
107
+    'ERR_LANG_CANNOT_DELETE_FILE'		=> 'Cannot delete file: ',
108
+    'ERR_LANG_MISSING_FILE'				=> 'Cannot find file: ',
109
+    'ERR_LANG_NO_LANG_FILE'			 	=> 'No language pack file found at include/language inside: ',
110
+    'ERR_LANG_UPLOAD_1'					=> 'There was a problem with your upload. Please try again.',
111
+    'ERR_LANG_UPLOAD_2'					=> 'Language Packs must be ZIP archives.',
112
+    'ERR_LANG_UPLOAD_3'					=> 'PHP could not move the temp file to the upgrade directory.',
113
+    'ERR_LOG_DIRECTORY_NOT_EXISTS'		=> 'Log directory provided is not a valid directory.',
114
+    'ERR_LOG_DIRECTORY_NOT_WRITABLE'	=> 'Log directory provided is not a writable directory.',
115
+    'ERR_NO_DIRECT_SCRIPT'				=> 'Unable to process script directly.',
116
+    'ERR_NO_SINGLE_QUOTE'				=> 'Cannot use the single quotation mark for ',
117
+    'ERR_PASSWORD_MISMATCH'				=> 'The passwords provided for the SuiteCRM admin user do not match. Please re-enter the same passwords in the password fields.',
118
+    'ERR_PERFORM_CONFIG_PHP_1'			=> 'Cannot write to the <span class=stop>config.php</span> file.',
119
+    'ERR_PERFORM_CONFIG_PHP_2'			=> 'You can continue this installation by manually creating the config.php file and pasting the configuration information below into the config.php file. However, you <strong>must </strong>create the config.php file before you continue to the next step.',
120
+    'ERR_PERFORM_CONFIG_PHP_3'			=> 'Did you remember to create the config.php file?',
121
+    'ERR_PERFORM_CONFIG_PHP_4'			=> 'Warning: Could not write to config.php file. Please ensure it exists.',
122
+    'ERR_PERFORM_HTACCESS_1'			=> 'Cannot write to the ',
123
+    'ERR_PERFORM_HTACCESS_2'			=> ' file.',
124
+    'ERR_PERFORM_HTACCESS_3'			=> 'If you want to secure your log file from being accessible via browser, create an .htaccess file in your log directory with the line:',
125
+    'ERR_PERFORM_NO_TCPIP'				=> '<b>We could not detect an Internet connection.</b> When you do have a connection, please visit <a href="http://www.suitecrm.com/">http://www.suitecrm.com/</a> to register with SuiteCRM. By letting us know a little bit about how your company plans to use SuiteCRM, we can ensure we are always delivering the right application for your business needs.',
126
+    'ERR_SESSION_DIRECTORY_NOT_EXISTS'	=> 'Session directory provided is not a valid directory.',
127
+    'ERR_SESSION_DIRECTORY'				=> 'Session directory provided is not a writable directory.',
128
+    'ERR_SESSION_PATH'					=> 'Session path is required if you wish to specify your own.',
129
+    'ERR_SI_NO_CONFIG'					=> 'You did not include config_si.php in the document root, or you did not define $sugar_config_si in config.php',
130
+    'ERR_SITE_GUID'						=> 'Application ID is required if you wish to specify your own.',
131
+    'ERROR_SPRITE_SUPPORT'              => "Currently we are not able to locate the GD library, as a result you will not be able to use the CSS Sprite functionality.",
132
+    'ERR_UPLOAD_MAX_FILESIZE'			=> 'Warning: Your PHP configuration should be changed to allow files of at least 6MB to be uploaded.',
133
+    'LBL_UPLOAD_MAX_FILESIZE_TITLE'     => 'Upload File Size',
134
+    'ERR_URL_BLANK'						=> 'Provide the base URL for the SuiteCRM instance.',
135
+    'ERR_UW_NO_UPDATE_RECORD'			=> 'Could not locate installation record of',
136
+    'ERROR_FLAVOR_INCOMPATIBLE'			=> 'The uploaded file is not compatible with this flavor of SuiteCRM: ',
137
+    'ERROR_MANIFEST_TYPE'				=> 'Manifest file must specify the package type.',
138
+    'ERROR_PACKAGE_TYPE'				=> 'Manifest file specifies an unrecognized package type',
139
+    'ERROR_VERSION_INCOMPATIBLE'		=> 'The uploaded file is not compatible with this version of SuiteCRM: ',
140
+
141
+    'LBL_BACK'							=> 'Back',
142
+    'LBL_CANCEL'                        => 'Cancel',
143
+    'LBL_ACCEPT'                        => 'I Accept',
144
+    'LBL_CHECKSYS_CACHE'				=> 'Writable Cache Sub-Directories',
145
+    'LBL_DROP_DB_CONFIRM'               => 'The provided Database Name already exists.<br>You can either:<br>1. Click on the Cancel button and choose a new database name, or <br>2. Click the Accept button and continue. All existing tables in the database will be dropped. <strong>This means that all of the tables and pre-existing data will be blown away.</strong>',
146
+    'LBL_CHECKSYS_COMPONENT'			=> 'Component',
147
+    'LBL_CHECKSYS_CONFIG'				=> 'Writable SuiteCRM Configuration File (config.php)',
148
+    'LBL_CHECKSYS_CURL'					=> 'cURL Module',
149
+    'LBL_CHECKSYS_CUSTOM'				=> 'Writeable Custom Directory',
150
+    'LBL_CHECKSYS_DATA'					=> 'Writable Data Sub-Directories',
151
+    'LBL_CHECKSYS_IMAP'					=> 'IMAP Module',
152
+    'LBL_CHECKSYS_FASTCGI'             => 'FastCGI',
153
+    'LBL_CHECKSYS_MBSTRING'				=> 'MB Strings Module',
154
+    'LBL_CHECKSYS_MEM_OK'				=> 'OK (No Limit)',
155
+    'LBL_CHECKSYS_MEM_UNLIMITED'		=> 'OK (Unlimited)',
156
+    'LBL_CHECKSYS_MEM'					=> 'PHP Memory Limit',
157
+    'LBL_CHECKSYS_MODULE'				=> 'Writable Modules Sub-Directories and Files',
158
+    'LBL_CHECKSYS_NOT_AVAILABLE'		=> 'Not Available',
159
+    'LBL_CHECKSYS_OK'					=> 'OK',
160
+    'LBL_CHECKSYS_PHP_INI'				=> 'Location of your PHP configuration file (php.ini):',
161
+    'LBL_CHECKSYS_PHP_OK'				=> 'OK (ver ',
162
+    'LBL_CHECKSYS_PHPVER'				=> 'PHP Version',
163
+    'LBL_CHECKSYS_IISVER'               => 'IIS Version',
164
+    'LBL_CHECKSYS_RECHECK'				=> 'Re-check',
165
+    'LBL_CHECKSYS_STATUS'				=> 'Status',
166
+    'LBL_CHECKSYS_TITLE'				=> 'System Check Acceptance',
167
+    'LBL_CHECKSYS_XML'					=> 'XML Parsing',
168
+    'LBL_CHECKSYS_ZLIB'					=> 'ZLIB Compression Module',
169
+    'LBL_CHECKSYS_ZIP'					=> 'ZIP Handling Module',
170
+    'LBL_CHECKSYS_PCRE'					=> 'PCRE Library',
171
+    'LBL_CHECKSYS_FIX_FILES'            => 'Please fix the following files or directories before proceeding:',
172
+    'LBL_CHECKSYS_FIX_MODULE_FILES'     => 'Please fix the following module directories and the files under them before proceeding:',
173
+    'LBL_CHECKSYS_UPLOAD'               => 'Writable Upload Directory',
174
+    'LBL_CLOSE'							=> 'Close',
175
+    'LBL_THREE'                         => '3',
176
+    'LBL_CONFIRM_BE_CREATED'			=> 'be created',
177
+    'LBL_CONFIRM_DB_TYPE'				=> 'Database Type',
178
+    'LBL_CONFIRM_NOT'					=> 'not',
179
+    'LBL_CONFIRM_TITLE'					=> 'Confirm Settings',
180
+    'LBL_CONFIRM_WILL'					=> 'will',
181
+    'LBL_DBCONF_DB_DROP'                => 'Drop Tables',
182
+    'LBL_DBCONF_DB_NAME'				=> 'Database Name',
183
+    'LBL_DBCONF_DB_PASSWORD'			=> 'SuiteCRM Database User Password',
184
+    'LBL_DBCONF_DB_PASSWORD2'			=> 'Re-enter SuiteCRM Database User Password',
185
+    'LBL_DBCONF_DB_USER'				=> 'SuiteCRM Database User',
186
+    'LBL_DBCONF_SUGAR_DB_USER'          => 'SuiteCRM Database User',
187
+    'LBL_DBCONF_DB_ADMIN_USER'          => 'Database Administrator Username',
188
+    'LBL_DBCONF_DB_ADMIN_PASSWORD'      => 'Database Admin Password',
189
+    'LBL_DBCONF_DEMO_DATA'				=> 'Populate Database with Demo Data?',
190
+    'LBL_DBCONF_DEMO_DATA_TITLE'        => 'Choose Demo Data',
191
+    'LBL_DBCONF_HOST_NAME'				=> 'Host Name',
192
+    'LBL_DBCONF_HOST_INSTANCE'			=> 'Host Instance',
193
+    'LBL_DBCONFIG_SECURITY'             => 'For security purposes, you can specify an exclusive database user to connect to the SuiteCRM database. This user must be able to write, update and retrieve data on the SuiteCRM database that will be created for this instance. This user can be the database administrator specified above, or you can provide new or existing database user information.',
194
+    'LBL_DBCONFIG_PROVIDE_DD'           => 'Provide existing user',
195
+    'LBL_DBCONFIG_CREATE_DD'            => 'Define user to create',
196
+    'LBL_DBCONFIG_SAME_DD'              => 'Same as Admin User',
197
+    'LBL_DBCONF_TITLE'					=> 'Database Configuration',
198
+    'LBL_DBCONF_TITLE_NAME'             => 'Provide Database Name',
199
+    'LBL_DBCONF_TITLE_USER_INFO'        => 'Provide Database User Information',
200
+    'LBL_DBCONF_TITLE_PSWD_INFO_LABEL' => 'Password',
201
+    'LBL_DISABLED_DESCRIPTION_2'		=> 'After this change has been made, you may click the "Start" button below to begin your installation. <i>After the installation is complete, you will want to change the value for \'installer_locked\' to \'true\'.</i>',
202
+    'LBL_DISABLED_DESCRIPTION'			=> 'The installer has already been run once. As a safety measure, it has been disabled from running a second time. If you are absolutely sure you want to run it again, please go to your config.php file and locate (or add) a variable called \'installer_locked\' and set it to \'false\'. The line should look like this:',
203
+    'LBL_DISABLED_HELP_1'				=> 'For installation help, please visit the SuiteCRM',
204
+    'LBL_DISABLED_HELP_LNK'             => 'http://www.suitecrm.com/forum/index',
205
+    'LBL_DISABLED_HELP_2'				=> 'support forums',
206
+    'LBL_DISABLED_TITLE_2'				=> 'SuiteCRM Installation has been Disabled',
207
+    'LBL_HELP'							=> 'Help',
208
+    'LBL_INSTALL'                       => 'Install',
209
+    'LBL_INSTALL_TYPE_TITLE'            => 'Installation Options',
210
+    'LBL_INSTALL_TYPE_SUBTITLE'         => 'Choose Install Type',
211
+    'LBL_INSTALL_TYPE_TYPICAL'          => ' <b>Typical Install</b>',
212
+    'LBL_INSTALL_TYPE_CUSTOM'           => ' <b>Custom Install</b>',
213
+    'LBL_INSTALL_TYPE_MSG2'             => 'Requires minimum information for the installation. Recommended for new users.',
214
+    'LBL_INSTALL_TYPE_MSG3'             => 'Provides additional options to set during the installation. Most of these options are also available after installation in the admin screens. Recommended for advanced users.',
215
+    'LBL_LANG_1'						=> 'To use a language in SuiteCRM other than the default language (US-English), you can upload and install the language pack at this time. You will be able to upload and install language packs from within the SuiteCRM application as well. If you would like to skip this step, click Next.',
216
+    'LBL_LANG_BUTTON_COMMIT'			=> 'Install',
217
+    'LBL_LANG_BUTTON_REMOVE'			=> 'Remove',
218
+    'LBL_LANG_BUTTON_UNINSTALL'			=> 'Uninstall',
219
+    'LBL_LANG_BUTTON_UPLOAD'			=> 'Upload',
220
+    'LBL_LANG_NO_PACKS'					=> 'none',
221
+    'LBL_LANG_PACK_INSTALLED'			=> 'The following language packs have been installed: ',
222
+    'LBL_LANG_PACK_READY'				=> 'The following language packs are ready to be installed: ',
223
+    'LBL_LANG_SUCCESS'					=> 'The language pack was successfully uploaded.',
224
+    'LBL_LANG_TITLE'			   		=> 'Language Pack',
225
+    'LBL_LAUNCHING_SILENT_INSTALL'     => 'Installing SuiteCRM now. This may take up to a few minutes.',
226
+    'LBL_LANG_UPLOAD'					=> 'Upload a Language Pack',
227
+    'LBL_LICENSE_ACCEPTANCE'			=> 'License Acceptance',
228
+    'LBL_LICENSE_CHECKING'              => 'Checking system for compatibility.',
229
+    'LBL_LICENSE_CHKENV_HEADER'         => 'Checking Environment',
230
+    'LBL_LICENSE_CHKDB_HEADER'          => 'Verifying DB Credentials.',
231
+    'LBL_LICENSE_CHECK_PASSED'          => 'System passed check for compatibility.',
232
+    'LBL_CREATE_CACHE' => 'Preparing to Install...',
233
+    'LBL_LICENSE_REDIRECT'              => 'Redirecting in ',
234
+    'LBL_LICENSE_I_ACCEPT'				=> 'I Accept',
235
+    'LBL_LICENSE_PRINTABLE'				=> ' Printable View ',
236
+    'LBL_PRINT_SUMM'                    => 'Print Summary',
237
+    'LBL_LICENSE_TITLE_2'				=> 'SuiteCRM License',
238
+
239
+    'LBL_LOCALE_NAME_FIRST'				=> 'David',
240
+    'LBL_LOCALE_NAME_LAST'				=> 'Livingstone',
241
+    'LBL_LOCALE_NAME_SALUTATION'		=> 'Dr.',
242
+
243
+    'LBL_ML_ACTION'						=> 'Action',
244
+    'LBL_ML_DESCRIPTION'				=> 'Description',
245
+    'LBL_ML_INSTALLED'					=> 'Date Installed',
246
+    'LBL_ML_NAME'						=> 'Name',
247
+    'LBL_ML_PUBLISHED'					=> 'Date Published',
248
+    'LBL_ML_TYPE'						=> 'Type',
249
+    'LBL_ML_UNINSTALLABLE'				=> 'Uninstallable',
250
+    'LBL_ML_VERSION'					=> 'Version',
251
+    'LBL_MSSQL'							=> 'SQL Server',
252
+    'LBL_MSSQL2'                        => 'SQL Server (FreeTDS)',
253
+    'LBL_MSSQL_SQLSRV'				    => 'SQL Server (Microsoft SQL Server Driver for PHP)',
254
+    'LBL_MYSQL'							=> 'MySQL',
255
+    'LBL_MYSQLI'						=> 'MySQL (mysqli extension)',
256
+    'LBL_NEXT'							=> 'Next',
257
+    'LBL_NO'							=> 'No',
258
+    'LBL_PERFORM_ADMIN_PASSWORD'		=> 'Setting site admin password',
259
+    'LBL_PERFORM_CONFIG_PHP'			=> 'Creating SuiteCRM configuration file',
260
+    'LBL_PERFORM_CREATE_DB_1'			=> '<b>Creating the database</b> ',
261
+    'LBL_PERFORM_CREATE_DB_2'			=> ' <b>on</b> ',
262
+    'LBL_PERFORM_CREATE_DB_USER'		=> 'Creating the Database username and password...',
263
+    'LBL_PERFORM_CREATE_DEFAULT'		=> 'Creating default SuiteCRM data',
264
+    'LBL_PERFORM_DEFAULT_SCHEDULER'		=> 'Creating default scheduler jobs',
265
+    'LBL_PERFORM_DEFAULT_USERS'			=> 'Creating default users',
266
+    'LBL_PERFORM_DEMO_DATA'				=> 'Populating the database tables with demo data (this may take a little while)',
267
+    'LBL_PERFORM_DONE'					=> 'done<br>',
268
+    'LBL_PERFORM_FINISH'				=> 'Finish',
269
+    'LBL_PERFORM_OUTRO_1'				=> 'The setup of SuiteCRM ',
270
+    'LBL_PERFORM_OUTRO_2'				=> ' is now complete!',
271
+    'LBL_PERFORM_OUTRO_3'				=> 'Total time: ',
272
+    'LBL_PERFORM_OUTRO_4'				=> ' seconds.',
273
+    'LBL_PERFORM_OUTRO_5'				=> 'Approximate memory used: ',
274
+    'LBL_PERFORM_OUTRO_6'				=> ' bytes.',
275
+    'LBL_PERFORM_SUCCESS'				=> 'Success!',
276
+    'LBL_PERFORM_TABLES'				=> 'Creating SuiteCRM application tables, audit tables and relationship metadata',
277
+    'LBL_PERFORM_TITLE'					=> 'Perform Setup',
278
+    'LBL_PRINT'							=> 'Print',
279
+    'LBL_REG_CONF_1'					=> 'Please complete the short form below to receive product announcements, training news, special offers and special event invitations from SuiteCRM. We do not sell, rent, share or otherwise distribute the information collected here to third parties.',
280
+    'LBL_REG_CONF_3'					=> 'Thank you for registering. Click on the Finish button to login to SuiteCRM. You will need to log in for the first time using the username "admin" and the password you entered in step 2.',
281
+    'LBL_REG_TITLE'						=> 'Registration',
282
+    'LBL_REQUIRED'						=> '* Required field',
283
+
284
+    'LBL_SITECFG_ADMIN_Name'            => 'SuiteCRM Application Admin Name',
285
+    'LBL_SITECFG_ADMIN_PASS_2'			=> 'Re-enter SuiteCRM Admin User Password',
286
+    'LBL_SITECFG_ADMIN_PASS'			=> 'SuiteCRM Admin User Password',
287
+    'LBL_SITECFG_APP_ID'				=> 'Application ID',
288
+    'LBL_SITECFG_CUSTOM_ID_DIRECTIONS'	=> 'If selected, you must provide an application ID to override the auto-generated ID. The ID ensures that sessions of one SuiteCRM instance are not used by other instances. If you have a cluster of SuiteCRM installations, they all must share the same application ID.',
289
+    'LBL_SITECFG_CUSTOM_ID'				=> 'Provide Your Own Application ID',
290
+    'LBL_SITECFG_CUSTOM_LOG_DIRECTIONS'	=> 'If selected, you must specify a log directory to override the default directory for the SuiteCRM log. Regardless of where the log file is located, access to it through a web browser will be restricted via an .htaccess redirect.',
291
+    'LBL_SITECFG_CUSTOM_LOG'			=> 'Use a Custom Log Directory',
292
+    'LBL_SITECFG_CUSTOM_SESSION_DIRECTIONS'	=> 'If selected, you must provide a secure folder for storing SuiteCRM session information. This can be done to prevent session data from being vulnerable on shared servers.',
293
+    'LBL_SITECFG_CUSTOM_SESSION'		=> 'Use a Custom Session Directory for SuiteCRM',
294
+    'LBL_SITECFG_FIX_ERRORS'			=> '<b>Please fix the following errors before proceeding:</b>',
295
+    'LBL_SITECFG_LOG_DIR'				=> 'Log Directory',
296
+    'LBL_SITECFG_SESSION_PATH'			=> 'Path to Session Directory<br>(must be writable)',
297
+    'LBL_SITECFG_SITE_SECURITY'			=> 'Select Security Options',
298
+    'LBL_SITECFG_SUGAR_UP_DIRECTIONS'	=> 'If selected, the system will periodically check for updated versions of the application.',
299
+    'LBL_SITECFG_SUGAR_UP'				=> 'Automatically Check For Updates?',
300
+    'LBL_SITECFG_SUGAR_UPDATES'			=> 'SuiteCRM Updates Config',
301
+    'LBL_SITECFG_TITLE'					=> 'Site Configuration',
302
+    'LBL_SITECFG_TITLE2'                => 'Identify Administration User',
303
+    'LBL_SITECFG_SECURITY_TITLE'        => 'Site Security',
304
+    'LBL_SITECFG_URL'					=> 'URL of SuiteCRM Instance',
305
+    'LBL_SITECFG_ANONSTATS'             => 'Send Anonymous Usage Statistics?',
306
+    'LBL_SITECFG_ANONSTATS_DIRECTIONS'  => 'If selected, SuiteCRM will send <b>anonymous</b> statistics about your installation to SuiteCRM Inc. every time your system checks for new versions. This information will help us better understand how the application is used and guide improvements to the product.',
307
+    'LBL_SITECFG_URL_MSG'               => 'Enter the URL that will be used to access the SuiteCRM instance after installation. The URL will also be used as a base for the URLs in the SuiteCRM application pages. The URL should include the web server or machine name or IP address.',
308
+    'LBL_SITECFG_SYS_NAME_MSG'          => 'Enter a name for your system. This name will be displayed in the browser title bar when users visit the SuiteCRM application.',
309
+    'LBL_SITECFG_PASSWORD_MSG'          => 'After installation, you will need to use the SuiteCRM admin user (default username = admin) to log in to the SuiteCRM instance. Enter a password for this administrator user. This password can be changed after the initial login. You may also enter another admin username to use besides the default value provided.',
310
+    'LBL_SITECFG_COLLATION_MSG'         => 'Select collation (sorting) settings for your system. This settings will create the tables with the specific language you use. In case your language doesn\'t require special settings please use default value.',
311
+    'LBL_SPRITE_SUPPORT'                => 'Sprite Support',
312
+    'LBL_SYSTEM_CREDS'                  => 'System Credentials',
313
+    'LBL_SYSTEM_ENV'                    => 'System Environment',
314
+    'LBL_START'							=> 'Start',
315
+    'LBL_SHOW_PASS'                     => 'Show Passwords',
316
+    'LBL_HIDE_PASS'                     => 'Hide Passwords',
317
+    'LBL_HIDDEN'                        => '<i>(hidden)</i>',
318
+    'LBL_STEP1' => 'Step 1 of 2 - Pre-Installation requirements',
319
+    'LBL_STEP2' => 'Step 2 of 2 - Configuration',
320
+    'LBL_STEP'							=> 'Step',
321
+    'LBL_TITLE_WELCOME'					=> 'Welcome to the SuiteCRM ',
322
+    //welcome page variables
323
+    'LBL_TITLE_ARE_YOU_READY'            => 'Are you ready to install?',
324
+    'REQUIRED_SYS_COMP' => 'Required System Components',
325
+    'REQUIRED_SYS_COMP_MSG' =>
326
+        'Before you begin, please be sure that you have the supported versions of the following system components:<br>
327 327
                       <ul>
328 328
                       <li> Database/Database Management System (Examples: MariaDB, MySQL or SQL Server)</li>
329 329
                       <li> Web Server (Apache, IIS)</li>
330 330
                       </ul>
331 331
                       Consult the Compatibility Matrix in the Release Notes for
332 332
                       compatible system components for the SuiteCRM version that you are installing.<br>',
333
-	'REQUIRED_SYS_CHK' => 'Initial System Check',
334
-	'REQUIRED_SYS_CHK_MSG' =>
335
-		'When you begin the installation process, a system check will be performed on the web server on which the SuiteCRM files are located in order to
333
+    'REQUIRED_SYS_CHK' => 'Initial System Check',
334
+    'REQUIRED_SYS_CHK_MSG' =>
335
+        'When you begin the installation process, a system check will be performed on the web server on which the SuiteCRM files are located in order to
336 336
                       make sure the system is configured properly and has all of the necessary components
337 337
                       to successfully complete the installation. <br><br>
338 338
                       The system checks all of the following:<br>
@@ -354,9 +354,9 @@  discard block
 block discarded – undo
354 354
 
355 355
 
356 356
 
357
-	'REQUIRED_INSTALLTYPE' => 'Typical or Custom install',
358
-	'REQUIRED_INSTALLTYPE_MSG' =>
359
-		'After the system check is performed, you can choose either
357
+    'REQUIRED_INSTALLTYPE' => 'Typical or Custom install',
358
+    'REQUIRED_INSTALLTYPE_MSG' =>
359
+        'After the system check is performed, you can choose either
360 360
                       the Typical or the Custom installation.<br><br>
361 361
                       For both <b>Typical</b> and <b>Custom</b> installations, you will need to know the following:<br>
362 362
                       <ul>
@@ -398,40 +398,40 @@  discard block
 block discarded – undo
398 398
                                   <li><b>Character Set</b> most commonly used in your locale.<br><br></li></ul>
399 399
                                   For more detailed information, please consult the Installation Guide.
400 400
                                 ',
401
-	'LBL_WELCOME_PLEASE_READ_BELOW' => 'Please read the following important information before proceeding with the installation. The information will help you determine whether or not you are ready to install the application at this time.',
402
-
403
-	'LBL_WELCOME_CHOOSE_LANGUAGE'		=> '<b>Choose your language</b>',
404
-	'LBL_WELCOME_SETUP_WIZARD'			=> 'Setup Wizard',
405
-	'LBL_WIZARD_TITLE'					=> 'SuiteCRM Setup Wizard: ',
406
-	'LBL_YES'							=> 'Yes',
407
-
408
-	'LBL_PATCHES_TITLE'     => 'Install Latest Patches',
409
-	'LBL_MODULE_TITLE'      => 'Install Language Packs',
410
-	'LBL_PATCH_1'           => 'If you would like to skip this step, click Next.',
411
-	'LBL_PATCH_TITLE'       => 'System Patch',
412
-	'LBL_PATCH_READY'       => 'The following patch(es) are ready to be installed:',
413
-	'LBL_SESSION_ERR_DESCRIPTION'		=> "SuiteCRM relies upon PHP sessions to store important information while connected to this web server. Your PHP installation does not have the Session information correctly configured.
401
+    'LBL_WELCOME_PLEASE_READ_BELOW' => 'Please read the following important information before proceeding with the installation. The information will help you determine whether or not you are ready to install the application at this time.',
402
+
403
+    'LBL_WELCOME_CHOOSE_LANGUAGE'		=> '<b>Choose your language</b>',
404
+    'LBL_WELCOME_SETUP_WIZARD'			=> 'Setup Wizard',
405
+    'LBL_WIZARD_TITLE'					=> 'SuiteCRM Setup Wizard: ',
406
+    'LBL_YES'							=> 'Yes',
407
+
408
+    'LBL_PATCHES_TITLE'     => 'Install Latest Patches',
409
+    'LBL_MODULE_TITLE'      => 'Install Language Packs',
410
+    'LBL_PATCH_1'           => 'If you would like to skip this step, click Next.',
411
+    'LBL_PATCH_TITLE'       => 'System Patch',
412
+    'LBL_PATCH_READY'       => 'The following patch(es) are ready to be installed:',
413
+    'LBL_SESSION_ERR_DESCRIPTION'		=> "SuiteCRM relies upon PHP sessions to store important information while connected to this web server. Your PHP installation does not have the Session information correctly configured.
414 414
 											<br><br>A common misconfiguration is that the <b>'session.save_path'</b> directive is not pointing to a valid directory. <br>
415 415
 											<br> Please correct your <a target=_new href='http://us2.php.net/manual/en/ref.session.php'>PHP configuration</a> in the php.ini file located here below.",
416
-	'LBL_SESSION_ERR_TITLE'				=> 'PHP Sessions Configuration Error',
417
-	'LBL_SYSTEM_NAME'=>'System Name',
418
-	'LBL_COLLATION' => 'Collation Settings',
419
-	'LBL_REQUIRED_SYSTEM_NAME'=>'Provide a System Name for the SuiteCRM instance.',
420
-	'LBL_PATCH_UPLOAD' => 'Select a patch file from your local computer',
421
-	'LBL_INCOMPATIBLE_PHP_VERSION' => 'Php version 5 or above is required.',
422
-	'LBL_MINIMUM_PHP_VERSION' => 'Minimum Php version required is 5.1.0. Recommended Php version is 5.2.x.',
423
-	'LBL_YOUR_PHP_VERSION' => '(Your current php version is ',
424
-	'LBL_RECOMMENDED_PHP_VERSION' =>' Recommended php version is 5.2.x)',
425
-	'LBL_BACKWARD_COMPATIBILITY_ON' => 'Php Backward Compatibility mode is turned on. Set zend.ze1_compatibility_mode to Off for proceeding further',
426
-	'LBL_STREAM' => 'PHP allows to use stream',
427
-
428
-	'advanced_password_new_account_email' => array(
429
-		'subject' => 'New account information',
430
-		'type' => 'system',
431
-		'description' => 'This template is used when the System Administrator sends a new password to a user.',
432
-		'body' => '<div><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width="550" align=\"\&quot;\&quot;center\&quot;\&quot;\"><tbody><tr><td colspan=\"2\"><p>Here is your account username and temporary password:</p><p>Username : $contact_user_user_name </p><p>Password : $contact_user_user_hash </p><br><p>$config_site_url</p><br><p>After you log in using the above password, you may be required to reset the password to one of your own choice.</p>   </td>         </tr><tr><td colspan=\"2\"></td>         </tr> </tbody></table> </div>',
433
-		'txt_body' =>
434
-			'
416
+    'LBL_SESSION_ERR_TITLE'				=> 'PHP Sessions Configuration Error',
417
+    'LBL_SYSTEM_NAME'=>'System Name',
418
+    'LBL_COLLATION' => 'Collation Settings',
419
+    'LBL_REQUIRED_SYSTEM_NAME'=>'Provide a System Name for the SuiteCRM instance.',
420
+    'LBL_PATCH_UPLOAD' => 'Select a patch file from your local computer',
421
+    'LBL_INCOMPATIBLE_PHP_VERSION' => 'Php version 5 or above is required.',
422
+    'LBL_MINIMUM_PHP_VERSION' => 'Minimum Php version required is 5.1.0. Recommended Php version is 5.2.x.',
423
+    'LBL_YOUR_PHP_VERSION' => '(Your current php version is ',
424
+    'LBL_RECOMMENDED_PHP_VERSION' =>' Recommended php version is 5.2.x)',
425
+    'LBL_BACKWARD_COMPATIBILITY_ON' => 'Php Backward Compatibility mode is turned on. Set zend.ze1_compatibility_mode to Off for proceeding further',
426
+    'LBL_STREAM' => 'PHP allows to use stream',
427
+
428
+    'advanced_password_new_account_email' => array(
429
+        'subject' => 'New account information',
430
+        'type' => 'system',
431
+        'description' => 'This template is used when the System Administrator sends a new password to a user.',
432
+        'body' => '<div><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width="550" align=\"\&quot;\&quot;center\&quot;\&quot;\"><tbody><tr><td colspan=\"2\"><p>Here is your account username and temporary password:</p><p>Username : $contact_user_user_name </p><p>Password : $contact_user_user_hash </p><br><p>$config_site_url</p><br><p>After you log in using the above password, you may be required to reset the password to one of your own choice.</p>   </td>         </tr><tr><td colspan=\"2\"></td>         </tr> </tbody></table> </div>',
433
+        'txt_body' =>
434
+            '
435 435
 Here is your account username and temporary password:
436 436
 Username : $contact_user_user_name
437 437
 Password : $contact_user_user_hash
@@ -439,120 +439,120 @@  discard block
 block discarded – undo
439 439
 $config_site_url
440 440
 
441 441
 After you log in using the above password, you may be required to reset the password to one of your own choice.',
442
-		'name' => 'System-generated password email',
443
-	),
444
-	'advanced_password_forgot_password_email' => array(
445
-		'subject' => 'Reset your account password',
446
-		'type' => 'system',
442
+        'name' => 'System-generated password email',
443
+    ),
444
+    'advanced_password_forgot_password_email' => array(
445
+        'subject' => 'Reset your account password',
446
+        'type' => 'system',
447 447
         'description' => "This template is used to send a user a link to click to reset the user's account password.",
448
-		'body' => '<div><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width="550" align=\"\&quot;\&quot;center\&quot;\&quot;\"><tbody><tr><td colspan=\"2\"><p>You recently requested on $contact_user_pwd_last_changed to be able to reset your account password. </p><p>Click on the link below to reset your password:</p><p> $contact_user_link_guid </p>  </td>         </tr><tr><td colspan=\"2\"></td>         </tr> </tbody></table> </div>',
449
-		'txt_body' =>
450
-			'
448
+        'body' => '<div><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width="550" align=\"\&quot;\&quot;center\&quot;\&quot;\"><tbody><tr><td colspan=\"2\"><p>You recently requested on $contact_user_pwd_last_changed to be able to reset your account password. </p><p>Click on the link below to reset your password:</p><p> $contact_user_link_guid </p>  </td>         </tr><tr><td colspan=\"2\"></td>         </tr> </tbody></table> </div>',
449
+        'txt_body' =>
450
+            '
451 451
 You recently requested on $contact_user_pwd_last_changed to be able to reset your account password.
452 452
 
453 453
 Click on the link below to reset your password:
454 454
 
455 455
 $contact_user_link_guid',
456
-		'name' => 'Forgot Password email',
457
-	),
458
-
459
-	// SMTP settings
460
-
461
-	'LBL_WIZARD_SMTP_DESC' => 'Provide the email account that will be used to send emails, such as the assignment notifications and new user passwords. Users will receive emails from SuiteCRM, as sent from the specified email account.',
462
-	'LBL_CHOOSE_EMAIL_PROVIDER'        => 'Choose your Email provider:',
463
-
464
-	'LBL_SMTPTYPE_GMAIL'                    => 'Gmail',
465
-	'LBL_SMTPTYPE_YAHOO'                    => 'Yahoo! Mail',
466
-	'LBL_SMTPTYPE_EXCHANGE'                 => 'Microsoft Exchange',
467
-	'LBL_SMTPTYPE_OTHER'                  => 'Other',
468
-	'LBL_MAIL_SMTP_SETTINGS'           => 'SMTP Server Specification',
469
-	'LBL_MAIL_SMTPSERVER'				=> 'SMTP Server:',
470
-	'LBL_MAIL_SMTPPORT'					=> 'SMTP Port:',
471
-	'LBL_MAIL_SMTPAUTH_REQ'				=> 'Use SMTP Authentication?',
472
-	'LBL_EMAIL_SMTP_SSL_OR_TLS'         => 'Enable SMTP over SSL or TLS?',
473
-	'LBL_GMAIL_SMTPUSER'					=> 'Gmail Email Address:',
474
-	'LBL_GMAIL_SMTPPASS'					=> 'Gmail Password:',
475
-	'LBL_ALLOW_DEFAULT_SELECTION'           => 'Allow users to use this account for outgoing email:',
476
-	'LBL_ALLOW_DEFAULT_SELECTION_HELP'          => 'When this option is selected, all users will be able to send emails using the same outgoing mail account used to send system notifications and alerts. If the option is not selected, users can still use the outgoing mail server after providing their own account information.',
477
-
478
-	'LBL_YAHOOMAIL_SMTPPASS'					=> 'Yahoo! Mail Password:',
479
-	'LBL_YAHOOMAIL_SMTPUSER'					=> 'Yahoo! Mail ID:',
480
-
481
-	'LBL_EXCHANGE_SMTPPASS'					=> 'Exchange Password:',
482
-	'LBL_EXCHANGE_SMTPUSER'					=> 'Exchange Username:',
483
-	'LBL_EXCHANGE_SMTPPORT'					=> 'Exchange Server Port:',
484
-	'LBL_EXCHANGE_SMTPSERVER'				=> 'Exchange Server:',
485
-
486
-
487
-	'LBL_MAIL_SMTPUSER'					=> 'SMTP Username:',
488
-	'LBL_MAIL_SMTPPASS'					=> 'SMTP Password:',
489
-
490
-	// Branding
491
-
492
-	'LBL_WIZARD_SYSTEM_TITLE' => 'Branding',
493
-	'LBL_WIZARD_SYSTEM_DESC' => 'Provide your organization\'s name and logo in order to brand your SuiteCRM.',
494
-	'SYSTEM_NAME_WIZARD'=>'Name:',
495
-	'SYSTEM_NAME_HELP'=>'This is the name that displays in the title bar of your browser.',
496
-	'NEW_LOGO'=>'Select Logo:',
497
-	'NEW_LOGO_HELP'=>'The image file format can be either .png or .jpg. The maximum height is 170px, and the maximum width is 450px. Any image uploaded that is larger in any direction will be scaled to these max dimensions.',
498
-	'COMPANY_LOGO_UPLOAD_BTN' => 'Upload',
499
-	'CURRENT_LOGO'=>'Current Logo:',
500
-	'CURRENT_LOGO_HELP'=>'This logo is displayed in the left-hand corner of the footer of the SuiteCRM application.',
501
-
502
-
503
-	//Scenario selection of modules
504
-	'LBL_WIZARD_SCENARIO_TITLE' => 'Scenario Selection',
505
-	'LBL_WIZARD_SCENARIO_DESC' => 'This is to allow tailoring of the displayed modules based on your requirements. Each of the modules can be enabled after install using the administration page.',
506
-	'LBL_WIZARD_SCENARIO_EMPTY'=> 'There are no scenarios currently set in the configuration file (config.php)',
507
-
508
-
509
-
510
-	// System Local Settings
511
-
512
-
513
-	'LBL_LOCALE_TITLE' => 'System Locale Settings',
514
-	'LBL_WIZARD_LOCALE_DESC' => 'Specify how you would like data in SuiteCRM to be displayed, based on your geographical location. The settings you provide here will be the default settings. Users will be able set their own preferences.',
515
-	'LBL_DATE_FORMAT' => 'Date Format:',
516
-	'LBL_TIME_FORMAT' => 'Time Format:',
517
-	'LBL_TIMEZONE' => 'Time Zone:',
518
-	'LBL_LANGUAGE'=>'Language:',
519
-	'LBL_CURRENCY'=>'Currency:',
520
-	'LBL_CURRENCY_SYMBOL'=>'Currency Symbol:',
521
-	'LBL_CURRENCY_ISO4217' => 'ISO 4217 Currency Code:',
522
-	'LBL_NUMBER_GROUPING_SEP' => '1000s separator:',
523
-	'LBL_DECIMAL_SEP' => 'Decimal symbol:',
524
-	'LBL_NAME_FORMAT' => 'Name Format:',
525
-	'UPLOAD_LOGO' => 'Please wait, logo uploading..',
526
-	'ERR_UPLOAD_FILETYPE' => 'File type do not allowed, please upload a jpeg or png.',
527
-	'ERR_LANG_UPLOAD_UNKNOWN' => 'Unknown file upload error occured.',
528
-	'ERR_UPLOAD_FILE_UPLOAD_ERR_INI_SIZE' => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
529
-	'ERR_UPLOAD_FILE_UPLOAD_ERR_FORM_SIZE' => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
530
-	'ERR_UPLOAD_FILE_UPLOAD_ERR_PARTIAL' => 'The uploaded file was only partially uploaded.',
531
-	'ERR_UPLOAD_FILE_UPLOAD_ERR_NO_FILE' => 'No file was uploaded.',
532
-	'ERR_UPLOAD_FILE_UPLOAD_ERR_NO_TMP_DIR' => 'Missing a temporary folder.',
533
-	'ERR_UPLOAD_FILE_UPLOAD_ERR_CANT_WRITE' => 'Failed to write file to disk.',
534
-	'ERR_UPLOAD_FILE_UPLOAD_ERR_EXTENSION' => 'A PHP extension stopped the file upload. PHP does not provide a way to ascertain which extension caused the file upload to stop.',
535
-
536
-	'LBL_INSTALL_PROCESS' => 'Install...',
537
-
538
-	'LBL_EMAIL_ADDRESS' => 'Email Address:',
539
-	'ERR_ADMIN_EMAIL' => 'Administrator Email Address is incorrect.',
540
-	'ERR_SITE_URL' => 'Site URL is required.',
541
-
542
-	'STAT_CONFIGURATION' => 'Configuration relationships...',
543
-	'STAT_CREATE_DB' => 'Create database...',
544
-	//'STAT_CREATE_DB_TABLE' => 'Create database... (table: %s)',
545
-	'STAT_CREATE_DEFAULT_SETTINGS' => 'Create default settings...',
546
-	'STAT_INSTALL_FINISH' => 'Install finish...',
547
-	'STAT_INSTALL_FINISH_LOGIN' => 'Installation process finished, <a href="%s">please log in...</a>',
548
-	'LBL_LICENCE_TOOLTIP' => 'Please accept license first',
549
-
550
-	'LBL_MORE_OPTIONS_TITLE' => 'More options',
551
-	'LBL_START' => '',
552
-	'LBL_DB_CONN_ERR' => 'Database error',
553
-	'LBL_OLD_PHP' => 'Old PHP Version Detected!',
554
-	'LBL_OLD_PHP_MSG' => 'The recommended PHP version to install SuiteCRM is %s <br />Although the minimum PHP version required is %s, is not recommended due to the large number of fixed bugs, including security fixes, released in the more modern versions.<br />You are using PHP version %s, which is EOL: <a href="http://php.net/eol.php">http://php.net/eol.php</a>.<br />Please consider upgrading your PHP version. Instructions on <a href="http://php.net/migration70">http://php.net/migration70</a>. ',
555
-	'LBL_OLD_PHP_OK' => 'I\'m aware of the risks and wish to continue.',
456
+        'name' => 'Forgot Password email',
457
+    ),
458
+
459
+    // SMTP settings
460
+
461
+    'LBL_WIZARD_SMTP_DESC' => 'Provide the email account that will be used to send emails, such as the assignment notifications and new user passwords. Users will receive emails from SuiteCRM, as sent from the specified email account.',
462
+    'LBL_CHOOSE_EMAIL_PROVIDER'        => 'Choose your Email provider:',
463
+
464
+    'LBL_SMTPTYPE_GMAIL'                    => 'Gmail',
465
+    'LBL_SMTPTYPE_YAHOO'                    => 'Yahoo! Mail',
466
+    'LBL_SMTPTYPE_EXCHANGE'                 => 'Microsoft Exchange',
467
+    'LBL_SMTPTYPE_OTHER'                  => 'Other',
468
+    'LBL_MAIL_SMTP_SETTINGS'           => 'SMTP Server Specification',
469
+    'LBL_MAIL_SMTPSERVER'				=> 'SMTP Server:',
470
+    'LBL_MAIL_SMTPPORT'					=> 'SMTP Port:',
471
+    'LBL_MAIL_SMTPAUTH_REQ'				=> 'Use SMTP Authentication?',
472
+    'LBL_EMAIL_SMTP_SSL_OR_TLS'         => 'Enable SMTP over SSL or TLS?',
473
+    'LBL_GMAIL_SMTPUSER'					=> 'Gmail Email Address:',
474
+    'LBL_GMAIL_SMTPPASS'					=> 'Gmail Password:',
475
+    'LBL_ALLOW_DEFAULT_SELECTION'           => 'Allow users to use this account for outgoing email:',
476
+    'LBL_ALLOW_DEFAULT_SELECTION_HELP'          => 'When this option is selected, all users will be able to send emails using the same outgoing mail account used to send system notifications and alerts. If the option is not selected, users can still use the outgoing mail server after providing their own account information.',
477
+
478
+    'LBL_YAHOOMAIL_SMTPPASS'					=> 'Yahoo! Mail Password:',
479
+    'LBL_YAHOOMAIL_SMTPUSER'					=> 'Yahoo! Mail ID:',
480
+
481
+    'LBL_EXCHANGE_SMTPPASS'					=> 'Exchange Password:',
482
+    'LBL_EXCHANGE_SMTPUSER'					=> 'Exchange Username:',
483
+    'LBL_EXCHANGE_SMTPPORT'					=> 'Exchange Server Port:',
484
+    'LBL_EXCHANGE_SMTPSERVER'				=> 'Exchange Server:',
485
+
486
+
487
+    'LBL_MAIL_SMTPUSER'					=> 'SMTP Username:',
488
+    'LBL_MAIL_SMTPPASS'					=> 'SMTP Password:',
489
+
490
+    // Branding
491
+
492
+    'LBL_WIZARD_SYSTEM_TITLE' => 'Branding',
493
+    'LBL_WIZARD_SYSTEM_DESC' => 'Provide your organization\'s name and logo in order to brand your SuiteCRM.',
494
+    'SYSTEM_NAME_WIZARD'=>'Name:',
495
+    'SYSTEM_NAME_HELP'=>'This is the name that displays in the title bar of your browser.',
496
+    'NEW_LOGO'=>'Select Logo:',
497
+    'NEW_LOGO_HELP'=>'The image file format can be either .png or .jpg. The maximum height is 170px, and the maximum width is 450px. Any image uploaded that is larger in any direction will be scaled to these max dimensions.',
498
+    'COMPANY_LOGO_UPLOAD_BTN' => 'Upload',
499
+    'CURRENT_LOGO'=>'Current Logo:',
500
+    'CURRENT_LOGO_HELP'=>'This logo is displayed in the left-hand corner of the footer of the SuiteCRM application.',
501
+
502
+
503
+    //Scenario selection of modules
504
+    'LBL_WIZARD_SCENARIO_TITLE' => 'Scenario Selection',
505
+    'LBL_WIZARD_SCENARIO_DESC' => 'This is to allow tailoring of the displayed modules based on your requirements. Each of the modules can be enabled after install using the administration page.',
506
+    'LBL_WIZARD_SCENARIO_EMPTY'=> 'There are no scenarios currently set in the configuration file (config.php)',
507
+
508
+
509
+
510
+    // System Local Settings
511
+
512
+
513
+    'LBL_LOCALE_TITLE' => 'System Locale Settings',
514
+    'LBL_WIZARD_LOCALE_DESC' => 'Specify how you would like data in SuiteCRM to be displayed, based on your geographical location. The settings you provide here will be the default settings. Users will be able set their own preferences.',
515
+    'LBL_DATE_FORMAT' => 'Date Format:',
516
+    'LBL_TIME_FORMAT' => 'Time Format:',
517
+    'LBL_TIMEZONE' => 'Time Zone:',
518
+    'LBL_LANGUAGE'=>'Language:',
519
+    'LBL_CURRENCY'=>'Currency:',
520
+    'LBL_CURRENCY_SYMBOL'=>'Currency Symbol:',
521
+    'LBL_CURRENCY_ISO4217' => 'ISO 4217 Currency Code:',
522
+    'LBL_NUMBER_GROUPING_SEP' => '1000s separator:',
523
+    'LBL_DECIMAL_SEP' => 'Decimal symbol:',
524
+    'LBL_NAME_FORMAT' => 'Name Format:',
525
+    'UPLOAD_LOGO' => 'Please wait, logo uploading..',
526
+    'ERR_UPLOAD_FILETYPE' => 'File type do not allowed, please upload a jpeg or png.',
527
+    'ERR_LANG_UPLOAD_UNKNOWN' => 'Unknown file upload error occured.',
528
+    'ERR_UPLOAD_FILE_UPLOAD_ERR_INI_SIZE' => 'The uploaded file exceeds the upload_max_filesize directive in php.ini.',
529
+    'ERR_UPLOAD_FILE_UPLOAD_ERR_FORM_SIZE' => 'The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.',
530
+    'ERR_UPLOAD_FILE_UPLOAD_ERR_PARTIAL' => 'The uploaded file was only partially uploaded.',
531
+    'ERR_UPLOAD_FILE_UPLOAD_ERR_NO_FILE' => 'No file was uploaded.',
532
+    'ERR_UPLOAD_FILE_UPLOAD_ERR_NO_TMP_DIR' => 'Missing a temporary folder.',
533
+    'ERR_UPLOAD_FILE_UPLOAD_ERR_CANT_WRITE' => 'Failed to write file to disk.',
534
+    'ERR_UPLOAD_FILE_UPLOAD_ERR_EXTENSION' => 'A PHP extension stopped the file upload. PHP does not provide a way to ascertain which extension caused the file upload to stop.',
535
+
536
+    'LBL_INSTALL_PROCESS' => 'Install...',
537
+
538
+    'LBL_EMAIL_ADDRESS' => 'Email Address:',
539
+    'ERR_ADMIN_EMAIL' => 'Administrator Email Address is incorrect.',
540
+    'ERR_SITE_URL' => 'Site URL is required.',
541
+
542
+    'STAT_CONFIGURATION' => 'Configuration relationships...',
543
+    'STAT_CREATE_DB' => 'Create database...',
544
+    //'STAT_CREATE_DB_TABLE' => 'Create database... (table: %s)',
545
+    'STAT_CREATE_DEFAULT_SETTINGS' => 'Create default settings...',
546
+    'STAT_INSTALL_FINISH' => 'Install finish...',
547
+    'STAT_INSTALL_FINISH_LOGIN' => 'Installation process finished, <a href="%s">please log in...</a>',
548
+    'LBL_LICENCE_TOOLTIP' => 'Please accept license first',
549
+
550
+    'LBL_MORE_OPTIONS_TITLE' => 'More options',
551
+    'LBL_START' => '',
552
+    'LBL_DB_CONN_ERR' => 'Database error',
553
+    'LBL_OLD_PHP' => 'Old PHP Version Detected!',
554
+    'LBL_OLD_PHP_MSG' => 'The recommended PHP version to install SuiteCRM is %s <br />Although the minimum PHP version required is %s, is not recommended due to the large number of fixed bugs, including security fixes, released in the more modern versions.<br />You are using PHP version %s, which is EOL: <a href="http://php.net/eol.php">http://php.net/eol.php</a>.<br />Please consider upgrading your PHP version. Instructions on <a href="http://php.net/migration70">http://php.net/migration70</a>. ',
555
+    'LBL_OLD_PHP_OK' => 'I\'m aware of the risks and wish to continue.',
556 556
 
557 557
     'LBL_DBCONF_TITLE_USER_INFO_LABEL' => 'User',
558 558
     'LBL_DBCONFIG_MSG3_LABEL' => 'Database Name',
Please login to merge, or discard this patch.