54 lines
4.4 KiB
PHP
54 lines
4.4 KiB
PHP
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-21 15:30:47
|
|
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/DetailDisplayConditions.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:34364378069205b77d48133-93153972%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'ba2eff85dffbb7253d64bf8bf56321ce60be9650' =>
|
|
array (
|
|
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/DetailDisplayConditions.tpl',
|
|
1 => 1715769019,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'nocache_hash' => '34364378069205b77d48133-93153972',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'variables' =>
|
|
array (
|
|
'EMAILMAKER_RECORD_MODEL' => 0,
|
|
'DISPLAY_CONDITION' => 0,
|
|
'ALL_CONDITIONS' => 0,
|
|
'ANY_CONDITIONS' => 0,
|
|
'MODULE' => 0,
|
|
'ALL_CONDITION' => 0,
|
|
'ANY_CONDITION' => 0,
|
|
),
|
|
'has_nocache_code' => false,
|
|
'version' => 'Smarty-3.1.7',
|
|
'unifunc' => 'content_69205b77d53be',
|
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
|
<?php if ($_valid && !is_callable('content_69205b77d53be')) {function content_69205b77d53be($_smarty_tpl) {?>
|
|
<?php $_smarty_tpl->tpl_vars['DISPLAY_CONDITION'] = new Smarty_variable($_smarty_tpl->tpl_vars['EMAILMAKER_RECORD_MODEL']->value->getConditonDisplayValue(), null, 0);?><?php $_smarty_tpl->tpl_vars['ALL_CONDITIONS'] = new Smarty_variable($_smarty_tpl->tpl_vars['DISPLAY_CONDITION']->value['All'], null, 0);?><?php $_smarty_tpl->tpl_vars['ANY_CONDITIONS'] = new Smarty_variable($_smarty_tpl->tpl_vars['DISPLAY_CONDITION']->value['Any'], null, 0);?><?php if (count($_smarty_tpl->tpl_vars['ALL_CONDITIONS']->value)=="0"&&count($_smarty_tpl->tpl_vars['ANY_CONDITIONS']->value)=="0"){?><?php echo vtranslate('LBL_NO_DISPLAY_CONDITIONS_DEFINED',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
|
<?php }else{ ?><?php if ($_smarty_tpl->tpl_vars['DISPLAY_CONDITION']->value['displayed']=="0"){?><?php echo vtranslate('LBL_DISPLAY_CONDITIONS_YES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
|
<?php }else{ ?><?php echo vtranslate('LBL_DISPLAY_CONDITIONS_NO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
|
<?php }?>:<br><br><span><strong><?php echo vtranslate('All');?>
|
|
: </strong></span><?php if (is_array($_smarty_tpl->tpl_vars['ALL_CONDITIONS']->value)&&!empty($_smarty_tpl->tpl_vars['ALL_CONDITIONS']->value)){?><?php $_smarty_tpl->tpl_vars['ALL_CONDITION'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ALL_CONDITION']->_loop = false;
|
|
$_from = $_smarty_tpl->tpl_vars['ALL_CONDITIONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['allCounter']['iteration']=0;
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['ALL_CONDITION']->key => $_smarty_tpl->tpl_vars['ALL_CONDITION']->value){
|
|
$_smarty_tpl->tpl_vars['ALL_CONDITION']->_loop = true;
|
|
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['allCounter']['iteration']++;
|
|
?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['allCounter']['iteration']!=1){?><span> </span><?php }?><span><?php echo $_smarty_tpl->tpl_vars['ALL_CONDITION']->value;?>
|
|
</span><br><?php } ?><?php }else{ ?><?php echo vtranslate('LBL_NA');?>
|
|
<?php }?><br><span><strong><?php echo vtranslate('Any');?>
|
|
: </strong></span><?php if (is_array($_smarty_tpl->tpl_vars['ANY_CONDITIONS']->value)&&!empty($_smarty_tpl->tpl_vars['ANY_CONDITIONS']->value)){?><?php $_smarty_tpl->tpl_vars['ANY_CONDITION'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ANY_CONDITION']->_loop = false;
|
|
$_from = $_smarty_tpl->tpl_vars['ANY_CONDITIONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['anyCounter']['iteration']=0;
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['ANY_CONDITION']->key => $_smarty_tpl->tpl_vars['ANY_CONDITION']->value){
|
|
$_smarty_tpl->tpl_vars['ANY_CONDITION']->_loop = true;
|
|
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['anyCounter']['iteration']++;
|
|
?><?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['anyCounter']['iteration']!=1){?><span> </span><?php }?><span><?php echo $_smarty_tpl->tpl_vars['ANY_CONDITION']->value;?>
|
|
</span><br><?php } ?><?php }else{ ?><?php echo vtranslate('LBL_NA');?>
|
|
<?php }?><?php }?><?php }} ?>
|