SuiteCRM-Core/modules/jjwg_Maps/Menu.php
Dillon-Brown 8e4cc94994 Squashed 'public/legacy/' content from commit 817a12dc0
git-subtree-dir: public/legacy
git-subtree-split: 817a12dc0c30c189f56d5cb1f7dc37a9631bdbe3
2021-03-31 15:37:32 +01:00

17 lines
1.1 KiB
PHP
Executable file

<?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
if (ACLController::checkAccess('jjwg_Maps', 'edit', true)) {
$module_menu[]=array("index.php?module=jjwg_Maps&action=EditView&return_module=jjwg_Maps&return_action=index", $GLOBALS['mod_strings']['LNK_NEW_MAP'], "Create", 'jjwg_Maps');
}
if (ACLController::checkAccess('jjwg_Maps', 'list', true)) {
$module_menu[]=array("index.php?module=jjwg_Maps&action=index&return_module=jjwg_Maps&return_action=DetailView", $GLOBALS['mod_strings']['LNK_MAP_LIST'], "List_Maps", 'jjwg_Maps');
}
if (ACLController::checkAccess('jjwg_Maps', 'list', true)) {
$module_menu[]=array("index.php?module=jjwg_Maps&action=quick_radius&return_module=jjwg_Maps&return_action=index", $GLOBALS['mod_strings']['LBL_MAP_QUICK_RADIUS'], "Quick_Radius_Map", 'jjwg_Maps');
}
if (ACLController::checkAccess('jjwg_Maps', 'import', true)) {
$module_menu[]=array("index.php?module=Import&action=Step1&import_module=jjwg_Maps&return_module=jjwg_Maps&return_action=index", $GLOBALS['app_strings']['LBL_IMPORT'],"Import", 'jjwg_Maps');
}