Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Release 6.5.5

  • Loading branch information...
commit a89681482bc318253006d4437bc071e4f62b7140 1 parent 96886c2
@tsuoying tsuoying authored
Showing with 2,513 additions and 980 deletions.
  1. +1 −1  ModuleInstall/ModuleInstaller.php
  2. +3 −3 ModuleInstall/ModuleScanner.php
  3. +1 −1  cache/include/javascript/sugar_grp1_jquery.js
  4. +6 −6 cache/include/javascript/sugar_grp_emails.js
  5. +19 −7 data/Link2.php
  6. +4 −0 data/Relationships/EmailAddressRelationship.php
  7. +4 −0 data/Relationships/M2MRelationship.php
  8. +24 −23 data/Relationships/One2MBeanRelationship.php
  9. +1 −1  data/Relationships/One2OneBeanRelationship.php
  10. +4 −1 data/Relationships/One2OneRelationship.php
  11. +4 −4 data/Relationships/RelationshipFactory.php
  12. +8 −6 data/Relationships/SugarRelationship.php
  13. +151 −77 data/SugarBean.php
  14. +100 −98 files.md5
  15. +63 −0 get_url.php
  16. +1 −1  include/Dashlets/DashletGenericChart.php
  17. +6 −4 include/DetailView/header.tpl
  18. +16 −9 include/ListView/ListViewData.php
  19. +1 −0  include/MVC/Controller/entry_point_registry.php
  20. +14 −6 include/MVC/SugarApplication.php
  21. +24 −6 include/MVC/View/SugarView.php
  22. +2 −2 include/MySugar/MySugar.php
  23. +31 −22 include/SearchForm/SearchForm2.php
  24. +1 −1  include/Smarty/plugins/function.sugar_button.php
  25. +1 −1  include/SubPanel/SubPanelTiles.js
  26. +2 −2 include/SugarCharts/JsChart.php
  27. +6 −6 include/SugarEmailAddress/SugarEmailAddress.js
  28. +99 −34 include/SugarEmailAddress/SugarEmailAddress.php
  29. +18 −0 include/SugarFields/Fields/Currency/SugarFieldCurrency.php
  30. +10 −1 include/SugarFields/Fields/File/SearchView.tpl
  31. +6 −2 include/SugarFields/Fields/File/SugarFieldFile.php
  32. +2 −1  include/SugarFields/Fields/Text/DetailView.tpl
  33. +1 −1  include/SugarObjects/VardefManager.php
  34. +4 −0 include/SugarObjects/templates/person/Person.php
  35. +6 −2 include/SugarTheme/SugarTheme.php
  36. +16 −24 include/connectors/utils/ConnectorHtmlHelper.php
  37. +10 −4 include/database/DBManager.php
  38. +1 −1  include/database/MssqlManager.php
  39. +75 −36 include/generic/Save2.php
  40. +0 −1  include/generic/SugarWidgets/SugarWidgetFieldbool.php
  41. +43 −26 include/generic/SugarWidgets/SugarWidgetFieldcurrency.php
  42. +56 −0 include/generic/SugarWidgets/SugarWidgetFieldlong.php
  43. +14 −36 include/generic/SugarWidgets/SugarWidgetFieldmultienum.php
  44. +6 −4 include/generic/SugarWidgets/SugarWidgetReportField.php
  45. +1 −1  include/generic/SugarWidgets/SugarWidgetSubPanelTopSelectContactsButton.php
  46. +1 −1  include/generic/SugarWidgets/SugarWidgetSubPanelTopSelectUsersButton.php
  47. +2 −2 include/globalControlLinks.php
  48. +1 −1  include/javascript/getYUIComboFile.php
  49. +1 −1  include/javascript/jquery/jquery.hoverIntent.js
  50. +1 −0  include/language/en_us.lang.php
  51. +0 −2  include/language/en_us.notify_template.html
  52. +1 −1  include/phpmailer/class.phpmailer.php
  53. +15 −47 include/utils.php
  54. +4 −0 jssource/src_files/include/SubPanel/SubPanelTiles.js
  55. +21 −14 jssource/src_files/include/SugarEmailAddress/SugarEmailAddress.js
  56. +58 −38 jssource/src_files/modules/Calendar/Cal.js
  57. +10 −2 modules/Administration/Administration.php
  58. +4 −1 modules/Administration/RebuildConfig.php
  59. +6 −1 modules/Audit/Audit.php
  60. +4 −6 modules/Bugs/Bug.php
  61. +0 −1  modules/Calendar/Cal.css
  62. +12 −9 modules/Calendar/Cal.js
  63. +1 −1  modules/Calendar/Calendar.php
  64. +18 −4 modules/Calendar/CalendarGrid.php
  65. +3 −0  modules/Calls/language/en_us.lang.php
  66. +8 −0 modules/Calls/metadata/additionalDetails.php
  67. +1 −1  modules/Calls/metadata/editviewdefs.php
  68. +1 −1  modules/Cases/Case.php
  69. +2 −2 modules/Configurator/Configurator.php
  70. +7 −5 modules/Configurator/UploadFileCheck.php
  71. +1 −0  modules/Configurator/language/en_us.lang.php
  72. +1 −1  modules/Configurator/tpls/EditView.tpl
  73. +1 −1  modules/Configurator/tpls/adminwizard.tpl
  74. +2 −3 modules/Connectors/connectors/formatters/ext/rest/linkedin/tpls/default.tpl
  75. +8 −0 modules/Documents/metadata/SearchFields.php
  76. +2 −0  modules/Documents/vardefs.php
  77. +0 −3  modules/DynamicFields/templates/Fields/TemplateField.php
  78. +16 −7 modules/DynamicFields/templates/Fields/TemplateInt.php
  79. +6 −2 modules/EmailMan/tpls/config.tpl
  80. +82 −50 modules/EmailTemplates/EmailTemplate.php
  81. +1 −1  modules/Home/Dashlets/ChartsDashlet/ChartsDashlet.php
  82. +5 −3 modules/Home/tour.css
  83. +10 −3 modules/Import/views/view.last.php
  84. +4 −4 modules/InboundEmail/InboundEmail.php
  85. +0 −2  modules/Leads/vardefs.php
  86. +2 −0  modules/Meetings/language/en_us.lang.php
  87. +8 −1 modules/Meetings/metadata/additionalDetails.php
  88. +3 −3 modules/Meetings/tpls/reminders.tpl
  89. +5 −2 modules/ModuleBuilder/Module/DropDownBrowser.php
  90. +3 −3 modules/ModuleBuilder/parsers/views/GridLayoutMetaDataParser.php
  91. +5 −3 modules/ModuleBuilder/tpls/layoutView.tpl
  92. +8 −4 modules/MySettings/TabController.php
  93. +0 −2  modules/Prospects/vardefs.php
  94. +5 −8 modules/Relationships/Relationship.php
  95. +1 −1  modules/Tasks/metadata/SearchFields.php
  96. +1 −0  modules/Users/language/en_us.lang.php
  97. +4 −1 modules/Users/reassignUserRecords.php
  98. +7 −7 modules/Users/tpls/EditViewHeader.tpl
  99. +38 −1 soap/SoapSugarUsers.php
  100. +4 −4 sugar_version.php
  101. +128 −2 tests/SugarTestHelper.php
  102. +141 −0 tests/SugarTestOpportunityUtilities.php
  103. +65 −0 tests/SugarTestProspectListsUtilities.php
  104. +146 −0 tests/SugarTestRelationshipUtilities.php
  105. +86 −0 tests/data/Bug33036Test.php
  106. +0 −212 tests/data/Bug45896Test.php
  107. +285 −0 tests/data/SaveRelationshipChangesTest.php
  108. +33 −16 tests/include/SearchForm/{Bug45709Test.php → Bug45709_53785_Test.php}
  109. +77 −0 tests/include/SugarFields/Fields/Currency/Bug55733Test.php
  110. +2 −3 tests/include/connectors/Bug50800Test.php
  111. +1 −0  tests/include/generic/Bug53288Test.php
  112. +81 −0 tests/include/utils/Bug55650Test.php
  113. +1 −2  tests/modules/Calls/CallTest.php
  114. +145 −0 tests/modules/EmailTemplates/Bug46984Test.php
  115. +1 −2  tests/modules/Home/Bug43395Test.php
  116. +6 −4 tests/modules/Home/QuickSearchTests.php
  117. +9 −2 tests/modules/ModuleBuilder/Bug47406Test.php
  118. +1 −0  tests/modules/ModuleBuilder/Bug52063Test.php
  119. +23 −13 tests/modules/UpgradeWizard/Bug42490Test.php
  120. +1 −1  tests/service/RESTAPI3Test.php
