list of actions (all says all actions are admin only) //'Administration'=>array('all'=>1, 'SupportPortal'=>'allow'), 'Dropdown'=>array('all'=>1), 'Dynamic'=>array('all'=>1), 'DynamicFields'=>array('all'=>1), 'Currencies'=>array('all'=>1), 'EditCustomFields'=>array('all'=>1), 'FieldsMetaData'=>array('all'=>1), 'LabelEditor'=>array('all'=>1), 'ACL'=>array('all'=>1), 'ACLActions'=>array('all'=>1), 'ACLRoles'=>array('all'=>1), 'UpgradeWizard' => array('all' => 1), 'Studio' => array('all' => 1), 'Schedulers' => array('all' => 1), ); $modInvisList[] = 'ACL'; $modInvisList[] = 'ACLRoles'; $modInvisList[] = 'Configurator'; $modInvisList[] = 'UserPreferences'; $modInvisList[] = 'SavedSearch'; // deferred //$modInvisList[] = 'Queues'; $modInvisList[] = 'Studio'; $modInvisList[] = 'Connectors'; $report_include_modules = array(); $report_include_modules['Currencies']='Currency'; //add prospects $report_include_modules['Prospects']='Prospect'; $report_include_modules['DocumentRevisions'] = 'DocumentRevision'; $report_include_modules['ProductCategories'] = 'ProductCategory'; $report_include_modules['ProductTypes'] = 'ProductType'; //add Tracker modules $report_include_modules['Trackers'] = 'Tracker'; $beanList['SugarFeed'] = 'SugarFeed'; $beanFiles['SugarFeed'] = 'modules/SugarFeed/SugarFeed.php'; $modInvisList[] = 'SugarFeed'; // This is the mapping for modules that appear under a different module's tab // Be sure to also add the modules to $modInvisList, otherwise their tab will still appear $GLOBALS['moduleTabMap'] = array( 'UpgradeWizard' => 'Administration', 'EmailMan' => 'Administration', 'ModuleBuilder' => 'Administration', 'Configurator' => 'Administration', 'Studio' => 'Administration', 'Currencies' => 'Administration', 'SugarFeed' => 'Administration', 'DocumentRevisions' => 'Documents', 'EmailTemplates' => 'Emails', 'EmailMarketing' => 'Campaigns', ); $beanList['EAPM'] = 'EAPM'; $beanFiles['EAPM'] = 'modules/EAPM/EAPM.php'; $modules_exempt_from_availability_check['EAPM'] = 'EAPM'; $modInvisList[] = 'EAPM'; $beanList['OAuthKeys'] = 'OAuthKey'; $beanFiles['OAuthKey'] = 'modules/OAuthKeys/OAuthKey.php'; $modules_exempt_from_availability_check['OAuthKeys'] = 'OAuthKeys'; $modInvisList[] = 'OAuthKeys'; $beanList['OAuthTokens'] = 'OAuthToken'; $beanFiles['OAuthToken'] = 'modules/OAuthTokens/OAuthToken.php'; $modules_exempt_from_availability_check['OAuthTokens'] = 'OAuthTokens'; $modInvisList[] = 'OAuthTokens'; //Object list is only here to correct for modules that break //the bean class name == dictionary entry/object name convention //No future module should need an entry here. $objectList = array(); $objectList['Cases'] = 'Case'; $objectList['Groups'] = 'User'; $objectList['Users'] = 'User'; if (file_exists('include/modules_override.php')) { include('include/modules_override.php'); } if (file_exists('custom/application/Ext/Include/modules.ext.php')) { include('custom/application/Ext/Include/modules.ext.php'); } ?>