Permalink
Browse files

Release 6.4.1

  • Loading branch information...
1 parent dba70b9 commit e979cc74ca9e66771fa35ed47a68e97447dc53de John Mertic committed Mar 1, 2012
Showing with 3,554 additions and 3,235 deletions.
  1. +1 −1 HandleAjaxCall.php
  2. +1 −1 ModuleInstall/ModuleInstaller.php
  3. +1 −1 ModuleInstall/ModuleScanner.php
  4. +1 −1 ModuleInstall/PackageManager/ListViewPackages.php
  5. +1 −1 ModuleInstall/PackageManager/PackageController.php
  6. +1 −1 ModuleInstall/PackageManager/PackageManager.php
  7. +1 −1 ModuleInstall/PackageManager/PackageManagerComm.php
  8. +1 −1 ModuleInstall/PackageManager/PackageManagerDisplay.php
  9. +1 −1 ModuleInstall/PackageManager/PackageManagerDownloader.php
  10. +1 −1 ModuleInstall/PackageManager/metadata/listviewdefs.php
  11. +1 −1 ModuleInstall/PackageManager/tpls/ModuleLoaderListView.tpl
  12. +1 −1 ModuleInstall/PackageManager/tpls/PackageForm.tpl
  13. +1 −1 ModuleInstall/PackageManager/tpls/PackageManagerLicense.tpl
  14. +1 −1 ModuleInstall/PackageManager/tpls/PackageManagerScripts.tpl
  15. +1 −1 ModuleInstall/extensions.php
  16. +1 −1 SugarSecurity.php
  17. +1 −1 TreeData.php
  18. +1 −1 WebToLeadCapture.php
  19. +1 −1 Zend/Gdata/Contacts.php
  20. +1 −1 Zend/Gdata/Contacts/Extension/Address.php
  21. +1 −1 Zend/Gdata/Contacts/Extension/Birthday.php
  22. +1 −1 Zend/Gdata/Contacts/Extension/Email.php
  23. +1 −1 Zend/Gdata/Contacts/Extension/Name.php
  24. +1 −1 Zend/Gdata/Contacts/Extension/Organization.php
  25. +1 −1 Zend/Gdata/Contacts/Extension/PhoneNumber.php
  26. +1 −1 Zend/Gdata/Contacts/ListEntry.php
  27. +1 −1 Zend/Gdata/Contacts/ListFeed.php
  28. +1 −1 acceptDecline.php
  29. +1 −1 campaign_tracker.php
  30. +1 −1 campaign_trackerv2.php
  31. +1 −1 cron.php
  32. +1 −1 crossdomain.xml
  33. +1 −1 data/BeanFactory.php
  34. +1 −1 data/Link.php
  35. +1 −1 data/Link2.php
  36. +1 −1 data/Relationships/EmailAddressRelationship.php
  37. +1 −1 data/Relationships/M2MRelationship.php
  38. +16 −5 data/Relationships/One2MBeanRelationship.php
  39. +1 −1 data/Relationships/One2MRelationship.php
  40. +1 −1 data/Relationships/One2OneBeanRelationship.php
  41. +1 −1 data/Relationships/One2OneRelationship.php
  42. +1 −1 data/Relationships/RelationshipFactory.php
  43. +1 −1 data/Relationships/SugarRelationship.php
  44. +22 −4 data/SugarBean.php
  45. +1 −1 data/Tracker.php
  46. +1 −1 dictionary.php
  47. +2 −1 download.php
  48. +1 −1 emailmandelivery.php
  49. +1 −1 examples/ExampleLeadCapture.php
  50. +1 −1 examples/FormValidationTest.php
  51. +1 −1 examples/ProgressBarTest.php
  52. +1 −1 examples/SoapTest.php
  53. +1 −1 examples/SoapTestPortal.php
  54. +1 −1 examples/SoapTestPortal2.php
  55. +1 −1 export.php
  56. +2,769 −2,760 files.md5
  57. +1 −1 image.php
  58. +1 −1 include/Dashlets/Dashlet.php
  59. +1 −1 include/Dashlets/DashletCacheBuilder.php
  60. +1 −1 include/Dashlets/DashletGeneric.php
  61. +1 −1 include/Dashlets/DashletGenericAutoRefresh.tpl
  62. +1 −1 include/Dashlets/DashletGenericAutoRefreshDynamic.tpl
  63. +1 −1 include/Dashlets/DashletGenericChart.php
  64. +1 −1 include/Dashlets/DashletGenericChartConfigure.tpl
  65. +1 −1 include/Dashlets/DashletGenericConfigure.tpl
  66. +1 −1 include/Dashlets/DashletGenericDisplay.tpl
  67. +1 −1 include/Dashlets/DashletRssFeedTitle.php
  68. +1 −1 include/DetailView/DetailView.php
  69. +1 −1 include/DetailView/DetailView.tpl
  70. +1 −1 include/DetailView/DetailView2.php
  71. +5 −2 include/DetailView/footer.tpl
  72. +1 −1 include/DetailView/header.tpl
  73. +1 −1 include/EditView/EditView.php
  74. +9 −7 include/EditView/EditView.tpl
  75. +13 −6 include/EditView/EditView2.php
  76. +1 −1 include/EditView/PopupQuickCreate.php
  77. +1 −1 include/EditView/QuickCreate.php
  78. +1 −1 include/EditView/QuickCreate.tpl
  79. +14 −5 include/EditView/SubpanelQuickCreate.php
  80. +1 −1 include/EditView/SubpanelQuickEdit.php
  81. +1 −1 include/EditView/SugarVCR.php
  82. +4 −1 include/EditView/footer.tpl
  83. +1 −1 include/EditView/header.tpl
  84. +1 −1 include/GroupedTabs/GroupedTabStructure.php
  85. +1 −1 include/JSON.php
  86. +3 −3 include/ListView/ListView.php
  87. +1 −1 include/ListView/ListViewDCMenu.tpl
  88. +30 −19 include/ListView/ListViewData.php
  89. +10 −3 include/ListView/ListViewDisplay.php
  90. +1 −1 include/ListView/ListViewFacade.php
  91. +1 −1 include/ListView/ListViewGeneric.tpl
  92. +1 −1 include/ListView/ListViewNoMassUpdate.tpl
  93. +1 −1 include/ListView/ListViewPagination.tpl
  94. +1 −1 include/ListView/ListViewSmarty.php
  95. +1 −1 include/ListView/ListViewXTPL.php
  96. +1 −1 include/Localization/Localization.php
  97. +1 −1 include/MVC/Controller/ControllerFactory.php
  98. +5 −1 include/MVC/Controller/SugarController.php
  99. +1 −1 include/MVC/Controller/action_file_map.php
  100. +1 −1 include/MVC/Controller/action_view_map.php
  101. +1 −1 include/MVC/Controller/entry_point_registry.php
  102. +1 −1 include/MVC/Controller/file_access_control_map.php
  103. +19 −6 include/MVC/SugarApplication.php
  104. +1 −1 include/MVC/SugarModule.php
  105. +106 −4 include/MVC/View/SugarView.php
  106. +1 −1 include/MVC/View/ViewFactory.php
  107. +2 −2 include/MVC/View/tpls/Importvcard.tpl
  108. +1 −1 include/MVC/View/tpls/gsdetail.tpl
  109. +1 −1 include/MVC/View/tpls/modulelistmenu.tpl
  110. +1 −1 include/MVC/View/tpls/xsrf.tpl
  111. +1 −1 include/MVC/View/views/view.ajax.php
  112. +1 −1 include/MVC/View/views/view.ajaxui.php
  113. +1 −1 include/MVC/View/views/view.classic.config.php
  114. +6 −1 include/MVC/View/views/view.classic.php
  115. +1 −1 include/MVC/View/views/view.config.php
  116. +1 −1 include/MVC/View/views/view.detail.config.php
  117. +1 −1 include/MVC/View/views/view.detail.php
  118. +1 −1 include/MVC/View/views/view.edit.php
  119. +1 −1 include/MVC/View/views/view.gs.php
  120. +1 −1 include/MVC/View/views/view.html.php
  121. +2 −7 include/MVC/View/views/view.importvcard.php
  122. +1 −1 include/MVC/View/views/view.importvcardsave.php
  123. +1 −1 include/MVC/View/views/view.json.php
  124. +1 −1 include/MVC/View/views/view.list.php
  125. +1 −1 include/MVC/View/views/view.metadata.php
  126. +1 −1 include/MVC/View/views/view.modulelistmenu.php
  127. +1 −1 include/MVC/View/views/view.multiedit.php
  128. +1 −1 include/MVC/View/views/view.noaccess.php
  129. +1 −1 include/MVC/View/views/view.popup.php
  130. +1 −1 include/MVC/View/views/view.quick.php
  131. +1 −1 include/MVC/View/views/view.quickcreate.php
  132. +1 −1 include/MVC/View/views/view.quickedit.php
  133. +1 −1 include/MVC/View/views/view.serialized.php
  134. +1 −1 include/MVC/View/views/view.sugarpdf.config.php
  135. +1 −1 include/MVC/View/views/view.sugarpdf.php
  136. +1 −1 include/MVC/View/views/view.vcard.php
  137. +1 −1 include/MVC/View/views/view.xml.php
  138. +19 −7 include/MassUpdate.php
  139. +1 −1 include/MySugar/DashletsDialog/DashletsDialog.php
  140. +1 −1 include/MySugar/MySugar.php
  141. +3 −3 include/MySugar/javascript/MySugar.js
  142. +4 −1 include/MySugar/tpls/MySugar.tpl
  143. +1 −1 include/MySugar/tpls/addDashletsDialog.tpl
  144. +1 −1 include/MySugar/tpls/chartDashletsSearchResults.tpl
  145. +1 −1 include/MySugar/tpls/dashletsSearchResults.tpl
  146. +1 −1 include/MySugar/tpls/retrievePage.tpl
  147. +1 −1 include/MySugar/tpls/retrieveReportCharts.tpl
  148. +1 −1 include/OutboundEmail/OutboundEmail.php
  149. +1 −1 include/Popups/PopupSmarty.php
  150. +5 −8 include/Popups/Popup_picker.php
  151. +3 −3 include/Popups/tpls/PopupGeneric.tpl
  152. +1 −1 include/Popups/tpls/footer.tpl
  153. +1 −3 include/Popups/tpls/header.tpl
  154. +24 −2 include/QuickSearchDefaults.php
  155. +3 −3 include/SearchForm/SearchForm.php
  156. +18 −7 include/SearchForm/SearchForm2.php
  157. +9 −3 include/SearchForm/SugarSpot.php
  158. +8 −4 include/SearchForm/tpls/SearchFormGeneric.tpl
  159. +9 −5 include/SearchForm/tpls/SearchFormGenericAdvanced.tpl
  160. +1 −1 include/SearchForm/tpls/SugarSpot.tpl
  161. +1 −1 include/SearchForm/tpls/footer.tpl
  162. +1 −1 include/SearchForm/tpls/header.tpl
  163. +1 −1 include/Smarty/plugins/function.sugar_ajax_url.php
  164. +5 −5 include/Smarty/plugins/function.sugar_button.php
  165. +1 −1 include/Smarty/plugins/function.sugar_connector_display.php
  166. +3 −3 include/Smarty/plugins/function.sugar_email_btn.php
  167. +9 −0 include/Smarty/plugins/function.sugar_evalcolumn.php
  168. +12 −0 include/Smarty/plugins/function.sugar_field.php
  169. +1 −1 include/Smarty/plugins/function.sugar_getimage.php
  170. +1 −1 include/Smarty/plugins/function.sugar_getlink.php
  171. +1 −1 include/Smarty/plugins/function.sugar_getscript.php
  172. +1 −1 include/Smarty/plugins/function.sugar_link.php
  173. +1 −1 include/Smarty/plugins/function.sugar_phone.php
  174. +1 −1 include/Smarty/plugins/function.sugarvar_connector.php
  175. +1 −1 include/Smarty/plugins/modifier.default_date_value.php
  176. +1 −1 include/Smarty/plugins/modifier.lookup.php
  177. +1 −1 include/Smarty/plugins/modifier.multienum_to_ac.php
  178. +1 −1 include/Smarty/plugins/modifier.to_url.php
  179. +1 −1 include/SubPanel/SubPanel.php
  180. +1 −1 include/SubPanel/SubPanelDefinitions.php
  181. +1 −1 include/SubPanel/SubPanelDynamic.html
  182. +11 −4 include/SubPanel/SubPanelTiles.js
  183. +1 −1 include/SubPanel/SubPanelTiles.php
  184. +1 −1 include/SubPanel/SubPanelTilesTabs.php
  185. +1 −1 include/SubPanel/SubPanelViewer.php
  186. +7 −2 include/SubPanel/SugarTab.php
  187. +1 −1 include/SubPanel/registered_layout_defs.php
  188. +1 −1 include/SubPanel/subpanels.txt
  189. +1 −1 include/SubPanel/tpls/singletabmenu.tpl
  190. +1 −1 include/SugarCache/SugarCache.php
  191. +1 −1 include/SugarCache/SugarCacheAPC.php
  192. +1 −1 include/SugarCache/SugarCacheAbstract.php
  193. +1 −1 include/SugarCache/SugarCacheFile.php
  194. +1 −1 include/SugarCache/SugarCacheMemcache.php
  195. +1 −1 include/SugarCache/SugarCacheMemcached.php
  196. +1 −1 include/SugarCache/SugarCacheMemory.php
  197. +1 −1 include/SugarCache/SugarCacheRedis.php
  198. +1 −1 include/SugarCache/SugarCacheWincache.php
  199. +1 −1 include/SugarCache/SugarCacheZend.php
  200. +1 −1 include/SugarCache/SugarCachesMash.php
  201. +1 −1 include/SugarCharts/Jit/FlashCanvas/flashcanvas.js
  202. +1 −1 include/SugarCharts/Jit/Jit.php
  203. +1 −1 include/SugarCharts/Jit/JitReports.php
  204. +1 −1 include/SugarCharts/Jit/css/base.css
  205. +38 −11 include/SugarCharts/Jit/js/Jit/jit.js
  206. +2 −4 include/SugarCharts/Jit/js/mySugarCharts.js
  207. +17 −24 include/SugarCharts/Jit/js/sugarCharts.js
  208. +1 −1 include/SugarCharts/Jit/tpls/DashletGenericChartScript.tpl
  209. +2 −2 include/SugarCharts/Jit/tpls/chart.tpl
  210. +1 −1 include/SugarCharts/JsChart.php
  211. +12 −10 include/SugarCharts/SugarChart.php
  212. +1 −1 include/SugarCharts/SugarChartFactory.php
  213. +1 −1 include/SugarDateTime.php
  214. +1 −1 include/SugarDependentDropdown/SugarDependentDropdown.php
  215. +1 −1 include/SugarDependentDropdown/javascript/SugarDependentDropdown.js
  216. +1 −1 include/SugarDependentDropdown/metadata/dependentDropdown.php
  217. +4 −4 include/SugarEmailAddress/SugarEmailAddress.js
  218. +1 −1 include/SugarEmailAddress/SugarEmailAddress.php
  219. +1 −1 include/SugarEmailAddress/templates/forDetailView.tpl
  220. +1 −1 include/SugarEmailAddress/templates/forDuplicatesView.tpl
  221. +1 −1 include/SugarEmailAddress/templates/forEditView.tpl
  222. +1 −1 include/SugarEmailAddress/templates/forWideFormBodyView.tpl
  223. +1 −1 include/SugarFields/Fields/Address/DetailView.tpl
  224. +3 −3 include/SugarFields/Fields/Address/EditView.tpl
  225. +1 −1 include/SugarFields/Fields/Address/SugarFieldAddress.js
  226. +1 −1 include/SugarFields/Fields/Address/SugarFieldAddress.php
  227. +1 −1 include/SugarFields/Fields/Address/en_us.DetailView.tpl
  228. +1 −1 include/SugarFields/Fields/Address/en_us.EditView.tpl
  229. +1 −1 include/SugarFields/Fields/Assigned_user_name/EditViewFunction.tpl
  230. +1 −1 include/SugarFields/Fields/Assigned_user_name/SearchView.tpl
  231. +1 −1 include/SugarFields/Fields/Assigned_user_name/SugarFieldAssigned_user_name.php
  232. +1 −1 include/SugarFields/Fields/Base/DetailView.tpl
  233. +1 −1 include/SugarFields/Fields/Base/DetailViewFunction.tpl
  234. +3 −2 include/SugarFields/Fields/Base/EditView.tpl
  235. +1 −1 include/SugarFields/Fields/Base/EditViewFunction.tpl
  236. +1 −1 include/SugarFields/Fields/Base/ImportViewFunction.tpl
  237. +1 −1 include/SugarFields/Fields/Base/InlineEdit.tpl
  238. +1 −1 include/SugarFields/Fields/Base/InlineEditView.tpl
  239. +1 −1 include/SugarFields/Fields/Base/ListView.tpl
  240. +1 −1 include/SugarFields/Fields/Base/SearchForm.tpl
  241. +1 −1 include/SugarFields/Fields/Base/SugarFieldBase.php
  242. +1 −1 include/SugarFields/Fields/Bool/DetailView.tpl
  243. +3 −2 include/SugarFields/Fields/Bool/EditView.tpl
  244. +1 −1 include/SugarFields/Fields/Bool/InlineEdit.tpl
  245. +1 −1 include/SugarFields/Fields/Bool/InlineEditView.tpl
  246. +1 −1 include/SugarFields/Fields/Bool/ListView.tpl
  247. +1 −1 include/SugarFields/Fields/Bool/SearchView.tpl
  248. +1 −1 include/SugarFields/Fields/Bool/SugarFieldBool.php
  249. +1 −1 include/SugarFields/Fields/Collection/CollectionDetailView.tpl
  250. +1 −1 include/SugarFields/Fields/Collection/CollectionEditView.tpl
  251. +2 −2 include/SugarFields/Fields/Collection/CollectionEditViewRow.tpl
  252. +1 −1 include/SugarFields/Fields/Collection/DetailView.tpl
  253. +1 −1 include/SugarFields/Fields/Collection/EditView.tpl
  254. +3 −3 include/SugarFields/Fields/Collection/SugarFieldCollection.js
  255. +1 −1 include/SugarFields/Fields/Collection/SugarFieldCollection.php
  256. +2 −2 include/SugarFields/Fields/Collection/ViewSugarFieldCollection.php
  257. +1 −1 include/SugarFields/Fields/Collection/view.sugarfieldcollection.php
  258. +1 −1 include/SugarFields/Fields/Currency/DetailView.tpl
  259. +3 −2 include/SugarFields/Fields/Currency/EditView.tpl
  260. +1 −1 include/SugarFields/Fields/Currency/ListView.tpl
  261. +1 −1 include/SugarFields/Fields/Currency/SugarFieldCurrency.php
  262. +2 −2 include/SugarFields/Fields/Datetime/EditView.tpl
  263. +1 −1 include/SugarFields/Fields/Datetime/SugarFieldDatetime.php
  264. +1 −1 include/SugarFields/Fields/Datetimecombo/Datetimecombo.js
  265. +2 −2 include/SugarFields/Fields/Datetimecombo/EditView.tpl
  266. +1 −1 include/SugarFields/Fields/Datetimecombo/RangeSearchForm.tpl
  267. +1 −1 include/SugarFields/Fields/Datetimecombo/SearchView.tpl
  268. +1 −1 include/SugarFields/Fields/Datetimecombo/SugarFieldDatetimecombo.php
  269. +1 −1 include/SugarFields/Fields/Download/DetailView.tpl
  270. +1 −1 include/SugarFields/Fields/Download/SugarFieldDownload.php
  271. +1 −1 include/SugarFields/Fields/Enum/DetailView.tpl
  272. +1 −1 include/SugarFields/Fields/Enum/DetailViewFunction.tpl
  273. +5 −3 include/SugarFields/Fields/Enum/EditView.tpl
  274. +1 −1 include/SugarFields/Fields/Enum/EditViewFunction.tpl
  275. +1 −1 include/SugarFields/Fields/Enum/SearchView.tpl
  276. +1 −1 include/SugarFields/Fields/Enum/SugarFieldEnum.php
  277. +1 −1 include/SugarFields/Fields/File/DetailView.tpl
  278. +6 −4 include/SugarFields/Fields/File/EditView.tpl
  279. +1 −1 include/SugarFields/Fields/File/ListView.tpl
  280. +1 −1 include/SugarFields/Fields/File/SearchView.tpl
  281. +1 −1 include/SugarFields/Fields/File/SugarFieldFile.js
  282. +1 −1 include/SugarFields/Fields/File/SugarFieldFile.php
  283. +1 −1 include/SugarFields/Fields/Float/DetailView.tpl
  284. +4 −2 include/SugarFields/Fields/Float/EditView.tpl
  285. +1 −1 include/SugarFields/Fields/Float/SugarFieldFloat.php
  286. +1 −1 include/SugarFields/Fields/Fullname/DetailView.tpl
  287. +1 −1 include/SugarFields/Fields/Fullname/SugarFieldFullname.php
  288. +1 −1 include/SugarFields/Fields/Html/DetailView.tpl
  289. +1 −1 include/SugarFields/Fields/Html/SugarFieldHtml.php
  290. +1 −1 include/SugarFields/Fields/Id/SugarFieldId.php
  291. +1 −1 include/SugarFields/Fields/Iframe/DetailView.tpl
  292. +3 −3 include/SugarFields/Fields/Iframe/EditView.tpl
  293. +1 −1 include/SugarFields/Fields/Int/DetailView.tpl
  294. +2 −2 include/SugarFields/Fields/Int/EditView.tpl
  295. +1 −1 include/SugarFields/Fields/Int/RangeSearchForm.tpl
  296. +1 −1 include/SugarFields/Fields/Int/SearchForm.tpl
  297. +1 −1 include/SugarFields/Fields/Int/SugarFieldInt.php
  298. +1 −1 include/SugarFields/Fields/Link/DetailView.tpl
  299. +3 −3 include/SugarFields/Fields/Link/EditView.tpl
  300. +1 −1 include/SugarFields/Fields/Link/ListView.tpl
