decodeProperties(array (
'file_dependency' =>
array (
'e76bbc0084047f744e5c1e9efa12c72161d0ed75' =>
array (
0 => 'C:\\wamp64\\www\\sophalcrm\\includes\\runtime/../../layouts/v7\\modules\\Settings\\Profiles\\EditViewContents.tpl',
1 => 1520586670,
2 => 'file',
),
),
'nocache_hash' => '18667757995d6e82e9ecf017-73312811',
'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_5d6e82ea422a7',
),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['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["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["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()){?>
|
tpl_vars['PROFILE_MODULE']->value->getFields()&&$_smarty_tpl->tpl_vars['PROFILE_MODULE']->value->isEntityModule()){?>
tpl_vars['QUALIFIED_MODULE']->value);?>
tpl_vars['QUALIFIED_MODULE']->value);?>
tpl_vars['QUALIFIED_MODULE']->value);?>
tpl_vars['COUNTER'] = new Smarty_variable(0, null, 0);?>
tpl_vars['FIELD_MODEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['FIELD_MODEL']->_loop = false;
$_smarty_tpl->tpl_vars['FIELD_NAME'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['PROFILE_MODULE']->value->getFields(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
$_smarty_tpl->tpl_vars['FIELD_MODEL']->total= $_smarty_tpl->_count($_from);
$_smarty_tpl->tpl_vars['FIELD_MODEL']->iteration=0;
foreach ($_from as $_smarty_tpl->tpl_vars['FIELD_MODEL']->key => $_smarty_tpl->tpl_vars['FIELD_MODEL']->value){
$_smarty_tpl->tpl_vars['FIELD_MODEL']->_loop = true;
$_smarty_tpl->tpl_vars['FIELD_NAME']->value = $_smarty_tpl->tpl_vars['FIELD_MODEL']->key;
$_smarty_tpl->tpl_vars['FIELD_MODEL']->iteration++;
$_smarty_tpl->tpl_vars['FIELD_MODEL']->last = $_smarty_tpl->tpl_vars['FIELD_MODEL']->iteration === $_smarty_tpl->tpl_vars['FIELD_MODEL']->total;
$_smarty_tpl->tpl_vars['smarty']->value['foreach']["fields"]['last'] = $_smarty_tpl->tpl_vars['FIELD_MODEL']->last;
?>
tpl_vars['FIELD_ID'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getId(), null, 0);?>
tpl_vars['FIELD_MODEL']->value->isActiveField()&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')!='83'&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('displaytype')!='6'){?>
tpl_vars['COUNTER']->value%3==0){?>
|
tpl_vars["FIELD_LOCKED"] = new Smarty_variable(true, null, 0);?>
tpl_vars['FIELD_NAME']->value!='emailoptout'){?>
tpl_vars["FIELD_LOCKED"] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD_MODEL']->value->isModuleFieldLocked($_smarty_tpl->tpl_vars['PROFILE_MODULE']->value,$_smarty_tpl->tpl_vars['FIELD_MODEL']->value), null, 0);?>
tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
tpl_vars['FIELD_MODEL']->value->isMandatory()){?>*
|
getVariable('smarty')->value['foreach']['fields']['last']||($_smarty_tpl->tpl_vars['COUNTER']->value+1)%3==0){?>
tpl_vars['COUNTER'] = new Smarty_variable($_smarty_tpl->tpl_vars['COUNTER']->value+1, null, 0);?>
tpl_vars['FIELD_MODEL']->value->get('displaytype')=='6'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getName()=='adjusted_amount'){?>
value;?>
][fields][tpl_vars['FIELD_ID']->value;?>
]' value='2' />
tpl_vars['MODULE_NAME']->value=='Calendar'){?>
tpl_vars['EVENT_MODULE'] = new Smarty_variable($_smarty_tpl->tpl_vars['PROFILE_MODULES']->value[16], null, 0);?>
tpl_vars['COUNTER'] = new Smarty_variable(0, null, 0);?>
tpl_vars['FIELD_MODEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['FIELD_MODEL']->_loop = false;
$_smarty_tpl->tpl_vars['FIELD_NAME'] = new Smarty_Variable;
$_from = $_smarty_tpl->tpl_vars['EVENT_MODULE']->value->getFields(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
$_smarty_tpl->tpl_vars['FIELD_MODEL']->total= $_smarty_tpl->_count($_from);
$_smarty_tpl->tpl_vars['FIELD_MODEL']->iteration=0;
foreach ($_from as $_smarty_tpl->tpl_vars['FIELD_MODEL']->key => $_smarty_tpl->tpl_vars['FIELD_MODEL']->value){
$_smarty_tpl->tpl_vars['FIELD_MODEL']->_loop = true;
$_smarty_tpl->tpl_vars['FIELD_NAME']->value = $_smarty_tpl->tpl_vars['FIELD_MODEL']->key;
$_smarty_tpl->tpl_vars['FIELD_MODEL']->iteration++;
$_smarty_tpl->tpl_vars['FIELD_MODEL']->last = $_smarty_tpl->tpl_vars['FIELD_MODEL']->iteration === $_smarty_tpl->tpl_vars['FIELD_MODEL']->total;
$_smarty_tpl->tpl_vars['smarty']->value['foreach']["fields"]['last'] = $_smarty_tpl->tpl_vars['FIELD_MODEL']->last;
?>
tpl_vars['FIELD_MODEL']->value->isActiveField()){?>
tpl_vars["FIELD_ID"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getId(), null, 0);?>
tpl_vars['COUNTER']->value%3==0){?>
|
tpl_vars["FIELD_LOCKED"] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD_MODEL']->value->isModuleFieldLocked($_smarty_tpl->tpl_vars['EVENT_MODULE']->value,$_smarty_tpl->tpl_vars['FIELD_MODEL']->value), null, 0);?>
tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
tpl_vars['FIELD_MODEL']->value->isMandatory()){?>*
|
getVariable('smarty')->value['foreach']['fields']['last']||($_smarty_tpl->tpl_vars['COUNTER']->value+1)%3==0){?>
tpl_vars['COUNTER'] = new Smarty_variable($_smarty_tpl->tpl_vars['COUNTER']->value+1, null, 0);?>
|
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){?>
|