View
2  ModuleInstall/ModuleInstaller.php
@@ -267,7 +267,7 @@ function post_uninstall(){
function install_copy(){
if(isset($this->installdefs['copy'])){
/* BEGIN - RESTORE POINT - by MR. MILK August 31, 2005 02:22:11 PM */
- $backup_path = clean_path( remove_file_extension(urldecode(hashToFile($_REQUEST['install_file'])))."-restore" );
+ $backup_path = clean_path( remove_file_extension(urldecode($_REQUEST['install_file']))."-restore" );
/* END - RESTORE POINT - by MR. MILK August 31, 2005 02:22:18 PM */
foreach($this->installdefs['copy'] as $cp){
$GLOBALS['log']->debug("Copying ..." . $cp['from']. " to " .$cp['to'] );
View
6 ModuleInstall/ModuleScanner.php
@@ -85,11 +85,8 @@ class ModuleScanner{
'proc_close',
'proc_get_status',
'proc_nice',
- 'basename',
'passthru',
'clearstatcache',
- 'delete',
- 'dirname',
'disk_free_space',
'disk_total_space',
'diskfreespace',
@@ -161,8 +158,10 @@ class ModuleScanner{
'linkinfo',
'lstat',
'mkdir',
+ 'mkdir_recursive',
'parse_ini_file',
'rmdir',
+ 'rmdir_recursive',
'stat',
'tempnam',
'touch',
@@ -175,6 +174,7 @@ class ModuleScanner{
//mutliple files per function call
'copy',
+ 'copy_recursive',
'link',
'rename',
'symlink',
View
2  cache/include/javascript/sugar_grp1_jquery.js
@@ -828,7 +828,7 @@ b.dequeue()})})}})(jQuery);
})( jQuery );
/* End of File include/javascript/jquery/jquery.json-2.3.js */
-/*******************************************************************************
+/*******************************************************************************
jquery.mb.components
Copyright (c) 2001-2010. Matteo Bicocchi (Pupunzi); Open lab srl, Firenze - Italy
email: info@pupunzi.com
View
12 cache/include/javascript/sugar_grp_emails.js
@@ -181,7 +181,7 @@ ygDDListBoundary.prototype = new YAHOO.util.DDTarget();
(function(){if(SUGAR.EmailAddressWidget)return;var Dom=YAHOO.util.Dom;SUGAR.EmailAddressWidget=function(module){if(!SUGAR.EmailAddressWidget.count[module])SUGAR.EmailAddressWidget.count[module]=0;this.count=SUGAR.EmailAddressWidget.count[module];SUGAR.EmailAddressWidget.count[module]++;this.module=module;this.id=this.module+this.count;if(document.getElementById(module+'_email_widget_id'))
document.getElementById(module+'_email_widget_id').value=this.id;SUGAR.EmailAddressWidget.instances[this.id]=this;}
-SUGAR.EmailAddressWidget.instances={};SUGAR.EmailAddressWidget.count={};SUGAR.EmailAddressWidget.prototype={emailTemplate:'<tr id="emailAddressRow">'+'<td nowrap="NOWRAP"><input type="text" title="email address 0" name="emailAddress{$index}" id="emailAddress0" size="30"/></td>'+'<td><span>&nbsp;</span><img id="removeButton0" name="0" src="index.php?entryPoint=getImage&amp;themeName=Sugar&amp;imageName=delete_inline.gif"/></td>'+'<td align="center"><input type="radio" name="emailAddressPrimaryFlag" id="emailAddressPrimaryFlag0" value="emailAddress0" enabled="true" checked="true"/></td>'+'<td align="center"><input type="checkbox" name="emailAddressOptOutFlag[]" id="emailAddressOptOutFlag0" value="emailAddress0" enabled="true"/></td>'+'<td align="center"><input type="checkbox" name="emailAddressInvalidFlag[]" id="emailAddressInvalidFlag0" value="emailAddress0" enabled="true"/></td>'+'<td><input type="hidden" name="emailAddressVerifiedFlag0" id="emailAddressVerifiedFlag0" value="true"/></td>'+'<td><input type="hidden" name="emailAddressVerifiedValue0" id="emailAddressVerifiedValue0" value=""/></td></tr>',numberEmailAddresses:0,replyToFlagObject:new Object(),verifying:false,enterPressed:false,tabPressed:false,emailView:"",emailIsRequired:false,tabIndex:-1,prefillEmailAddresses:function(tableId,o){for(i=0;i<o.length;i++){o[i].email_address=o[i].email_address.replace('&#039;',"'");this.addEmailAddress(tableId,o[i].email_address,o[i].primary_address,o[i].reply_to_address,o[i].opt_out,o[i].invalid_email);}},retrieveEmailAddress:function(event){var callbackFunction=function success(data){var vals=YAHOO.lang.JSON.parse(data.responseText);var target=vals.target;event=this.getEvent(event);if(vals.email){var email=vals.email;if(email!=''&&/\d+$/.test(target)){var matches=target.match(/\d+$/);var targetNumber=matches[0];var optOutEl=Dom.get(this.id+'emailAddressOptOutFlag'+targetNumber);if(optOutEl){optOutEl.checked=email['opt_out']==1?true:false;}
+SUGAR.EmailAddressWidget.instances={};SUGAR.EmailAddressWidget.count={};SUGAR.EmailAddressWidget.prototype={emailTemplate:'<tr id="emailAddressRow">'+'<td nowrap="NOWRAP"><input type="text" title="email address 0" name="emailAddress{$index}" id="emailAddress0" size="30"/></td>'+'<td><span>&nbsp;</span><img id="removeButton0" name="0" src="index.php?entryPoint=getImage&amp;themeName=Sugar&amp;imageName=delete_inline.gif"/></td>'+'<td align="center"><input type="radio" name="emailAddressPrimaryFlag" id="emailAddressPrimaryFlag0" value="emailAddress0" enabled="true" checked="true"/></td>'+'<td align="center"><input type="checkbox" name="emailAddressOptOutFlag[]" id="emailAddressOptOutFlag0" value="emailAddress0" enabled="true"/></td>'+'<td align="center"><input type="checkbox" name="emailAddressInvalidFlag[]" id="emailAddressInvalidFlag0" value="emailAddress0" enabled="true"/></td>'+'<td><input type="hidden" name="emailAddressVerifiedFlag0" id="emailAddressVerifiedFlag0" value="true"/></td>'+'<td><input type="hidden" name="emailAddressVerifiedValue0" id="emailAddressVerifiedValue0" value=""/></td></tr>',numberEmailAddresses:0,replyToFlagObject:new Object(),verifying:false,enterPressed:false,tabPressed:false,emailView:"",emailIsRequired:false,tabIndex:-1,prefillEmailAddresses:function(tableId,o){for(i=0;i<o.length;i++){o[i].email_address=o[i].email_address.replace('&#039;',"'");this.addEmailAddress(tableId,o[i].email_address,o[i].primary_address,o[i].reply_to_address,o[i].opt_out,o[i].invalid_email,o[i].email_address_id);}},retrieveEmailAddress:function(event){var callbackFunction=function success(data){var vals=YAHOO.lang.JSON.parse(data.responseText);var target=vals.target;event=this.getEvent(event);if(vals.email){var email=vals.email;if(email!=''&&/\d+$/.test(target)){var matches=target.match(/\d+$/);var targetNumber=matches[0];var optOutEl=Dom.get(this.id+'emailAddressOptOutFlag'+targetNumber);if(optOutEl){optOutEl.checked=email['opt_out']==1?true:false;}
var invalidEl=Dom.get(this.id+'emailAddressInvalidFlag'+targetNumber);if(invalidEl){invalidEl.checked=email['invalid_email']==1?true:false;}}}
var index=/[a-z]*\d?emailAddress(\d+)/i.exec(target)[1];var verifyElementFlag=Dom.get(this.id+'emailAddressVerifiedFlag'+index);if(verifyElementFlag.parentNode.childNodes.length>1){verifyElementFlag.parentNode.removeChild(verifyElementFlag.parentNode.lastChild);}
var verifiedTextNode=document.createElement('span');verifiedTextNode.innerHTML='';verifyElementFlag.parentNode.appendChild(verifiedTextNode);verifyElementFlag.value="true";this.verifyElementValue=Dom.get(this.id+'emailAddressVerifiedValue'+index);this.verifyElementValue.value=Dom.get(this.id+'emailAddress'+index).value;this.verifying=false;var savePressed=false;if(event){var elm=document.activeElement||event.explicitOriginalTarget;if(typeof elm.type!='undefined'&&/submit|button/.test(elm.type.toLowerCase())){if(/save|full|cancel|change/.test(elm.value.toLowerCase())){savePressed=true;}}}
@@ -190,15 +190,15 @@ var event=this.getEvent(event);var targetEl=this.getEventElement(event);var inde
this.verifyElementValue=Dom.get(this.id+'emailAddressVerifiedValue'+index);verifyElementFlag.value=(trim(targetEl.value)==''||targetEl.value==this.verifyElementValue.value)?"true":"false"
if(verifyElementFlag.parentNode.childNodes.length>1){verifyElementFlag.parentNode.removeChild(verifyElementFlag.parentNode.lastChild);}
if(/emailAddress\d+$/.test(targetEl.id)&&isValidEmail(targetEl.value)&&!this.verifying&&verifyElementFlag.value=="false"){verifiedTextNode=document.createElement('span');verifyElementFlag.parentNode.appendChild(verifiedTextNode);verifiedTextNode.innerHTML=SUGAR.language.get('app_strings','LBL_VERIFY_EMAIL_ADDRESS');this.verifying=true;var cObj=YAHOO.util.Connect.asyncRequest('GET','index.php?module=Contacts&action=RetrieveEmail&target='+targetEl.id+'&email='+targetEl.value,{success:callbackFunction,failure:callbackFunction,scope:this});}},handleKeyDown:function(event){var e=this.getEvent(event);var eL=this.getEventElement(e);if((kc=e["keyCode"])){this.enterPressed=(kc==13)?true:false;this.tabPressed=(kc==9)?true:false;if(this.enterPressed||this.tabPressed){this.retrieveEmailAddress(e);if(this.enterPressed)
-this.freezeEvent(e);}}},getEvent:function(event){return(event?event:window.event);},getEventElement:function(e){return(e.srcElement?e.srcElement:(e.target?e.target:e.currentTarget));},freezeEvent:function(e){if(e.preventDefault)e.preventDefault();e.returnValue=false;e.cancelBubble=true;if(e.stopPropagation)e.stopPropagation();return false;},addEmailAddress:function(tableId,address,primaryFlag,replyToFlag,optOutFlag,invalidFlag){if(this.addInProgress)
+this.freezeEvent(e);}}},getEvent:function(event){return(event?event:window.event);},getEventElement:function(e){return(e.srcElement?e.srcElement:(e.target?e.target:e.currentTarget));},freezeEvent:function(e){if(e.preventDefault)e.preventDefault();e.returnValue=false;e.cancelBubble=true;if(e.stopPropagation)e.stopPropagation();return false;},addEmailAddress:function(tableId,address,primaryFlag,replyToFlag,optOutFlag,invalidFlag,emailId){if(this.addInProgress)
return;this.addInProgress=true;if(!address)
-address="";var insertInto=Dom.get(tableId);var parentObj=insertInto.parentNode;var newContent=document.createElement("input");var nav=new String(navigator.appVersion);var newContentPrimaryFlag=document.createElement("input");var newContentReplyToFlag=document.createElement("input");var newContentOptOutFlag=document.createElement("input");var newContentInvalidFlag=document.createElement("input");var newContentVerifiedFlag=document.createElement("input");var newContentVerifiedValue=document.createElement("input");var removeButton=document.createElement("button");var removeButtonImg=document.createElement('img');var tbody=document.createElement("tbody");var tr=document.createElement("tr");var td1=document.createElement("td");var td2=document.createElement("td");var td3=document.createElement("td");var td4=document.createElement("td");var td5=document.createElement("td");var td6=document.createElement("td");var td7=document.createElement("td");var td8=document.createElement("td");var tabIndexCount=0;if(typeof(SUGAR.TabFields)!='undefined'&&typeof(SUGAR.TabFields['email1'])!='undefined'){tabIndexCount=SUGAR.TabFields['email1'];}
+address="";var insertInto=Dom.get(tableId);var parentObj=insertInto.parentNode;var newContent=document.createElement("input");var nav=new String(navigator.appVersion);var newContentRecordId=document.createElement("input");var newContentPrimaryFlag=document.createElement("input");var newContentReplyToFlag=document.createElement("input");var newContentOptOutFlag=document.createElement("input");var newContentInvalidFlag=document.createElement("input");var newContentVerifiedFlag=document.createElement("input");var newContentVerifiedValue=document.createElement("input");var removeButton=document.createElement("button");var removeButtonImg=document.createElement('img');var tbody=document.createElement("tbody");var tr=document.createElement("tr");var td1=document.createElement("td");var td2=document.createElement("td");var td3=document.createElement("td");var td4=document.createElement("td");var td5=document.createElement("td");var td6=document.createElement("td");var td7=document.createElement("td");var td8=document.createElement("td");var tabIndexCount=0;if(typeof(SUGAR.TabFields)!='undefined'&&typeof(SUGAR.TabFields['email1'])!='undefined'){tabIndexCount=SUGAR.TabFields['email1'];}
newContent.setAttribute("type","text");newContent.setAttribute("name",this.id+"emailAddress"+this.numberEmailAddresses);newContent.setAttribute("id",this.id+"emailAddress"+this.numberEmailAddresses);newContent.setAttribute("tabindex",tabIndexCount);newContent.setAttribute("size","30");newContent.setAttribute("title",SUGAR.language.get('app_strings','LBL_EMAIL_TITLE'));if(address!=''){newContent.setAttribute("value",address);}
-removeButtonImg.setAttribute('src',"index.php?entryPoint=getImage&themeName="+SUGAR.themes.theme_name+"&imageName=id-ff-remove-nobg.png");removeButton.setAttribute("id",this.id+"removeButton"+this.numberEmailAddresses);removeButton.setAttribute("class","id-ff-remove");removeButton.setAttribute("name",this.numberEmailAddresses);removeButton.eaw=this;removeButton.setAttribute("tabindex",tabIndexCount);removeButton.onclick=function(){this.eaw.removeEmailAddress(this.name);return false;};removeButton.appendChild(removeButtonImg);newContentPrimaryFlag.setAttribute("type","radio");newContentPrimaryFlag.setAttribute("name",this.id+"emailAddressPrimaryFlag");newContentPrimaryFlag.setAttribute("id",this.id+"emailAddressPrimaryFlag"+this.numberEmailAddresses);newContentPrimaryFlag.setAttribute("value",this.id+"emailAddress"+this.numberEmailAddresses);newContentPrimaryFlag.setAttribute("enabled","true");newContentPrimaryFlag.setAttribute("tabindex",tabIndexCount);newContentReplyToFlag.setAttribute("type","radio");newContentReplyToFlag.setAttribute("name",this.id+"emailAddressReplyToFlag");newContentReplyToFlag.setAttribute("id",this.id+"emailAddressReplyToFlag"+this.numberEmailAddresses);newContentReplyToFlag.setAttribute("value",this.id+"emailAddress"+this.numberEmailAddresses);newContentReplyToFlag.setAttribute("enabled","true");newContentReplyToFlag.setAttribute("tabindex",tabIndexCount);newContentReplyToFlag.eaw=this;newContentReplyToFlag['onclick']=function(){var form=document.forms[this.eaw.emailView];if(!form){form=document.forms['editContactForm'];}
+removeButtonImg.setAttribute('src',"index.php?entryPoint=getImage&themeName="+SUGAR.themes.theme_name+"&imageName=id-ff-remove-nobg.png");removeButton.setAttribute("id",this.id+"removeButton"+this.numberEmailAddresses);removeButton.setAttribute("class","id-ff-remove");removeButton.setAttribute("name",this.numberEmailAddresses);removeButton.setAttribute("type","button");removeButton.setAttribute("tabindex",tabIndexCount);removeButton.onclick=(function(eaw){return function(){eaw.removeEmailAddress(this.name);}})(this);removeButton.appendChild(removeButtonImg);newContentRecordId.setAttribute("type","hidden");newContentRecordId.setAttribute("name",this.id+"emailAddressId"+this.numberEmailAddresses);newContentRecordId.setAttribute("id",this.id+"emailAddressId"+this.numberEmailAddresses);newContentRecordId.setAttribute("value",typeof(emailId)!='undefined'?emailId:'');newContentRecordId.setAttribute("enabled","true");newContentPrimaryFlag.setAttribute("type","radio");newContentPrimaryFlag.setAttribute("name",this.id+"emailAddressPrimaryFlag");newContentPrimaryFlag.setAttribute("id",this.id+"emailAddressPrimaryFlag"+this.numberEmailAddresses);newContentPrimaryFlag.setAttribute("value",this.id+"emailAddress"+this.numberEmailAddresses);newContentPrimaryFlag.setAttribute("enabled","true");newContentPrimaryFlag.setAttribute("tabindex",tabIndexCount);newContentReplyToFlag.setAttribute("type","radio");newContentReplyToFlag.setAttribute("name",this.id+"emailAddressReplyToFlag");newContentReplyToFlag.setAttribute("id",this.id+"emailAddressReplyToFlag"+this.numberEmailAddresses);newContentReplyToFlag.setAttribute("value",this.id+"emailAddress"+this.numberEmailAddresses);newContentReplyToFlag.setAttribute("enabled","true");newContentReplyToFlag.setAttribute("tabindex",tabIndexCount);newContentReplyToFlag.eaw=this;newContentReplyToFlag['onclick']=function(){var form=document.forms[this.eaw.emailView];if(!form){form=document.forms['editContactForm'];}
var nav=new String(navigator.appVersion);if(nav.match(/MSIE/gim)){for(i=0;i<form.elements.length;i++){var id=new String(form.elements[i].id);if(id.match(/emailAddressReplyToFlag/gim)&&form.elements[i].type=='radio'&&id!=this.eaw.id){form.elements[i].checked=false;}}}
for(i=0;i<form.elements.length;i++){var id=new String(form.elements[i].id);if(id.match(/emailAddressReplyToFlag/gim)&&form.elements[i].type=='radio'&&id!=this.eaw.id){this.eaw.replyToFlagObject[this.eaw.id]=false;}}
if(this.eaw.replyToFlagObject[this.id]){this.eaw.replyToFlagObject[this.id]=false;this.checked=false;}else{this.eaw.replyToFlagObject[this.id]=true;this.checked=true;}}
-newContentOptOutFlag.setAttribute("type","checkbox");newContentOptOutFlag.setAttribute("name",this.id+"emailAddressOptOutFlag[]");newContentOptOutFlag.setAttribute("id",this.id+"emailAddressOptOutFlag"+this.numberEmailAddresses);newContentOptOutFlag.setAttribute("value",this.id+"emailAddress"+this.numberEmailAddresses);newContentOptOutFlag.setAttribute("enabled","true");newContentOptOutFlag.eaw=this;newContentOptOutFlag.setAttribute("tabindex",tabIndexCount);newContentOptOutFlag['onClick']=function(){this.eaw.toggleCheckbox(this)};newContentInvalidFlag.setAttribute("type","checkbox");newContentInvalidFlag.setAttribute("name",this.id+"emailAddressInvalidFlag[]");newContentInvalidFlag.setAttribute("id",this.id+"emailAddressInvalidFlag"+this.numberEmailAddresses);newContentInvalidFlag.setAttribute("value",this.id+"emailAddress"+this.numberEmailAddresses);newContentInvalidFlag.setAttribute("enabled","true");newContentInvalidFlag.eaw=this;newContentInvalidFlag.setAttribute("tabindex",tabIndexCount);newContentInvalidFlag['onClick']=function(){this.eaw.toggleCheckbox(this);};newContentVerifiedFlag.setAttribute("type","hidden");newContentVerifiedFlag.setAttribute("name",this.id+"emailAddressVerifiedFlag"+this.numberEmailAddresses);newContentVerifiedFlag.setAttribute("id",this.id+"emailAddressVerifiedFlag"+this.numberEmailAddresses);newContentVerifiedFlag.setAttribute("value","true");newContentVerifiedValue.setAttribute("type","hidden");newContentVerifiedValue.setAttribute("name",this.id+"emailAddressVerifiedValue"+this.numberEmailAddresses);newContentVerifiedValue.setAttribute("id",this.id+"emailAddressVerifiedValue"+this.numberEmailAddresses);newContentVerifiedValue.setAttribute("value",address);newContentVerifiedValue.setAttribute("tabindex",tabIndexCount);this.emailView=(this.emailView=='')?'EditView':this.emailView;addToValidateVerified(this.emailView,this.id+"emailAddressVerifiedFlag"+this.numberEmailAddresses,'bool',false,SUGAR.language.get('app_strings','LBL_VERIFY_EMAIL_ADDRESS'));tr.setAttribute("id",this.id+"emailAddressRow"+this.numberEmailAddresses);td1.setAttribute("nowrap","NOWRAP");td3.setAttribute("align","center");td4.setAttribute("align","center");td5.setAttribute("align","center");td6.setAttribute("align","center");td1.appendChild(newContent);td1.appendChild(document.createTextNode(" "));spanNode=document.createElement('span');spanNode.innerHTML='&nbsp;';td2.appendChild(spanNode);if(this.numberEmailAddresses!=0||typeof(this.emailIsRequired)=="undefined"||!this.emailIsRequired)
+newContentOptOutFlag.setAttribute("type","checkbox");newContentOptOutFlag.setAttribute("name",this.id+"emailAddressOptOutFlag[]");newContentOptOutFlag.setAttribute("id",this.id+"emailAddressOptOutFlag"+this.numberEmailAddresses);newContentOptOutFlag.setAttribute("value",this.id+"emailAddress"+this.numberEmailAddresses);newContentOptOutFlag.setAttribute("enabled","true");newContentOptOutFlag.eaw=this;newContentOptOutFlag.setAttribute("tabindex",tabIndexCount);newContentOptOutFlag['onClick']=function(){this.eaw.toggleCheckbox(this)};newContentInvalidFlag.setAttribute("type","checkbox");newContentInvalidFlag.setAttribute("name",this.id+"emailAddressInvalidFlag[]");newContentInvalidFlag.setAttribute("id",this.id+"emailAddressInvalidFlag"+this.numberEmailAddresses);newContentInvalidFlag.setAttribute("value",this.id+"emailAddress"+this.numberEmailAddresses);newContentInvalidFlag.setAttribute("enabled","true");newContentInvalidFlag.eaw=this;newContentInvalidFlag.setAttribute("tabindex",tabIndexCount);newContentInvalidFlag['onClick']=function(){this.eaw.toggleCheckbox(this);};newContentVerifiedFlag.setAttribute("type","hidden");newContentVerifiedFlag.setAttribute("name",this.id+"emailAddressVerifiedFlag"+this.numberEmailAddresses);newContentVerifiedFlag.setAttribute("id",this.id+"emailAddressVerifiedFlag"+this.numberEmailAddresses);newContentVerifiedFlag.setAttribute("value","true");newContentVerifiedValue.setAttribute("type","hidden");newContentVerifiedValue.setAttribute("name",this.id+"emailAddressVerifiedValue"+this.numberEmailAddresses);newContentVerifiedValue.setAttribute("id",this.id+"emailAddressVerifiedValue"+this.numberEmailAddresses);newContentVerifiedValue.setAttribute("value",address);newContentVerifiedValue.setAttribute("tabindex",tabIndexCount);this.emailView=(this.emailView=='')?'EditView':this.emailView;addToValidateVerified(this.emailView,this.id+"emailAddressVerifiedFlag"+this.numberEmailAddresses,'bool',false,SUGAR.language.get('app_strings','LBL_VERIFY_EMAIL_ADDRESS'));tr.setAttribute("id",this.id+"emailAddressRow"+this.numberEmailAddresses);td1.setAttribute("nowrap","NOWRAP");td3.setAttribute("align","center");td4.setAttribute("align","center");td5.setAttribute("align","center");td6.setAttribute("align","center");td1.appendChild(newContent);td1.appendChild(newContentRecordId);td1.appendChild(document.createTextNode(" "));spanNode=document.createElement('span');spanNode.innerHTML='&nbsp;';td2.appendChild(spanNode);if(this.numberEmailAddresses!=0||typeof(this.emailIsRequired)=="undefined"||!this.emailIsRequired)
td2.appendChild(removeButton);td3.appendChild(newContentPrimaryFlag);td4.appendChild(newContentReplyToFlag);td5.appendChild(newContentOptOutFlag);td6.appendChild(newContentInvalidFlag);td7.appendChild(newContentVerifiedFlag);td8.appendChild(newContentVerifiedValue);tr.appendChild(td1);tr.appendChild(td2);tr.appendChild(td3);if(typeof(this.module)!='undefined'&&this.module=='Users'){tr.appendChild(td4);}else{tr.appendChild(td5);tr.appendChild(td6);}
tr.appendChild(td7);tr.appendChild(td8);tbody.appendChild(tr);insertInto.appendChild(tbody);parentObj.insertBefore(Dom.get('targetBody'),insertInto);if(primaryFlag=='1'||(this.numberEmailAddresses==0)){newContentPrimaryFlag.setAttribute("checked",'true');newContent.setAttribute("title",SUGAR.language.get('app_strings','LBL_EMAIL_PRIM_TITLE'));}
if(replyToFlag=='1'){newContentReplyToFlag.setAttribute("checked","true");}
@@ -206,7 +206,7 @@ if(replyToFlag=='1'){this.replyToFlagObject[newContentReplyToFlag.id]=true;}else
if(optOutFlag=='1'){newContentOptOutFlag.setAttribute("checked",'true');newContent.setAttribute("title",SUGAR.language.get('app_strings','LBL_EMAIL_OPT_TITLE'));}
if(invalidFlag=='1'){newContentInvalidFlag.setAttribute("checked","true");newContent.setAttribute("title",SUGAR.language.get('app_strings','LBL_EMAIL_INV_TITLE'));}
newContent.eaw=this;newContent.onblur=function(e){this.eaw.retrieveEmailAddress(e)};newContent.onkeydown=function(e){this.eaw.handleKeyDown(e)};if(YAHOO.env.ua.ie>0){var emailcontainer=Dom.getAncestorByTagName(insertInto,'span');YAHOO.util.Event.addListener(newContent,"change",function(ev,el){SUGAR.util.callOnChangeListers(el);},emailcontainer);}
-this.EmailAddressValidation(this.emailView,this.id+'emailAddress'+this.numberEmailAddresses,this.emailIsRequired,SUGAR.language.get('app_strings','LBL_EMAIL_ADDRESS_BOOK_EMAIL_ADDR'));this.numberEmailAddresses++;this.addInProgress=false;},EmailAddressValidation:function(ev,fn,r,stR){YAHOO.util.Event.onContentReady(fn,function(){addToValidate(ev,fn,'email',r,stR);});},removeEmailAddress:function(index){removeFromValidate(this.emailView,this.id+'emailAddress'+index);var oNodeToRemove=$("#"+this.id+'emailAddressRow'+index);var form=oNodeToRemove.parents("form")[0];oNodeToRemove.find("input").each(function(index,node){$(node).remove();});oNodeToRemove.css("display","none");var removedIndex=parseInt(index);if(this.numberEmailAddresses!=removedIndex){for(var x=removedIndex+1;x<this.numberEmailAddresses;x++){Dom.get(this.id+'emailAddress'+x).setAttribute("name",this.id+"emailAddress"+(x-1));Dom.get(this.id+'emailAddress'+x).setAttribute("id",this.id+"emailAddress"+(x-1));if(Dom.get(this.id+'emailAddressInvalidFlag'+x)){Dom.get(this.id+'emailAddressInvalidFlag'+x).setAttribute("value",this.id+"emailAddress"+(x-1));Dom.get(this.id+'emailAddressInvalidFlag'+x).setAttribute("id",this.id+"emailAddressInvalidFlag"+(x-1));}
+this.EmailAddressValidation(this.emailView,this.id+'emailAddress'+this.numberEmailAddresses,this.emailIsRequired,SUGAR.language.get('app_strings','LBL_EMAIL_ADDRESS_BOOK_EMAIL_ADDR'));this.numberEmailAddresses++;this.addInProgress=false;},EmailAddressValidation:function(ev,fn,r,stR){YAHOO.util.Event.onContentReady(fn,function(){addToValidate(ev,fn,'email',r,stR);});},removeEmailAddress:function(index){removeFromValidate(this.emailView,this.id+'emailAddress'+index);var oNodeToRemove=Dom.get(this.id+'emailAddressRow'+index);var form=Dom.getAncestorByTagName(oNodeToRemove,"form");oNodeToRemove.parentNode.removeChild(oNodeToRemove);var removedIndex=parseInt(index);if(this.numberEmailAddresses!=removedIndex){for(var x=removedIndex+1;x<this.numberEmailAddresses;x++){Dom.get(this.id+'emailAddress'+x).setAttribute("name",this.id+"emailAddress"+(x-1));Dom.get(this.id+'emailAddress'+x).setAttribute("id",this.id+"emailAddress"+(x-1));if(Dom.get(this.id+'emailAddressInvalidFlag'+x)){Dom.get(this.id+'emailAddressInvalidFlag'+x).setAttribute("value",this.id+"emailAddress"+(x-1));Dom.get(this.id+'emailAddressInvalidFlag'+x).setAttribute("id",this.id+"emailAddressInvalidFlag"+(x-1));}
if(Dom.get(this.id+'emailAddressOptOutFlag'+x)){Dom.get(this.id+'emailAddressOptOutFlag'+x).setAttribute("value",this.id+"emailAddress"+(x-1));Dom.get(this.id+'emailAddressOptOutFlag'+x).setAttribute("id",this.id+"emailAddressOptOutFlag"+(x-1));}
if(Dom.get(this.id+'emailAddressPrimaryFlag'+x)){Dom.get(this.id+'emailAddressPrimaryFlag'+x).setAttribute("id",this.id+"emailAddressPrimaryFlag"+(x-1));}
Dom.get(this.id+'emailAddressVerifiedValue'+x).setAttribute("id",this.id+"emailAddressVerifiedValue"+(x-1));Dom.get(this.id+'emailAddressVerifiedFlag'+x).setAttribute("id",this.id+"emailAddressVerifiedFlag"+(x-1));var rButton=Dom.get(this.id+'removeButton'+x);rButton.setAttribute("name",(x-1));rButton.setAttribute("id",this.id+"removeButton"+(x-1));Dom.get(this.id+'emailAddressRow'+x).setAttribute("id",this.id+'emailAddressRow'+(x-1));}}
View
26 data/Link2.php
@@ -466,12 +466,14 @@ public function beansAreLoaded() {
* @param array $rel_keys array of ids or SugarBean objects. If you have the bean in memory, pass it in.
* @param array $additional_values the values should be passed as key value pairs with column name as the key name and column value as key value.
*
- * @return void
+ * @return boolean|array Return true if all relationships were added. Return an array with the failed keys if any of them failed.
*/
function add($rel_keys,$additional_values=array()) {
if (!is_array($rel_keys))
$rel_keys = array($rel_keys);
+ $failures = array();
+
foreach($rel_keys as $key)
{
//We must use beans for LogicHooks and other business logic to fire correctly
@@ -487,12 +489,22 @@ function add($rel_keys,$additional_values=array()) {
return false;
if ($this->getSide() == REL_LHS) {
- $this->relationship->add($this->focus, $key, $additional_values);
+ $success = $this->relationship->add($this->focus, $key, $additional_values);
}
else {
- $this->relationship->add($key, $this->focus, $additional_values);
+ $success = $this->relationship->add($key, $this->focus, $additional_values);
+ }
+
+ if($success == false) {
+ $failures[] = $key->id;
}
}
+
+ if(!empty($failures)) {
+ return $failures;
+ }
+
+ return true;
}
@@ -501,7 +513,7 @@ function add($rel_keys,$additional_values=array()) {
* Marks the relationship delted for this given record pair.
* @param $id id of the Parent/Focus SugarBean
* @param string $related_id id or SugarBean to unrelate. Pass a SugarBean if you have it.
- * @return void
+ * @return boolean true if delete was successful or false if it was not
*/
function delete($id, $related_id='') {
if (empty($this->focus->id))
@@ -512,15 +524,15 @@ function delete($id, $related_id='') {
$related_id = $this->getRelatedBean($related_id);
}
if ($this->getSide() == REL_LHS) {
- $this->relationship->remove($this->focus, $related_id);
+ return $this->relationship->remove($this->focus, $related_id);
}
else {
- $this->relationship->remove($related_id, $this->focus);
+ return $this->relationship->remove($related_id, $this->focus);
}
}
else
{
- $this->relationship->removeAll($this);
+ return $this->relationship->removeAll($this);
}
}
View
4 data/Relationships/EmailAddressRelationship.php
@@ -79,6 +79,8 @@ public function add($lhs, $rhs, $additionalFields = array())
$lhs->$lhsLinkName->addBean($rhs);
$this->callAfterAdd($lhs, $rhs, $lhsLinkName);
+
+ return true;
}
public function remove($lhs, $rhs)
@@ -126,5 +128,7 @@ public function remove($lhs, $rhs)
$this->callAfterDelete($lhs, $rhs, $lhsLinkName);
}
}
+
+ return true;
}
}
View
4 data/Relationships/M2MRelationship.php
@@ -160,6 +160,8 @@ public function add($lhs, $rhs, $additionalFields = array())
$this->callAfterAdd($lhs, $rhs, $lhsLinkName);
$this->callAfterAdd($rhs, $lhs, $rhsLinkName);
+
+ return true;
}
protected function getRowToInsert($lhs, $rhs, $additionalFields = array())
@@ -279,6 +281,8 @@ public function remove($lhs, $rhs)
$this->callAfterDelete($rhs, $lhs, $rhsLinkName);
}
}
+
+ return true;
}
/**
View
47 data/Relationships/One2MBeanRelationship.php
@@ -109,6 +109,8 @@ public function add($lhs, $rhs, $additionalFields = array())
//If we aren't already in a relationship save, intitiate a save now.
if (empty($GLOBALS['resavingRelatedBeans']))
SugarRelationship::resaveRelatedBeans();
+
+ return true;
}
protected function updateLinks($lhs, $lhsLinkName, $rhs, $rhsLinkName)
@@ -143,7 +145,7 @@ public function remove($lhs, $rhs, $save = true)
//If this relationship has already been removed, we can just return
if ($rhs->$rhsID != $lhs->id)
- return;
+ return false;
$rhs->$rhsID = '';
@@ -164,6 +166,8 @@ public function remove($lhs, $rhs, $save = true)
$this->callAfterDelete($lhs, $rhs);
$this->callAfterDelete($rhs, $lhs);
}
+
+ return true;
}
/**
@@ -315,28 +319,25 @@ public function getSubpanelQuery($link, $params = array(), $return_array = false
$alias = $GLOBALS['db']->getValidDBName($alias, false, 'alias');
$tableInRoleFilter = "";
- if (($targetTable == "meetings" ||
- $targetTable == "notes" ||
- $targetTable == "tasks" ||
- $targetTable == "calls") && $linkIsLHS == false) {
- if (substr($alias, -25) == "activities_1_meetings_rel" ||
- substr($alias, -22) == "activities_1_tasks_rel" ||
- substr($alias, -22) == "activities_1_calls_rel" ||
- substr($alias, -23) == "activities_1_emails_rel" ||
- substr($alias, -22) == "activities_1_notes_rel")
- $tableInRoleFilter = $alias;
- }
- else if (($startingTable == "meetings" ||
- $startingTable == "notes" ||
- $startingTable == "tasks" ||
- $startingTable == "calls" ||
- $startingTable == "emails") && empty($linkIsLHS)) {
- if (substr($alias, -23) == "activities_meetings_rel" ||
- substr($alias, -20) == "activities_tasks_rel" ||
- substr($alias, -20) == "activities_calls_rel" ||
- substr($alias, -21) == "activities_emails_rel" ||
- substr($alias, -20) == "activities_notes_rel")
- $tableInRoleFilter = $startingTable;
+ if (
+ (
+ $startingTable == "meetings"
+ || $startingTable == "notes"
+ || $startingTable == "tasks"
+ || $startingTable == "calls"
+ || $startingTable == "emails"
+ )
+ &&
+ (
+ $targetTable == "meetings"
+ || $targetTable == "notes"
+ || $targetTable == "tasks"
+ || $targetTable == "calls"
+ )
+ && substr($alias, 0, 12 + strlen($targetTable)) == $targetTable . "_activities_"
+ )
+ {
+ $tableInRoleFilter = $linkIsLHS ? $alias : $startingTable;
}
//Set up any table aliases required
View
2  data/Relationships/One2OneBeanRelationship.php
@@ -63,7 +63,7 @@ public function add($lhs, $rhs, $additionalFields = array())
$lhs->load_relationship($lhsLinkName);
$this->removeAll($lhs->$lhsLinkName);
- parent::add($lhs, $rhs, $additionalFields);
+ return parent::add($lhs, $rhs, $additionalFields);
}
protected function updateLinks($lhs, $lhsLinkName, $rhs, $rhsLinkName)
View
5 data/Relationships/One2OneRelationship.php
@@ -71,8 +71,11 @@ public function add($lhs, $rhs, $additionalFields = array())
$rhs->load_relationship($rhsLinkName);
$this->removeAll($rhs->$rhsLinkName);
- parent::add($lhs, $rhs, $additionalFields);
+ return parent::add($lhs, $rhs, $additionalFields);
}
+
+ // data matched what was there so return false, since nothing happened
+ return false;
}
View
8 data/Relationships/RelationshipFactory.php
@@ -161,7 +161,7 @@ protected function buildRelationshipCache()
if ($buildingRelCache)
return;
$buildingRelCache = true;
- include_once("modules/TableDictionary.php");
+ include("modules/TableDictionary.php");
if (empty($beanList))
include("include/modules.php");
@@ -194,8 +194,8 @@ protected function buildRelationshipCache()
}
//Save it out
sugar_mkdir(dirname($this->getCacheFile()), null, true);
- $out="<?php \n \$relationships=" . var_export($relationships, true) .";";
- sugar_file_put_contents($this->getCacheFile(), $out);
+ $out = "<?php \n \$relationships = " . var_export($relationships, true) . ";";
+ sugar_file_put_contents_atomic($this->getCacheFile(), $out);
$this->relationships = $relationships;
$buildingRelCache = false;
@@ -207,4 +207,4 @@ protected function getCacheFile() {
-}
+}
View
14 data/Relationships/SugarRelationship.php
@@ -71,7 +71,7 @@
* @abstract
* @param $lhs SugarBean
* @param $rhs SugarBean
- * @return void
+ * @return boolean
*/
public abstract function remove($lhs, $rhs);
@@ -115,7 +115,7 @@
/**
* @param $link Link2 removes all the beans associated with this link from the relationship
- * @return void
+ * @return boolean true if it was successful, false if it was not
*/
public function removeAll($link)
{
@@ -128,10 +128,12 @@ public function removeAll($link)
}
if ($link->getSide() == REL_LHS)
- $this->remove($focus, $relBean);
+ return $this->remove($focus, $relBean);
else
- $this->remove($relBean, $focus);
+ return $this->remove($relBean, $focus);
}
+
+ return false;
}
/**
@@ -184,7 +186,7 @@ public function getFields()
/**
* @param array $row values to be inserted into the relationship
- * @return bool|void null if new row was inserted and true if an exesting row was updated
+ * @return bool|void null if new row was inserted and true if an existing row was updated
*/
protected function addRow($row)
{
@@ -483,4 +485,4 @@ public function __get($name)
return null;
}
-}
+}
View
228 data/SugarBean.php
@@ -218,6 +218,7 @@ class SugarBean
var $relationship_fields = array();
var $current_notify_user;
var $fetched_row=false;
+ var $fetched_rel_row = array();
var $layout_def;
var $force_load_details = false;
var $optimistic_lock = false;
@@ -1651,33 +1652,51 @@ function create_notification_email($notify_user) {
}
/**
- * This function is a good location to save changes that have been made to a relationship.
- * This should be overriden in subclasses that have something to save.
- *
- * @param $is_update true if this save is an update.
- */
-function save_relationship_changes($is_update, $exclude=array())
+ * This function is a good location to save changes that have been made to a relationship.
+ * This should be overridden in subclasses that have something to save.
+ *
+ * @param boolean $is_update true if this save is an update.
+ * @param array $exclude a way to exclude relationships
+ */
+ public function save_relationship_changes($is_update, $exclude = array())
+ {
+ list($new_rel_id, $new_rel_link) = $this->set_relationship_info($exclude);
+
+ $new_rel_id = $this->handle_preset_relationships($new_rel_id, $new_rel_link, $exclude);
+
+ $this->handle_remaining_relate_fields($exclude);
+
+ $this->handle_request_relate($new_rel_id, $new_rel_link);
+ }
+
+ /**
+ * Look in the bean for the new relationship_id and relationship_name if $this->not_use_rel_in_req is set to true,
+ * otherwise check the $_REQUEST param for a relate_id and relate_to field. Once we have that make sure that it's
+ * not excluded from the passed in array of relationships to exclude
+ *
+ * @param array $exclude any relationship's to exclude
+ * @return array The relationship_id and relationship_name in an array
+ */
+ protected function set_relationship_info($exclude = array())
{
+
$new_rel_id = false;
$new_rel_link = false;
-
// check incoming data
- if(isset($this->not_use_rel_in_req) && $this->not_use_rel_in_req)
- {
+ if (isset($this->not_use_rel_in_req) && $this->not_use_rel_in_req == true) {
// if we should use relation data from properties (for REQUEST-independent calls)
- $rel_id=isset($this->new_rel_id) ? $this->new_rel_id : '';
- $rel_link=isset($this->new_rel_relname) ? $this->new_rel_relname : '';
+ $rel_id = isset($this->new_rel_id) ? $this->new_rel_id : '';
+ $rel_link = isset($this->new_rel_relname) ? $this->new_rel_relname : '';
}
- else
- {
+ else
+ {
// if we should use relation data from REQUEST
- $rel_id=isset($_REQUEST['relate_id']) ? $_REQUEST['relate_id'] : '';
- $rel_link=isset($_REQUEST['relate_to']) ? $_REQUEST['relate_to'] : '';
+ $rel_id = isset($_REQUEST['relate_id']) ? $_REQUEST['relate_id'] : '';
+ $rel_link = isset($_REQUEST['relate_to']) ? $_REQUEST['relate_to'] : '';
}
// filter relation data
- if($rel_id && $rel_link && !in_array($rel_link, $exclude) && $rel_id != $this->id)
- {
+ if ($rel_id && $rel_link && !in_array($rel_link, $exclude) && $rel_id != $this->id) {
$new_rel_id = $rel_id;
$new_rel_link = $rel_link;
// Bug #53223 : wrong relationship from subpanel create button
@@ -1700,17 +1719,30 @@ function save_relationship_changes($is_update, $exclude=array())
}
}
}
- }
+ }
+ return array($new_rel_id, $new_rel_link);
+ }
- // First we handle the preset fields listed in the fixed relationship_fields array hardcoded into the OOB beans
- // TODO: remove this mechanism and replace with mechanism exclusively based on the vardefs
- if (isset($this->relationship_fields) && is_array($this->relationship_fields))
- {
- foreach ($this->relationship_fields as $id=>$rel_name)
+ /**
+ * Handle the preset fields listed in the fixed relationship_fields array hardcoded into the OOB beans
+ *
+ * TODO: remove this mechanism and replace with mechanism exclusively based on the vardefs
+ *
+ * @api
+ * @see save_relationship_changes
+ * @param string|boolean $new_rel_id String of the ID to add
+ * @param string Relationship Name
+ * @param array $exclude any relationship's to exclude
+ * @return string|boolean Return the new_rel_id if it was not used. False if it was used.
+ */
+ protected function handle_preset_relationships($new_rel_id, $new_rel_link, $exclude = array())
+ {
+ if (isset($this->relationship_fields) && is_array($this->relationship_fields)) {
+ foreach ($this->relationship_fields as $id => $rel_name)
{
- if(in_array($id, $exclude))continue;
+ if (in_array($id, $exclude)) continue;
if(!empty($this->$id))
{
@@ -1721,60 +1753,82 @@ function save_relationship_changes($is_update, $exclude=array())
}
$GLOBALS['log']->debug('save_relationship_changes(): From relationship_field array - adding a relationship record: '.$rel_name . ' = ' . $this->$id);
//already related the new relationship id so let's set it to false so we don't add it again using the _REQUEST['relate_i'] mechanism in a later block
- if($this->$id == $new_rel_id){
+ $this->load_relationship($rel_name);
+ $rel_add = $this->$rel_name->add($this->$id);
+ // move this around to only take out the id if it was save successfully
+ if ($this->$id == $new_rel_id && $rel_add == true) {
$new_rel_id = false;
}
- $this->load_relationship($rel_name);
- $this->$rel_name->add($this->$id);
- $related = true;
- }
- else
- {
+ } else {
//if before value is not empty then attempt to delete relationship
- if(!empty($this->rel_fields_before_value[$id]))
- {
- $GLOBALS['log']->debug('save_relationship_changes(): From relationship_field array - attempting to remove the relationship record, using relationship attribute'.$rel_name);
+ if (!empty($this->rel_fields_before_value[$id])) {
+ $GLOBALS['log']->debug('save_relationship_changes(): From relationship_field array - attempting to remove the relationship record, using relationship attribute' . $rel_name);
$this->load_relationship($rel_name);
- $this->$rel_name->delete($this->id,$this->rel_fields_before_value[$id]);
+ $this->$rel_name->delete($this->id, $this->rel_fields_before_value[$id]);
}
}
}
}
-/* Next, we'll attempt to update all of the remaining relate fields in the vardefs that have 'save' set in their field_def
- Only the 'save' fields should be saved as some vardef entries today are not for display only purposes and break the application if saved
- If the vardef has entries for field <a> of type relate, where a->id_name = <b> and field <b> of type link
- then we receive a value for b from the MVC in the _REQUEST, and it should be set in the bean as $this->$b
-*/
+ return $new_rel_id;
+ }
- foreach ( $this->field_defs as $def )
- {
- if ($def [ 'type' ] == 'relate' && isset ( $def [ 'id_name'] ) && isset ( $def [ 'link'] ) && isset ( $def[ 'save' ]) )
- {
- if ( in_array( $def['id_name'], $exclude) || in_array( $def['id_name'], $this->relationship_fields ) )
- continue ; // continue to honor the exclude array and exclude any relationships that will be handled by the relationship_fields mechanism
+ /**
+ * Next, we'll attempt to update all of the remaining relate fields in the vardefs that have 'save' set in their field_def
+ * Only the 'save' fields should be saved as some vardef entries today are not for display only purposes and break the application if saved
+ * If the vardef has entries for field <a> of type relate, where a->id_name = <b> and field <b> of type link
+ * then we receive a value for b from the MVC in the _REQUEST, and it should be set in the bean as $this->$b
+ *
+ * @api
+ * @see save_relationship_changes
+ * @param array $exclude any relationship's to exclude
+ * @return array the list of relationships that were added or removed successfully or if they were a failure
+ */
+ protected function handle_remaining_relate_fields($exclude = array())
+ {
- $linkField = $def [ 'link' ] ;
- if (isset( $this->field_defs[$linkField ] ))
- {
- $linkfield = $this->field_defs[$linkField] ;
+ $modified_relationships = array(
+ 'add' => array('success' => array(), 'failure' => array()),
+ 'remove' => array('success' => array(), 'failure' => array()),
+ );
- if ($this->load_relationship ( $linkField))
- {
+ foreach ($this->field_defs as $def)
+ {
+ if ($def ['type'] == 'relate' && isset ($def ['id_name']) && isset ($def ['link']) && isset ($def['save'])) {
+ if (in_array($def['id_name'], $exclude) || in_array($def['id_name'], $this->relationship_fields))
+ continue; // continue to honor the exclude array and exclude any relationships that will be handled by the relationship_fields mechanism
+
+ $linkField = $def ['link'];
+ if (isset($this->field_defs[$linkField])) {
+ if ($this->load_relationship($linkField)) {
$idName = $def['id_name'];
- if (!empty($this->rel_fields_before_value[$idName]) && empty($this->$idName))
- {
+ if (!empty($this->rel_fields_before_value[$idName]) && empty($this->$idName)) {
//if before value is not empty then attempt to delete relationship
$GLOBALS['log']->debug("save_relationship_changes(): From field_defs - attempting to remove the relationship record: {$def [ 'link' ]} = {$this->rel_fields_before_value[$def [ 'id_name' ]]}");
- $this->$def ['link' ]->delete($this->id, $this->rel_fields_before_value[$def [ 'id_name' ]] );
+ $success = $this->$def ['link']->delete($this->id, $this->rel_fields_before_value[$def ['id_name']]);
+ // just need to make sure it's true and not an array as it's possible to return an array
+ if($success == true) {
+ $modified_relationships['remove']['success'][] = $def['link'];
+ } else {
+ $modified_relationships['remove']['failure'][] = $def['link'];
+ }
+ $GLOBALS['log']->debug("save_relationship_changes(): From field_defs - attempting to remove the relationship record returned " . var_export($success, true));
}
- if (!empty($this->$idName) && is_string($this->$idName))
- {
- $GLOBALS['log']->debug("save_relationship_changes(): From field_defs - attempting to add a relationship record - {$def [ 'link' ]} = {$this->$def [ 'id_name' ]}" );
+ if (!empty($this->$idName) && is_string($this->$idName)) {
+ $GLOBALS['log']->debug("save_relationship_changes(): From field_defs - attempting to add a relationship record - {$def [ 'link' ]} = {$this->$def [ 'id_name' ]}");
+
+ $success = $this->$linkField->add($this->$idName);
- $this->$linkField->add($this->$idName);
+ // just need to make sure it's true and not an array as it's possible to return an array
+ if($success == true) {
+ $modified_relationships['add']['success'][] = $linkField;
+ } else {
+ $modified_relationships['add']['failure'][] = $linkField;
+ }
+
+ $GLOBALS['log']->debug("save_relationship_changes(): From field_defs - add a relationship record returned " . var_export($success, true));
}
} else {
$GLOBALS['log']->fatal("Failed to load relationship {$linkField} while saving {$this->module_dir}");
@@ -1783,40 +1837,52 @@ function save_relationship_changes($is_update, $exclude=array())
}
}
- // Finally, we update a field listed in the _REQUEST['*/relate_id']/_REQUEST['relate_to'] mechanism (if it hasn't already been updated above)
- if(!empty($new_rel_id)){
+ return $modified_relationships;
+ }
- if($this->load_relationship($new_rel_link)){
- $this->$new_rel_link->add($new_rel_id);
+ /**
+ * Finally, we update a field listed in the _REQUEST['%/relate_id']/_REQUEST['relate_to'] mechanism (if it has not already been updated)
+ *
+ * @api
+ * @see save_relationship_changes
+ * @param string|boolean $new_rel_id
+ * @param string $new_rel_link
+ * @return boolean
+ */
+ protected function handle_request_relate($new_rel_id, $new_rel_link)
+ {
+ if (!empty($new_rel_id)) {
- }else{
+ if ($this->load_relationship($new_rel_link)) {
+ return $this->$new_rel_link->add($new_rel_id);
+ } else {
$lower_link = strtolower($new_rel_link);
- if($this->load_relationship($lower_link)){
- $this->$lower_link->add($new_rel_id);
+ if ($this->load_relationship($lower_link)) {
+ return $this->$lower_link->add($new_rel_id);
- }else{
+ } else {
require_once('data/Link2.php');
- $rel = Relationship::retrieve_by_modules($new_rel_link, $this->module_dir, $GLOBALS['db'], 'many-to-many');
+ $rel = Relationship::retrieve_by_modules($new_rel_link, $this->module_dir, $this->db, 'many-to-many');
- if(!empty($rel)){
- foreach($this->field_defs as $field=>$def){
- if($def['type'] == 'link' && !empty($def['relationship']) && $def['relationship'] == $rel){
+ if (!empty($rel)) {
+ foreach ($this->field_defs as $field => $def) {
+ if ($def['type'] == 'link' && !empty($def['relationship']) && $def['relationship'] == $rel) {
$this->load_relationship($field);
- $this->$field->add($new_rel_id);
- return;
-
+ return $this->$field->add($new_rel_id);
}
}
//ok so we didn't find it in the field defs let's save it anyway if we have the relationshp
- $this->$rel=new Link2($rel, $this, array());
- $this->$rel->add($new_rel_id);
+ $this->$rel = new Link2($rel, $this, array());
+ return $this->$rel->add($new_rel_id);
}
}
-
}
}
+
+ // nothing was saved so just return false;
+ return false;
}
/**
@@ -2147,6 +2213,14 @@ function retrieve($id = -1, $encode=true,$deleted=true)
$this->is_updated_dependent_fields = false;
$this->fill_in_additional_detail_fields();
$this->fill_in_relationship_fields();
+// save related fields values for audit
+ foreach ($this->get_related_fields() as $rel_field_name)
+ {
+ if (! empty($this->$rel_field_name['name']))
+ {
+ $this->fetched_rel_row[$rel_field_name['name']] = $this->$rel_field_name['name'];
+ }
+ }
//make a copy of fields in the relationship_fields array. These field values will be used to
//clear relationship.
foreach ( $this->field_defs as $key => $def )
View
198 files.md5
@@ -1,5 +1,5 @@
<?php
-// created: 2012-08-24 10:39:16
+// created: 2012-09-19 15:50:47
$md5_string = array (
'./LICENSE.txt' => 'd3f150e4a5bed444763ebe8a81742a95',
'./.htaccess' => 'd41d8cd98f00b204e9800998ecf8427e',
@@ -10,7 +10,7 @@ $md5_string = array (
'./log_file_restricted.html' => 'c060f5a22a297b26a3c27fab7e99e4a9',
'./soap.php' => 'b507c82aa35ff6765a082a1b875d4865',
'./include/SugarObjects/SugarRegistry.php' => '9983aad8fa1c984c64d2c8e439851cee',
- './include/SugarObjects/VardefManager.php' => '798628a21af15a4257f21be0ab51aaf4',
+ './include/SugarObjects/VardefManager.php' => '714b74371c5800d9b3cd86e8d278a950',
'./include/SugarObjects/SugarSession.php' => '3f1cdefe0f810a15ef344e0086905be5',
'./include/SugarObjects/templates/file/vardefs.php' => 'cc7113aa9fb7713ce89be4bb35b061d5',
'./include/SugarObjects/templates/file/icons/Createfile.gif' => '3ed1d93938f715b1af93c0e99e900af5',
@@ -82,7 +82,7 @@ $md5_string = array (
'./include/SugarObjects/templates/person/metadata/listviewdefs.php' => '05ce4144900a1e6d3949cb3d50c0ea5d',
'./include/SugarObjects/templates/person/metadata/detailviewdefs.php' => '3345c1e3c927e0ed0ba010cb0cc7fdfe',
'./include/SugarObjects/templates/person/language/en_us.lang.php' => '03d26660f443329319c29b1bd14c478d',
- './include/SugarObjects/templates/person/Person.php' => '4082948ab2cf15be8f910f8f57cb284c',
+ './include/SugarObjects/templates/person/Person.php' => '763305f02b1506a2f0e00f9408b5cfdc',
'./include/SugarObjects/templates/basic/vardefs.php' => '595e708242310b7863643e48d397263a',
'./include/SugarObjects/templates/basic/icons/Createbasic.gif' => 'e25889cd660d838655f5e213fe565f0d',
'./include/SugarObjects/templates/basic/icons/basic_32.gif' => 'd92dc1c8a1ef6e0351b6948d78bf1436',
@@ -272,7 +272,7 @@ $md5_string = array (
'./include/HTMLPurifier/LICENSE' => 'a1b3d3e45e8422eed104489842a6f546',
'./include/HTMLPurifier/CREDITS' => 'a5f9ddecea015543001404c0a9bfd181',
'./include/SugarHtml/SugarHtml.php' => '058c02dae665d65a0c630927988e9594',
- './include/SubPanel/SubPanelTiles.js' => 'cc46637bcf0873d50a36ad07b4552eb9',
+ './include/SubPanel/SubPanelTiles.js' => '0b6bbd54ff641c36526097d4b67fe4e1',
'./include/SubPanel/SugarTab.php' => '398584e6128906ecf4b4b5154ced95ee',
'./include/SubPanel/SubPanelDynamic.html' => '4f74fcd4211256ec95d0054799608906',
'./include/SubPanel/tpls/singletabmenu.tpl' => '252c751fac27affd042dc7ba1ee83a00',
@@ -336,7 +336,7 @@ $md5_string = array (
'./include/SugarFields/Fields/Html/DetailView.tpl' => '3b17bdfd071fd66de1a712d1c5bfe55b',
'./include/SugarFields/Fields/Html/SugarFieldHtml.php' => '42f4294287877b0e04b4cb4df7afeca5',
'./include/SugarFields/Fields/Text/SugarFieldText.php' => 'c30eb065bcb75d70df33a67d0faae2c8',
- './include/SugarFields/Fields/Text/DetailView.tpl' => 'cbf8e46def8846161dbc6ccfd8e4ee1b',
+ './include/SugarFields/Fields/Text/DetailView.tpl' => '3b3a6ce31ef527f9d92513c3ff764a5e',
'./include/SugarFields/Fields/Text/EditView.tpl' => '26aa7313fd3fe83db6f16c1de80a2823',
'./include/SugarFields/Fields/Text/ClassicEditView.tpl' => 'b0b4eba7ded342f4b26d79d4b8c3a723',
'./include/SugarFields/Fields/Datetime/SugarFieldDatetime.php' => '4d6c3b36c232f8ee13caab372e8b39f2',
@@ -347,7 +347,7 @@ $md5_string = array (
'./include/SugarFields/Fields/Float/EditView.tpl' => '7f8f08b4f16fbb26cb172aa162f95d01',
'./include/SugarFields/Fields/Currency/DetailView.tpl' => 'd66275d18e5f54d81e39fe27040f6a24',
'./include/SugarFields/Fields/Currency/EditView.tpl' => '047c303129e89b26ad0da1741cd28e90',
- './include/SugarFields/Fields/Currency/SugarFieldCurrency.php' => '7e8de8cbec2d09cbd8cd0c3d41f467aa',
+ './include/SugarFields/Fields/Currency/SugarFieldCurrency.php' => 'f03ea5587d686eec357bd97b6b342dd4',
'./include/SugarFields/Fields/Currency/ListView.tpl' => '9b169f665697516c771151a27ab7dc3a',
'./include/SugarFields/Fields/Password/SugarFieldPassword.php' => '50644b74c6a8bc8d1a62b81bbb4d7d80',
'./include/SugarFields/Fields/Password/EditView.tpl' => 'aa42f8ace5d954a82a0cecd46b9fd549',
@@ -434,11 +434,11 @@ $md5_string = array (
'./include/SugarFields/Fields/Download/SugarFieldDownload.php' => '9aff3c7f986153faf4946a8c7d9e657b',
'./include/SugarFields/Fields/Download/DetailView.tpl' => 'f768b45ff7bed5b8f4fc7857e295e0e0',
'./include/SugarFields/Fields/File/SugarFieldFile.js' => '61c18b22e384c93c0727459380d0f94d',
- './include/SugarFields/Fields/File/SugarFieldFile.php' => 'b1c9e0b918b501e92d7409d407598cb5',
+ './include/SugarFields/Fields/File/SugarFieldFile.php' => '6d2a8e59593d80619f40c753514586e2',
'./include/SugarFields/Fields/File/DetailView.tpl' => 'c53209bd4256bfe36c907885ce676de0',
'./include/SugarFields/Fields/File/EditView.tpl' => 'b6f309a0fd9fb2d14fbe7a5106144810',
'./include/SugarFields/Fields/File/ListView.tpl' => '95e874bab3a46d7de4c46d46507f914a',
- './include/SugarFields/Fields/File/SearchView.tpl' => '03bcd06cd7f6dd1f013481a62a0ef5f5',
+ './include/SugarFields/Fields/File/SearchView.tpl' => 'f2b8bfd0b333ed8413f546f9feb715d0',
'./include/SugarFields/SugarFieldHandler.php' => '947f17f87ecef6408acd7119aaad7e2d',
'./include/SugarFields/Parsers/SearchFormMetaParser.php' => '24f0ee643d56d67ccce0428b2f1c5b0d',
'./include/SugarFields/Parsers/Rules/ProductsParseRule.php' => '2a301608bfab0f56067becaa4ee4d439',
@@ -476,7 +476,7 @@ $md5_string = array (
'./include/SugarCharts/swf/chart.swf' => 'afda6fe91342c4864d1991d3c1ccbfff',
'./include/SugarCharts/swf/groupByChart.swf' => '2eca03fe41128001349bacf997b1fedc',
'./include/SugarCharts/SugarChartFactory.php' => '4873cc48dd3a2258af3a7998713b2398',
- './include/SugarCharts/JsChart.php' => '64c1b3c0eaab3527751574a4b6d91c6c',
+ './include/SugarCharts/JsChart.php' => '93080932f4335c6ef0c74049d3c566ce',
'./include/SugarCharts/SugarChart.php' => 'b7e886ffcb138fe982de53cbdf508bef',
'./include/SugarCharts/Jit/js/sugarCharts.js' => '643ed60792a2efe2c62c6ee3f094d735',
'./include/SugarCharts/Jit/js/mySugarCharts.js' => '6b3dd85fe7c6d5714b6d12c63e536982',
@@ -578,7 +578,7 @@ $md5_string = array (
'./include/nusoap/license.txt' => '25823f4a2e463ab2c6b5873f07e428e1',
'./include/nusoap/class.wsdl.php' => 'cd7f1a43ca08891ac1ce04d4d1282c49',
'./include/nusoap/class.soap_val.php' => '084a898ecf261c201427fd41d4ee40e0',
- './include/utils.php' => '87619e6f38a183a132596606fa5c16fb',
+ './include/utils.php' => 'fce96348de7f3adadd99220c84d4757c',
'./include/SugarHttpClient.php' => '87fa99a397caaaceb121a21d91ed5260',
'./include/Sugar_Smarty.php' => 'ac140125309e194a7f43747d41417cd4',
'./include/phpmailer/extras/htmlfilter.php' => '4d5143899340a690d41a4959428ea674',
@@ -610,9 +610,9 @@ $md5_string = array (
'./include/phpmailer/language/phpmailer.lang-ar.php' => '646c785bc6a11f13671a59ea62a8cdb1',
'./include/phpmailer/language/phpmailer.lang-ca.php' => 'd62aa6dcbbf9922a0ff5b3157493d34f',
'./include/phpmailer/language/phpmailer.lang-br.php' => 'a1364ab381ebdf3f05999b31bada24bd',
- './include/phpmailer/class.phpmailer.php' => '2252f7b9a03504be7c83d0ea7997bff4',
+ './include/phpmailer/class.phpmailer.php' => 'f5db91a4a2a3889d87bf62f05723cb6b',
'./include/php-sql-parser.php' => '4fd316e1251bd1134a46134ad7ddaf57',
- './include/database/DBManager.php' => '9a60fc7b5ac377121f8817b617c566e9',
+ './include/database/DBManager.php' => '42f443e30bb586e94da21462070650e6',
'./include/database/MysqlHelper.php' => '6081c98891b401e3653bde7ec539b6d9',
'./include/database/DBHelper.php' => '74b36f164c288872a50d1f6132d4875e',
'./include/database/MysqlManager.php' => '968d27d3e911f4e34bed9a9aa24f19d6',
@@ -622,13 +622,13 @@ $md5_string = array (
'./include/database/MssqlHelper.php' => '6b3a36ab4462e0f838c35e0e74e0f02b',
'./include/database/DBManagerFactory.php' => '021c6c562cd96f304544af0e336dc736',
'./include/database/SqlsrvManager.php' => '4a3d6c5e56ae8fe5fdb07ead522c324e',
- './include/database/MssqlManager.php' => 'b671c14e37f76ddf22f22fcb9e1889da',
+ './include/database/MssqlManager.php' => 'ca46f743f0d54ae40ed8b3de54329fc1',
'./include/timezone/timezones.php' => '15844342704f03ef8d40603abe9aa99b',
'./include/SugarSQLValidate.php' => 'eb288af9ccb9828370ef3999ad926619',
'./include/connectors/ConnectorFactory.php' => '33d27fc539bbd684cf7deb0cea6ed37d',
'./include/connectors/utils/ConnectorUtils.php' => 'e0f8c33d5ab473259db9c246f169b23b',
'./include/connectors/utils/ConnectorHtmlHelperFactory.php' => '992e79942eb00bdd0e2fe071d61ef652',
- './include/connectors/utils/ConnectorHtmlHelper.php' => '9933bf6a050cb1d439f3f3c97c737a6f',
+ './include/connectors/utils/ConnectorHtmlHelper.php' => '28820022d59b71de4533dc5955a09d2a',
'./include/connectors/component.php' => '95c819efe3484a6d1dcba9aefbb4ce0e',
'./include/connectors/filters/default/filter.php' => '45977b4a20344dccb602ece1e48e50d1',
'./include/connectors/filters/FilterFactory.php' => '8b1dd8be358b3c9401383fa9adbb94e5',
@@ -653,7 +653,7 @@ $md5_string = array (
'./include/templates/Template.php' => '36ef9b944d7e36d9853d9879f6194969',
'./include/templates/TemplateGroupChooser.php' => '6ae99e0ff3795b613d03ec0474e52c46',
'./include/TemplateHandler/TemplateHandler.php' => '2c70ff6e5927aeedf93da151b9124397',
- './include/SugarTheme/SugarTheme.php' => 'cf9766ea68d6faab44025adde04320b6',
+ './include/SugarTheme/SugarTheme.php' => 'dcebbc005e58ed68b7923423e614f516',
'./include/SugarTheme/getImage.php' => '0cdce763d79863dcdfc6b9e1b13a3516',
'./include/SugarTheme/SugarSprites.php' => '10818287a033eed727e4269522cc7044',
'./include/SugarTheme/cssmin.php' => '05384ba957435def09368425e4480688',
@@ -661,7 +661,7 @@ $md5_string = array (
'./include/SugarDependentDropdown/javascript/SugarDependentDropdown.js' => '4d077b3991c83098e4bca166bc715071',
'./include/SugarDependentDropdown/SugarDependentDropdown.php' => '86eb13e7c54068ec87679e98a4e0d406',
'./include/export_utils.php' => '885a0dd6cda051658520a90f522f787f',
- './include/globalControlLinks.php' => 'dfa767d1960f89fddeea3f519cf3427f',
+ './include/globalControlLinks.php' => 'e5ce2b2390cb6a83129779cfe6d20f57',
'./include/SugarTinyMCE.php' => 'a00a969d2a2df9dbbc80ead4af9b40de',
'./include/tabs.php' => '7cf9418691424c673218c535fec27a05',
'./include/SugarOAuthServer.php' => '2213c81d7cef1884997b4a0d38216fd9',
@@ -867,14 +867,14 @@ $md5_string = array (
'./include/javascript/jquery/themes/base/jquery.ui.autocomplete.css' => '71a83bea119d7ed1ac42636a50d4c53d',
'./include/javascript/jquery/themes/base/jquery.ui.base.css' => '61035f9b4c191adb57badc1f558f4bc3',
'./include/javascript/jquery/themes/base/jquery.ui.accordion.css' => '4a87fc350a66bd0c9179eb9554e1cea0',
- './include/javascript/jquery/jquery.hoverIntent.js' => '0aaea26d96fc385b1540879c41c2b2dd',
+ './include/javascript/jquery/jquery.hoverIntent.js' => 'e0958ddcb4674772e81c90f656d3f7f3',
'./include/javascript/jquery/jquery.sugarMenu.js' => '7fcfff2632e3dc508892a3d07650fe8a',
'./include/javascript/jquery/jquery.superfish.js' => 'decbe8f5b51bf16e3750da2c41d9265c',
'./include/javascript/jquery/jquery.showLoading.js' => '573787c855a3389081b878302f905df7',
'./include/javascript/sugarwidgets/SugarYUILoader.js' => 'c8198074c79a9df405d87800127c4e96',
'./include/javascript/sugarwidgets/SugarYUIWidgets.js' => '0cb717a8613fc8389e8ff416c5f1af09',
'./include/javascript/javascript.php' => '302783deea1447541d58f199ed58e8a4',
- './include/javascript/getYUIComboFile.php' => '79212b9800ede659ec34081b99ad0517',
+ './include/javascript/getYUIComboFile.php' => '4445ac6a0e847e8e8a7279a9b380a2fb',
'./include/javascript/phpjs/get_html_translation_table.js' => '054b9c1274686f591c68909704b112fb',
'./include/javascript/phpjs/html_entity_decode.js' => '5ba6eed789f2a2f171e5b8fa5cef04c4',
'./include/javascript/phpjs/license.js' => 'a13c8584b8c04a59d9d8675b6565c516',
@@ -2583,11 +2583,11 @@ $md5_string = array (
'./include/MVC/View/views/view.classic.php' => '36203ddc3461f3b8c2e24f2c2dbe69e3',
'./include/MVC/View/views/view.detail.php' => 'bd0d0ff2a23f06455082c98a0a058857',
'./include/MVC/View/ViewFactory.php' => '56116e594364b8a34b3d8986e93fce1e',
- './include/MVC/View/SugarView.php' => 'ed5c6cb004cb28478d409b806f6bd6ce',
+ './include/MVC/View/SugarView.php' => '2934558e5e0e9b11dee7b2d2c82fd664',
'./include/MVC/SugarModule.php' => '1d53f536613de51c996600e26c14ca97',
- './include/MVC/SugarApplication.php' => 'a3267786d2ea203ab5c027aae36c8d1d',
+ './include/MVC/SugarApplication.php' => 'ef96e41cf130618b759cba91a83d949b',
'./include/MVC/Controller/file_access_control_map.php' => '6bf1388c2830450cb92d8b9e374a04d5',
- './include/MVC/Controller/entry_point_registry.php' => '5b7aef0d506fb3cf9d635e49f714d7ed',
+ './include/MVC/Controller/entry_point_registry.php' => '070df1183cc98ae22d1914f5617203fb',
'./include/MVC/Controller/SugarController.php' => 'bdea5e50de511437f75f0f4f093afeb3',
'./include/MVC/Controller/action_file_map.php' => '43531cea8d74490f8b465b4e5049e5e9',
'./include/MVC/Controller/action_view_map.php' => '8fb8da97e553c4fa470f26d5d8b5d456',
@@ -2600,14 +2600,14 @@ $md5_string = array (
'./include/SearchForm/tpls/SearchFormGeneric.tpl' => '2e5f84f3de4d7e15d122e57253acfa91',
'./include/SearchForm/SugarSpot.php' => 'a899046092d8a1bdb1fd93352b209ab4',
'./include/SearchForm/SearchForm.php' => '37a79061b1ef9fc6be0ada54cf4b9a9b',
- './include/SearchForm/SearchForm2.php' => 'abde2c406294aa4837c9695bef5e521e',
+ './include/SearchForm/SearchForm2.php' => 'cbb644f1fb4c87020537ffef88cbcdce',
'./include/Dashlets/DashletRssFeedTitle.php' => '10771bdc817e8ae49e4a9938d2bcf9d8',
'./include/Dashlets/DashletGenericAutoRefreshDynamic.tpl' => '355b7490fa2339a87e1fbc7e479dfb73',
'./include/Dashlets/DashletCacheBuilder.php' => 'a0c56547321767e6b599f98293d2fa39',
'./include/Dashlets/DashletGenericConfigure.tpl' => 'f8bcde927cd58fe4f1e03a6ba63aa607',
'./include/Dashlets/DashletGeneric.php' => '7baac46cf83d3b81474060e0947ebe23',
'./include/Dashlets/DashletGenericDisplay.tpl' => 'f8170fd89384065ed6fad8f8b4181b37',
- './include/Dashlets/DashletGenericChart.php' => 'bbc3f371a3d4db0e44b1f9196bad47d3',
+ './include/Dashlets/DashletGenericChart.php' => 'f55797a82e08a7e8444d48b022f7070d',
'./include/Dashlets/Dashlet.php' => 'e82515c4bab666685a1c4d7e47e04e9a',
'./include/Dashlets/DashletGenericAutoRefresh.tpl' => 'c4b3caa740d9105e20bcf69924957a2e',
'./include/Dashlets/DashletGenericChartConfigure.tpl' => 'e71612ba829ca02bd0b89aa66d60e3bc',
@@ -2620,7 +2620,7 @@ $md5_string = array (
'./include/Pear/XML_HTMLSax3/LICENSE' => 'a45bb1bbeed9e26b26c5763df1d3913d',
'./include/Pear/XML_HTMLSax3/HTMLSax3.php' => '11107d97b19feb13feb394cd858603f0',
'./include/ListView/ListViewSmarty.php' => 'a69eeef5b31ce1e1fa029519006f9f35',
- './include/ListView/ListViewData.php' => 'b9721e6b1f1288904b956923b8fb287c',
+ './include/ListView/ListViewData.php' => '3797a56eeb35041d403100afc200bc26',
'./include/ListView/ListViewGeneric.tpl' => '32370f4af0164b0985b20c7b7079800c',
'./include/ListView/ListView.php' => '3ac177d210dbfa86f9408de539306385',
'./include/ListView/ListViewFacade.php' => 'e82b5372d43acd05f1dbe5855c40cdbd',
@@ -2639,13 +2639,13 @@ $md5_string = array (
'./include/resource/Observers/ResourceObserver.php' => 'd93dc69d2372859fe8fb0f1068587d54',
'./include/resource/Observers/SoapResourceObserver.php' => 'bff762397d04d958883d06ed160d8bd1',
'./include/language/jsLanguage.php' => '3aade005a1d8758085838ed1a22ebf34',
- './include/language/en_us.lang.php' => 'be145284eadc6d4229415b10cefc5f71',
- './include/language/en_us.notify_template.html' => 'd443be0488e3ce72c2e10984e891d275',
+ './include/language/en_us.lang.php' => 'ca9f3df7c3c371fa332b715cc9ad75c7',
+ './include/language/en_us.notify_template.html' => 'ca23107160665bd7ebb6e94177a3a1ba',
'./include/pclzip/readme.txt' => '2265cad9ccb84cfcd4093ce26b22dc97',
'./include/pclzip/gnu-lgpl.txt' => '7fbc338309ac38fefcd64b04bb903e34',
'./include/pclzip/pclzip.lib.php' => 'f42cfbdfccc2dcd85df39638ae2d141c',
- './include/SugarEmailAddress/SugarEmailAddress.js' => 'b91373772e9f4c269336890689bc32a5',
- './include/SugarEmailAddress/SugarEmailAddress.php' => '24768ff72c278c7d2f30b98d1bfcbdf5',
+ './include/SugarEmailAddress/SugarEmailAddress.js' => '6217eae817e6af59e21666cc3087a9d9',
+ './include/SugarEmailAddress/SugarEmailAddress.php' => '4d99e6c0a205463857b61e9ce0acf220',
'./include/SugarEmailAddress/templates/forDuplicatesView.tpl' => '7606911a788f6fa0f4aca806679e4098',
'./include/SugarEmailAddress/templates/forDetailView.tpl' => '8a913b1d6cbaf35ff7237c8c6022af9c',
'./include/SugarEmailAddress/templates/forWideFormBodyView.tpl' => '0dc9422da0b8ec60a58ae06d7215c3fb',
@@ -2708,7 +2708,7 @@ $md5_string = array (
'./include/Smarty/plugins/modifier.lower.php' => '014241bdc9356e4db65ff84902e868d2',
'./include/Smarty/plugins/function.html_image.php' => '06abba1563143b4b1190ca07d53b0a0d',
'./include/Smarty/plugins/function.config_load.php' => '752a15886ca6ee831f2ab650ab09fe4e',
- './include/Smarty/plugins/function.sugar_button.php' => 'd6d89da0b3af94df08a39131bac122c3',
+ './include/Smarty/plugins/function.sugar_button.php' => 'ff430938e7a1ca7f7d2cac229170779d',
'./include/Smarty/plugins/function.sugar_ajax_url.php' => 'a0f1b3ec9077718a4a020b2be4f12b66',
'./include/Smarty/plugins/function.popup.php' => 'cf231d09647d1b1cf0adf5904b66b6a6',
'./include/Smarty/plugins/function.sugar_variable_constructor.php' => '6561cdb5987f989d18090a4713c9a27a',
@@ -2768,33 +2768,33 @@ $md5_string = array (
'./include/Smarty/README' => '1a3fe37eed420a020489d1082ea150c8',
'./include/Smarty/Smarty_Compiler.class.php' => 'b9a859a96c0d005cee69253bac461599',
'./include/DetailView/footer.tpl' => '82f240a39faba85858e561048e23fffd',
- './include/DetailView/header.tpl' => 'a9e6450bc57678a18a88e2a57b6530d2',
+ './include/DetailView/header.tpl' => 'a265fdffd2265242afdd508cf9e2863b',
'./include/DetailView/DetailView.tpl' => 'a3c4dd95d931815f9845a09fe2e3da33',
'./include/DetailView/DetailView.php' => '3df8ccba8aca6dffb5969c47001d7435',
'./include/DetailView/DetailView2.php' => '4f800afa17ab95068341a3474e78fb76',
'./include/generic/DeleteRelationship.php' => '73e87c09bc4e90c35a551a6d290965c1',
- './include/generic/Save2.php' => '3d75c8fc6a726c477b405cc663037077',
+ './include/generic/Save2.php' => '86436c1acbe31df170b88d9d4f4a3d5e',
'./include/generic/LayoutManager.php' => '48a5feb70ed0fc1f360d6ba9d917d139',
'./include/generic/SugarWidgets/SugarWidgetSubPanelEditRoleButton.php' => 'ffd2ba1b7c2b0124a3b70dc00009a94d',
'./include/generic/SugarWidgets/SugarWidgetSubPanelTopComposeEmailButton.php' => 'b6375e51b1f1f3b827c9aa300cdd065e',
'./include/generic/SugarWidgets/SugarWidgetFieldurl.php' => '8909a2b419250e770cd07129da34b6d7',
- './include/generic/SugarWidgets/SugarWidgetFieldcurrency.php' => '5a93ce41bb40b604c337bf2367491c9f',
+ './include/generic/SugarWidgets/SugarWidgetFieldcurrency.php' => '2839093eafaefeeaaf94933f5a66b904',
'./include/generic/SugarWidgets/SugarWidgetSubPanelTopCreateAccountNameButton.php' => 'be445affddc003efff8e6206031385a0',
'./include/generic/SugarWidgets/SugarWidgetFielddatepicker.php' => 'dee020ff9030fee04b450be6d2f57db4',
'./include/generic/SugarWidgets/SugarWidgetFieldchar.php' => 'ff4c04e9e87b53eabd82a38fe8c16e35',
- './include/generic/SugarWidgets/SugarWidgetFieldmultienum.php' => 'ef4f0eec6d7fb12bd9b76d9f26ce0cb6',
+ './include/generic/SugarWidgets/SugarWidgetFieldmultienum.php' => '67c9e3e9789e3f8798dec1156bf4656f',
'./include/generic/SugarWidgets/SugarWidgetField.php' => '677f2d56818b2b35611e73799d80140b',
'./include/generic/SugarWidgets/SugarWidgetSubPanelIcon.php' => '2a22c376b999d71977dcbcf33b48941c',
'./include/generic/SugarWidgets/SugarWidgetSubPanelTopMessage.php' => 'a61dac690bca32a9da19652d34d277a5',
'./include/generic/SugarWidgets/SugarWidgetFieldvarchar.php' => 'e5b8d2c27312e5494f0020949e4d6d83',
- './include/generic/SugarWidgets/SugarWidgetFieldbool.php' => '36271858b5a70373b5d10004d146fd0c',
+ './include/generic/SugarWidgets/SugarWidgetFieldbool.php' => '16a9aa475696846daf03073c8b107a86',
'./include/generic/SugarWidgets/SugarWidgetFieldlongtext.php' => '56e1f8cf36f90d42fec5eceac7c98a5c',
'./include/generic/SugarWidgets/SugarWidgetFieldenum.php' => 'cd5f2bf63051e5d2d26e6bdd7e6f3ac9',
'./include/generic/SugarWidgets/SugarWidgetFielddecimal.php' => 'de2b9da14bee9fb4a0fa6999c7cce7ea',
'./include/generic/SugarWidgets/SugarWidgetSubPanelGetLatestButton.php' => '76ce22a0b5906b3ceabcbd89a9c31e42',
'./include/generic/SugarWidgets/SugarWidgetFieldsingleenum.php' => '0338edf920bf35a9d965509024f94473',
'./include/generic/SugarWidgets/SugarWidgetSubPanelLoadSignedButton.php' => '1ec69a812e9d70198969fc8c753e6256',
- './include/generic/SugarWidgets/SugarWidgetSubPanelTopSelectContactsButton.php' => '4a430d77f2f105f30d23876f63581076',
+ './include/generic/SugarWidgets/SugarWidgetSubPanelTopSelectContactsButton.php' => 'b9e8b558ba286954747abfde1920fb24',
'./include/generic/SugarWidgets/SugarWidgetFielddate.php' => 'efccab584bdb7950220abab57c1290aa',
'./include/generic/SugarWidgets/SugarWidgetFielduser_name.php' => 'ac7581e728a68f2f08292dd2ff53def4',
'./include/generic/SugarWidgets/SugarWidgetFieldid.php' => 'c8e80e951a61d6edbab6051cececa3c7',
@@ -2803,6 +2803,7 @@ $md5_string = array (
'./include/generic/SugarWidgets/SugarWidgetSubPanelTopScheduleMeetingButton.php' => 'c2c7faa6003bf8ee8741c7a75aa7d73f',
'./include/generic/SugarWidgets/SugarWidgetFieldradioenum.php' => '0e82e38ab02f701c778bec444f4e93e5',
'./include/generic/SugarWidgets/SugarWidgetSubPanelActivitiesStatusField.php' => 'af2bbbbd647c9a72eaedda8647f4de5c',
+ './include/generic/SugarWidgets/SugarWidgetFieldlong.php' => '081362208278d4b48346c1986eca0b0f',
'./include/generic/SugarWidgets/SugarWidgetFieldparent_type.php' => 'ee2dddadb3f8c070e48e8fc3c7bc5f99',
'./include/generic/SugarWidgets/SugarWidgetSubPanelTopCreateLeadNameButton.php' => '1cf768f82d9ed9f72163068dcb3184e1',
'./include/generic/SugarWidgets/SugarWidgetSubPanelDeleteButton.php' => '9a3cff40f4f16c4ef6973622c5f728cb',
@@ -2828,7 +2829,7 @@ $md5_string = array (
'./include/generic/SugarWidgets/SugarWidgetSubPanelTopButton.php' => '934a6ff7977d2b3501d1551e31445b3b',
'./include/generic/SugarWidgets/SugarWidgetSubPanelEditButton.php' => '396cf26585199d9f4709af3e21de089c',
'./include/generic/SugarWidgets/SugarWidgetSubPanelTopCreateCampaignLogEntryButton.php' => 'eda0760a68c648b6924ff97e44d294e5',
- './include/generic/SugarWidgets/SugarWidgetReportField.php' => '14b211abee99ce2b82279c3145b43aff',
+ './include/generic/SugarWidgets/SugarWidgetReportField.php' => '4289b5997f1ab0a3861fd157b1a2faa4',
'./include/generic/SugarWidgets/SugarWidgetSubPanelCloseButton.php' => '8add175bc8b9b0576efc420c9211d7b1',
'./include/generic/SugarWidgets/SugarWidgetSubPanelTopCreateNoteButton.php' => '3d0a6b29a27135a455a781a0a81e24f8',
'./include/generic/SugarWidgets/SugarWidgetFieldnum.php' => '15c06a35b7f2ee9f0a41716d5b6d393d',
@@ -2838,7 +2839,7 @@ $md5_string = array (
'./include/generic/SugarWidgets/SugarWidgetSubPanelEmailLink.php' => '7b67281f140b86aad81ec6e817453467',
'./include/generic/SugarWidgets/SugarWidgetSubPanelRemoveButtonMeetings.php' => 'b122f559be91ce0a6ea228dc4c94b4c7',
'./include/generic/SugarWidgets/SugarWidgetFieldfloat.php' => 'c666c7874c49637db91c03b53abaa572',
- './include/generic/SugarWidgets/SugarWidgetSubPanelTopSelectUsersButton.php' => '9567e8dd9dd600c63a1aa7a2bc8547ca',
+ './include/generic/SugarWidgets/SugarWidgetSubPanelTopSelectUsersButton.php' => 'e2bfbdbf5a8ac9da9008d802615a1ada',
'./include/generic/SugarWidgets/SugarWidgetSubPanelRemoveButtonProjects.php' => '4c568d07ae9bc35c0e61b02aa1d09370',
'./include/generic/SugarWidgets/SugarWidgetFieldfullname.php' => '0f864cbd375ff831306ded8cbb3df426',
'./include/generic/SugarWidgets/SugarWidgetFielddatetimecombo.php' => '396fdadd308d80ae58390314c518dbda',
@@ -2868,7 +2869,7 @@ $md5_string = array (
'./include/MySugar/tpls/chartDashletsSearchResults.tpl' => '594c737584658863ee36e5ca1a8a8297',
'./include/MySugar/tpls/retrievePage.tpl' => 'd028fc0782cfe9ae75f5f1f53ef4d592',
'./include/MySugar/javascript/MySugar.js' => 'c82c6b7676250718269e4cafbb09d6db',
- './include/MySugar/MySugar.php' => 'c4ca2a251ce208df906eef9502c312ca',
+ './include/MySugar/MySugar.php' => '4d163b583b7c3d5566f0a8802ee86578',
'./examples/FormValidationTest.php' => '6a3742bd1c5607b2cfe2f2e8e21064f6',
'./examples/SoapTest.php' => 'fa782c475fc7f677f4f71dc058e7fcac',
'./examples/EXAMPLES_README.txt' => 'b55744b5e2684d91f6d3f98db4553673',
@@ -2882,8 +2883,8 @@ $md5_string = array (
'./dictionary.php' => '19245b9374ee0cfc7048c87c7548652e',
'./HandleAjaxCall.php' => 'e8f0cb63050a3f85e26d5f295c54d8b6',
'./ModuleInstall/extensions.php' => 'd17953438bdd75848cce5a5dbe929e5e',
- './ModuleInstall/ModuleScanner.php' => '822b419917fa94e60d8a6f60bd1ff16d',
- './ModuleInstall/ModuleInstaller.php' => '8b09838949b4e3c9bae139b607c81cdd',
+ './ModuleInstall/ModuleScanner.php' => 'ca20e34ae03ca921c68eb4195d4efe4b',
+ './ModuleInstall/ModuleInstaller.php' => '7595862d0c0fbaaba337058ed6e61ba7',
'./ModuleInstall/PackageManager/tpls/PackageForm.tpl' => 'b0f7f452c6c32251c1e88f3f06422018',
'./ModuleInstall/PackageManager/tpls/PackageManagerScripts.tpl' => '305b5d5a2ea5f04c533b982a5f1422ee',
'./ModuleInstall/PackageManager/tpls/ModuleLoaderListView.tpl' => '33005aa5481b731ec31fd6c15c173e78',
@@ -2896,6 +2897,7 @@ $md5_string = array (
'./ModuleInstall/PackageManager/ListViewPackages.php' => '9ad64855ae4721d76eac402fd7adc524',
'./ModuleInstall/PackageManager/PackageManagerDownloader.php' => '3b65a83bab1ad8099252ca9c8a89c530',
'./campaign_tracker.php' => 'b8e18a8e61ee585466aeb48a938204e7',
+ './get_url.php' => 'e7f96ff048e98e751e9e6adfc6d9ad9d',
'./metagen.php' => '69e532d54a987eaba70f67738755cd78',
'./removeme.php' => '0332e4dfe6b07ec10e64d56b321917af',
'./image.php' => 'b0c5fc46ffdd7231bfd45ad267e23773',
@@ -3303,17 +3305,17 @@ $md5_string = array (
'./SugarSecurity.php' => 'e87f1efee51af1d8801dc2376068cee3',
'./export.php' => '7639b2373c4d0c73765033d70abfb55d',
'./data/BeanFactory.php' => '5148eb779611ca40e342900456fc6f29',
- './data/SugarBean.php' => '1b38c08d405ddd5414e7015602fbbe14',
+ './data/SugarBean.php' => '19643e48de769ecb959fb1cf5ce94f4a',
'./data/Link.php' => 'de95f31cf30c2f46a234c4a840c01f84',
- './data/Relationships/One2OneRelationship.php' => 'f72bfcb39e5c6c6092c41e148f464abf',
- './data/Relationships/EmailAddressRelationship.php' => '469a91798fa6a92e91766867b145a628',
- './data/Relationships/M2MRelationship.php' => '048619c6fdf80ac7033447c911bb157b',
- './data/Relationships/RelationshipFactory.php' => 'd1b759cda7b9dc92f1032ed1be661816',
- './data/Relationships/One2MBeanRelationship.php' => 'aaab2fb06f8b888fb7bf12825f6ff411',
- './data/Relationships/One2OneBeanRelationship.php' => 'ec639e887d2ff4bb0d16725b2a33b9ac',
- './data/Relationships/SugarRelationship.php' => '7ecdecd5a7623b1f5a251286ffa48893',
+ './data/Relationships/One2OneRelationship.php' => '88194998edcdad83a887aa1ef014d5de',
+ './data/Relationships/EmailAddressRelationship.php' => '1a46e6504810e22a7854b64af2377fdf',
+ './data/Relationships/M2MRelationship.php' => 'bbeac74a733f37995f1c80b9a192648e',
+ './data/Relationships/RelationshipFactory.php' => '4c70024ff9b3bbfa9eeb76095f33d472',
+ './data/Relationships/One2MBeanRelationship.php' => '18c6acb5e2f0f51d31fb5078a689102c',
+ './data/Relationships/One2OneBeanRelationship.php' => '654eafffcc24bad9f464a76f0973843e',
+ './data/Relationships/SugarRelationship.php' => 'f80aa20b39d590f2007c218fee7fba67',
'./data/Relationships/One2MRelationship.php' => 'ec99c10eadc77da58700a0418995d78a',
- './data/Link2.php' => '08607d058075f66208b31b82037563b3',
+ './data/Link2.php' => 'c2a24b7c7b5eb91e22fb6ad2eb27b8c5',
'./data/Tracker.php' => '78c6ca1fadfe9e7984b001fed296f332',
'./service/core/SugarRestUtils.php' => '183a0d813c88928451133af63934b686',
'./service/core/webservice.php' => 'e27d4bc434ba5536dce4022124104126',
@@ -3364,7 +3366,7 @@ $md5_string = array (
'./service/v4/SugarWebServiceUtilv4.php' => 'e0c1a0e4d61fd6c97cf68f4c90cd6d8b',
'./custom/index.html' => '601a18f179c2ac55779c9bac46942525',
'./modules/EmailTemplates/EmailTemplate.js' => 'c8ab748acfbda3ad0c5d8f6aa17f267b',
- './modules/EmailTemplates/EmailTemplate.php' => 'f649e9e4e3b1775ed5a68dbb16219b11',
+ './modules/EmailTemplates/EmailTemplate.php' => '34875a194aa7527c4582fe80825ece80',
'./modules/EmailTemplates/Save.php' => '307b6446f617d164735636906d4971de',
'./modules/EmailTemplates/PopupDocumentsCampaignTemplate.html' => '8db4aacafa0252d4cc7cecc08eae3dd1',
'./modules/EmailTemplates/AttachFiles.php' => '3c4b8a3c10bd740599100d3be76ac927',
@@ -3396,7 +3398,7 @@ $md5_string = array (
'./modules/Leads/tpls/DetailViewHeader.tpl' => 'e0b101be788e4d8244d1943d54e51cf8',
'./modules/Leads/tpls/ConvertLeadFooter.tpl' => 'b0f1a9fd5d92f7e29b28cd8c58289911',
'./modules/Leads/Menu.php' => 'e41cf004f788a5488e8e035cafa00f4e',
- './modules/Leads/vardefs.php' => 'f016e7d19cd1c6ffb36fbb808dad8574',
+ './modules/Leads/vardefs.php' => 'e1bf0e1bfc03d62cffc448afccb2f911',
'./modules/Leads/views/view.showduplicates.php' => 'c9eac311e3979edb0a67b62beae4d46e',
'./modules/Leads/views/view.list.php' => '47e14d2db5e9b71d410c74ef07142f53',
'./modules/Leads/views/view.edit.php' => '4208b82205cf63936b78da5eac7df01f',
@@ -3462,7 +3464,7 @@ $md5_string = array (
'./modules/Notes/NotesQuickCreate.php' => 'f0bfe4f266b67290c0c0b890c0028c97',
'./modules/TableDictionary.php' => 'ef9c0976beae149cd4433a39fd01ef94',
'./modules/Audit/vardefs.php' => 'ec42b4a21b5baa7a3e43d546350ced8c',
- './modules/Audit/Audit.php' => 'd43bf5585473b05f91ab6c11c36695f6',
+ './modules/Audit/Audit.php' => '9bcff57e4079aa1c812df074b5e0ab10',
'./modules/Audit/field_assoc.php' => '00f694000b29379563ab90fb21a88ecb',
'./modules/Audit/Popup_picker.html' => 'b8b1dcfcc518c978155496285ff7dcaa',
'./modules/Audit/Popup_picker.php' => '369ed37e8871947cae810838e9ad3f8d',
@@ -3506,13 +3508,13 @@ $md5_string = array (
'./modules/Cases/Dashlets/MyCasesDashlet/MyCasesDashlet.php' => '6681a60a934612ae489592f2fd976d11',
'./modules/Cases/Dashlets/MyCasesDashlet/MyCasesDashlet.data.php' => '78590a9ee41fffceb0b06f1a05d711e4',
'./modules/Cases/language/en_us.lang.php' => '0130e84c1b1b56106feadeac5847e1ff',
- './modules/Cases/Case.php' => '2cb2cf7d9559c484dc319f923496c49f',
+ './modules/Cases/Case.php' => '861df4f7a833be8214429234b4b48a25',
'./modules/Cases/SugarFeeds/CaseFeed.php' => 'f28ac1cf2e358afa0981b2c50d699669',
'./modules/Documents/documents.js' => '711c1c3534c03089c931006ba71abbaa',
'./modules/Documents/GetLatestRevision.php' => '4810e123a8d2793523ba6010bcf3a55f',
'./modules/Documents/tpls/view.extdoc.tpl' => '1ca19fa9546ede05285d2f84a7dad8b1',
'./modules/Documents/Menu.php' => '380b1812ad68a9b70f6940ee3ffb3590',
- './modules/Documents/vardefs.php' => '1dbee77a59d3edfd6dd2f4a085cc0c8b',
+ './modules/Documents/vardefs.php' => 'f6e24627374f2b0359f89ba9e62875be',
'./modules/Documents/DocumentExternalApiDropDown.php' => 'd4a205ecc9c70686ba90822eede2e54a',
'./modules/Documents/views/view.edit.php' => '51ffc2415e3a6d4f3f3fd8f310451256',
'./modules/Documents/views/view.extdoc.php' => '4952ce7d1ad95f8544ab63eba854eec0',
@@ -3524,7 +3526,7 @@ $md5_string = array (
'./modules/Documents/metadata/subpaneldefs.php' => '759fad9cc6489413f566a6a7ad3a794e',
'./modules/Documents/metadata/quickcreatedefs.php' => '05b82e7da22c28c818fc2523a66263ce',
'./modules/Documents/metadata/editviewdefs.php' => '77320823297fcada95e446f1cd64d81e',
- './modules/Documents/metadata/SearchFields.php' => '608a6c85b7ddbef2a920b1a1ea1fec29',
+ './modules/Documents/metadata/SearchFields.php' => 'ee5ae6688cde34397b7ab992d031fdc6',
'./modules/Documents/metadata/subpanels/ForContractType.php' => 'feeaf252241c5250193c3253b05ed029',
'./modules/Documents/metadata/subpanels/default.php' => '7e26119a66c3d78871cbfe8e8ada5599',
'./modules/Documents/metadata/listviewdefs.php' => '1568c1a339cd9ec2cb21bc31a41b2bed',
@@ -3547,7 +3549,7 @@ $md5_string = array (
'./modules/DynamicFields/templates/Fields/TemplateRelatedTextField.php' => '5f5e0cbb4e4f7781176cfd2338267580',
'./modules/DynamicFields/templates/Fields/TemplateAddressCountry.php' => 'b6c42b51c77c9c260677a0c9a3990c5b',
'./modules/DynamicFields/templates/Fields/TemplateHTML.php' => '54a7b54e35652a082428b4680b93cc95',
- './modules/DynamicFields/templates/Fields/TemplateInt.php' => '0938d72d6c7ec85dbd6abeae7a25456c',
+ './modules/DynamicFields/templates/Fields/TemplateInt.php' => '9d02b6819753b1ccf617eb4c5c70ec8b',
'./modules/DynamicFields/templates/Fields/TemplateIFrame.php' => 'e7b366897709c12396ac423cdf77b9dc',
'./modules/DynamicFields/templates/Fields/TemplateEncrypt.php' => '28db5af0d64cff070439a52b22588f50',
'./modules/DynamicFields/templates/Fields/TemplateBoolean.php' => 'a64de32021cb733c65fe52e7d886516a',
@@ -3604,7 +3606,7 @@ $md5_string = array (
'./modules/DynamicFields/templates/Fields/TemplateRadioEnum.php' => 'fd593ace4380d03f814902ef3c72acc0',
'./modules/DynamicFields/templates/Fields/TemplateURL.php' => '42ad0725334368ae17b70d6bb77be92e',
'./modules/DynamicFields/templates/Fields/TemplateId.php' => '1e60856dfe5c3b955d0ffb04337b7b8f',
- './modules/DynamicFields/templates/Fields/TemplateField.php' => '554a321a19ab27f46dcc8d3380e27272',
+ './modules/DynamicFields/templates/Fields/TemplateField.php' => 'a86c6031fbd920a9e93accce1cd12411',
'./modules/DynamicFields/templates/Fields/TemplateCurrency.php' => 'ea510b1868f5dc211521653c976f4b1e',
'./modules/DynamicFields/templates/Files/EditView.php' => '8f438261aedc77e16c79c1cae4d3a9ac',
'./modules/DynamicFields/templates/Files/DetailView.php' => '6761c1d44ae1c7931778addfec404c4e',
@@ -3653,9 +3655,9 @@ $md5_string = array (
'./modules/Charts/code/Chart_my_pipeline_by_sales_stage.php' => 'b113bc62d9939b9c88de397e0dbf4281',
'./modules/Charts/code/Chart_pipeline_by_sales_stage.php' => '1206aa03a657c8742077b049c6cffec9',
'./modules/Charts/code/Chart_pipeline_by_lead_source.php' => 'ba05404a1f840ff230b153b35b912c23',
- './modules/Calendar/Cal.js' => 'f3f00cbef5407be1ce27a7ba6f033b99',
- './modules/Calendar/CalendarGrid.php' => '68c7e798f08e112dee5a8f3542ad8368',
- './modules/Calendar/Cal.css' => '1ed34bc3e3f614b7e9e5a18b373512dd',
+ './modules/Calendar/Cal.js' => '08fc0b75cdcd21404730b44e2f807421',
+ './modules/Calendar/CalendarGrid.php' => '5d18df889c49932ea8b36f5bea07e62e',
+ './modules/Calendar/Cal.css' => '386d40836c98a4c8de44da1f169e593f',
'./modules/Calendar/tpls/footer.tpl' => '8587ef6903693da23a0ad7d27755c553',
'./modules/Calendar/tpls/repeat.tpl' => 'a522ad903cfad55945eff151fb0e223b',
'./modules/Calendar/tpls/shared_users.tpl' => '06446eeee9f3f40013e89d185706e3f7',
@@ -3674,7 +3676,7 @@ $md5_string = array (
'./modules/Calendar/views/view.json.php' => '2a93cc143f5d3f87dc59471e882259cc',
'./modules/Calendar/views/view.createinvitee.php' => '5cc0043299bc87a50f11f39b0237f02d',
'./modules/Calendar/controller.php' => '8d44b719477f93a1b98672f2f6242eff',
- './modules/Calendar/Calendar.php' => '02a041c637f16e47d3e959fdf20e24a8',
+ './modules/Calendar/Calendar.php' => '342096ff1511f3576e0d4463a4347599',
'./modules/Calendar/CalendarActivity.php' => '9eac3e1869f800aa628952c4c4c93497',
'./modules/Calendar/action_view_map.php' => 'b74c6e6a7f6077bc55b65e804d05ff87',
'./modules/Calendar/Dashlets/CalendarDashlet/CalendarDashletOptions.tpl' => 'a0f81fa8cfa7eb8101515590d669f551',
@@ -3832,13 +3834,13 @@ $md5_string = array (
'./modules/Help/language/en_us.lang.php' => '5d812d2e4d54e4d42a183759d37a08d5',
'./modules/Configurator/tpls/addFontView.tpl' => 'e9648c46d6531dd171be401321a65209',
'./modules/Configurator/tpls/SugarpdfSettings.tpl' => '531e1a326d57e6fc4ad8d13c2396725e',
- './modules/Configurator/tpls/adminwizard.tpl' => 'e7e09002098922f095c198018d8751f8',
+ './modules/Configurator/tpls/adminwizard.tpl' => '8ca3b6a6ff4601c1497a48a86183f89f',
'./modules/Configurator/tpls/fontmanager.tpl' => '1825567230ccefbe24318f6e87fd18a8',
- './modules/Configurator/tpls/EditView.tpl' => '5783783b2a2ef3c8d60fb764fe2e9158',
+ './modules/Configurator/tpls/EditView.tpl' => '1dcfefd2b20650c81d68d40ebb02c687',
'./modules/Configurator/tpls/SugarpdfSettingsFields.tpl' => '220de2fecf8bd16f2a6bde807a3d1196',
'./modules/Configurator/tpls/addFontResult.tpl' => '883aab2f2c47f7dd78d69d8094257a79',
'./modules/Configurator/Menu.php' => '5cbc243dd9e97433e65b6c2c97a5249b',
- './modules/Configurator/Configurator.php' => '22552174f794a9099e8df3232ac5a0ba',
+ './modules/Configurator/Configurator.php' => '446d8302f497e594b7007d9ffb146ae3',
'./modules/Configurator/views/view.sugarpdfsettings.php' => 'c103556cc9abd3acaa666fb9787e1aee',
'./modules/Configurator/views/view.addfontresult.php' => '2e92eedd9ae52db5903bb11d5286b77b',
'./modules/Configurator/views/view.addfontview.php' => '4219a23aa0e9d936b847dc353aa1bd2b',
@@ -3846,11 +3848,11 @@ $md5_string = array (
'./modules/Configurator/views/view.adminwizard.php' => '9480e2203342deabc404d9768bee258f',
'./modules/Configurator/views/view.fontmanager.php' => 'ce7094f56148716bbf592e6ee39c5c79',
'./modules/Configurator/controller.php' => 'b0a13efcd7259e5228b0e4e5153aa69c',
- './modules/Configurator/UploadFileCheck.php' => '29d3d018e9753c078562f9c945a4cf4a',
+ './modules/Configurator/UploadFileCheck.php' => '9a1798632fb86b8f1d4e8dc244f51f6e',
'./modules/Configurator/LogView.php' => '765205bf61f4ccf357703f41fec2c61b',
'./modules/Configurator/metadata/SugarpdfSettingsdefs.php' => '11e35d8657b2f5fa72588ec9fab24f54',
'./modules/Configurator/action_view_map.php' => '335f3982fdb42f04ed981f930a82c733',
- './modules/Configurator/language/en_us.lang.php' => '8ced23a587b14a9e951f5c8797584dc9',
+ './modules/Configurator/language/en_us.lang.php' => '8810b74c01358876bdeaf1eeee5b042e',
'./modules/Configurator/Forms.php' => 'ce7ede2f412813db12e761d60c2eeff1',
'./modules/Schedulers/Schedulers.js' => 'ce310f70ad5579397f7af6609a4d6601',
'./modules/Schedulers/_AddJobsHere.php' => '2b34d37bb8897cdd0d1100e9f90e6dba',
@@ -3919,14 +3921,14 @@ $md5_string = array (
'./modules/InboundEmail/DetailView.php' => 'a171268c4c9e85ac2fc62efce30deeb7',
'./modules/InboundEmail/Delete.php' => 'b49ee65d8850ff8ff370ebf237b0acb5',
'./modules/InboundEmail/Popup.php' => '472052c2da7990c6e8d63a0a2dccbbd2',
- './modules/InboundEmail/InboundEmail.php' => '06b4db5d0b2a6f0febff7b538897f237',
+ './modules/InboundEmail/InboundEmail.php' => 'ca1009a956a5d7740a576b0e05c397ec',
'./modules/InboundEmail/ListView.html' => 'd76aa28386e3f7165f62dabfc6f0beb7',
'./modules/InboundEmail/index.php' => '6b54e0739c45bd059cc2da5f3aa41d9a',
'./modules/InboundEmail/language/en_us.lang.php' => 'ae833e99a3be579da67788c144af7ee2',
'./modules/InboundEmail/InboundEmailTest.php' => '04ac2888e0372a0315d4086ec2e765f5',
'./modules/InboundEmail/SaveGroupFolder.php' => '59a7d467ab0166f09f5b0e746898fecb',
'./modules/InboundEmail/EditView.html' => 'b6bd18a951e87e1867709dd48b1be198',
- './modules/ModuleBuilder/tpls/layoutView.tpl' => 'cb1e0bd7dddfe9f9280cef0cd7841c4c',
+ './modules/ModuleBuilder/tpls/layoutView.tpl' => '20e973581c87254cb0ff8535722eab38',
'./modules/ModuleBuilder/tpls/tabBG.png' => '8e2561b0bba66f327d602e6c5f06aa08',
'./modules/ModuleBuilder/tpls/LayoutEditor.css' => 'd05c482d3367fb032f5314210df2ffee',
'./modules/ModuleBuilder/tpls/includes.tpl' => '10927a4f55674bb2ab628a67dfa6c696',
@@ -3979,7 +3981,7 @@ $md5_string = array (
'./modules/ModuleBuilder/parsers/relationships/OneToManyRelationship.php' => '76761d4122cd790065a59f92bd64bc96',
'./modules/ModuleBuilder/parsers/views/UndeployedMetaDataImplementation.php' => 'd08c83158fc599313de72722cc8d9ea9',
'./modules/ModuleBuilder/parsers/views/UndeployedSubpanelImplementation.php' => '9bf70fa555014fd415478b66ee2de930',
- './modules/ModuleBuilder/parsers/views/GridLayoutMetaDataParser.php' => 'bdc0b4a67e68bb9832792ea411c9b851',
+ './modules/ModuleBuilder/parsers/views/GridLayoutMetaDataParser.php' => '077c65a76467be03f17fd0c677b090fa',
'./modules/ModuleBuilder/parsers/views/PopupMetaDataParser.php' => '983372e3529c23ff91237434f7c3e9bb',
'./modules/ModuleBuilder/parsers/views/MetaDataImplementationInterface.php' => '96a4fcfa2ee73ff09cb2d868c3ac686f',
'./modules/ModuleBuilder/parsers/views/DashletMetaDataParser.php' => '5135692589012551cd63d5efd43419e1',
@@ -4006,7 +4008,7 @@ $md5_string = array (
'./modules/ModuleBuilder/Module/StudioBrowser.php' => '92c13d7c173dd243c2a72c821c17189f',
'./modules/ModuleBuilder/Module/StudioModule.php' => '0e155825ee6a96f535e3c6af592dd63d',
'./modules/ModuleBuilder/Module/DropDownTree.php' => '1efd3171700422c9bb838a0e8a8c8699',
- './modules/ModuleBuilder/Module/DropDownBrowser.php' => '70c0cff3e4a7abee8a2a4bac01539837',
+ './modules/ModuleBuilder/Module/DropDownBrowser.php' => '54941ae8cd4c1e03a9f1be7c3e3d2986',
'./modules/ModuleBuilder/views/view.modulefield.php' => '0ddd7c1412185c73d3aa2428d7ca8ecb',
'./modules/ModuleBuilder/views/view.relationship.php' => '59e94a5659c958248c3b6353e19ad4d0',
'./modules/ModuleBuilder/views/view.history.php' => '300fe8425bd9b4758ed01d7796c295c1',
@@ -4152,7 +4154,7 @@ $md5_string = array (
'./modules/Tasks/metadata/subpaneldefs.php' => 'cfa7544de231f3daffbaece1d48655c9',
'./modules/Tasks/metadata/quickcreatedefs.php' => '9d385c050c7ead7d2d698887eb3fe1a2',
'./modules/Tasks/metadata/editviewdefs.php' => '461320d490b0398fffba60497a02d594',
- './modules/Tasks/metadata/SearchFields.php' => '2e08c8ce66caa17c674e6b809ccdbbb0',
+ './modules/Tasks/metadata/SearchFields.php' => '81e93ca7dfd9de7981ebda84362746ff',
'./modules/Tasks/metadata/subpanels/ForHistory.php' => '1eea93c5de3105495821a023a45198cd',
'./modules/Tasks/metadata/subpanels/ForActivities.php' => '738f9593ba4cd389426340287c179eea',
'./modules/Tasks/metadata/subpanels/default.php' => '2d260e7503281518adee7ced2a4d1158',
@@ -4231,7 +4233,7 @@ $md5_string = array (
'./modules/Relationships/field_arrays.php' => '0e9ae35075b93e5f19410f91588acb31',
'./modules/Relationships/action_view_map.php' => '571dd4e63fb4538d31137ac12311c3b1',
'./modules/Relationships/language/en_us.lang.php' => 'aedca7f749595dbd168ea856a8c8a994',
- './modules/Relationships/Relationship.php' => 'fb440b8891482cf38346f03c0129070e',
+ './modules/Relationships/Relationship.php' => '453b5c687260c99a9460c1c5d80098bb',
'./modules/Relationships/editFields.tpl' => '07ad08575936353bba4ebe7515a96294',
'./modules/Versions/vardefs.php' => '91041d04251a8b15600e27294b7b41a2',
'./modules/Versions/CheckVersions.php' => 'fefc1527a49913ca604a58355c09d922',
@@ -4243,7 +4245,7 @@ $md5_string = array (
'./modules/Versions/index.html' => 'af8417bd71dc406e87cc5068181d93d4',
'./modules/Versions/ExpectedVersions.php' => 'fd957e25b1f781c4bfcc2634982cb0fb',
'./modules/EmailMan/EmailManDelivery.php' => 'e8df08d36ff1722cb5e0e2f6932beadf',
- './modules/EmailMan/tpls/config.tpl' => '7e55d7fa49f3392f7ce2e221da9c8615',
+ './modules/EmailMan/tpls/config.tpl' => '71227a0e614394d2dbd88c454c48f61f',
'./modules/EmailMan/tpls/campaignconfig.tpl' => '48dfd3bdc7b02bf2790f5baa8cf74911',
'./modules/EmailMan/EmailMan.php' => '2ca8c32e6bdb94fa586c3a88e1cc5a47',
'./modules/EmailMan/Menu.php' => 'e42681e7ce08924a06d020bd27f291c4',
@@ -4273,7 +4275,7 @@ $md5_string = array (
'./modules/Users/Save.php' => '51cbd4dede5b4547eb3075830664dbd5',
'./modules/Users/tpls/DetailViewFooter.tpl' => '41360606a7be7665511d0a4edfb4924b',
'./modules/Users/tpls/EditViewFooter.tpl' => 'd9e9670a7b2eaa592ea7f72897bf80b7',
- './modules/Users/tpls/EditViewHeader.tpl' => '970b6de2f23eeac8d273ff4e1694a589',
+ './modules/Users/tpls/EditViewHeader.tpl' => 'a3db8cb89fe92f5d15ad18aee0587848',
'./modules/Users/tpls/wizard.tpl' => 'f8f87728585eb6f754f0d5ec52d640ff',
'./modules/Users/tpls/QuickEditFooter.tpl' => 'ca1415ac61ae726339e359a43a25d97e',
'./modules/Users/tpls/DetailViewHeader.tpl' => '19474abc8c3237969d39112b812770ca',
@@ -4303,7 +4305,7 @@ $md5_string = array (
'./modules/Users/authentication/LDAPAuthenticate/LDAPConfigs/default.php' => 'ca2447e635257835058b49b06d2234a8',
'./modules/Users/authentication/LDAPAuthenticate/LDAPAuthenticate.php' => '772663335111c6ced3f8adffe3fd78c2',
'./modules/Users/login.css' => '7bd919080a241940a69df4cdf31247b3',
- './modules/Users/reassignUserRecords.php' => '74bab799f0fa4591090d3f7c6c29c250',
+ './modules/Users/reassignUserRecords.php' => 'c056d5516a8173b4eba06c60c12ed496',
'./modules/Users/views/view.quickedit.php' => '5a458c0188281d6ef893bf9e066ad4c6',
'./modules/Users/views/view.wizard.php' => '0ee43721692818879c9ccf06e102bf3b',
'./modules/Users/views/view.list.php' => '2da7405c724b558b493865af34b4523c',
@@ -4347,7 +4349,7 @@ $md5_string = array (
'./modules/Users/UserSignature.php' => '410eac350e431f5f5e88ca59a01ad7d3',
'./modules/Users/Popup_picker.html' => '44ecf49fcfd43110437ff32d25736fa1',
'./modules/Users/Changenewpassword.php' => 'a4c0bfaaf278973c844be58320b81e53',
- './modules/Users/language/en_us.lang.php' => '4bb673fcd8bc1a00b98bbe7cd2a476a2',
+ './modules/Users/language/en_us.lang.php' => '358d4575a02576bd6931e1f2df59fb1e',
'./modules/Users/Logout.php' => '4d8773fffd6b85b1f39a61e05faf472f',
'./modules/Users/Popup_Users_picker.html' => '72ca55f89e936ccf6c8b1f252ee54236',
'./modules/Users/Changenewpassword.tpl' => '8d01c6786232a13cb1ced470885ca4b5',
@@ -4493,19 +4495,19 @@ $md5_string = array (
'./modules/Calls/metadata/searchdefs.php' => '892464b109427176fc0dc9ca870ae1e4',
'./modules/Calls/metadata/subpaneldefs.php' => '74cfe6de17819f40cc6aca39a688a4bd',
'./modules/Calls/metadata/quickcreatedefs.php' => 'b9a18b440a38cffd04461985c688cbbd',
- './modules/Calls/metadata/editviewdefs.php' => '6c787c7222f694f7fe39dbc834ca7304',
+ './modules/Calls/metadata/editviewdefs.php' => '716496f9957a632976fa583a0d075196',
'./modules/Calls/metadata/SearchFields.php' => '478819054d7ea0c931e4601ccbfd62b4',
'./modules/Calls/metadata/subpanels/ForHistory.php' => 'f645f3a7148de0c2ad69f2c8c9797784',
'./modules/Calls/metadata/subpanels/ForActivities.php' => '9c8bae8ce3153c87403ea4b9c3ee0d19',
'./modules/Calls/metadata/subpanels/default.php' => '4fbf82faf4dba22e06c831a53ccec22b',
'./modules/Calls/metadata/listviewdefs.php' => 'd8fbb386c9825e95b0d20a90bef4a1fc',
- './modules/Calls/metadata/additionalDetails.php' => '806492f1654ddb97a247b3d7957b0abf',
+ './modules/Calls/metadata/additionalDetails.php' => 'cc43fbd7765ff15ae91a8af69e0a6870',
'./modules/Calls/metadata/studio.php' => 'fe87c7c9d8abf393806b94bbb9313d60',
'./modules/Calls/metadata/detailviewdefs.php' => '6136bdc6c445025f4f874ac29ccc065f',
'./modules/Calls/Dashlets/MyCallsDashlet/MyCallsDashlet.data.php' => 'bbb096633528bb22b112d6e3dc78d9d1',
'./modules/Calls/Dashlets/MyCallsDashlet/MyCallsDashlet.meta.php' => '81158ed6fa50d810929b4ff429657161',
'./modules/Calls/Dashlets/MyCallsDashlet/MyCallsDashlet.php' => '6bf0c16b793ffcadcf14333530dafe83',
- './modules/Calls/language/en_us.lang.php' => '5f6da2cf0046ce8a179f4f6f68397618',
+ './modules/Calls/language/en_us.lang.php' => '7fb36747cd1457db91de6f2f10f04a5f',
'./modules/Calls/SubPanelViewInvitees.html' => '4e7eeaa3d0ea3807ce8632669df1e176',
'./modules/ACLActions/ACLAction.php' => '46bd8be93b5b7dc499a1e6da89e3e4e9',
'./modules/ACLActions/Menu.php' => '8e2a919d4a5ef7be81da1d595c040756',
@@ -4557,7 +4559,7 @@ $md5_string = array (
'./modules/Connectors/connectors/sources/ext/rest/insideview/mapping.php' => 'f1eaaa85b15bbdcf4a2471d92830e663',
'./modules/Connectors/connectors/sources/ext/rest/insideview/language/en_us.lang.php' => 'd5b5b276a5aee95b4d9dcb26d3c4dacf',
'./modules/Connectors/connectors/formatters/ext/rest/linkedin/tpls/linkedin.gif' => '3440ba160f32d8eb17a5b2ed03be60c6',
- './modules/Connectors/connectors/formatters/ext/rest/linkedin/tpls/default.tpl' => '4178c90549d8462d9f69355379ce50a1',
+ './modules/Connectors/connectors/formatters/ext/rest/linkedin/tpls/default.tpl' => 'ff87541a5010e346747596c6cfd05285',
'./modules/Connectors/connectors/formatters/ext/rest/linkedin/linkedin.php' => '58409ed6395326c6f7a2607a482acd59',
'./modules/Connectors/connectors/formatters/ext/rest/twitter/tpls/twitter.gif' => '025ad081fbafed4577cc09c9eddb9a8d',
'./modules/Connectors/metadata/searchdefs.php' => 'a0644cec088c95ecbb1af6013c77099b',
@@ -4622,7 +4624,7 @@ $md5_string = array (
'./modules/Accounts/Popup_picker.html' => 'fc87828927b063bf8b812253e9f470df',
'./modules/Accounts/AccountFormBase.php' => '0529447d14b2e49f73d47a8c2e1bb714',
'./modules/Accounts/language/en_us.lang.php' => '863b8d5a0bfed32de162df9dbb6292ae',
- './modules/MySettings/TabController.php' => '1cd4a3c2b61bb33621899c23c0c9620f',
+ './modules/MySettings/TabController.php' => '2f5db02f78197c3828226441a57ea84f',
'./modules/MySettings/LoadTabSubpanels.php' => 'bf5d62359fbaf54c44c4fb564f4cece0',
'./modules/MySettings/language/en_us.lang.php' => 'd4abf88d2579a1d47f25be4b8f7bc531',
'./modules/MySettings/StoreQuery.php' => '8423a5e81861ef165e3b628f0b4c3b3a',
@@ -4779,7 +4781,7 @@ $md5_string = array (
'./modules/vCals/HTTP_WebDAV_Server_vCal.php' => '5a6b18b368756d72906cb30a6a8c5bbe',
'./modules/vCals/field_arrays.php' => 'edf597f757a7476101f8c0a6f9ae7bd5',
'./modules/vCals/vCal.php' => 'fa6be09ed4e177d569a1427d64862f7a',
- './modules/Bugs/Bug.php' => '3badfdca740aa6547bc04644efa3c470',
+ './modules/Bugs/Bug.php' => '4d81ce0448c970a0f04287e359dd02ed',
'./modules/Bugs/tpls/QuickCreate.tpl' => '8cb257fc67aa10e35b93927896fcc61f',
'./modules/Bugs/Menu.php' => '08b918b895b6e4e30507e6329482da6e',
'./modules/Bugs/vardefs.php' => 'f5ea3eb73c1778791525d349a803d06f',
@@ -4916,7 +4918,7 @@ $md5_string = array (
'./modules/Import/views/view.step2.php' => '0d92e6b7b74f46b33ad4764cc10bbb4a',
'./modules/Import/views/ImportListView.php' => '8a86c159a94446b315785c4ca0f8fa25',
'./modules/Import/views/view.step4.php' => '2759ba63cac39f2d75fa521bbc9c2b3d',
- './modules/Import/views/view.last.php' => 'bc5a15d0de7e49c018e5f4514afc373f',
+ './modules/Import/views/view.last.php' => '7de2a0605e5f6dc2989f0b7ee75a98c5',
'./modules/Import/views/ImportView.php' => '2f5f4cdad18fe3d61da136238dc07fd0',
'./modules/Import/views/view.undo.php' => '445e58df91429d47e2e34192ea4f7892',
'./modules/Import/views/view.step1.php' => '7a6f866ef1917412702b560b613d2a9c',
@@ -4994,7 +4996,7 @@ $md5_string = array (
'./modules/Meetings/tpls/extMeetingNotInvited.tpl' => '4cd1dd9a2f232673e7828455bb0df98e',
'./modules/Meetings/tpls/extMeetingNoStart.tpl' => '4f0e0734534e99f878aa68196f46678f',
'./modules/Meetings/tpls/detailHeader.tpl' => '80c5550af52dc424831101182a9a0dce',
- './modules/Meetings/tpls/reminders.tpl' => '9d18ebe8e3a253e5643ecc5384367c2f',
+ './modules/Meetings/tpls/reminders.tpl' => '394f1ff57bdfef5047e57e3e7807631b',
'./modules/Meetings/Menu.php' => '63348eb6a3845e5d48389fe80ed6bfff',
'./modules/Meetings/vardefs.php' => '36101b541ce81f67bb17078a3bc17063',
'./modules/Meetings/JoinExternalMeeting.php' => 'b71a1a110ff5483fc45d49859d1a5ed4',
@@ -5013,7 +5015,7 @@ $md5_string = array (
'./modules/Meetings/metadata/subpanels/ForActivities.php' => '06fbdaca02a664e63b06dd5cef35ca0a',
'./modules/Meetings/metadata/subpanels/default.php' => 'e8eee50236ef267923a9e5953ac2e48c',
'./modules/Meetings/metadata/listviewdefs.php' => 'fa302246f3795a3fcfe46455158eccc7',
- './modules/Meetings/metadata/additionalDetails.php' => 'c98a17cfb10dade0d36e0596c87a6a72',
+ './modules/Meetings/metadata/additionalDetails.php' => '2001e3dfc42f3667b3abfc25125ee621',
'./modules/Meetings/metadata/studio.php' => 'd8ec9c1a4d2c17483fdce4a8753e61ca',
'./modules/Meetings/metadata/detailviewdefs.php' => 'c1e4cacdb55a8d50419815b28764b5da',
'./modules/Meetings/action_view_map.php' => '783a7b699c3b3ce049ca2e3bde08d856',
@@ -5021,7 +5023,7 @@ $md5_string = array (
'./modules/Meetings/Dashlets/MyMeetingsDashlet/MyMeetingsDashlet.meta.php' => '1f17c035ab5229249ccb4dbbb51a1d39',
'./modules/Meetings/Dashlets/MyMeetingsDashlet/MyMeetingsDashlet.php' => '4a6c86deb8c094a5eee079604ea3af3b',
'./modules/Meetings/MeetingsQuickCreate.php' => '5e67b447ae39ad80afe5588a4a293388',
- './modules/Meetings/language/en_us.lang.php' => '4fcd9d9fce88d839ec13baa9600f7cd2',
+ './modules/Meetings/language/en_us.lang.php' => '5fdc57290ad2a3267928821da294b0dc',
'./modules/Meetings/SubPanelViewInvitees.html' => '7f9d1da5e8384457cadabf14412a88a5',
'./modules/Meetings/MeetingFormBase.php' => '125d67b87d70e61e2e074c9279bb4090',
'./modules/Administration/RepairIndex.php' => '31d55e4ce8069277191685e503ade848',
@@ -5046,12 +5048,12 @@ $md5_string = array (
'./modules/Administration/UpgradeWizardCommon.php' => '6692078482ee14f39d6120ed762a83d8',
'./modules/Administration/index.tpl' => 'c934bbbb1b6c1d224160d3eb2474f880',
'./modules/Administration/ExportCustomFieldStructure.php' => 'ee31a1faf8364f2164b6b0dd3561c920',
- './modules/Administration/RebuildConfig.php' => '6d675ab605c6d2414cea49a31d1a867c',
+ './modules/Administration/RebuildConfig.php' => '39fe5857d01ec5a38c41f25deba490e3',
'./modules/Administration/expandDatabase.php' => 'e8a4f5cbf41fd945eb7cfd1304ffcaed',
'./modules/Administration/UpgradeWizard_commit.php' => '79ad4c6de14e1d3c8fe3cd28088d6d1a',
'./modules/Administration/RebuildSchedulers.php' => '8a019b515ec6b861b5d8389d8db6cbc4',
'./modules/Administration/RebuildJSLang.php' => 'c805d230536a0a2588b2f354bebca2f7',
- './modules/Administration/Administration.php' => '8a972beb37ff7f35f024f96c42fea740',
+ './modules/Administration/Administration.php' => '573341a9042e3eeacd70e1ac2f7541a5',
'./modules/Administration/DiagnosticRun.php' => '71ec61f38b53d9c45430ad010f073744',
'./modules/Administration/views/view.configureajaxui.php' => '3668e9bc0b0bb4cb389d8a848d4c4ec4',
'./modules/Administration/views/view.themesettings.php' => 'ebb08498472f303fc6833164c9dc35db',
@@ -5179,7 +5181,7 @@ $md5_string = array (
'./modules/Prospects/tpls/QuickCreate.tpl' => '48ace80607d75ccb2269d253f881b2cc',
'./modules/Prospects/tpls/DetailViewHeader.tpl' => 'dd705a91289d9c51886ecc83e55a0a3b',
'./modules/Prospects/Menu.php' => '031eb2423070dee242ec8f0a7c7d43e1',
- './modules/Prospects/vardefs.php' => 'a2f530627be82745b14f1da5a4e54b6a',
+ './modules/Prospects/vardefs.php' => 'c932d472671510e6917825b69f5c484e',
'./modules/Prospects/ProspectFormBase.php' => 'e5fa28819dd0ea142f07e3d476ac607b',
'./modules/Prospects/views/view.list.php' => '5b3e15e3d2b5c7da3eb281a234de5a3e',
'./modules/Prospects/views/view.edit.php' => 'b170b99f193319f44795cdea735b3cdd',
@@ -5203,7 +5205,7 @@ $md5_string = array (
'./modules/Prospects/Import.php' => '614497f986383f860516ab61657971cc',
'./modules/Home/about.js' => '03fa705aef3b3a4b5ab6ac20d2fed0c0',
'./modules/Home/tour.js' => '02de392c74cf4fe1ee3d2420b1909853',
- './modules/Home/tour.css' => '010dec86c845782e324a5a24d6ed7766',
+ './modules/Home/tour.css' => '50c0d1290fa8a412910733605d3739fe',
'./modules/Home/Home.html' => 'db09f83e17d4b882ef673c2cd01751ec',
'./modules/Home/tour.tpl' => '990ef52a6086b790c4ee6f40c312015d',
'./modules/Home/SubpanelEdits.php' => 'a7c382727fd45ea8e3f3be39846b7ada',
@@ -5223,7 +5225,7 @@ $md5_string = array (
'./modules/Home/UnifiedSearchAdvanced.tpl' => 'e0c7d63a16de2718887838c5617ac706',
'./modules/Home/action_view_map.php' => 'a4266c315f2561350486347856a74b34',
'./modules/Home/TrainingPortal.tpl' => '1e181d4b3f021a74b7ce165a71558863',
- './modules/Home/Dashlets/ChartsDashlet/ChartsDashlet.php' => 'b1d170d157bdbd192a1aab8d2141fa56',
+ './modules/Home/Dashlets/ChartsDashlet/ChartsDashlet.php' => '90315fd8af602895c044715df7eef137',
'./modules/Home/Dashlets/ChartsDashlet/ChartsDashletScript.tpl' => '2df14de190bfe8608d647ab00264fd0e',
'./modules/Home/Dashlets/ChartsDashlet/ChartsDashlet.en_us.lang.php' => 'eba1a456bf639ba649b8bec503776be2',
'./modules/Home/Dashlets/ChartsDashlet/ChartsDashlet.meta.php' => '4a0ce2d02f29a09782be1eeb4ce5c00d',
@@ -5270,13 +5272,13 @@ $md5_string = array (
'./modules/Home/TrainingPortal.php' => '1ec4a300d6dfd51f80eb642eee05f0f0',
'./cache/include/javascript/sugar_grp_jsolait.js' => '9aced6d7d2669515690f61e506834ed9',
'./cache/include/javascript/sugar_grp_quickcomp.js' => '464a1159cee19a73c9a4035b47a6e18e',
- './cache/include/javascript/sugar_grp_emails.js' => '966628c4d758082a9a8250ef64d1c5b1',
+ './cache/include/javascript/sugar_grp_emails.js' => 'f7b4e51bb49e38469713799426d8eca6',
'./cache/include/javascript/sugar_grp_yui2.js' => '53c8d4d026a0adc7ea775e6488245de5',
'./cache/include/javascript/sugar_grp_yui_widgets.css' => '17f5b268fda1a8a3e27b41ebefe4d408',
'./cache/include/javascript/sugar_grp_yui_widgets.js' => '35fe43cba48260f75b169dd1af5c64fe',
'./cache/include/javascript/sugar_grp1_yui.js' => '9c3853420e26cad638181691de71e991',
'./cache/include/javascript/sugar_field_grp.js' => '339b3b1d92f554dbac7fad410360c8f1',
- './cache/include/javascript/sugar_grp1_jquery.js' => '49498e5d14244f125e6bcadbd6e1ea7d',
+ './cache/include/javascript/sugar_grp1_jquery.js' => '9c164fdc669d8af0c3e11559154a214c',
'./cache/include/javascript/sugar_grp1.js' => '7a7f9d3e7e0ec6f805b291f9d905db63',
'./cache/layout/index.html' => '9cd784063d39b18d308932c28c385853',
'./cache/images/index.html' => '9cd784063d39b18d308932c28c385853',
@@ -5348,7 +5350,7 @@ $md5_string = array (
'./metadata/prospect_lists_prospectsMetaData.php' => 'fe3dc7d813428ca0fa774884a88ef5c4',
'./metadata/inboundEmail_autoreplyMetaData.php' => '7c670a62c7142827bbdf675c8b4be221',
'./metadata/acl_roles_actionsMetaData.php' => 'a3446107943a271bf6e329a80deb06e8',
- './sugar_version.php' => '0cebec6c0b594e0b0ec24f6752d3cda8',
+ './sugar_version.php' => '4f6fe3fd3b40543a4fa4362a8ec2291f',
'./cron.php' => '96a6fd7893809132e902086e77dde30c',
'./log4php/LoggerManager.php' => 'fa34194306cd50c01b71d8d5060ee362',
'./TreeData.php' => '7040af43bf01c450f4e225ece5e3f30c',
@@ -6642,13 +6644,13 @@ $md5_string = array (
'./jssource/src_files/modules/EAPM/EAPMEdit.js' => '127511d0f21897d3424692d2fa3b7b3f',
'./jssource/src_files/modules/Schedulers/Schedulers.js' => '60e06fbc7695f413cc76aef1f2c393ff',
'./jssource/src_files/modules/ACLRoles/ACLRoles.js' => 'a4e950601a92d86219b5b2c00c41fd74',
- './jssource/src_files/modules/Calendar/Cal.js' => '7fa9105922a341193356923f36d71c08',
+ './jssource/src_files/modules/Calendar/Cal.js' => '1da5052ead1952855103a596421b8ac1',
'./jssource/src_files/modules/Documents/documents.js' => 'b15b9c6f9ec7ea2bc2ad3dbfb5de46bd',
'./jssource/src_files/modules/Leads/Lead.js' => 'c81abe209fd0eb0b07fe03e822181221',
'./jssource/src_files/modules/EmailTemplates/EmailTemplate.js' => '3ba07abfef8bbfbba604ed19ebd52fd0',
'./jssource/src_files/service/utils/SugarRest.js' => '25bb6ba045022c695e3b3582f4a00ce6',
'./jssource/src_files/include/MySugar/javascript/MySugar.js' => '33dea628a26df11e8d89eb78f4684db4',
- './jssource/src_files/include/SugarEmailAddress/SugarEmailAddress.js' => '45cf765b2ff9dfe06a975df8464c615b',
+ './jssource/src_files/include/SugarEmailAddress/SugarEmailAddress.js' => '38bed07b58bbd3f74ab81c169089650e',
'./jssource/src_files/include/javascript/ajaxUI.js' => '47b2ebed0ecf6c97c8c676fa578a176d',
'./jssource/src_files/include/javascript/calendar.js' => '8a64349697d88a99b897514e60afcb4d',
'./jssource/src_files/include/javascript/iscroll.js' => 'b6c232e3c54b2a1320b22c7ad920c842',
@@ -7460,7 +7462,7 @@ $md5_string = array (
'./jssource/src_files/include/SugarFields/Fields/Collection/SugarFieldCollection.js' => 'c3b0f7249b491eafd0a09aaa2caceea5',
'./jssource/src_files/include/SugarFields/Fields/Time/Time.js' => 'e3ce55d6cf0f0e0a6ad6ab9edb3456e3',
'./jssource/src_files/include/SugarFields/Fields/Datetimecombo/Datetimecombo.js' => 'd98b2a1cd2cf9c9b6739015f98b1a9d4',
- './jssource/src_files/include/SubPanel/SubPanelTiles.js' => '5744614fd3975ef20e3d876211d174ff',
+ './jssource/src_files/include/SubPanel/SubPanelTiles.js' => '2f2b0df84f862f7d6faf8bf0bc227c46',
'./jssource/src_files/include/HTMLPurifier/standalone/HTMLPurifier/Printer/ConfigForm.js' => 'ee5990d6bb62017463a7a8d72c8288b5',
'./jssource/minify.php' => '0af28efb7b3fb17907385d14b30672a3',
'./jssource/minify_utils.php' => 'f8041fdf57fcd09505abcb86e7f2f7b4',
@@ -7515,7 +7517,7 @@ $md5_string = array (
'./soap/SoapError.php' => 'dff0c6fc02f66fbb4f86a91691ee300e',
'./soap/SoapHelperFunctions.php' => '0cda7e6e106832d2b04dc2ce607ea614',
'./soap/SoapPortalHelper.php' => '302d5e90cf56d708b6d3f087fec2e72f',
- './soap/SoapSugarUsers.php' => '139d0b860d8efdae004c89c28417e96c',
+ './soap/SoapSugarUsers.php' => 'c13cd8250bfdf16f6bcf7c9b8ade9e96',
'./soap/SoapStudio.php' => '0fd81758942a52940c119f3afa134fcd',
'./soap/SoapRelationshipHelper.php' => '03cfb58253ac766d90ddf57d38d36afe',
'./soap/SoapErrorDefinitions.php' => '0ba2c58cdbdaec479860537420e4cf30',
View
63 get_url.php
@@ -0,0 +1,63 @@
+<?php
+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-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
+ * Free Software Foundation with the addition of the following permission added
+ * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
+ * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
+ * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU Affero General Public License along with
+ * this program; if not, see http://www.gnu.org/licenses or write to the Free
+ * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301 USA.
+ *
+ * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
+ * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
+ *
+ * The interactive user interfaces in modified source and object code versions
+ * of this program must display Appropriate Legal Notices, as required under
+ * Section 5 of the GNU Affero General Public License version 3.
+ *
+ * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
+ * these Appropriate Legal Notices must retain the display of the "Powered by
+ * SugarCRM" logo. If the display of the logo is not reasonably feasible for
+ * technical reasons, the Appropriate Legal Notices must display the words
+ * "Powered by SugarCRM".
+ ********************************************************************************/
+
+/**
+ * Use this script to fetch linkedin js code.
+ */
+
+$url = '';
+$type = !empty($_GET['type']) ? $_GET['type'] : '';
+switch ($type)
+{
+ case 'linkedin' :
+ require_once('include/connectors/formatters/FormatterFactory.php');
+ $formatter = FormatterFactory::getInstance('ext_rest_linkedin');
+ $url = $formatter->getComponent()->getSource()->getConfig();
+ $url = $url['properties']['company_url'];
+ break;
+}
+
+if ($url == '')
+{
+ return;
+}
+
+$ch = curl_init();
+curl_setopt($ch, CURLOPT_URL, $url);
+curl_setopt($ch, CURLOPT_TIMEOUT, '30');
+curl_exec($ch);
+curl_close($ch);
View
2  include/Dashlets/DashletGenericChart.php
@@ -138,7 +138,7 @@ public function setRefreshIcon()
if($this->isRefreshable)
$additionalTitle .= '<a href="#" onclick="SUGAR.mySugar.retrieveDashlet(\''
- . $this->id . '\',\'predefined_chart\'); return false;"><!--not_in_theme!--><img border="0" align="absmiddle" title="' . translate('LBL_DASHLET_REFRESH', 'Home') . '" alt="' . translate('LBL_DASHLET_REFRESH', 'Home') . '" src="'
+ . $this->id . '\',\'predefined_chart\'); return false;"><!--not_in_theme!--><img border="0" title="' . translate('LBL_DASHLET_REFRESH', 'Home') . '" alt="' . translate('LBL_DASHLET_REFRESH', 'Home') . '" src="'
. SugarThemeRegistry::current()->getImageURL('dashlet-header-refresh.png').'"/></a>';
return $additionalTitle;
View
10 include/DetailView/header.tpl
@@ -112,10 +112,12 @@ SUGAR.util.doWhen(function(){
{{* Add $form.links if they are defined *}}
{{if !empty($form) && isset($form.links)}}
<td align="right" width="10%">&nbsp;</td>
- <td align="right" width="100%" NOWRAP>
- {{foreach from=$form.links item=link}}
- {{$link}}&nbsp;
- {{/foreach}}
+ <td align="right" width="100%" NOWRAP class="buttons">
+ <div class="actionsContainer">
+ {{foreach from=$form.links item=link}}
+ {{$link}}&nbsp;
+ {{/foreach}}
+ </div>
</td>
{{/if}}
</tr>
View
25 include/ListView/ListViewData.php
@@ -92,6 +92,13 @@ function getOrderBy($orderBy = '', $direction = '') {
$direction = 'DESC';
}
}
+ if(!empty($direction)) {
+ if(strtolower($direction) == "desc") {
+ $direction = 'DESC';
+ } else {
+ $direction = 'ASC';
+ }
+ }
return array('orderBy' => $orderBy, 'sortOrder' => $direction);
}
@@ -485,10 +492,10 @@ function getListViewData($seed, $where, $offset=-1, $limit = -1, $filter_fields=
if(!$this->seed->ACLAccess('ListView')) {
$pageData['error'] = 'ACL restricted access';
}
-
+
$queryString = '';
-
- if( isset($_REQUEST["searchFormTab"]) && $_REQUEST["searchFormTab"] == "advanced_search" ||
+
+ if( isset($_REQUEST["searchFormTab"]) && $_REQUEST["searchFormTab"] == "advanced_search" ||
isset($_REQUEST["type_basic"]) && (count($_REQUEST["type_basic"] > 1) || $_REQUEST["type_basic"][0] != "") ||
isset($_REQUEST["module"]) && $_REQUEST["module"] == "MergeRecords")
{
@@ -596,12 +603,12 @@ function getAdditionalDetails($fields, $adFunction, $editAccess)
{
$results['string'] = $app_strings['LBL_NONE'];
}
- $close = false;
+ $close = false;
$extra = "<img alt='{$app_strings['LBL_INFOINLINE']}' style='padding: 0px 5px 0px 2px' border='0' onclick=\"SUGAR.util.getStaticAdditionalDetails(this,'";
-
+
$extra .= str_replace(array("\rn", "\r", "\n"), array('','','<br />'), $results['string']) ;
$extra .= "','<div style=\'float:left\'>{$app_strings['LBL_ADDITIONAL_DETAILS']}</div><div style=\'float: right\'>";
-
+
if($editAccess && !empty($results['editLink']))
{
$extra .= "<a title=\'{$app_strings['LBL_EDIT_BUTTON']}\' href={$results['editLink']}><img style=\'margin-left: 2px;\' border=\'0\' src=\'".SugarThemeRegistry::current()->getImageURL('edit_inline.png')."\'></a>";
@@ -609,12 +616,12 @@ function getAdditionalDetails($fields, $adFunction, $editAccess)
}
$close = (!empty($results['viewLink'])) ? true : $close;
$extra .= (!empty($results['viewLink']) ? "<a title=\'{$app_strings['LBL_VIEW_BUTTON']}\' href={$results['viewLink']}><img style=\'margin-left: 2px;\' border=\'0\' src=".SugarThemeRegistry::current()->getImageURL('view_inline.png')."></a>" : '');
-
+
if($close == true) {
- $closeVal = "true";
+ $closeVal = "true";
$extra .= "<a title=\'{$app_strings['LBL_ADDITIONAL_DETAILS_CLOSE_TITLE']}\' href=\'javascript: SUGAR.util.closeStaticAdditionalDetails();\'><img style=\'margin-left: 2px;\' border=\'0\' src=\'".SugarThemeRegistry::current()->getImageURL('close.png')."\'></a>";
} else {
- $closeVal = "false";
+ $closeVal = "false";
}
$extra .= "',".$closeVal.")\" src='".SugarThemeRegistry::current()->getImageURL('info_inline.png')."' class='info'>";
View
1  include/MVC/Controller/entry_point_registry.php
@@ -53,6 +53,7 @@
'pdf' => array('file' => 'pdf.php', 'auth' => true),
'minify' => array('file' => 'jssource/minify.php', 'auth' => true),
'json_server' => array('file' => 'json_server.php', 'auth' => true),
+ 'get_url' => array('file' => 'get_url.php', 'auth' => true),
'HandleAjaxCall' => array('file' => 'HandleAjaxCall.php', 'auth' => true),
'TreeData' => array('file' => 'TreeData.php', 'auth' => true),
'image' => array('file' => 'modules/Campaigns/image.php', 'auth' => false),
View
20 include/MVC/SugarApplication.php
@@ -359,10 +359,10 @@ function loadLanguages(){
function checkDatabaseVersion($dieOnFailure = true)
{
$row_count = sugar_cache_retrieve('checkDatabaseVersion_row_count');
- if ( empty($row_count) ) {
- global $sugar_db_version;
+ if ( empty($row_count) )
+ {
$version_query = "SELECT count(*) as the_count FROM config WHERE category='info' AND name='sugar_version' AND ".
- $GLOBALS['db']->convert('value', 'text2char')." = ".$GLOBALS['db']->quoted($sugar_db_version);
+ $GLOBALS['db']->convert('value', 'text2char')." = ".$GLOBALS['db']->quoted($GLOBALS['sugar_db_version']);
$result = $GLOBALS['db']->query($version_query);
$row = $GLOBALS['db']->fetchByAssoc($result);
@@ -370,12 +370,20 @@ function checkDatabaseVersion($dieOnFailure = true)
sugar_cache_put('checkDatabaseVersion_row_count', $row_count);
}
- if($row_count == 0 && empty($GLOBALS['sugar_config']['disc_client'])){
- $sugar_version = $GLOBALS['sugar_version'];
+ if ($row_count == 0 && empty($GLOBALS['sugar_config']['disc_client']))
+ {
if ( $dieOnFailure )
- sugar_die("Sugar CRM $sugar_version Files May Only Be Used With A Sugar CRM $sugar_db_version Database.");
+ {
+ $replacementStrings = array(
+ 0 => $GLOBALS['sugar_version'],
+ 1 => $GLOBALS['sugar_db_version'],
+ );
+ sugar_die(string_format($GLOBALS['app_strings']['ERR_DB_VERSION'], $replacementStrings));
+ }
else
+ {
return false;