0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-11-21 23:47:57 +00:00
salesagility_SuiteCRM/modules/jjwg_Areas/Menu.php

15 lines
846 B
PHP

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