This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setFieldRequired(fieldName, req, msgStr){ | |
if(!msgStr){ msgStr = fieldName; } | |
for(var i = 0; i < validate["EditView"].length; i++){ | |
if(validate["EditView"][i][nameIndex] == fieldName) { | |
validate["EditView"][i][msgIndex] = msgStr; | |
validate["EditView"][i][requiredIndex] = req; | |
break; | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'copy' => array ( | |
array ( | |
'from' => '<basepath>/files/', | |
'to' => '', | |
), | |
), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'copy' => array ( | |
array ( | |
'from' => '<basepath>/files/modules/MyAwesomeModule', | |
'to' => 'modules/MyAwesomeModule', | |
), | |
), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'copy' => array ( | |
array ( | |
'from' => '<basepath>/files/custom/modules/Accounts', | |
'to' => 'custom/modules/Accounts', | |
), | |
), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'copy' => array ( | |
array ( | |
'from' => '<basepath>/files/custom/modules/Accounts/EmailAccount.php', | |
'to' => 'custom/modules/Accounts/EmailAccount.php', | |
), | |
array ( | |
'from' => '<basepath>/files/custom/modules/Accounts/metadata/detailviewdefs.php', | |
'to' => 'custom/modules/Accounts/metadata/detailviewdefs.php', | |
), | |
), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'copy' => array ( | |
array ( | |
'from' => '<basepath>/files/modules/Accounts/metadata/detailviewdefs.php', | |
'to' => 'modules/Accounts/metadata/detailviewdefs.php', | |
), | |
), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'copy' => array ( | |
array ( | |
'from' => '<basepath>/files/custom/modules/Accounts/metadata/detailviewdefs.php' | |
'to' => 'custom/modules/metadata/detailviewdefs.php', | |
), | |
), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'copy' => array ( | |
array ( | |
'from' => '<basepath>/files/custom/modules/Accounts/views/view.edit.php', | |
'to' => 'custom/modules/Accounts/views/view.edit.php', | |
), | |
), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* BEGIN - SECURITY GROUPS */ | |
//if popup select add panel if user is a member of multiple groups to metadataFile | |
global $sugar_config; | |
if(isset($sugar_config['securitysuite_popup_select']) && $sugar_config['securitysuite_popup_select'] == true | |
&& empty($this->bean->fetched_row['id']) && $this->bean->module_dir != "Users" && $this->bean->module_dir != "SugarFeed") { | |
//there are cases such as uploading an attachment to an email template where the request module may | |
//not be the same as the current bean module. If that happens we can just skip it | |
if(empty($_REQUEST['module']) || $_REQUEST['module'] != $this->bean->module_dir) return; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'copy' => array ( | |
array ( | |
'from' => '<basepath>/copy/custom/modules/Accounts/MyAwesome_logic_hook.php', | |
'to' => 'custom/modules/Accounts/MyAwesome_logic_hook.php', | |
), | |
array ( | |
'from' => '<basepath>/copy/modules/MyAwesomeModule', | |
'to' => 'modules/MyAwesomeModule', | |
), | |
), |
OlderNewer