decodeProperties(array ( 'file_dependency' => array ( 'a6ca616557c28208128190b8706bc1abd37c4774' => array ( 0 => '/home/sophalnexs/www/sophalcrm/includes/runtime/../../layouts/v7/modules/Settings/Profiles/EditViewContents.tpl', 1 => 1583050837, 2 => 'file', ), ), 'nocache_hash' => '12518163945e5fb9264a2e86-83688342', 'function' => array ( ), 'variables' => array ( 'SHOW_EXISTING_PROFILES' => 0, 'SCRIPTS' => 0, 'jsModel' => 0, 'QUALIFIED_MODULE' => 0, 'ALL_PROFILES' => 0, 'PROFILE' => 0, 'RECORD_ID' => 0, 'RECORD_MODEL' => 0, 'IS_DUPLICATE_RECORD' => 0, 'PROFILE_MODULES' => 0, 'PROFILE_MODULE' => 0, 'MODULE_NAME' => 0, 'TABID' => 0, 'BASIC_ACTION_ORDER' => 0, 'ORDERID' => 0, 'ALL_BASIC_ACTIONS' => 0, 'ACTION_MODEL' => 0, 'IS_RESTRICTED_MODULE' => 0, 'ACTION_ID' => 0, 'FIELD_MODEL' => 0, 'COUNTER' => 0, 'FIELD_NAME' => 0, 'FIELD_ID' => 0, 'FIELD_LOCKED' => 0, 'EVENT_MODULE' => 0, 'ALL_UTILITY_ACTIONS' => 0, 'ALL_UTILITY_ACTIONS_ARRAY' => 0, 'index' => 0, 'colspan' => 0, 'ACTIONID' => 0, ), 'has_nocache_code' => false, 'version' => 'Smarty-3.1.7', 'unifunc' => 'content_5e5fb92683675', ),false); /*/%%SmartyHeaderCode%%*/?> tpl_vars['SHOW_EXISTING_PROFILES']->value){?> tpl_vars['jsModel'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['jsModel']->_loop = false; $_smarty_tpl->tpl_vars['index'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['SCRIPTS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['jsModel']->key => $_smarty_tpl->tpl_vars['jsModel']->value){ $_smarty_tpl->tpl_vars['jsModel']->_loop = true; $_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['jsModel']->key; ?>
tpl_vars['RECORD_MODEL']->value&&$_smarty_tpl->tpl_vars['RECORD_MODEL']->value->getId()&&empty($_smarty_tpl->tpl_vars['IS_DUPLICATE_RECORD']->value)){?> tpl_vars['RECORD_MODEL']->value->hasGlobalReadPermission()||$_smarty_tpl->tpl_vars['RECORD_MODEL']->value->hasGlobalWritePermission()){?>



tpl_vars['QUALIFIED_MODULE']->value);?>
tpl_vars['QUALIFIED_MODULE']->value);?>

tpl_vars['PROFILE_MODULES'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD_MODEL']->value->getModulePermissions(), null, 0);?> tpl_vars['PROFILE_MODULE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PROFILE_MODULE']->_loop = false; $_smarty_tpl->tpl_vars['TABID'] = new Smarty_Variable; $_from = $_smarty_tpl->tpl_vars['PROFILE_MODULES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['PROFILE_MODULE']->key => $_smarty_tpl->tpl_vars['PROFILE_MODULE']->value){ $_smarty_tpl->tpl_vars['PROFILE_MODULE']->_loop = true; $_smarty_tpl->tpl_vars['TABID']->value = $_smarty_tpl->tpl_vars['PROFILE_MODULE']->key; ?> tpl_vars['MODULE_NAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['PROFILE_MODULE']->value->getName(), null, 0);?> tpl_vars['MODULE_NAME']->value!='Events'){?> tpl_vars['IS_RESTRICTED_MODULE'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD_MODEL']->value->isRestrictedModule($_smarty_tpl->tpl_vars['MODULE_NAME']->value), null, 0);?> tpl_vars["BASIC_ACTION_ORDER"] = new Smarty_variable(array(2,3,0,1), null, 0);?> tpl_vars['ORDERID'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ORDERID']->_loop = false; $_from = $_smarty_tpl->tpl_vars['BASIC_ACTION_ORDER']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['ORDERID']->key => $_smarty_tpl->tpl_vars['ORDERID']->value){ $_smarty_tpl->tpl_vars['ORDERID']->_loop = true; ?> tpl_vars['UTILITY_ACTION_COUNT'] = new Smarty_variable(0, null, 0);?> tpl_vars["ALL_UTILITY_ACTIONS_ARRAY"] = new Smarty_variable(array(), null, 0);?> tpl_vars['ACTION_MODEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ACTION_MODEL']->_loop = false; $_from = $_smarty_tpl->tpl_vars['ALL_UTILITY_ACTIONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} foreach ($_from as $_smarty_tpl->tpl_vars['ACTION_MODEL']->key => $_smarty_tpl->tpl_vars['ACTION_MODEL']->value){ $_smarty_tpl->tpl_vars['ACTION_MODEL']->_loop = true; ?> tpl_vars['ACTION_MODEL']->value->isModuleEnabled($_smarty_tpl->tpl_vars['PROFILE_MODULE']->value)){?> tpl_vars["testArray"] = new Smarty_variable(array_push($_smarty_tpl->tpl_vars['ALL_UTILITY_ACTIONS_ARRAY']->value,$_smarty_tpl->tpl_vars['ACTION_MODEL']->value), null, 0);?> tpl_vars['ALL_UTILITY_ACTIONS_ARRAY']->value){?>
tpl_vars['QUALIFIED_MODULE']->value);?>
tpl_vars['RECORD_MODEL']->value->hasModulePermission($_smarty_tpl->tpl_vars['PROFILE_MODULE']->value)){?>checked="true" data-module-unchecked="true" > tpl_vars['PROFILE_MODULE']->value->get('label'),$_smarty_tpl->tpl_vars['PROFILE_MODULE']->value->getName());?> tpl_vars["ACTION_MODEL"] = new Smarty_variable($_smarty_tpl->tpl_vars['ALL_BASIC_ACTIONS']->value[$_smarty_tpl->tpl_vars['ORDERID']->value], null, 0);?> tpl_vars['ACTION_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['ACTION_MODEL']->value->get('actionid'), null, 0);?> tpl_vars['IS_RESTRICTED_MODULE']->value&&$_smarty_tpl->tpl_vars['ACTION_MODEL']->value->isModuleEnabled($_smarty_tpl->tpl_vars['PROFILE_MODULE']->value)){?> tpl_vars['RECORD_MODEL']->value->hasModuleActionPermission($_smarty_tpl->tpl_vars['PROFILE_MODULE']->value,$_smarty_tpl->tpl_vars['ACTION_MODEL']->value)){?>checked="true"tpl_vars['RECORD_ID']->value)&&empty($_smarty_tpl->tpl_vars['IS_DUPLICATE_RECORD']->value)){?> checked="true" data-actiontpl_vars['ACTION_ID']->value;?> -unchecked="true"> tpl_vars['PROFILE_MODULE']->value->getFields()&&$_smarty_tpl->tpl_vars['PROFILE_MODULE']->value->isEntityModule()&&$_smarty_tpl->tpl_vars['PROFILE_MODULE']->value->isProfileLevelUtilityAllowed())||$_smarty_tpl->tpl_vars['PROFILE_MODULE']->value->isUtilityActionEnabled()){?>