Sorry, we could not display the entire diff because too many files (3,251) changed.
View
2 HandleAjaxCall.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 ModuleInstall/ModuleInstaller.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 ModuleInstall/ModuleScanner.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 ModuleInstall/PackageManager/ListViewPackages.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 ModuleInstall/PackageManager/PackageController.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 ModuleInstall/PackageManager/PackageManager.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 ModuleInstall/PackageManager/PackageManagerComm.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 ModuleInstall/PackageManager/PackageManagerDisplay.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 ModuleInstall/PackageManager/PackageManagerDownloader.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 ModuleInstall/PackageManager/metadata/listviewdefs.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 ModuleInstall/PackageManager/tpls/ModuleLoaderListView.tpl
@@ -1,7 +1,7 @@
{*
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 ModuleInstall/PackageManager/tpls/PackageForm.tpl
@@ -1,7 +1,7 @@
{*
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 ModuleInstall/PackageManager/tpls/PackageManagerLicense.tpl
@@ -1,7 +1,7 @@
{*
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 ModuleInstall/PackageManager/tpls/PackageManagerScripts.tpl
@@ -1,7 +1,7 @@
{*
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 ModuleInstall/extensions.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 SugarSecurity.php
@@ -1,7 +1,7 @@
<?PHP
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 TreeData.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 WebToLeadCapture.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 Zend/Gdata/Contacts.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 Zend/Gdata/Contacts/Extension/Address.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 Zend/Gdata/Contacts/Extension/Birthday.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 Zend/Gdata/Contacts/Extension/Email.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 Zend/Gdata/Contacts/Extension/Name.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 Zend/Gdata/Contacts/Extension/Organization.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 Zend/Gdata/Contacts/Extension/PhoneNumber.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 Zend/Gdata/Contacts/ListEntry.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 Zend/Gdata/Contacts/ListFeed.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 acceptDecline.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 campaign_tracker.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry'))define('sugarEntry', true);
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 campaign_trackerv2.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 cron.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry'))define('sugarEntry', true);
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 crossdomain.xml
@@ -1,7 +1,7 @@
<!--
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 data/BeanFactory.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 data/Link.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 data/Link2.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 data/Relationships/EmailAddressRelationship.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 data/Relationships/M2MRelationship.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
21 data/Relationships/One2MBeanRelationship.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
@@ -60,6 +60,11 @@ public function __construct($def)
*/
public function add($lhs, $rhs, $additionalFields = array())
{
+ // test to see if the relationship exist if the relationship between the two beans
+ // exist then we just fail out with false as we don't want to re-trigger this
+ // the save and such as it causes problems with the related() in sugarlogic
+ if($this->relationship_exists($lhs, $rhs)) return false;
+
$lhsLinkName = $this->lhsLink;
$rhsLinkName = $this->rhsLink;
@@ -293,14 +298,20 @@ public function getSubpanelQuery($link, $params = array(), $return_array = false
}
/**
- * @param $lhs
- * @param $rhs
- * @return bool
+ * Check to see if the relationship already exist.
+ *
+ * If it does return true otherwise return false
+ *
+ * @param SugarBean $lhs Left hand side of the relationship
+ * @param SugarBean $rhs Right hand side of the relationship
+ * @return boolean
*/
public function relationship_exists($lhs, $rhs)
{
+ // we need the key that is stored on the rhs to compare tok
+ $lhsIDName = $this->def['rhs_key'];
- return false;
+ return (isset($rhs->fetched_row[$lhsIDName]) && $rhs->$lhsIDName == $rhs->fetched_row[$lhsIDName] && $rhs->$lhsIDName == $lhs->id);
}
public function getRelationshipTable()
View
2 data/Relationships/One2MRelationship.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 data/Relationships/One2OneBeanRelationship.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 data/Relationships/One2OneRelationship.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 data/Relationships/RelationshipFactory.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 data/Relationships/SugarRelationship.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
26 data/SugarBean.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
@@ -440,6 +440,19 @@ function get_audit_table_name()
}
/**
+ * Returns the name of the custom table.
+ * Custom table's name is based on implementing class' table name.
+ *
+ * @return String Custom table name.
+ *
+ * Internal function, do not override.
+ */
+ public function get_custom_table_name()
+ {
+ return $this->getTableName().'_cstm';
+ }
+
+ /**
* If auditing is enabled, create the audit table.
*
* Function is used by the install scripts and a repair utility in the admin panel.
@@ -1494,7 +1507,7 @@ function send_assignment_notifications($notify_user, $admin)
if(!$notify_mail->Send()) {
$GLOBALS['log']->fatal("Notifications: error sending e-mail (method: {$notify_mail->Mailer}), (error: {$notify_mail->ErrorInfo})");
}else{
- $GLOBALS['log']->fatal("Notifications: e-mail successfully sent");
+ $GLOBALS['log']->info("Notifications: e-mail successfully sent");
}
}
@@ -2816,6 +2829,11 @@ function create_new_list_query($order_by, $where,$filter=array(),$params=array()
$jtcount = 0;
//LOOP AROUND FOR FIXIN VARDEF ISSUES
require('include/VarDefHandler/listvardefoverride.php');
+ if (file_exists('custom/include/VarDefHandler/listvardefoverride.php'))
+ {
+ require('custom/include/VarDefHandler/listvardefoverride.php');
+ }
+
$joined_tables = array();
if(!empty($params['joined_tables']))
{
@@ -4375,11 +4393,11 @@ function get_list_view_array()
//cn: if $field is a _dom, detect and return VALUE not KEY
//cl: empty function check for meta-data enum types that have values loaded from a function
else if (((!empty($value['type']) && ($value['type'] == 'enum' || $value['type'] == 'radioenum') )) && empty($value['function'])){
- if(!empty($app_list_strings[$value['options']][$this->$field])){
+ if(!empty($value['options']) && !empty($app_list_strings[$value['options']][$this->$field])){
$return_array[$cache[$field]] = $app_list_strings[$value['options']][$this->$field];
}
//nsingh- bug 21672. some modules such as manufacturers, Releases do not have a listing for select fields in the $app_list_strings. Must also check $mod_strings to localize.
- elseif(!empty($mod_strings[$value['options']][$this->$field]))
+ elseif(!empty($value['options']) && !empty($mod_strings[$value['options']][$this->$field]))
{
$return_array[$cache[$field]] = $mod_strings[$value['options']][$this->$field];
}
View
2 data/Tracker.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 dictionary.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
3 download.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
@@ -42,6 +42,7 @@
die("Not a Valid Entry Point");
}
else {
+ require_once("data/BeanFactory.php");
$file_type=''; // bug 45896
require_once("data/BeanFactory.php");
ini_set('zlib.output_compression','Off');//bug 27089, if use gzip here, the Content-Length in hearder may be incorrect.
View
2 emailmandelivery.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry'))define('sugarEntry', true);
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 examples/ExampleLeadCapture.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 examples/FormValidationTest.php
@@ -3,7 +3,7 @@
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 examples/ProgressBarTest.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 examples/SoapTest.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 examples/SoapTestPortal.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 examples/SoapTestPortal2.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 export.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
5,529 files.md5
2,769 additions, 2,760 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
2 image.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 include/Dashlets/Dashlet.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 include/Dashlets/DashletCacheBuilder.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 include/Dashlets/DashletGeneric.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 include/Dashlets/DashletGenericAutoRefresh.tpl
@@ -2,7 +2,7 @@
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 include/Dashlets/DashletGenericAutoRefreshDynamic.tpl
@@ -2,7 +2,7 @@
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 include/Dashlets/DashletGenericChart.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 include/Dashlets/DashletGenericChartConfigure.tpl
@@ -2,7 +2,7 @@
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 include/Dashlets/DashletGenericConfigure.tpl
@@ -2,7 +2,7 @@
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 include/Dashlets/DashletGenericDisplay.tpl
@@ -2,7 +2,7 @@
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 include/Dashlets/DashletRssFeedTitle.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 include/DetailView/DetailView.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 include/DetailView/DetailView.tpl
@@ -1,7 +1,7 @@
{*
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 include/DetailView/DetailView2.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
7 include/DetailView/footer.tpl
@@ -1,7 +1,7 @@
{*
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
@@ -35,4 +35,7 @@
********************************************************************************/
*}
-</form>
+</form>
+<script>SUGAR.util.doWhen("document.getElementById('form') != null",
+ function(){ldelim}SUGAR.util.buildAccessKeyLabels();{rdelim});
+</script>
View
2 include/DetailView/header.tpl
@@ -1,7 +1,7 @@
{*
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 include/EditView/EditView.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
16 include/EditView/EditView.tpl
@@ -1,7 +1,7 @@
{*
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
@@ -38,8 +38,7 @@
{{include file=$headerTpl}}
{sugar_include include=$includes}
-{{** SUGAR.TabFields variable will be used to track tabindexes for references **}}
-<span id='tabcounterJS'><script>SUGAR.TabFields=new Array();</script></span>
+<span id='tabcounterJS'><script>SUGAR.TabFields=new Array();//this will be used to track tabindexes for references</script></span>
<div id="{{$form_name}}_tabs"
{{if $useTabs}}
@@ -57,6 +56,8 @@ class="yui-navset"
</ul>
{{/if}}
<div {{if $useTabs}}class="yui-content"{{/if}}>
+
+{{assign var='tabIndexVal' value=0}}
{{* Loop through all top level panels first *}}
{{counter name="panelCount" start=-1 print=false assign="panelCount"}}
@@ -88,7 +89,7 @@ class="yui-navset"
{{/if}}
{{assign var='rowCount' value=0}}
-{{assign var='tabIndexVal' value=0}}
+{{assign var='ACCKEY' value=''}}
{{foreach name=rowIteration from=$panel key=row item=rowData}}
{counter name="fieldsUsed" start=0 print=false assign="fieldsUsed"}
{capture name="tr" assign="tableRow"}
@@ -146,6 +147,7 @@ class="yui-navset"
{{/if}}
{counter name="fieldsUsed"}
{{math assign="tabIndexVal" equation="$tabIndexVal + 1"}}
+ {{if $tabIndexVal==1}} {{assign var='ACCKEY' value=$APP.LBL_FIRST_INPUT_EDIT_VIEW_KEY}}{{else}}{{assign var='ACCKEY' value=''}}{{/if}}
{{if !empty($colData.field.tabindex) && $colData.field.tabindex !=0}}
{{assign var='tabindex' value=$colData.field.tabindex}}
{{** instead of tracking tabindex values for all fields, just track for email as email does not get created directly from
@@ -182,16 +184,16 @@ class="yui-navset"
{{foreach from=$colData.field.fields item=subField}}
{{if $fields[$subField.name]}}
{counter name="panelFieldCount"}
- {{sugar_field parentFieldArray='fields' tabindex=$tabindex vardef=$fields[$subField.name] displayType='EditView' displayParams=$subField.displayParams formName=$form_name}}&nbsp;
+ {{sugar_field parentFieldArray='fields' accesskey=$ACCKEY tabindex=$tabindex vardef=$fields[$subField.name] displayType='EditView' displayParams=$subField.displayParams formName=$form_name}}&nbsp;
{{/if}}
{{/foreach}}
{{elseif !empty($colData.field.customCode) && empty($colData.field.customCodeRenderField)}}
{counter name="panelFieldCount"}
- {{sugar_evalcolumn var=$colData.field.customCode colData=$colData tabindex=$tabindex}}
+ {{sugar_evalcolumn var=$colData.field.customCode colData=$colData accesskey=$ACCKEY tabindex=$tabindex}}
{{elseif $fields[$colData.field.name]}}
{counter name="panelFieldCount"}
{{$colData.displayParams}}
- {{sugar_field parentFieldArray='fields' tabindex=$tabindex vardef=$fields[$colData.field.name] displayType='EditView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type formName=$form_name}}
+ {{sugar_field parentFieldArray='fields' accesskey=$ACCKEY tabindex=$tabindex vardef=$fields[$colData.field.name] displayType='EditView' displayParams=$colData.field.displayParams typeOverride=$colData.field.type formName=$form_name}}
{{/if}}
{{if !empty($colData.field.customCode) && !empty($colData.field.customCodeRenderField)}}
{counter name="panelFieldCount"}
View
19 include/EditView/EditView2.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
@@ -444,7 +444,8 @@ function process($checkFormName = false, $formName = '')
if (isset($this->fieldDefs[$name]['options']) && isset($app_list_strings[$this->fieldDefs[$name]['options']]))
{
$this->fieldDefs[$name]['options'] = $app_list_strings[$this->fieldDefs[$name]['options']];
- if(isset($GLOBALS['sugar_config']['enable_autocomplete']) && $GLOBALS['sugar_config']['enable_autocomplete'] == true){
+ if(isset($GLOBALS['sugar_config']['enable_autocomplete']) && $GLOBALS['sugar_config']['enable_autocomplete'] == true)
+ {
$this->fieldDefs[$name]['autocomplete'] = true;
$this->fieldDefs[$name]['autocomplete_options'] = $this->fieldDefs[$name]['options']; // we need the name for autocomplete
} else {
@@ -459,10 +460,13 @@ function process($checkFormName = false, $formName = '')
}else{
$function = $this->fieldDefs[$name]['function'];
}
+
+ if(isset($this->fieldDefs[$name]['function']['include']) && file_exists($this->fieldDefs[$name]['function']['include']))
+ {
+ require_once($this->fieldDefs[$name]['function']['include']);
+ }
+
if(!empty($this->fieldDefs[$name]['function']['returns']) && $this->fieldDefs[$name]['function']['returns'] == 'html'){
- if(!empty($this->fieldDefs[$name]['function']['include'])){
- require_once($this->fieldDefs[$name]['function']['include']);
- }
$value = $function($this->focus, $name, $value, $this->view);
$valueFormatted = true;
}else{
@@ -539,9 +543,11 @@ function process($checkFormName = false, $formName = '')
}
}
}
+
+
/**
* display
- * This method makes the Smarty variable assignments and theautocomplete_ajax'vars the
+ * This method makes the Smarty variable assignments and then displays the
* generated view.
* @param $showTitle boolean value indicating whether or not to show a title on the resulting page
* @param $ajaxSave boolean value indicating whether or not the operation is an Ajax save request
@@ -861,3 +867,4 @@ public function showTitle($showTitle = false)
return '';
}
}
+
View
2 include/EditView/PopupQuickCreate.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 include/EditView/QuickCreate.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 include/EditView/QuickCreate.tpl
@@ -1,7 +1,7 @@
{*
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
19 include/EditView/SubpanelQuickCreate.php
@@ -2,7 +2,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
@@ -78,12 +78,21 @@ function SubpanelQuickCreate($module, $view='QuickCreate', $proccessOverride = f
$this->ev->setup($module, $bean, $source);
unset($bean);
+ // Bug 49219 - Check empty before set defaults, or the settings from viewdefs above will be overridden.
+ if (!isset($this->ev->defs['templateMeta']['form']['headerTpl']))
+ {
+ $this->ev->defs['templateMeta']['form']['headerTpl'] = 'include/EditView/header.tpl';
+ }
- $this->ev->defs['templateMeta']['form']['headerTpl'] = 'include/EditView/header.tpl';
- $this->ev->defs['templateMeta']['form']['footerTpl'] = 'include/EditView/footer.tpl';
+ if (!isset($this->ev->defs['templateMeta']['form']['footerTpl']))
+ {
+ $this->ev->defs['templateMeta']['form']['footerTpl'] = 'include/EditView/footer.tpl';
+ }
+ // Comment below, breaks many out of the box viewdefs
+ /*if (empty($this->ev->defs['templateMeta']['form']['buttons'])) $this->ev->defs['templateMeta']['form']['buttons'] = array('SUBPANELSAVE', 'SUBPANELCANCEL', 'SUBPANELFULLFORM');*/
$this->ev->defs['templateMeta']['form']['buttons'] = array('SUBPANELSAVE', 'SUBPANELCANCEL', 'SUBPANELFULLFORM');
-
- //Load the parent view class if it exists. Check for custom file first
+
+ //Load the parent view class if it exists. Check for custom file first
loadParentView('edit');
$viewEditSource = 'modules/'.$module.'/views/view.edit.php';
View
2 include/EditView/SubpanelQuickEdit.php
@@ -3,7 +3,7 @@
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
2 include/EditView/SugarVCR.php
@@ -1,7 +1,7 @@
<?php
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
View
5 include/EditView/footer.tpl
@@ -1,7 +1,7 @@
{*
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
- * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
+ * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by the
@@ -62,3 +62,6 @@
{{$scriptBlocks}}
<!-- End Meta-Data Javascript -->
{{/if}}
+<script>SUGAR.util.doWhen("document.getElementById('EditView') != null",
+ function(){ldelim}SUGAR.util.buildAccessKeyLabels();{rdelim});
+</script>
View
2 include/EditView/header.tpl
@@ -1,7 +1,7 @@
{*
/**********************