Добавлен field_label в результат переименования файлов, исправлена загрузка черновиков, обновлен формат пути S3 с project_name
This commit is contained in:
@@ -1 +1 @@
|
||||
2025-11-12 13:20:08
|
||||
2025-11-21 14:05:08
|
||||
@@ -0,0 +1,99 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-21 15:31:08
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Properties.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:72523654869205b8ce6a026-98651210%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'077276469baad8337c580470829ee4c36a1ebc28' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Properties.tpl',
|
||||
1 => 1715769019,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '72523654869205b8ce6a026-98651210',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'THEME_MODE' => 0,
|
||||
'MODULE' => 0,
|
||||
'TEMPLATENAME' => 0,
|
||||
'RECIPIENTMODULENAMES' => 0,
|
||||
'TEMPLATEID' => 0,
|
||||
'SELECTMODULE' => 0,
|
||||
'MODULENAMES' => 0,
|
||||
'SELECT_MODULE_FIELD' => 0,
|
||||
'RELATED_MODULES' => 0,
|
||||
'RelMod' => 0,
|
||||
'RELATED_BLOCKS' => 0,
|
||||
'ACCOUNTINFORMATIONS' => 0,
|
||||
'CUI_BLOCKS' => 0,
|
||||
'USERINFORMATIONS' => 0,
|
||||
'MULTICOMPANYINFORMATIONS' => 0,
|
||||
'LBL_MULTICOMPANY' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69205b8ce811c',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69205b8ce811c')) {function content_69205b8ce811c($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_options')) include '/var/www/fastuser/data/www/crm.clientright.ru/libraries/Smarty/libs/plugins/function.html_options.php';
|
||||
?>
|
||||
<div class="tab-pane active" id="pdfContentEdit"><div class="edit-template-content col-lg-4" style="position:fixed;z-index:1000;"><br/><div id="properties_div"><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value=="true"){?><?php echo vtranslate('LBL_THEME_NAME',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php }else{ ?><?php echo vtranslate('LBL_EMAIL_NAME',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php }?>: <span class="redColor">*</span></label><div class="controls col-sm-9"><input name="templatename" id="templatename" type="text" value="<?php echo $_smarty_tpl->tpl_vars['TEMPLATENAME']->value;?>
|
||||
" data-rule-required="true" class="inputElement nameField" tabindex="1"></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_RECIPIENT_FIELDS','EMAILMaker');?>
|
||||
:</label><div class="controls col-sm-9"><select name="r_modulename" id="r_modulename" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['RECIPIENTMODULENAMES']->value),$_smarty_tpl);?>
|
||||
</select></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"></label><div class="controls col-sm-9"><div class="input-group"><select name="recipientmodulefields" id="recipientmodulefields" class="select2 form-control"><option value=""><?php echo vtranslate('LBL_SELECT_MODULE_FIELD','EMAILMaker');?>
|
||||
</option></select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="recipientmodulefields" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button><button type="button" class="btn btn-warning InsertLIntoTemplate" data-type="recipientmodulefields" title="<?php echo vtranslate('LBL_INSERT_LABEL_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-text-width"></i></button></div></div></div></div><?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value!="true"){?><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_MODULENAMES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><select name="modulename" id="modulename" class="select2 form-control"><?php if ($_smarty_tpl->tpl_vars['TEMPLATEID']->value!=''||$_smarty_tpl->tpl_vars['SELECTMODULE']->value!=''){?><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['MODULENAMES']->value,'selected'=>$_smarty_tpl->tpl_vars['SELECTMODULE']->value),$_smarty_tpl);?>
|
||||
<?php }else{ ?><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['MODULENAMES']->value),$_smarty_tpl);?>
|
||||
<?php }?></select></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"></label><div class="controls col-sm-9"><div class="input-group"><select name="modulefields" id="modulefields" class="select2 form-control"><?php if ($_smarty_tpl->tpl_vars['TEMPLATEID']->value==''&&$_smarty_tpl->tpl_vars['SELECTMODULE']->value==''){?><option value=""><?php echo vtranslate('LBL_SELECT_MODULE_FIELD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</option><?php }else{ ?><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SELECT_MODULE_FIELD']->value),$_smarty_tpl);?>
|
||||
<?php }?></select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="modulefields" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button><button type="button" class="btn btn-warning InsertLIntoTemplate" data-type="modulefields" title="<?php echo vtranslate('LBL_INSERT_LABEL_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-text-width"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><label class="muted pull-right"><?php echo vtranslate('LBL_RELATED_MODULES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label></label><div class="controls col-sm-9"><select name="relatedmodulesorce" id="relatedmodulesorce" class="select2 form-control"><option value=""><?php echo vtranslate('LBL_SELECT_MODULE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</option><?php $_smarty_tpl->tpl_vars['RelMod'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['RelMod']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['RELATED_MODULES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['RelMod']->key => $_smarty_tpl->tpl_vars['RelMod']->value){
|
||||
$_smarty_tpl->tpl_vars['RelMod']->_loop = true;
|
||||
?><option value="<?php echo $_smarty_tpl->tpl_vars['RelMod']->value[3];?>
|
||||
|<?php echo $_smarty_tpl->tpl_vars['RelMod']->value[0];?>
|
||||
" data-module="<?php echo $_smarty_tpl->tpl_vars['RelMod']->value[3];?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['RelMod']->value[1];?>
|
||||
(<?php echo $_smarty_tpl->tpl_vars['RelMod']->value[2];?>
|
||||
)</option><?php } ?></select></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"></label><div class="controls col-sm-9"><div class="input-group"><select name="relatedmodulefields" id="relatedmodulefields" class="select2 form-control"><option value=""><?php echo vtranslate('LBL_SELECT_MODULE_FIELD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</option></select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="relatedmodulefields" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button><button type="button" class="btn btn-warning InsertLIntoTemplate" data-type="relatedmodulefields" title="<?php echo vtranslate('LBL_INSERT_LABEL_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-text-width"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_RELATED_BLOCK_TPL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><div class="input-group"><select name="related_block" id="related_block" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['RELATED_BLOCKS']->value),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-success marginLeftZero" onclick="EMAILMaker_EditJs.InsertRelatedBlock();" title="<?php echo vtranslate('LBL_INSERT_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button><button type="button" class="btn addButton marginLeftZero" onclick="EMAILMaker_EditJs.CreateRelatedBlock();" title="<?php echo vtranslate('LBL_CREATE');?>
|
||||
"><i class="fa fa-plus"></i></button><button type="button" class="btn marginLeftZero" onclick="EMAILMaker_EditJs.EditRelatedBlock();" title="<?php echo vtranslate('LBL_EDIT');?>
|
||||
"><i class="fa fa-edit"></i></button><button type="button" class="btn btn-danger marginLeftZero" class="crmButton small delete" onclick="EMAILMaker_EditJs.DeleteRelatedBlock();" title="<?php echo vtranslate('LBL_DELETE');?>
|
||||
"><i class="fa fa-trash"></i></button></div></div></div></div><?php }?><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_COMPANY_INFO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><div class="input-group"><select name="acc_info" id="acc_info" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['ACCOUNTINFORMATIONS']->value),$_smarty_tpl);?>
|
||||
</select><div id="acc_info_div" class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="acc_info" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button><button type="button" class="btn btn-warning InsertLIntoTemplate" data-type="acc_info" title="<?php echo vtranslate('LBL_INSERT_LABEL_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-text-width"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_SELECT_USER_INFO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><select name="acc_info_type" id="acc_info_type" class="select2 form-control" onChange="EMAILMaker_EditJs.change_acc_info(this)"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['CUI_BLOCKS']->value),$_smarty_tpl);?>
|
||||
</select></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"></label><div class="controls col-sm-9"><div id="user_info_div" class="au_info_div"><div class="input-group"><select name="user_info" id="user_info" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['USERINFORMATIONS']->value['s']),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="user_info" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button><button type="button" class="btn btn-warning InsertLIntoTemplate" data-type="user_info" title="<?php echo vtranslate('LBL_INSERT_LABEL_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-text-width"></i></button></div></div></div><div id="logged_user_info_div" class="au_info_div" style="display:none;"><div class="input-group"><select name="logged_user_info" id="logged_user_info" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['USERINFORMATIONS']->value['l']),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="logged_user_info" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button><button type="button" class="btn btn-warning InsertLIntoTemplate" data-type="logged_user_info" title="<?php echo vtranslate('LBL_INSERT_LABEL_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-text-width"></i></button></div></div></div><div id="modifiedby_user_info_div" class="au_info_div" style="display:none;"><div class="input-group"><select name="modifiedby_user_info" id="modifiedby_user_info" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['USERINFORMATIONS']->value['m']),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="modifiedby_user_info" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button><button type="button" class="btn btn-warning InsertLIntoTemplate" data-type="modifiedby_user_info" title="<?php echo vtranslate('LBL_INSERT_LABEL_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-text-width"></i></button></div></div></div><div id="smcreator_user_info_div" class="au_info_div" style="display:none;"><div class="input-group"><select name="smcreator_user_info" id="smcreator_user_info" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['USERINFORMATIONS']->value['c']),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="smcreator_user_info" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button><button type="button" class="btn btn-warning InsertLIntoTemplate" data-type="smcreator_user_info" title="<?php echo vtranslate('LBL_INSERT_LABEL_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-text-width"></i></button></div></div></div></div></div><?php if ($_smarty_tpl->tpl_vars['MULTICOMPANYINFORMATIONS']->value!=''){?><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo $_smarty_tpl->tpl_vars['LBL_MULTICOMPANY']->value;?>
|
||||
:</label><div class="controls col-sm-9"><div class="input-group"><select name="multicomapny" id="multicomapny" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['MULTICOMPANYINFORMATIONS']->value),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="multicomapny" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button></div></div></div></div><?php }?></div></div></div><?php }} ?>
|
||||
@@ -0,0 +1,102 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-21 15:31:08
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/Edit.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:122301141069205b8ce45802-88126978%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'07fbbbc93977d330a0fbb79364812a2c3836ef82' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/Edit.tpl',
|
||||
1 => 1715769019,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '122301141069205b8ce45802-88126978',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'PARENTTAB' => 0,
|
||||
'SAVETEMPLATEID' => 0,
|
||||
'THEME_MODE' => 0,
|
||||
'MODULE' => 0,
|
||||
'EMAIL_TEMPLATE_RESULT' => 0,
|
||||
'SUBJECT_FIELDS' => 0,
|
||||
'TEMPLATEID' => 0,
|
||||
'SELECTMODULE' => 0,
|
||||
'SELECT_MODULE_FIELD_SUBJECT' => 0,
|
||||
'ITS4YOUSTYLE_FILES' => 0,
|
||||
'STYLES_CONTENT' => 0,
|
||||
'STYLE_DATA' => 0,
|
||||
'VATBLOCK_TABLE' => 0,
|
||||
'CHARGESBLOCK_TABLE' => 0,
|
||||
'COMPANY_HEADER_SIGNATURE' => 0,
|
||||
'COMPANY_STAMP_SIGNATURE' => 0,
|
||||
'COMPANYLOGO' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69205b8ce65c3',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69205b8ce65c3')) {function content_69205b8ce65c3($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_options')) include '/var/www/fastuser/data/www/crm.clientright.ru/libraries/Smarty/libs/plugins/function.html_options.php';
|
||||
?>
|
||||
<div class="contents tabbable ui-sortable" style="width: 99%;"><form class="form-horizontal recordEditView" id="EditView" name="EditView" method="post" action="index.php" enctype="multipart/form-data"><input type="hidden" name="module" value="EMAILMaker"><input type="hidden" name="parenttab" value="<?php echo $_smarty_tpl->tpl_vars['PARENTTAB']->value;?>
|
||||
"><input type="hidden" name="templateid" id="templateid" value="<?php echo $_smarty_tpl->tpl_vars['SAVETEMPLATEID']->value;?>
|
||||
"><input type="hidden" name="action" value="SaveEMAILTemplate"><input type="hidden" name="redirect" value="true"><input type="hidden" name="return_module" value="<?php echo $_REQUEST['return_module'];?>
|
||||
"><input type="hidden" name="return_view" value="<?php echo $_REQUEST['return_view'];?>
|
||||
"><input type="hidden" name="is_theme" value="<?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value=="true"){?>1<?php }else{ ?>0<?php }?>"><input type="hidden" name="selectedTab" id="selectedTab" value="properties"><input type="hidden" name="selectedTab2" id="selectedTab2" value="body"><ul class="nav nav-tabs layoutTabs massEditTabs"><li class="detailviewTab active"><a data-toggle="tab" href="#pdfContentEdit" aria-expanded="true"><strong><?php echo vtranslate('LBL_PROPERTIES_TAB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong></a></li><li class="detailviewTab"><a data-toggle="tab" href="#pdfContentOther" aria-expanded="false"><strong><?php echo vtranslate('LBL_OTHER_INFO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong></a></li><li class="detailviewTab"><a data-toggle="tab" href="#pdfContentLabels" aria-expanded="false"><strong><?php echo vtranslate('LBL_LABELS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong></a></li><?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value!="true"){?><li class="detailviewTab"><a data-toggle="tab" href="#pdfContentProducts" aria-expanded="false"><strong><?php echo vtranslate('LBL_ARTICLE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong></a></li><?php }?><li class="detailviewTab"><a data-toggle="tab" href="#editTabSettings" aria-expanded="false"><strong><?php echo vtranslate('LBL_SETTINGS_TAB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong></a></li><?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value!="true"){?><li class="detailviewTab"><a data-toggle="tab" href="#editTabSharing" aria-expanded="false"><strong><?php echo vtranslate('LBL_SHARING_TAB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong></a></li><?php }?></ul><div><div><div class="row"><div class="left-block col-xs-4"><div><div class="tab-content layoutContent themeTableColor overflowVisible"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('tabs/Properties.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('tabs/Other.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('tabs/Labels.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('tabs/ProductBlock.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('tabs/Settings.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('tabs/Sharing.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</div></div></div><div class="middle-block col-xs-8"><?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value!="true"){?><div><table class="table no-border"><tbody id="properties_div"><tr><td class="fieldLabel alignMiddle" nowrap="nowrap"><label class="muted pull-right"><?php echo vtranslate('LBL_EMAIL_SUBJECT','EMAILMaker');?>
|
||||
: </label></td><td class="fieldValue"><input name="subject" id="subject" type="text" value="<?php echo $_smarty_tpl->tpl_vars['EMAIL_TEMPLATE_RESULT']->value['subject'];?>
|
||||
" class="inputElement nameField" tabindex="1"></td><td class="fieldValue"><select name="subject_fields" id="subject_fields" class="select2 form-control" onchange="EMAILMaker_EditJs.insertFieldIntoSubject(this.value);"><option value=""><?php echo vtranslate('LBL_SELECT_MODULE_FIELD','EMAILMaker');?>
|
||||
</option><optgroup label="<?php echo vtranslate('LBL_COMMON_EMAILINFO','EMAILMaker');?>
|
||||
"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SUBJECT_FIELDS']->value),$_smarty_tpl);?>
|
||||
</optgroup><?php if ($_smarty_tpl->tpl_vars['TEMPLATEID']->value!=''||$_smarty_tpl->tpl_vars['SELECTMODULE']->value!=''){?><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SELECT_MODULE_FIELD_SUBJECT']->value),$_smarty_tpl);?>
|
||||
<?php }?></select></td></tr></table></div><?php }?><div class="tab-content"><div class="tab-pane active" id="body_div2" style="margin-bottom: 2em"><textarea name="body" id="body" style="width: 100%; height:700px" class=small tabindex="5"><?php echo $_smarty_tpl->tpl_vars['EMAIL_TEMPLATE_RESULT']->value['body'];?>
|
||||
</textarea></div><?php if ($_smarty_tpl->tpl_vars['ITS4YOUSTYLE_FILES']->value!=''){?><div class="tab-pane" id="cssstyle_div2"><?php $_smarty_tpl->tpl_vars['STYLE_DATA'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['STYLE_DATA']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['STYLES_CONTENT']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['STYLE_DATA']->key => $_smarty_tpl->tpl_vars['STYLE_DATA']->value){
|
||||
$_smarty_tpl->tpl_vars['STYLE_DATA']->_loop = true;
|
||||
?><div class="hide"><textarea class="CodeMirrorContent" id="CodeMirrorContent<?php echo $_smarty_tpl->tpl_vars['STYLE_DATA']->value['id'];?>
|
||||
" style="border: 1px solid black; " class="CodeMirrorTextarea " tabindex="5"><?php echo $_smarty_tpl->tpl_vars['STYLE_DATA']->value['stylecontent'];?>
|
||||
</textarea></div><table class="table table-bordered"><thead><tr class="listViewHeaders"><th><div class="pull-left"><a href="index.php?module=ITS4YouStyles&view=Detail&record=<?php echo $_smarty_tpl->tpl_vars['STYLE_DATA']->value['id'];?>
|
||||
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['STYLE_DATA']->value['name'];?>
|
||||
</a></div><div class="pull-right actions"><a href="index.php?module=ITS4YouStyles&view=Detail&record=<?php echo $_smarty_tpl->tpl_vars['STYLE_DATA']->value['id'];?>
|
||||
" target="_blank"><i title="<?php echo vtranslate('LBL_SHOW_COMPLETE_DETAILS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
" class="icon-th-list alignMiddle"></i></a> <?php if ($_smarty_tpl->tpl_vars['STYLE_DATA']->value['iseditable']=="yes"){?><a href="index.php?module=ITS4YouStyles&view=Edit&record=<?php echo $_smarty_tpl->tpl_vars['STYLE_DATA']->value['id'];?>
|
||||
" target="_blank" class="cursorPointer"><i class="icon-pencil alignMiddle" title="<?php echo vtranslate('LBL_EDIT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"></i></a><?php }?></div></th></tr></thead><tbody><tr><td id="CodeMirrorContent<?php echo $_smarty_tpl->tpl_vars['STYLE_DATA']->value['id'];?>
|
||||
Output" class="cm-s-default"></td></tr></tbody></table><br><?php } ?></div><?php }?></div><script type="text/javascript"> jQuery(document).ready(function () {<?php if ($_smarty_tpl->tpl_vars['ITS4YOUSTYLE_FILES']->value!=''){?>//CKEDITOR.config.contentsCss = [<?php echo $_smarty_tpl->tpl_vars['ITS4YOUSTYLE_FILES']->value;?>
|
||||
];
|
||||
jQuery('.CodeMirrorContent').each(function (index, Element) {
|
||||
var stylecontent = jQuery(Element).val();
|
||||
CKEDITOR.addCss(stylecontent);
|
||||
});
|
||||
<?php }?>
|
||||
CKEDITOR.replace('body', {height: '1000'});
|
||||
})</script></div></div></div></div><div class="modal-overlay-footer row-fluid"><div class="textAlignCenter "><button class="btn" type="submit" onclick="document.EditView.redirect.value = 'false';"><strong><?php echo vtranslate('LBL_APPLY',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong></button> <button class="btn btn-success" type="submit"><strong><?php echo vtranslate('LBL_SAVE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong></button><?php if ($_REQUEST['return_view']!=''){?><a class="cancelLink" type="reset" onclick="window.location.href = 'index.php?module=<?php if ($_REQUEST['return_module']!=''){?><?php echo $_REQUEST['return_module'];?>
|
||||
<?php }else{ ?>EMAILMaker<?php }?>&view=<?php echo $_REQUEST['return_view'];?>
|
||||
<?php if ($_REQUEST['templateid']!=''&&$_REQUEST['return_view']!="List"){?>&templateid=<?php echo $_REQUEST['templateid'];?>
|
||||
<?php }?>';"><?php echo vtranslate('LBL_CANCEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a><?php }else{ ?><a class="cancelLink" type="reset" onclick="window.history.back();"><?php echo vtranslate('LBL_CANCEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a><?php }?></div></div><div class="hide" style="display: none"><div id="div_vat_block_table"><?php echo $_smarty_tpl->tpl_vars['VATBLOCK_TABLE']->value;?>
|
||||
</div><div id="div_charges_block_table"><?php echo $_smarty_tpl->tpl_vars['CHARGESBLOCK_TABLE']->value;?>
|
||||
</div><div id="div_company_header_signature"><?php echo $_smarty_tpl->tpl_vars['COMPANY_HEADER_SIGNATURE']->value;?>
|
||||
</div><div id="div_company_stamp_signature"><?php echo $_smarty_tpl->tpl_vars['COMPANY_STAMP_SIGNATURE']->value;?>
|
||||
</div><div id="div_company_logo"><?php echo $_smarty_tpl->tpl_vars['COMPANYLOGO']->value;?>
|
||||
</div></div></form></div><script type="text/javascript">var selectedTab = 'properties';var selectedTab2 = 'body';var module_blocks = [];var selected_module = '<?php echo $_smarty_tpl->tpl_vars['SELECTMODULE']->value;?>
|
||||
';var constructedOptionValue;var constructedOptionName;jQuery(document).ready(function () {jQuery.fn.scrollBottom = function () {return jQuery(document).height() - this.scrollTop() - this.height();};var $el = jQuery('.edit-template-content');var $window = jQuery(window);var top = 127;$window.bind("scroll resize", function () {var gap = $window.height() - $el.height() - 20;var scrollTop = $window.scrollTop();if (scrollTop < top - 125) {$el.css({top: (top - scrollTop) + "px",bottom: "auto"});} else {$el.css({top: top + "px",bottom: "auto"});}}).scroll();});</script>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,95 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-19 16:08:38
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/SidebarStatistic.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:265209431691dc1561731b7-24770053%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'0990ed4589816a2caa942b1a67559ba3c71cbad1' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/SidebarStatistic.tpl',
|
||||
1 => 1711810493,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '265209431691dc1561731b7-24770053',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'workflowID' => 0,
|
||||
'workflowData' => 0,
|
||||
'STATISTIC_FROM' => 0,
|
||||
'STATISTIC_TO' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_691dc1561a1f0',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_691dc1561a1f0')) {function content_691dc1561a1f0($_smarty_tpl) {?><div class="WFDSidebar settingsgroup">
|
||||
<h5>
|
||||
<?php echo vtranslate("Settings","Settings:Workflow2");?>
|
||||
|
||||
</h5>
|
||||
<div class="panel">
|
||||
<input type="hidden" name="workflow[id]" value="<?php echo $_smarty_tpl->tpl_vars['workflowID']->value;?>
|
||||
">
|
||||
<div><?php echo vtranslate("Main module","Settings:Workflow2");?>
|
||||
</div>
|
||||
<div style="text-align:right;font-weight:bold;"><?php echo vtranslate($_smarty_tpl->tpl_vars['workflowData']->value['module_name'],$_smarty_tpl->tpl_vars['workflowData']->value['module_name']);?>
|
||||
</div>
|
||||
</div>
|
||||
<h5>
|
||||
<?php echo vtranslate("Statistics","Settings:Workflow2");?>
|
||||
|
||||
</h5>
|
||||
<div class="panel">
|
||||
<label style="overflow:hidden;width:100%;">
|
||||
<input type='text' class="defaultTextfield pull-right" style="width: 100px;" name='statistik_from' id="statistik_from" value="<?php echo $_smarty_tpl->tpl_vars['STATISTIC_FROM']->value;?>
|
||||
">
|
||||
<?php echo vtranslate('statistics_from','Settings:Workflow2');?>
|
||||
|
||||
</label>
|
||||
<label style="overflow:hidden;width:100%;">
|
||||
<input type='text' class="defaultTextfield pull-right" style="width: 100px;" name='statistik_to' id="statistik_to" value="<?php echo $_smarty_tpl->tpl_vars['STATISTIC_TO']->value;?>
|
||||
">
|
||||
<?php echo vtranslate('statistics_to','Settings:Workflow2');?>
|
||||
|
||||
</label>
|
||||
<label style="overflow:hidden;width:100%;">
|
||||
<input type='text' class="defaultTextfield pull-right" style="width: 100px;" name='statistik_record' id="statistik_record" value="">
|
||||
<?php echo vtranslate('statistics_record','Settings:Workflow2');?>
|
||||
|
||||
</label>
|
||||
|
||||
<!--<input type='hidden' name='statistik_to' id="statistik_to" value="<?php echo $_smarty_tpl->tpl_vars['STATISTIC_TO']->value;?>
|
||||
">-->
|
||||
<br>
|
||||
<input type='checkbox' name='show_percents' checked="checked" id="show_percents" onclick="readConnectionStatistik();" value="1"> <?php echo vtranslate("LBL_SHOW_VALUES","Settings:Workflow2");?>
|
||||
<br/>
|
||||
<input type='checkbox' name='show_removed' id="show_removed" onclick="readConnectionStatistik();" value="1"> <?php echo vtranslate("LBL_SHOW_REMOVED","Settings:Workflow2");?>
|
||||
<br/>
|
||||
<input type='checkbox' name='show_inactive' id="show_inactive" onclick="showInactiveBlocks();" value="1"> <?php echo vtranslate("LBL_SHOW_INACTIVE","Settings:Workflow2");?>
|
||||
|
||||
<br/>
|
||||
<br/>
|
||||
<input type="button" onclick="refreshData();" class="btn btn-primary" name="load_data" value="<?php echo vtranslate("BTN_LOAD_STATS","Settings:Workflow2");?>
|
||||
">
|
||||
</div>
|
||||
|
||||
<div class="ConnectionStat">
|
||||
<h5>
|
||||
<?php echo vtranslate("CONNECTION_DETAILS","Settings:Workflow2");?>
|
||||
|
||||
</h5>
|
||||
<div class="panel" id="statConnDetails">
|
||||
<em><?php echo vtranslate("TXT_CLICK_ON_PATH","Settings:Workflow2");?>
|
||||
</em>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var TranslationString = {};
|
||||
TranslationString['loadData'] = "<?php echo vtranslate('load Data','Settings:Workflow2');?>
|
||||
";
|
||||
</script><?php }} ?>
|
||||
@@ -0,0 +1,85 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-15 14:43:36
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Picklist/PickListValueDetail.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:142488365169186768aff4b8-36791873%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'25f02860e8bc5614f47c9e9ac0a15d72f1bab235' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Picklist/PickListValueDetail.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '142488365169186768aff4b8-36791873',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'SELECTED_PICKLIST_FIELDMODEL' => 0,
|
||||
'PICKLIST_COLOR_MAP' => 0,
|
||||
'PICKLIST_COLOR' => 0,
|
||||
'PICKLIST_KEY_ID' => 0,
|
||||
'PICKLIST_TEXT_COLOR' => 0,
|
||||
'QUALIFIED_MODULE' => 0,
|
||||
'SELECTED_MODULE_NAME' => 0,
|
||||
'SELECTED_PICKLISTFIELD_ALL_VALUES' => 0,
|
||||
'PICKLIST_VALUES' => 0,
|
||||
'PICKLIST_KEY' => 0,
|
||||
'PICKLIST_VALUE' => 0,
|
||||
'NON_DELETABLE_VALUES' => 0,
|
||||
'ROLES_LIST' => 0,
|
||||
'ROLE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69186768b1d75',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69186768b1d75')) {function content_69186768b1d75($_smarty_tpl) {?>
|
||||
|
||||
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars['PICKLIST_COLOR_MAP'] = new Smarty_variable(Settings_Picklist_Module_Model::getPicklistColorMap($_smarty_tpl->tpl_vars['SELECTED_PICKLIST_FIELDMODEL']->value->getName()), null, 0);?><style type="text/css"><?php $_smarty_tpl->tpl_vars['PICKLIST_COLOR'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PICKLIST_COLOR']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_KEY_ID'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['PICKLIST_COLOR_MAP']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['PICKLIST_COLOR']->key => $_smarty_tpl->tpl_vars['PICKLIST_COLOR']->value){
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_COLOR']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_KEY_ID']->value = $_smarty_tpl->tpl_vars['PICKLIST_COLOR']->key;
|
||||
?><?php $_smarty_tpl->tpl_vars['PICKLIST_TEXT_COLOR'] = new Smarty_variable(Settings_Picklist_Module_Model::getTextColor($_smarty_tpl->tpl_vars['PICKLIST_COLOR']->value), null, 0);?>.picklist-<?php echo $_smarty_tpl->tpl_vars['SELECTED_PICKLIST_FIELDMODEL']->value->getId();?>
|
||||
-<?php echo $_smarty_tpl->tpl_vars['PICKLIST_KEY_ID']->value;?>
|
||||
{background-color: <?php echo $_smarty_tpl->tpl_vars['PICKLIST_COLOR']->value;?>
|
||||
;color: <?php echo $_smarty_tpl->tpl_vars['PICKLIST_TEXT_COLOR']->value;?>
|
||||
;}<?php } ?></style><?php $_smarty_tpl->tpl_vars['NON_DELETABLE_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['SELECTED_PICKLIST_FIELDMODEL']->value->getNonEditablePicklistValues($_smarty_tpl->tpl_vars['SELECTED_PICKLIST_FIELDMODEL']->value->getName()), null, 0);?><ul class="nav nav-tabs massEditTabs" style="margin-bottom: 0;"><li class="active"><a href="#allValuesLayout" data-toggle="tab"><strong><?php echo vtranslate('LBL_ALL_VALUES',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</strong></a></li><?php if ($_smarty_tpl->tpl_vars['SELECTED_PICKLIST_FIELDMODEL']->value->isRoleBased()){?><li id="assignedToRoleTab"><a href="#AssignedToRoleLayout" data-toggle="tab"><strong><?php echo vtranslate('LBL_VALUES_ASSIGNED_TO_A_ROLE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</strong></a></li><?php }?></ul><div class="tab-content layoutContent padding20 themeTableColor overflowVisible"><br><div class="tab-pane active" id="allValuesLayout"><div class="row"><div class="col-lg-2 col-md-2 col-sm-2"></div><div class="col-lg-8 col-md-8 col-sm-8"><table id="pickListValuesTable" class="table table-bordered" style="table-layout: fixed"><thead><tr class="listViewHeaders bgColor"><th><span><?php echo vtranslate($_smarty_tpl->tpl_vars['SELECTED_PICKLIST_FIELDMODEL']->value->get('label'),$_smarty_tpl->tpl_vars['SELECTED_MODULE_NAME']->value);?>
|
||||
<?php echo vtranslate('LBL_ITEMS',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</span><button class="btn pull-right btn-default marginLeftZero" id="addItem"><i class="fa fa-plus"></i> <?php echo vtranslate('LBL_ADD_VALUE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</button><br><br></th></tr></thead><tbody><tr><td><!-- Placeholder role to allow drag-and-drop for last elements --></td></tr><input type="hidden" id="dragImagePath" value="<?php echo vimage_path('drag.png');?>
|
||||
" /><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['SELECTED_PICKLISTFIELD_ALL_VALUES']->value, null, 0);?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_KEY'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['PICKLIST_VALUES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key => $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value){
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_KEY']->value = $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key;
|
||||
?><tr class="pickListValue" data-key-id="<?php echo $_smarty_tpl->tpl_vars['PICKLIST_KEY']->value;?>
|
||||
" data-key="<?php echo Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value);?>
|
||||
" data-deletable="<?php if (!in_array($_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value,$_smarty_tpl->tpl_vars['NON_DELETABLE_VALUES']->value)){?>true<?php }else{ ?>false<?php }?>"><td class="textOverflowEllipsis fieldPropertyContainer"><span class="pull-left"><img class="cursorDrag alignMiddle" src="<?php echo vimage_path('drag.png');?>
|
||||
"/> <span class="picklist-color picklist-<?php echo $_smarty_tpl->tpl_vars['SELECTED_PICKLIST_FIELDMODEL']->value->getId();?>
|
||||
-<?php echo $_smarty_tpl->tpl_vars['PICKLIST_KEY']->value;?>
|
||||
"> <?php echo vtranslate($_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value,$_smarty_tpl->tpl_vars['SELECTED_MODULE_NAME']->value);?>
|
||||
</span></span><span class="pull-right picklistActions" style='margin-top:0px;'><a title="<?php echo vtranslate('LBL_EDIT',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
" class="renameItem"><i class="fa fa-pencil"></i></a> <?php if (!in_array($_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value,$_smarty_tpl->tpl_vars['NON_DELETABLE_VALUES']->value)){?><a title="<?php echo vtranslate('LBL_DELETE_VALUE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
" class="deleteItem"><i class="fa fa-trash-o"></i></a><?php }?></span></td></tr><?php } ?></tbody><span class="picklistActionsTemplate hide"><a title="<?php echo vtranslate('LBL_EDIT',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
" class="renameItem"><i class="fa fa-pencil"></i></a> <a title="<?php echo vtranslate('LBL_DELETE_VALUE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
" class="deleteItem"><i class="fa fa-trash-o"></i></a></span></table></div></div><div id="createViewContents" style="display: none;"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("CreateView.tpl",$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</div></div><br><?php if ($_smarty_tpl->tpl_vars['SELECTED_PICKLIST_FIELDMODEL']->value->isRoleBased()){?><div class="tab-pane form-horizontal row" id="AssignedToRoleLayout"><div class="col-lg-2 col-md-2 col-sm-2"></div><div class="col-lg-10 col-md-10 col-sm-10"><div class="form-group row"><label class="control-label col-lg-2 col-md-2 col-sm-2"><?php echo vtranslate('LBL_ROLE_NAME',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</label><div class="controls col-lg-4 col-md-4 col-sm-4"><select id="rolesList" class="select2 inputElement" name="rolesSelected" data-placeholder="<?php echo vtranslate('LBL_CHOOSE_ROLES',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
"><?php $_smarty_tpl->tpl_vars['ROLE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ROLE']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['ROLES_LIST']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['ROLE']->key => $_smarty_tpl->tpl_vars['ROLE']->value){
|
||||
$_smarty_tpl->tpl_vars['ROLE']->_loop = true;
|
||||
?><option value="<?php echo $_smarty_tpl->tpl_vars['ROLE']->value->get('roleid');?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['ROLE']->value->get('rolename');?>
|
||||
</option><?php } ?></select></div></div><div id="pickListValeByRoleContainer" class="col-lg-12 col-md-12 col-sm-12"></div></div></div><?php }?></div>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,129 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-18 10:07:07
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Inventory/PopupEntries.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1098703289691c1b1bd5add0-94757321%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'38b4760dd990e2f4441b3a0f492d2551fdc66c21' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Inventory/PopupEntries.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1098703289691c1b1bd5add0-94757321',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'PAGE_NUMBER' => 0,
|
||||
'PAGING_MODEL' => 0,
|
||||
'LISTVIEW_ENTRIES_COUNT' => 0,
|
||||
'VIEW' => 0,
|
||||
'LISTVIEW_COUNT' => 0,
|
||||
'SEARCH_DETAILS' => 0,
|
||||
'SUBPRODUCTS_POPUP' => 0,
|
||||
'PARENT_PRODUCT_ID' => 0,
|
||||
'ORDER_BY' => 0,
|
||||
'SORT_ORDER' => 0,
|
||||
'CURRENT_USER_MODEL' => 0,
|
||||
'MULTI_SELECT' => 0,
|
||||
'WIDTHTYPE' => 0,
|
||||
'LISTVIEW_HEADERS' => 0,
|
||||
'LISTVIEW_HEADER' => 0,
|
||||
'NEXT_SORT_ORDER' => 0,
|
||||
'FASORT_IMAGE' => 0,
|
||||
'TARGET_MODULE' => 0,
|
||||
'RELATED_MODULE' => 0,
|
||||
'MODULE_MODEL' => 0,
|
||||
'MODULE' => 0,
|
||||
'FIELD_UI_TYPE_MODEL' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
'LISTVIEW_ENTRIES' => 0,
|
||||
'LISTVIEW_ENTRY' => 0,
|
||||
'GETURL' => 0,
|
||||
'SOURCE_MODULE' => 0,
|
||||
'LISTVIEW_HEADERNAME' => 0,
|
||||
'RECORD_DATA' => 0,
|
||||
'CURRENCY_SYMBOL_PLACEMENT' => 0,
|
||||
'IS_MODULE_DISABLED' => 0,
|
||||
'FIELDS_INFO' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_691c1b1bd951b',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_691c1b1bd951b')) {function content_691c1b1bd951b($_smarty_tpl) {?>
|
||||
|
||||
|
||||
<input type='hidden' id='pageNumber' value="<?php echo $_smarty_tpl->tpl_vars['PAGE_NUMBER']->value;?>
|
||||
"><input type='hidden' id='pageLimit' value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->getPageLimit();?>
|
||||
"><input type="hidden" id="noOfEntries" value="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES_COUNT']->value;?>
|
||||
"><input type="hidden" id="pageStartRange" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->getRecordStartRange();?>
|
||||
" /><input type="hidden" id="pageEndRange" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->getRecordEndRange();?>
|
||||
" /><input type="hidden" id="view" value="<?php echo $_smarty_tpl->tpl_vars['VIEW']->value;?>
|
||||
"/><input type="hidden" id="previousPageExist" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->isPrevPageExists();?>
|
||||
" /><input type="hidden" id="nextPageExist" value="<?php echo $_smarty_tpl->tpl_vars['PAGING_MODEL']->value->isNextPageExists();?>
|
||||
" /><input type="hidden" id="totalCount" value="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_COUNT']->value;?>
|
||||
" /><input type="hidden" value="<?php echo Vtiger_Util_Helper::toSafeHTML(Zend_JSON::encode($_smarty_tpl->tpl_vars['SEARCH_DETAILS']->value));?>
|
||||
" id="currentSearchParams" /><?php if ((!empty($_smarty_tpl->tpl_vars['SUBPRODUCTS_POPUP']->value))&&(!empty($_smarty_tpl->tpl_vars['PARENT_PRODUCT_ID']->value))){?><input type="hidden" id="subProductsPopup" value="<?php echo $_smarty_tpl->tpl_vars['SUBPRODUCTS_POPUP']->value;?>
|
||||
" /><input type="hidden" id="parentProductId" value="<?php echo $_smarty_tpl->tpl_vars['PARENT_PRODUCT_ID']->value;?>
|
||||
" /><?php }?><div class="contents-topscroll"><div class="topscroll-div"> </div></div><div class="popupEntriesDiv relatedContents contents-bottomscroll"><input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['ORDER_BY']->value;?>
|
||||
" id="orderBy"><input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['SORT_ORDER']->value;?>
|
||||
" id="sortOrder"><input type="hidden" value="Inventory_Popup_Js" id="popUpClassName"/><?php $_smarty_tpl->tpl_vars['WIDTHTYPE'] = new Smarty_variable($_smarty_tpl->tpl_vars['CURRENT_USER_MODEL']->value->get('rowheight'), null, 0);?><div class="bottomscroll-div"><table class="listview-table table-bordered listViewEntriesTable"><thead><tr class="listViewHeaders"><?php if ($_smarty_tpl->tpl_vars['MULTI_SELECT']->value){?><th class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
"><input type="checkbox" class="selectAllInCurrentPage" /></th><?php }else{ ?><th class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
"> </th><?php }?><?php $_smarty_tpl->tpl_vars['LISTVIEW_HEADER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->key => $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value){
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = true;
|
||||
?><th class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
"><a href="javascript:void(0);" class="listViewContentHeaderValues listViewHeaderValues" data-nextsortorderval="<?php if ($_smarty_tpl->tpl_vars['ORDER_BY']->value==$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('column')){?><?php echo $_smarty_tpl->tpl_vars['NEXT_SORT_ORDER']->value;?>
|
||||
<?php }else{ ?>ASC<?php }?>" data-columnname="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('column');?>
|
||||
"><?php if ($_smarty_tpl->tpl_vars['ORDER_BY']->value==$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('column')){?><i class="fa fa-sort <?php echo $_smarty_tpl->tpl_vars['FASORT_IMAGE']->value;?>
|
||||
"></i><?php }else{ ?><i class="fa fa-sort customsort"></i><?php }?> <?php echo vtranslate($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('label'),$_smarty_tpl->tpl_vars['TARGET_MODULE']->value);?>
|
||||
</a></th><?php } ?><?php if ($_smarty_tpl->tpl_vars['RELATED_MODULE']->value=='Products'){?><th></th><?php }?></tr></thead><?php if ($_smarty_tpl->tpl_vars['MODULE_MODEL']->value&&$_smarty_tpl->tpl_vars['MODULE_MODEL']->value->isQuickSearchEnabled()){?><tr class="searchRow"><td class="searchBtn textAlignCenter"><button class="btn btn-success" data-trigger="PopupListSearch"><?php echo vtranslate('LBL_SEARCH',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</button></td><?php $_smarty_tpl->tpl_vars['LISTVIEW_HEADER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->key => $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value){
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = true;
|
||||
?><td><?php $_smarty_tpl->tpl_vars['FIELD_UI_TYPE_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getUITypeModel(), null, 0);?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_UI_TYPE_MODEL']->value->getListSearchTemplateName(),$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('FIELD_MODEL'=>$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value,'SEARCH_INFO'=>$_smarty_tpl->tpl_vars['SEARCH_DETAILS']->value[$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->getName()],'USER_MODEL'=>$_smarty_tpl->tpl_vars['CURRENT_USER_MODEL']->value), 0);?>
|
||||
</td><?php } ?><?php if ($_smarty_tpl->tpl_vars['RELATED_MODULE']->value=='Products'){?><td></td><?php }?></tr><?php }?><?php $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['popupListView']['index']=-1;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->key => $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value){
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']['popupListView']['index']++;
|
||||
?><?php $_smarty_tpl->tpl_vars["RECORD_DATA"] = new Smarty_variable(($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getRawData()), null, 0);?><tr class="listViewEntries" data-id="<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getId();?>
|
||||
" data-name='<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getName();?>
|
||||
' data-info='<?php echo Vtiger_Util_Helper::toSafeHTML(ZEND_JSON::encode($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->getRawData()));?>
|
||||
'<?php if ($_smarty_tpl->tpl_vars['GETURL']->value!=''){?> data-url="<?php $_tmp1=$_smarty_tpl->tpl_vars['GETURL']->value;?><?php echo (($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->$_tmp1()).('&sourceModule=')).($_smarty_tpl->tpl_vars['SOURCE_MODULE']->value);?>
|
||||
" <?php }?> id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_popUpListView_row_<?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['popupListView']['index']+1;?>
|
||||
"><?php if ($_smarty_tpl->tpl_vars['MULTI_SELECT']->value){?><td class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
"><input class="entryCheckBox" type="checkbox" /></td><?php }else{ ?><td></td><?php }?><?php $_smarty_tpl->tpl_vars['LISTVIEW_HEADER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->key => $_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value){
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->_loop = true;
|
||||
?><?php $_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME'] = new Smarty_variable($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('name'), null, 0);?><td class="listViewEntryValue textOverflowEllipsis <?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
" title="<?php echo $_smarty_tpl->tpl_vars['RECORD_DATA']->value[$_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value];?>
|
||||
"><?php if ($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->isNameField()==true||$_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('uitype')=='4'){?><a><?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value);?>
|
||||
</a><?php }elseif($_smarty_tpl->tpl_vars['LISTVIEW_HEADER']->value->get('uitype')=='72'){?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['CURRENT_USER_MODEL']->value->get('currency_symbol_placement');?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['CURRENCY_SYMBOL_PLACEMENT'] = new Smarty_variable($_tmp2, null, 0);?><?php if ($_smarty_tpl->tpl_vars['CURRENCY_SYMBOL_PLACEMENT']->value=='1.0$'){?><?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value);?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('currencySymbol');?>
|
||||
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('currencySymbol');?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value);?>
|
||||
<?php }?><?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get($_smarty_tpl->tpl_vars['LISTVIEW_HEADERNAME']->value);?>
|
||||
<?php }?></td><?php } ?><?php if ($_smarty_tpl->tpl_vars['RELATED_MODULE']->value=='Products'){?><td class="listViewEntryValue <?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
"><?php if ($_smarty_tpl->tpl_vars['LISTVIEW_ENTRY']->value->get('subProducts')==true){?><a class="subproducts"><b><?php echo vtranslate('LBL_SUB_PRODUCTS',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</b></a><!--<img class="lineItemPopup cursorPointer alignMiddle" data-popup="ProductsPopup" title="<?php echo vtranslate('Products',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
" data-module-name="Products" data-field-name="productid" src="<?php echo vimage_path('Products.png');?>
|
||||
"/>--><?php }else{ ?><?php echo vtranslate('NOT_A_BUNDLE',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php }?></td><?php }?></tr><?php } ?></table><!--added this div for Temporarily --><?php if ($_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES_COUNT']->value=='0'){?><?php if ($_smarty_tpl->tpl_vars['IS_MODULE_DISABLED']->value=='true'){?><div class="emptyRecordsDiv"><?php echo vtranslate('LBL_PRODUCTSMOD_DISABLED',$_smarty_tpl->tpl_vars['RELATED_MODULE']->value);?>
|
||||
.</div><?php }else{ ?><div class="emptyRecordsDiv"><?php echo vtranslate('LBL_NO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php echo vtranslate($_smarty_tpl->tpl_vars['RELATED_MODULE']->value,$_smarty_tpl->tpl_vars['RELATED_MODULE']->value);?>
|
||||
<?php echo vtranslate('LBL_FOUND',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
.</div><?php }?><?php }?></div></div><?php if ((!empty($_smarty_tpl->tpl_vars['SUBPRODUCTS_POPUP']->value))&&(!empty($_smarty_tpl->tpl_vars['PARENT_PRODUCT_ID']->value))){?><div style="margin-top: 10px; height:50px"><div class="pull-right"><button type="button" class="btn btn-default" id="backToProducts"><strong><?php echo vtranslate('LBL_BACK_TO_PRODUCTS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong></button></div></div><?php }?><div id="scroller_wrapper" class="bottom-fixed-scroll"><div id="scroller" class="scroller-div"></div></div><?php if ($_smarty_tpl->tpl_vars['FIELDS_INFO']->value!=null){?><script type="text/javascript">var popup_uimeta = (function() {var fieldInfo = <?php echo $_smarty_tpl->tpl_vars['FIELDS_INFO']->value;?>
|
||||
;return {field: {get: function(name, property) {if (name && property === undefined) {return fieldInfo[name];}if (name && property) {return fieldInfo[name][property]}},isMandatory: function(name) {if (fieldInfo[name]) {return fieldInfo[name].mandatory;}return false;},getType: function(name) {if (fieldInfo[name]) {return fieldInfo[name].type}return false;}},};})();</script><?php }?>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,86 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-13 10:28:03
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/ProjectTaskSummaryWidgetContents.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2142448212691588835f8313-24137074%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'39cc01b7d90cb47e93e1033489f5fe248aab1c4e' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/ProjectTaskSummaryWidgetContents.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2142448212691588835f8313-24137074',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'RELATED_HEADERS' => 0,
|
||||
'HEADER' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
'RELATED_RECORDS' => 0,
|
||||
'RELATED_MODULE' => 0,
|
||||
'RELATED_RECORD' => 0,
|
||||
'MODULE' => 0,
|
||||
'RELATED_MODULE_MODEL' => 0,
|
||||
'FIELD_MODEL' => 0,
|
||||
'TASK_PROGRESS_HEADER' => 0,
|
||||
'PERMISSIONS' => 0,
|
||||
'PICKLIST_VALUES' => 0,
|
||||
'PICKLIST_VALUE' => 0,
|
||||
'TASK_STATUS_HEADER' => 0,
|
||||
'NUMBER_OF_RECORDS' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6915888366008',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6915888366008')) {function content_6915888366008($_smarty_tpl) {?>
|
||||
<?php $_smarty_tpl->tpl_vars['HEADER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['HEADER']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['RELATED_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['HEADER']->key => $_smarty_tpl->tpl_vars['HEADER']->value){
|
||||
$_smarty_tpl->tpl_vars['HEADER']->_loop = true;
|
||||
?><?php if ($_smarty_tpl->tpl_vars['HEADER']->value->get('label')=="Project Task Name"){?><?php ob_start();?><?php echo vtranslate($_smarty_tpl->tpl_vars['HEADER']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['TASK_NAME_HEADER'] = new Smarty_variable($_tmp1, null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['HEADER']->value->get('label')=="Progress"){?><?php $_smarty_tpl->tpl_vars['TASK_PROGRESS_HEADER'] = new Smarty_variable(vtranslate($_smarty_tpl->tpl_vars['HEADER']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE_NAME']->value), null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['HEADER']->value->get('label')=="Status"){?><?php $_smarty_tpl->tpl_vars['TASK_STATUS_HEADER'] = new Smarty_variable(vtranslate($_smarty_tpl->tpl_vars['HEADER']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE_NAME']->value), null, 0);?><?php }?><?php } ?><?php $_smarty_tpl->tpl_vars['RELATED_RECORD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['RELATED_RECORD']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['RELATED_RECORDS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['RELATED_RECORD']->key => $_smarty_tpl->tpl_vars['RELATED_RECORD']->value){
|
||||
$_smarty_tpl->tpl_vars['RELATED_RECORD']->_loop = true;
|
||||
?><?php $_smarty_tpl->tpl_vars['PERMISSIONS'] = new Smarty_variable(Users_Privileges_Model::isPermitted($_smarty_tpl->tpl_vars['RELATED_MODULE']->value,'EditView',$_smarty_tpl->tpl_vars['RELATED_RECORD']->value->get('id')), null, 0);?><div class="recentActivitiesContainer"><ul class="unstyled"><li><div><div class="textOverflowEllipsis width27em"><a href="<?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getDetailViewUrl();?>
|
||||
" id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_<?php echo $_smarty_tpl->tpl_vars['RELATED_MODULE']->value;?>
|
||||
_Related_Record_<?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->get('id');?>
|
||||
" title="<?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getDisplayValue('projecttaskname');?>
|
||||
"><strong><?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getDisplayValue('projecttaskname');?>
|
||||
</strong></a></div><div class="row"><?php $_smarty_tpl->tpl_vars['RELATED_MODULE_MODEL'] = new Smarty_variable(Vtiger_Module_Model::getInstance('ProjectTask'), null, 0);?><?php $_smarty_tpl->tpl_vars['FIELD_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['RELATED_MODULE_MODEL']->value->getField('projecttaskprogress'), null, 0);?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isViewableInDetailView()){?><div class="col-lg-6"><div class="row"><span class="col-lg-6"><?php echo $_smarty_tpl->tpl_vars['TASK_PROGRESS_HEADER']->value;?>
|
||||
:</span><?php if ($_smarty_tpl->tpl_vars['PERMISSIONS']->value&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isEditable()){?><span class="col-lg-6"><div class="dropdown pull-left"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span class="fieldValue"><?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getDisplayValue('projecttaskprogress');?>
|
||||
</span> <b class="caret"></b></a><ul class="dropdown-menu widgetsList" data-recordid="<?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getId();?>
|
||||
" data-fieldname="projecttaskprogress"data-old-value="<?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getDisplayValue('projecttaskprogress');?>
|
||||
" data-mandatory="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory();?>
|
||||
"><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getPicklistValues(), null, 0);?><li class="editTaskDetails emptyOption"><a><?php echo vtranslate('LBL_SELECT_OPTION',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</a></li><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_NAME'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['PICKLIST_VALUES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key => $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value){
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_NAME']->value = $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key;
|
||||
?><li class="editTaskDetails"><a><?php echo $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value;?>
|
||||
</a></li><?php } ?></ul></div></span><?php }else{ ?><span class="col-lg-7"><strong> <?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getDisplayValue('projecttaskprogress');?>
|
||||
</strong></span><?php }?></div></div><?php }?><?php $_smarty_tpl->tpl_vars['FIELD_MODEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['RELATED_MODULE_MODEL']->value->getField('projecttaskstatus'), null, 0);?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isViewableInDetailView()){?><div class="col-lg-6"><div class="row"><span class="col-lg-6"><?php echo $_smarty_tpl->tpl_vars['TASK_STATUS_HEADER']->value;?>
|
||||
:</span><?php if ($_smarty_tpl->tpl_vars['PERMISSIONS']->value&&$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isEditable()){?><span class="col-lg-6 nav nav-pills"><div class="dropdown pull-left"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span class="fieldValue"><?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getDisplayValue('projecttaskstatus');?>
|
||||
</span> <b class="caret"></b></a><ul class="dropdown-menu widgetsList pull-right" data-recordid="<?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getId();?>
|
||||
" data-fieldname="projecttaskstatus"data-old-value="<?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getDisplayValue('projecttaskstatus');?>
|
||||
" data-mandatory="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory();?>
|
||||
" style="max-height: 200px; left: -64px;"><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getPicklistValues(), null, 0);?><li class="editTaskDetails emptyOption" value=""><a><?php echo vtranslate('LBL_SELECT_OPTION',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</a></li><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_NAME'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['PICKLIST_VALUES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key => $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value){
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_NAME']->value = $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key;
|
||||
?><li class="editTaskDetails" value="<?php echo $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value;?>
|
||||
"><a><?php echo $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value;?>
|
||||
</a></li><?php } ?></ul></div></span><?php }else{ ?><span class="col-lg-7"><strong> <?php echo $_smarty_tpl->tpl_vars['RELATED_RECORD']->value->getDisplayValue('projecttaskstatus');?>
|
||||
</strong></span><?php }?></div></div><?php }?></div></div></li></ul></div><?php } ?><?php $_smarty_tpl->tpl_vars['NUMBER_OF_RECORDS'] = new Smarty_variable(count($_smarty_tpl->tpl_vars['RELATED_RECORDS']->value), null, 0);?><?php if ($_smarty_tpl->tpl_vars['NUMBER_OF_RECORDS']->value==5){?><div class=""><div class="pull-right"><a class="moreRecentTasks cursorPointer"><?php echo vtranslate('LBL_MORE',$_smarty_tpl->tpl_vars['MODULE_NAME']->value);?>
|
||||
</a></div></div><?php }?><?php }} ?>
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-19 16:09:26
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskConditional.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1645196463691dc1860d2685-27140388%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3f061be49f5bf712fca6d666e11bdda421300edd' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskConditional.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1645196463691dc1860d2685-27140388',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'conditionalContent' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_691dc1860ffcc',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_691dc1860ffcc')) {function content_691dc1860ffcc($_smarty_tpl) {?><?php echo $_smarty_tpl->tpl_vars['conditionalContent']->value;?>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-21 15:31:08
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Sharing.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:9363384169205b8cec1502-77487259%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'4870107a004b15a5c5d8f5bc6aea6880095d5543' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Sharing.tpl',
|
||||
1 => 1715769019,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '9363384169205b8cec1502-77487259',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'TEMPLATE_OWNERS' => 0,
|
||||
'TEMPLATE_OWNER' => 0,
|
||||
'SHARINGTYPES' => 0,
|
||||
'SHARINGTYPE' => 0,
|
||||
'MEMBER_GROUPS' => 0,
|
||||
'GROUP_LABEL' => 0,
|
||||
'TRANS_GROUP_LABEL' => 0,
|
||||
'ALL_GROUP_MEMBERS' => 0,
|
||||
'MEMBER' => 0,
|
||||
'SELECTED_MEMBERS_GROUP' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69205b8cecaf8',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69205b8cecaf8')) {function content_69205b8cecaf8($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_options')) include '/var/www/fastuser/data/www/crm.clientright.ru/libraries/Smarty/libs/plugins/function.html_options.php';
|
||||
?>
|
||||
<div class="tab-pane" id="editTabSharing"><br><div id="sharing_div"><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_TEMPLATE_OWNER',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</label><div class="controls col-sm-9"><select name="template_owner" id="template_owner" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['TEMPLATE_OWNERS']->value,'selected'=>$_smarty_tpl->tpl_vars['TEMPLATE_OWNER']->value),$_smarty_tpl);?>
|
||||
</select></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_SHARING_TAB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><select name="sharing" id="sharing" data-toogle-members="true" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SHARINGTYPES']->value,'selected'=>$_smarty_tpl->tpl_vars['SHARINGTYPE']->value),$_smarty_tpl);?>
|
||||
</select><br><div class="memberListContainer <?php if ($_smarty_tpl->tpl_vars['SHARINGTYPE']->value!='share'){?>hide<?php }?>"><select id="memberList" class="select2 form-control members" multiple="true" name="members[]" data-placeholder="<?php echo vtranslate('LBL_ADD_USERS_ROLES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
" style="margin-bottom: 10px;" data-rule-required="<?php if ($_smarty_tpl->tpl_vars['SHARINGTYPE']->value=="share"){?>true<?php }else{ ?>false<?php }?>"><?php $_smarty_tpl->tpl_vars['ALL_GROUP_MEMBERS'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ALL_GROUP_MEMBERS']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['GROUP_LABEL'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['MEMBER_GROUPS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['ALL_GROUP_MEMBERS']->key => $_smarty_tpl->tpl_vars['ALL_GROUP_MEMBERS']->value){
|
||||
$_smarty_tpl->tpl_vars['ALL_GROUP_MEMBERS']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['GROUP_LABEL']->value = $_smarty_tpl->tpl_vars['ALL_GROUP_MEMBERS']->key;
|
||||
?><?php $_smarty_tpl->tpl_vars['TRANS_GROUP_LABEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['GROUP_LABEL']->value, null, 0);?><?php if ($_smarty_tpl->tpl_vars['GROUP_LABEL']->value=='RoleAndSubordinates'){?><?php $_smarty_tpl->tpl_vars['TRANS_GROUP_LABEL'] = new Smarty_variable('LBL_ROLEANDSUBORDINATE', null, 0);?><?php }?><?php ob_start();?><?php echo vtranslate($_smarty_tpl->tpl_vars['TRANS_GROUP_LABEL']->value);?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['TRANS_GROUP_LABEL'] = new Smarty_variable($_tmp1, null, 0);?><optgroup label="<?php echo $_smarty_tpl->tpl_vars['TRANS_GROUP_LABEL']->value;?>
|
||||
"><?php $_smarty_tpl->tpl_vars['MEMBER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['MEMBER']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['ALL_GROUP_MEMBERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['MEMBER']->key => $_smarty_tpl->tpl_vars['MEMBER']->value){
|
||||
$_smarty_tpl->tpl_vars['MEMBER']->_loop = true;
|
||||
?><option value="<?php echo $_smarty_tpl->tpl_vars['MEMBER']->value->getId();?>
|
||||
" data-member-type="<?php echo $_smarty_tpl->tpl_vars['GROUP_LABEL']->value;?>
|
||||
" <?php if (isset($_smarty_tpl->tpl_vars['SELECTED_MEMBERS_GROUP']->value[$_smarty_tpl->tpl_vars['GROUP_LABEL']->value][$_smarty_tpl->tpl_vars['MEMBER']->value->getId()])){?>selected="true"<?php }?>><?php echo $_smarty_tpl->tpl_vars['MEMBER']->value->getName();?>
|
||||
</option><?php } ?></optgroup><?php } ?></select></div></div></div></div></div><?php }} ?>
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-21 15:31:08
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/ProductBlock.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:117366596269205b8ce9dac1-37352583%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'4c4ceea4d825a9312b04f92a489273dd65f72d07' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/ProductBlock.tpl',
|
||||
1 => 1715769019,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '117366596269205b8ce9dac1-37352583',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'THEME_MODE' => 0,
|
||||
'MODULE' => 0,
|
||||
'PRODUCT_BLOC_TPL' => 0,
|
||||
'ARTICLE_STRINGS' => 0,
|
||||
'SELECT_PRODUCT_FIELD' => 0,
|
||||
'PRODUCTS_FIELDS' => 0,
|
||||
'SERVICES_FIELDS' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69205b8cea585',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69205b8cea585')) {function content_69205b8cea585($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_options')) include '/var/www/fastuser/data/www/crm.clientright.ru/libraries/Smarty/libs/plugins/function.html_options.php';
|
||||
?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value!="true"){?><div class="tab-pane" id="pdfContentProducts"><div class="edit-template-content col-lg-4" style="position:fixed;z-index:1000;"><br><div id="products_div"><div class="form-group"><label class="control-label fieldLabel col-sm-4" style="font-weight: normal"><?php echo vtranslate('LBL_PRODUCT_BLOC_TPL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-8"><div class="input-group"><select name="productbloctpl2" id="productbloctpl2" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['PRODUCT_BLOC_TPL']->value),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="productbloctpl2" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-4" style="font-weight: normal"><?php echo vtranslate('LBL_ARTICLE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-8"><div class="input-group"><select name="articelvar" id="articelvar" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['ARTICLE_STRINGS']->value),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="articelvar" title="<?php echo vtranslate('LBL_INSERT_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-4" style="font-weight: normal">*<?php echo vtranslate('LBL_PRODUCTS_AVLBL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-8"><div class="input-group"><select name="psfields" id="psfields" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SELECT_PRODUCT_FIELD']->value),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="psfields" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-4" style="font-weight: normal">*<?php echo vtranslate('LBL_PRODUCTS_FIELDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-8"><div class="input-group"><select name="productfields" id="productfields" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['PRODUCTS_FIELDS']->value),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="productfields" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-4" style="font-weight: normal">*<?php echo vtranslate('LBL_SERVICES_FIELDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-8"><div class="input-group"><select name="servicesfields" id="servicesfields" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SERVICES_FIELDS']->value),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="servicesfields" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button></div></div></div></div><br><label class="muted"><small><?php echo vtranslate('LBL_PRODUCT_FIELD_INFO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</small></label></br></div></div></div><?php }?><?php }} ?>
|
||||
@@ -0,0 +1,42 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-21 15:30:13
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/helpers/Attachments.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:58000771669205b5588abe5-20901304%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'4c734e676d0ddb00f655a9e564c8b3dcbf790685' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/helpers/Attachments.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '58000771669205b5588abe5-20901304',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'attachmentsField' => 0,
|
||||
'SetAttachmentList' => 0,
|
||||
'SetAttachmentsModule' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69205b558b6ae',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69205b558b6ae')) {function content_69205b558b6ae($_smarty_tpl) {?><input type="hidden" id="task-attachments" data-id="asd" name="task[<?php echo $_smarty_tpl->tpl_vars['attachmentsField']->value;?>
|
||||
]" value="">
|
||||
<div id='mail_files' style="margin-top:5px;"></div>
|
||||
<input type="button" class="btn btn-primary openAttachmentsPopupBtn" value="<?php echo vtranslate('add Attachment','Settings:Workflow2');?>
|
||||
" />
|
||||
|
||||
<script type="text/javascript">
|
||||
var SetAttachmentList = <?php echo $_smarty_tpl->tpl_vars['SetAttachmentList']->value;?>
|
||||
;
|
||||
|
||||
jQuery(function() {
|
||||
AttachmentsList.init(SetAttachmentList, '<?php echo $_smarty_tpl->tpl_vars['SetAttachmentsModule']->value;?>
|
||||
');
|
||||
});
|
||||
</script><?php }} ?>
|
||||
@@ -0,0 +1,123 @@
|
||||
<?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/Detail.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:43953371669205b77d25ef8-39898725%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'54c985d94d00b10d6a5d37f4fb1fcdafd17f3689' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/Detail.tpl',
|
||||
1 => 1715769019,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '43953371669205b77d25ef8-39898725',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'TEMPLATEID' => 0,
|
||||
'PARENTTAB' => 0,
|
||||
'TEMPLATENAME' => 0,
|
||||
'DESCRIPTION' => 0,
|
||||
'MODULENAME' => 0,
|
||||
'IS_ACTIVE' => 0,
|
||||
'IS_DEFAULT' => 0,
|
||||
'MODULE' => 0,
|
||||
'ISSTYLESACTIVE' => 0,
|
||||
'STYLES_LIST' => 0,
|
||||
'style_data' => 0,
|
||||
'ISDOCUMENTSACTIVE' => 0,
|
||||
'DOCUMENTS_RECORDS' => 0,
|
||||
'IS_DELETABLE' => 0,
|
||||
'DOCUMENTS_HEADERS' => 0,
|
||||
'WIDTHTYPE' => 0,
|
||||
'HEADER_LABEL' => 0,
|
||||
'DOCUMENTS_RECORD' => 0,
|
||||
'HEADER_FIELD' => 0,
|
||||
'SUBJECT' => 0,
|
||||
'BODY' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69205b77d451f',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69205b77d451f')) {function content_69205b77d451f($_smarty_tpl) {?>
|
||||
<div class="detailview-content container-fluid"><div class="details row"><form id="detailView" method="post" action="index.php" name="etemplatedetailview" onsubmit="VtigerJS_DialogBox.block();"><input type="hidden" name="action" value=""><input type="hidden" name="view" value=""><input type="hidden" name="module" value="EMAILMaker"><input type="hidden" name="retur_module" value="EMAILMaker"><input type="hidden" name="return_action" value="EMAILMaker"><input type="hidden" name="return_view" value="Detail"><input type="hidden" name="record" value="<?php echo $_smarty_tpl->tpl_vars['TEMPLATEID']->value;?>
|
||||
"><input type="hidden" name="templateid" value="<?php echo $_smarty_tpl->tpl_vars['TEMPLATEID']->value;?>
|
||||
"><input type="hidden" name="parenttab" value="<?php echo $_smarty_tpl->tpl_vars['PARENTTAB']->value;?>
|
||||
"><input type="hidden" name="isDuplicate" value="false"><input type="hidden" name="subjectChanged" value=""><input id="recordId" value="<?php echo $_smarty_tpl->tpl_vars['TEMPLATEID']->value;?>
|
||||
" type="hidden"><div class="col-lg-12"><div class="left-block col-lg-4"><div class="summaryView"><div class="summaryViewHeader"><h4 class="display-inline-block"><?php echo vtranslate('LBL_TEMPLATE_INFORMATIONS','EMAILMaker');?>
|
||||
</h4></div><div class="summaryViewFields"><div class="recordDetails"><table class="summary-table no-border"><tbody><tr class="summaryViewEntries"><td class="fieldLabel"><label class="muted textOverflowEllipsis"><?php echo vtranslate('LBL_EMAIL_NAME','EMAILMaker');?>
|
||||
</label></td><td class="fieldValue"><?php echo $_smarty_tpl->tpl_vars['TEMPLATENAME']->value;?>
|
||||
</td></tr><tr class="summaryViewEntries"><td class="fieldLabel"><label class="muted textOverflowEllipsis"><?php echo vtranslate('LBL_DESCRIPTION','EMAILMaker');?>
|
||||
</label></td><td class="fieldValue" valign=top><?php echo $_smarty_tpl->tpl_vars['DESCRIPTION']->value;?>
|
||||
</td></tr><?php if ($_smarty_tpl->tpl_vars['MODULENAME']->value!=''){?><tr class="summaryViewEntries"><td class="fieldLabel"><label class="muted textOverflowEllipsis"><?php echo vtranslate('LBL_MODULENAMES','EMAILMaker');?>
|
||||
</label></td><td class="fieldValue" valign=top><?php echo $_smarty_tpl->tpl_vars['MODULENAME']->value;?>
|
||||
</td></tr><?php }?><tr class="summaryViewEntries"><td class="fieldLabel"><label class="muted textOverflowEllipsis"><?php echo vtranslate('Status');?>
|
||||
</label></td><td class="fieldValue" valign=top><?php echo $_smarty_tpl->tpl_vars['IS_ACTIVE']->value;?>
|
||||
</td></tr><tr class="summaryViewEntries"><td class="fieldLabel"><label class="muted textOverflowEllipsis"><?php echo vtranslate('LBL_SETASDEFAULT','EMAILMaker');?>
|
||||
</label></td><td class="fieldValue" valign=top><?php echo $_smarty_tpl->tpl_vars['IS_DEFAULT']->value;?>
|
||||
</td></tr></tbody></table></div></div></div><br><?php if ($_smarty_tpl->tpl_vars['MODULENAME']->value!=''){?><div class="summaryView"><div class="summaryViewHeader"><h4 class="display-inline-block"><?php echo vtranslate('LBL_DISPLAY_TAB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</h4><div class="pull-right"><button type="button" class="btn btn-default editDisplayConditions" data-url="index.php?module=EMAILMaker&view=EditDisplayConditions&record=<?php echo $_smarty_tpl->tpl_vars['TEMPLATEID']->value;?>
|
||||
"> <?php echo vtranslate('LBL_EDIT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php echo vtranslate('LBL_CONDITIONS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</button></div></div><div class="summaryViewFields"><div class="recordDetails"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('DetailDisplayConditions.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</div></div></div><br><?php }?><?php if ($_smarty_tpl->tpl_vars['ISSTYLESACTIVE']->value=="yes"){?><div class="summaryView"><div class="summaryViewHeader"><h4 class="display-inline-block"><?php echo vtranslate('LBL_CSS_STYLE_TAB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</h4><div class="pull-right"><button type="button" class="btn btn-default addButton addStyleContentBtn" data-modulename="ITS4YouStyles"><?php echo vtranslate('LBL_ADD');?>
|
||||
<?php echo vtranslate('SINGLE_ITS4YouStyles','ITS4YouStyles');?>
|
||||
</button> <button type="button" class="btn btn-default addButton selectTemplateRelation" data-modulename="ITS4YouStyles"> <?php echo vtranslate('LBL_SELECT');?>
|
||||
<?php echo vtranslate('SINGLE_ITS4YouStyles','ITS4YouStyles');?>
|
||||
</button></div></div><br><div class="summaryWidgetContainer noContent"><?php if ($_smarty_tpl->tpl_vars['STYLES_LIST']->value){?><div id="table-content" class="table-container"><table id="listview-table" class="table listview-table"><thead><tr class="listViewContentHeader"><th style="width:55px;"></th><th nowrap><?php echo vtranslate('Name','ITS4YouStyles');?>
|
||||
</th><th nowrap><?php echo vtranslate('Priority','ITS4YouStyles');?>
|
||||
</th></tr></thead><tbody class="overflow-y"><?php $_smarty_tpl->tpl_vars['style_data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['style_data']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['STYLES_LIST']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['style_data']->key => $_smarty_tpl->tpl_vars['style_data']->value){
|
||||
$_smarty_tpl->tpl_vars['style_data']->_loop = true;
|
||||
?><tr class="" data-id="<?php echo $_smarty_tpl->tpl_vars['style_data']->value['id'];?>
|
||||
" data-module="ITS4YouStyles"><td style="width:55px"><?php if ($_smarty_tpl->tpl_vars['style_data']->value['iseditable']=="yes"){?><span class="actionImages"> <a name="styleEdit" data-url="index.php?module=ITS4YouStyles&view=Edit&record=<?php echo $_smarty_tpl->tpl_vars['style_data']->value['id'];?>
|
||||
"><i title="Edit" class="fa fa-pencil"></i></a> <a class="relationDelete"><i title="<?php echo vtranslate('LBL_UNLINK',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
" class="vicon-linkopen"></i></a></span><?php }?></td><td class="listViewEntryValue textOverflowEllipsis " width="%" nowrap><a name="styleEdit" data-url="index.php?module=ITS4YouStyles&view=Detail&record=<?php echo $_smarty_tpl->tpl_vars['style_data']->value['id'];?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['style_data']->value['name'];?>
|
||||
</a></td><td class="listViewEntryValue textOverflowEllipsis " width="%" nowrap><?php echo $_smarty_tpl->tpl_vars['style_data']->value['priority'];?>
|
||||
</td></tr><?php } ?></tbody></table></div><?php }else{ ?><p class="textAlignCenter"><?php echo vtranslate('LBL_NO_RELATED',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php echo vtranslate('LBL_STYLES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</p><?php }?></div></div><br><?php }?><?php if ($_smarty_tpl->tpl_vars['ISDOCUMENTSACTIVE']->value=="yes"){?><div class="summaryView"><div class="summaryViewHeader"><h4 class="display-inline-block"><?php echo vtranslate('Documents',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</h4><div class="pull-right"><button type="button" class="btn btn-default addButton selectTemplateRelation" data-modulename="Documents"> <?php echo vtranslate('LBL_SELECT');?>
|
||||
<?php echo vtranslate('SINGLE_Documents','Documents');?>
|
||||
</button></div></div><br><div class="summaryWidgetContainer noContent"><?php if ($_smarty_tpl->tpl_vars['DOCUMENTS_RECORDS']->value!=''){?><div id="table-content" class="table-container"><table id="listview-table" class="table listview-table"><thead><tr class="listViewContentHeader"><?php if ($_smarty_tpl->tpl_vars['IS_DELETABLE']->value){?><th style="width:20px"></th><?php }?><?php $_smarty_tpl->tpl_vars['HEADER_LABEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['HEADER_LABEL']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['HEADER_FIELD'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['DOCUMENTS_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
$_smarty_tpl->tpl_vars['HEADER_LABEL']->total= $_smarty_tpl->_count($_from);
|
||||
$_smarty_tpl->tpl_vars['HEADER_LABEL']->iteration=0;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['HEADER_LABEL']->key => $_smarty_tpl->tpl_vars['HEADER_LABEL']->value){
|
||||
$_smarty_tpl->tpl_vars['HEADER_LABEL']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['HEADER_FIELD']->value = $_smarty_tpl->tpl_vars['HEADER_LABEL']->key;
|
||||
$_smarty_tpl->tpl_vars['HEADER_LABEL']->iteration++;
|
||||
$_smarty_tpl->tpl_vars['HEADER_LABEL']->last = $_smarty_tpl->tpl_vars['HEADER_LABEL']->iteration === $_smarty_tpl->tpl_vars['HEADER_LABEL']->total;
|
||||
$_smarty_tpl->tpl_vars['smarty']->value['foreach']["docforeach"]['last'] = $_smarty_tpl->tpl_vars['HEADER_LABEL']->last;
|
||||
?><th <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['docforeach']['last']){?> colspan="2" <?php }?> nowrap class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
"><?php echo vtranslate($_smarty_tpl->tpl_vars['HEADER_LABEL']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</th><?php } ?></tr></thead><tbody class="overflow-y"><?php $_smarty_tpl->tpl_vars['DOCUMENTS_RECORD'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['DOCUMENTS_RECORD']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['DOCUMENTS_RECORDS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['DOCUMENTS_RECORD']->key => $_smarty_tpl->tpl_vars['DOCUMENTS_RECORD']->value){
|
||||
$_smarty_tpl->tpl_vars['DOCUMENTS_RECORD']->_loop = true;
|
||||
?><tr class="listViewEntries" data-module="Documents" data-id="<?php echo $_smarty_tpl->tpl_vars['DOCUMENTS_RECORD']->value['id'];?>
|
||||
" data-recordurl="index.php?module=Documents&view=Detail&record=<?php echo $_smarty_tpl->tpl_vars['DOCUMENTS_RECORD']->value['id'];?>
|
||||
"><?php if ($_smarty_tpl->tpl_vars['IS_DELETABLE']->value){?><td nowrap style="width:20px"><span class="actionImages"><a class="relationDelete"><i title="<?php echo vtranslate('LBL_UNLINK',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
" class="vicon-linkopen alignMiddle"></i></a></span></td><?php }?><?php $_smarty_tpl->tpl_vars['HEADER_LABEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['HEADER_LABEL']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['HEADER_FIELD'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['DOCUMENTS_HEADERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['HEADER_LABEL']->key => $_smarty_tpl->tpl_vars['HEADER_LABEL']->value){
|
||||
$_smarty_tpl->tpl_vars['HEADER_LABEL']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['HEADER_FIELD']->value = $_smarty_tpl->tpl_vars['HEADER_LABEL']->key;
|
||||
?><td class="<?php echo $_smarty_tpl->tpl_vars['WIDTHTYPE']->value;?>
|
||||
" nowrap><?php echo $_smarty_tpl->tpl_vars['DOCUMENTS_RECORD']->value[$_smarty_tpl->tpl_vars['HEADER_FIELD']->value];?>
|
||||
</td><?php } ?></tr><?php } ?></tbody></table></div><?php }else{ ?><p class="textAlignCenter"><?php echo vtranslate('LBL_NO_RELATED',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php echo vtranslate('Documents',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</p><?php }?></div></div><br><?php }?></div><div class="middle-block col-lg-8"><div class="summaryView"><div class="summaryViewFields"><div class="recordDetails"><b><?php echo vtranslate('LBL_EMAIL_SUBJECT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</b> <?php echo $_smarty_tpl->tpl_vars['SUBJECT']->value;?>
|
||||
</div></div></div><div id="ContentEditorTabs"><ul class="nav nav-pills"><li class="active" data-type="body"><a href="#body_div2" aria-expanded="false" style="margin-right: 5px" data-toggle="tab"><?php echo vtranslate('LBL_BODY',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></li></ul></div><div class="tab-content"><div class="tab-pane active" id="body_div2"><div id="previewcontent_body" class="hide"><?php echo $_smarty_tpl->tpl_vars['BODY']->value;?>
|
||||
</div><iframe id="preview_body" class="col-lg-12" style="height:1200px;"></iframe></div></div></div></div></form></div></div><script type="text/javascript">jQuery(document).ready(function () {EMAILMaker_Detail_Js.setPreviewContent('body');});</script><?php }} ?>
|
||||
@@ -0,0 +1,396 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-21 15:30:13
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskSendmail.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:104172708269205b558be4d9-61647635%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'5f289d1f8ccf25a3c844268c234fbe6ba392282c' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/taskforms/WfTaskSendmail.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '104172708269205b558be4d9-61647635',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'attachmentsJAVASCRIPT' => 0,
|
||||
'script' => 0,
|
||||
'from' => 0,
|
||||
'task' => 0,
|
||||
'attachmentsList' => 0,
|
||||
'show_emailfrom_checkbox' => 0,
|
||||
'SMTPSERVER' => 0,
|
||||
'providerid' => 0,
|
||||
'label' => 0,
|
||||
'MAIL_TEMPLATES' => 0,
|
||||
'title' => 0,
|
||||
'category' => 0,
|
||||
'templateid' => 0,
|
||||
'templatename' => 0,
|
||||
'jsAttachmentsList' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69205b558eb6e',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69205b558eb6e')) {function content_69205b558eb6e($_smarty_tpl) {?><script src="modules/Workflow2/resources/emailtaskscript.js?v=<?php echo @WORKFLOW2_VERSION;?>
|
||||
" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="modules/Workflow2/resources/newemailworkflow.js?v=<?php echo @WORKFLOW2_VERSION;?>
|
||||
" type="text/javascript" charset="utf-8"></script>
|
||||
<?php $_smarty_tpl->tpl_vars['script'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['script']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['attachmentsJAVASCRIPT']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['script']->key => $_smarty_tpl->tpl_vars['script']->value){
|
||||
$_smarty_tpl->tpl_vars['script']->_loop = true;
|
||||
?><script type="text/javascript"><?php echo $_smarty_tpl->tpl_vars['script']->value;?>
|
||||
</script><?php } ?>
|
||||
|
||||
<div class="SendMailHeadContainer" >
|
||||
<div style="flex-grow:2;flex-basis:200px;">
|
||||
<table border="0" cellpadding="5" cellspacing="0" style="width:100%;" class="small newTable sendMailFields">
|
||||
<?php if ($_smarty_tpl->tpl_vars['from']->value['from_readonly']==true){?>
|
||||
<tr>
|
||||
<td class='dvtCellLabel' align="right" width=20% nowrap="nowrap">* From Name</td>
|
||||
<td class='dvtCellInfo'><?php echo $_smarty_tpl->tpl_vars['from']->value['from_name'];?>
|
||||
<input type="hidden" name="task[from_name]" value="" id="save_from_name" class="form_input" style='width: 250px;'></td>
|
||||
</tr>
|
||||
<tr id="from_row">
|
||||
<td class='dvtCellLabel' align="right" width=20% nowrap="nowrap"><b><font color=red>*</font> From Mail</b></td>
|
||||
<td class='dvtCellInfo'><?php echo $_smarty_tpl->tpl_vars['from']->value['from_mail'];?>
|
||||
<input type="hidden" name="task[from_mail]" value="" id="save_from_mail" class="form_input" style='width: 250px;'></td>
|
||||
</tr>
|
||||
<?php }else{ ?>
|
||||
<tr>
|
||||
<td class='dvtCellLabel' align="right" width=20% nowrap="nowrap"><b><span style='color:red;'>*</span> <?php echo vtranslate('LBL_SENDER_NAME','Settings:Workflow2');?>
|
||||
</b></td>
|
||||
<td class='dvtCellInfo'>
|
||||
<div class="insertTextfield" data-name="task[from_name]" data-id="from_name"><?php echo $_smarty_tpl->tpl_vars['task']->value['from_name'];?>
|
||||
</div>
|
||||
</tr>
|
||||
<tr id="from_row">
|
||||
<td class='dvtCellLabel' align="right" width=20% nowrap="nowrap"><b><span style='color:red;'>*</span> <?php echo vtranslate('LBL_SENDER_MAIL','Settings:Workflow2');?>
|
||||
</b></td>
|
||||
<td class='dvtCellInfo'>
|
||||
<div class="insertTextfield" data-name="task[from_mail]" data-id="from_mail" data-options='{"type":"email","delimiter":","}'><?php echo $_smarty_tpl->tpl_vars['task']->value['from_mail'];?>
|
||||
</div>
|
||||
</tr>
|
||||
<?php }?>
|
||||
<tr>
|
||||
<td class='dvtCellLabel' style="" align="right" width=20% nowrap="nowrap"><b><span style='color:red;'>*</span> <?php echo vtranslate('LBL_EMAIL_RECIPIENT','Settings:Workflow2');?>
|
||||
</b></td>
|
||||
<td class='dvtCellInfo'>
|
||||
<div class="insertTextfield" data-name="task[recepient]" data-id="recepient" data-options='{"type":"email","delimiter":","}'><?php echo $_smarty_tpl->tpl_vars['task']->value['recepient'];?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="cc_row" style="<?php if ($_smarty_tpl->tpl_vars['task']->value['emailcc']==''){?>display: none;<?php }?>">
|
||||
<td class='dvtCellLabel' align="right" width=20% nowrap="nowrap"><b> <?php echo vtranslate('LBL_EMAIL_CC','Settings:Workflow2');?>
|
||||
</b></td>
|
||||
<td class='dvtCellInfo'>
|
||||
<div class="insertTextfield" data-name="task[emailcc]" data-id="emailcc" data-options='{"type":"email","delimiter":","}'><?php echo $_smarty_tpl->tpl_vars['task']->value['emailcc'];?>
|
||||
</div>
|
||||
</tr>
|
||||
<tr id="bcc_row" style="<?php if ($_smarty_tpl->tpl_vars['task']->value['emailbcc']==''){?>display: none;<?php }?>">
|
||||
<td class='dvtCellLabel' align="right" width=20% nowrap="nowrap"><b> <?php echo vtranslate('LBL_EMAIL_BCC','Settings:Workflow2');?>
|
||||
</b></td>
|
||||
<td class='dvtCellInfo'>
|
||||
<div class="insertTextfield" data-name="task[emailbcc]" data-id="emailbcc" data-options='{"type":"email","delimiter":","}'><?php echo $_smarty_tpl->tpl_vars['task']->value['emailbcc'];?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="replyto_row" style="<?php if ($_smarty_tpl->tpl_vars['task']->value['replyto']==''){?>display: none;<?php }?>">
|
||||
<td class='dvtCellLabel' align="right" width=20% nowrap="nowrap"><b> <?php echo vtranslate('LBL_EMAIL_REPLYTO','Settings:Workflow2');?>
|
||||
</b></td>
|
||||
<td class='dvtCellInfo'>
|
||||
<div class="insertTextfield" data-name="task[replyto]" data-id="emailreplyto" data-options='{"type":"email","delimiter":","}'><?php echo $_smarty_tpl->tpl_vars['task']->value['replyto'];?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="confirmreading_row" style="<?php if ($_smarty_tpl->tpl_vars['task']->value['confirmreading']==''){?>display: none;<?php }?>">
|
||||
<td class='dvtCellLabel' align="right" width=20% nowrap="nowrap"><b> <?php echo vtranslate('LBL_EMAIL_CONFIRMREADINGTO','Settings:Workflow2');?>
|
||||
</b></td>
|
||||
<td class='dvtCellInfo'>
|
||||
<div class="insertTextfield" data-name="task[confirmreading]" data-id="confirmreading" data-options='{"type":"email","delimiter":","}'><?php echo $_smarty_tpl->tpl_vars['task']->value['confirmreading'];?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="storeid_row" style="<?php if ($_smarty_tpl->tpl_vars['task']->value['storeid']==''){?>display: none;<?php }?>">
|
||||
<td class='dvtCellLabel' align="right" width=20% nowrap="nowrap"><b> <?php echo vtranslate('Store Mail to','Settings:Workflow2');?>
|
||||
</b>
|
||||
<a href="http://shop.stefanwarnat.de/?wf-docu=sendmail#store_mail_to" target="_blank">
|
||||
<img src='modules/Workflow2/icons/question.png' border="0">
|
||||
</a>
|
||||
|
||||
|
||||
</td>
|
||||
<td class='dvtCellInfo'>
|
||||
<div class="insertTextfield" style="display:inline;" data-name="task[storeid]" data-id="storeid" data-options='{"type":"text","delimiter":","}'><?php echo $_smarty_tpl->tpl_vars['task']->value['storeid'];?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='dvtCellLabel' align="right" width=20% nowrap="nowrap"></td>
|
||||
<td class='dvtCellInfo'>
|
||||
<a href="#" onclick="jQuery(this).hide();jQuery('#cc_row').show();" style="<?php if ($_smarty_tpl->tpl_vars['task']->value['emailcc']!=''){?>display: none;<?php }?>padding-right:30px;">CC</a>
|
||||
<a href="#" onclick="jQuery(this).hide();jQuery('#bcc_row').show();" style="<?php if ($_smarty_tpl->tpl_vars['task']->value['emailbcc']!=''){?>display: none;<?php }?>padding-right:30px;">BCC</a>
|
||||
<a href="#" onclick="jQuery(this).hide();jQuery('#replyto_row').show();" style="<?php if ($_smarty_tpl->tpl_vars['task']->value['replyto']!=''){?>display: none;<?php }?>padding-right:30px;">ReplyTo</a>
|
||||
<a href="#" onclick="jQuery(this).hide();jQuery('#confirmreading_row').show();" style="<?php if ($_smarty_tpl->tpl_vars['task']->value['confirmreading']!=''){?>display: none;<?php }?>padding-right:30px;">Confirm Reading</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='dvtCellLabel' align="right" width=20% nowrap="nowrap"><b><span style='color:red;'>*</span> <?php echo vtranslate('LBL_EMAIL_SUBJECT','Settings:Workflow2');?>
|
||||
</b></td>
|
||||
<td class='dvtCellInfo'>
|
||||
<div class="insertTextfield" data-name="task[subject]" data-id="subject"><?php echo $_smarty_tpl->tpl_vars['task']->value['subject'];?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div style="flex-grow:1;flex-basis:100px;margin-left:10px;">
|
||||
<div class="accordion" id="accordion2">
|
||||
<div class="accordion-group">
|
||||
<div class="accordion-heading">
|
||||
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
|
||||
<?php echo vtranslate('E-Mail attachments','Settings:Workflow2');?>
|
||||
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapseOne" class="accordion-body collapse in">
|
||||
<div class="accordion-inner">
|
||||
<?php echo $_smarty_tpl->tpl_vars['attachmentsList']->value;?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="accordion-group">
|
||||
<div class="accordion-heading">
|
||||
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
|
||||
<?php echo vtranslate('Options','Settings:Workflow2');?>
|
||||
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapseTwo" class="accordion-body collapse">
|
||||
<div class="accordion-inner">
|
||||
<?php if ($_smarty_tpl->tpl_vars['show_emailfrom_checkbox']->value==true){?>
|
||||
<label style="line-height:28px;margin:0;">
|
||||
<input style="display:inline;" id="use_mailserver_from"class="rcSwitch doInit" type="checkbox" name="task[use_mailserver_from]" <?php if ($_smarty_tpl->tpl_vars['task']->value['use_mailserver_from']=='1'){?>checked="checked"<?php }?> value="1"/>
|
||||
<?php echo vtranslate('Use Sender E-Mail from Mailserver config','Settings:Workflow2');?>
|
||||
|
||||
</label>
|
||||
<?php }else{ ?>
|
||||
<input type="hidden" name="task[use_mailserver_from]" value="0" />
|
||||
<?php }?>
|
||||
|
||||
<label style="line-height:28px;margin:0;">
|
||||
<input style="display:inline;" class="rcSwitch doInit" type="checkbox" name="task[trackAccess]" <?php if ($_smarty_tpl->tpl_vars['task']->value['trackAccess']=='1'){?>checked="checked"<?php }?> value="1"/>
|
||||
<?php echo vtranslate('integrate VtigerCRM Access Tracker','Settings:Workflow2');?>
|
||||
|
||||
</label>
|
||||
<label style="line-height:28px;margin:0;">
|
||||
<input style="display:inline;" type="checkbox" class="rcSwitch doInit" name="task[attachImages]" <?php if ($_smarty_tpl->tpl_vars['task']->value['attachImages']=='1'){?>checked="checked"<?php }?> value="1"/>
|
||||
<?php echo vtranslate('directly embed images to mail','Settings:Workflow2');?>
|
||||
|
||||
</label>
|
||||
<label style="line-height:28px;margin:0;">
|
||||
<input style="display:inline;" type="checkbox" class="rcSwitch doInit" name="task[multiplereceiver]" <?php if ($_smarty_tpl->tpl_vars['task']->value['multiplereceiver']=='1'){?>checked="checked"<?php }?> value="1"/>
|
||||
<?php echo vtranslate('single mail to all receiver','Settings:Workflow2');?>
|
||||
|
||||
</label>
|
||||
<label style="line-height:28px;margin:0;">
|
||||
<input style="display:inline;" type="checkbox" class="rcSwitch doInit" name="task[unlimitedretry]" <?php if ($_smarty_tpl->tpl_vars['task']->value['unlimitedretry']=='1'){?>checked="checked"<?php }?> value="1"/>
|
||||
<?php echo vtranslate('unlimited retry on error (deactive = 6 Retry)','Settings:Workflow2');?>
|
||||
|
||||
</label>
|
||||
<label style="line-height:28px;margin:0;">
|
||||
<input style="display:inline;" type="checkbox" class="rcSwitch doInit" name="task[interactivemail]" <?php if ($_smarty_tpl->tpl_vars['task']->value['interactivemail']=='1'){?>checked="checked"<?php }?> value="1"/>
|
||||
<?php echo vtranslate('request user confirmation before sending','Settings:Workflow2');?>
|
||||
|
||||
</label>
|
||||
<?php if (!empty($_smarty_tpl->tpl_vars['SMTPSERVER']->value)){?>
|
||||
<p><?php echo vtranslate('Use this SMTP Server to send','Settings:Workflow2');?>
|
||||
</p>
|
||||
<select name="task[provider]">
|
||||
<option value=""><?php echo vtranslate('Default SMTP Server','Settings:Workflow2');?>
|
||||
</option>
|
||||
<?php $_smarty_tpl->tpl_vars['label'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['label']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['providerid'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['SMTPSERVER']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['label']->key => $_smarty_tpl->tpl_vars['label']->value){
|
||||
$_smarty_tpl->tpl_vars['label']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['providerid']->value = $_smarty_tpl->tpl_vars['label']->key;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['providerid']->value;?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['task']->value['provider']==$_smarty_tpl->tpl_vars['providerid']->value){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['label']->value;?>
|
||||
</option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<?php }?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="small">
|
||||
<tr>
|
||||
<td style='padding-top: 10px;width:180px;'>
|
||||
<input type="hidden" id="templateVarContainer" value="" />
|
||||
<input type="button" class="btn btn-primary" value="<?php echo vtranslate('insert Fieldcontent','Settings:Workflow2');?>
|
||||
" id="btn_insert_variable">
|
||||
</td>
|
||||
<td style="padding-top: 10px;">
|
||||
<ul class="nav nav-pills" style="margin-bottom: 0;<?php if ($_smarty_tpl->tpl_vars['task']->value['storeid']!=''){?>display: none;<?php }?>">
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
|
||||
Options
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li style="<?php if ($_smarty_tpl->tpl_vars['task']->value['storeid']!=''){?>display: none;<?php }?>"><a href="#" onclick="jQuery(this).hide();jQuery('#storeid_row').show();">change Record to this mail will be stored</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
<td style='padding-top: 10px;'>
|
||||
<div style="float: right;">
|
||||
<b><?php echo vtranslate('LBL_SELECT_MAIL_TEMPLATE','Settings:Workflow2');?>
|
||||
 </b>
|
||||
<select name="task[mailtemplate]" class="select2" style="width:300px;">
|
||||
<option value="">- none -</option>
|
||||
<?php $_smarty_tpl->tpl_vars['category'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['category']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['title'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['MAIL_TEMPLATES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['category']->key => $_smarty_tpl->tpl_vars['category']->value){
|
||||
$_smarty_tpl->tpl_vars['category']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['title']->value = $_smarty_tpl->tpl_vars['category']->key;
|
||||
?>
|
||||
<optgroup label="<?php echo $_smarty_tpl->tpl_vars['title']->value;?>
|
||||
">
|
||||
<?php $_smarty_tpl->tpl_vars['templatename'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['templatename']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['templateid'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['category']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['templatename']->key => $_smarty_tpl->tpl_vars['templatename']->value){
|
||||
$_smarty_tpl->tpl_vars['templatename']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['templateid']->value = $_smarty_tpl->tpl_vars['templatename']->key;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['templateid']->value;?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['task']->value['mailtemplate']==$_smarty_tpl->tpl_vars['templateid']->value){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['templatename']->value;?>
|
||||
</option>
|
||||
<?php } ?>
|
||||
</optgroup>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<a href="http://shop.stefanwarnat.de/?wf-docu=sendmail" target="_blank">
|
||||
<img src='modules/Workflow2/icons/question.png' border="0">
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<script type="text/javascript" src="libraries/jquery/ckeditor/ckeditor.js"></script>
|
||||
|
||||
<textarea style="width:90%;height:200px;" name="task[content]" rows="55" cols="40" id="save_content" class="detailedViewTextBox"> <?php echo $_smarty_tpl->tpl_vars['task']->value['content'];?>
|
||||
</textarea>
|
||||
|
||||
<script type="text/javascript" defer="1">
|
||||
var textAreaName = 'save_content';
|
||||
|
||||
CKEDITOR.config.protectedSource.push(/<\?php[\s\S]*?\?<?php ?>>/g);
|
||||
|
||||
CKEDITOR.replace( textAreaName, {
|
||||
extraPlugins : 'uicolor',
|
||||
uiColor: '#dfdff1',
|
||||
protectedSource: [/<tex[\s\S]*?\/tex>/g]
|
||||
} );
|
||||
|
||||
var oCKeditor = CKEDITOR.instances[textAreaName];
|
||||
/* var available_attachments = <?php echo json_encode($_smarty_tpl->tpl_vars['jsAttachmentsList']->value);?>
|
||||
;*/
|
||||
/* var attachmentFiles = <?php echo $_smarty_tpl->tpl_vars['task']->value['attachments'];?>
|
||||
; */
|
||||
</script>
|
||||
<style type="text/css">
|
||||
table.sendMailFields td {
|
||||
padding: 5px;
|
||||
}
|
||||
table.sendMailFields tr:hover td.dvtCellInfo {
|
||||
background-color:#f8f8f8;
|
||||
color:#000;
|
||||
}
|
||||
table.sendMailFields tr:hover td.dvtCellInfo input, table.sendMailFields tr td.dvtCellInfo input:fo {
|
||||
color:#000;
|
||||
}
|
||||
table.sendMailFields td.dvtCellInfo {
|
||||
border-top:1px solid #ddd !important;
|
||||
border-bottom:1px solid #ddd !important;
|
||||
border-right:1px solid #ddd !important;
|
||||
padding: 2px 0 2px 5px;
|
||||
}
|
||||
table.sendMailFields td.dvtCellLabel {
|
||||
border-top:1px solid #ddd !important;
|
||||
border-bottom:1px solid #ddd !important;
|
||||
|
||||
padding: 2px 5px 2px 0;
|
||||
}
|
||||
table.sendMailFields span.templateFieldSpan {
|
||||
border:none;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
}
|
||||
table.sendMailFields span.templateFieldBtn img {
|
||||
margin-bottom:-8px;
|
||||
}
|
||||
table.sendMailFields span.templateFieldBtn {
|
||||
border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
margin:-2px 0 0px 0;
|
||||
height:30px;
|
||||
}
|
||||
table.sendMailFields span.templateFieldSpan input {
|
||||
border:none;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
padding:5px 30px 3px 0px;
|
||||
background-color:transparent;
|
||||
}
|
||||
div#mail_files {
|
||||
margin-top:0 !important;
|
||||
}
|
||||
.accordion-inner {
|
||||
padding:9px 5px;
|
||||
}
|
||||
.accordion-heading {
|
||||
|
||||
}
|
||||
|
||||
.accordion-heading {
|
||||
background-color:#0060bf;
|
||||
color:white;
|
||||
border-top-left-radius: 5px;
|
||||
border-top-right-radius: 5px;
|
||||
padding:5px 10px;
|
||||
}
|
||||
div.SendMailHeadContainer {
|
||||
display:flex;
|
||||
}
|
||||
.accordion-body.in.collapse {
|
||||
height:auto !important;
|
||||
}
|
||||
</style><?php }} ?>
|
||||
@@ -0,0 +1,318 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-18 17:44:45
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/FrontendManager.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:577213405691c865dc62627-85790648%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'62bc72479f4dbc06469c50f9793b05a9aab67965' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/FrontendManager.tpl',
|
||||
1 => 1711810493,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '577213405691c865dc62627-85790648',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'workflows' => 0,
|
||||
'moduleName' => 0,
|
||||
'workflowList' => 0,
|
||||
'workflow' => 0,
|
||||
'links' => 0,
|
||||
'linkArray' => 0,
|
||||
'link' => 0,
|
||||
'FrontendTypes' => 0,
|
||||
'Type' => 0,
|
||||
'FieldData' => 0,
|
||||
'Field' => 0,
|
||||
'FA_ICONS' => 0,
|
||||
'ICON' => 0,
|
||||
'frontendConfig' => 0,
|
||||
'configurations' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_691c865dcc9c3',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_691c865dcc9c3')) {function content_691c865dcc9c3($_smarty_tpl) {?><div class="container-fluid" id="moduleManagerContents">
|
||||
<div class="editViewHeader">
|
||||
<h4>
|
||||
<div class="pull-right">
|
||||
<select class="select2" id="addWorkflow" style="width:400px;" data-placeholder="<?php echo vtranslate('choose a Workflow','Settings:Workflow2');?>
|
||||
">
|
||||
<option value=""></option>
|
||||
<?php $_smarty_tpl->tpl_vars['workflowList'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['workflowList']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['moduleName'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['workflows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['workflowList']->key => $_smarty_tpl->tpl_vars['workflowList']->value){
|
||||
$_smarty_tpl->tpl_vars['workflowList']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['moduleName']->value = $_smarty_tpl->tpl_vars['workflowList']->key;
|
||||
?>
|
||||
<optgroup label="<?php echo $_smarty_tpl->tpl_vars['moduleName']->value;?>
|
||||
">
|
||||
<?php $_smarty_tpl->tpl_vars['workflow'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['workflow']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['workflowList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['workflow']->key => $_smarty_tpl->tpl_vars['workflow']->value){
|
||||
$_smarty_tpl->tpl_vars['workflow']->_loop = true;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['workflow']->value['id'];?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['workflow']->value['title'];?>
|
||||
</option>
|
||||
<?php } ?>
|
||||
</optgroup>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<button type="submit" id="addWorkflowButton" class="btn btn-primary" style="margin-top:0;vertical-align:top;"><?php echo vtranslate('add Workflow','Settings:Workflow2');?>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<a href="index.php?module=Workflow2&view=Index&parent=Settings"><?php echo vtranslate('Workflow Designer','Workflow2');?>
|
||||
</a> »
|
||||
<?php echo vtranslate('Frontend Manager','Settings:Workflow2');?>
|
||||
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="detailViewContainer ">
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars['linkArray'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['linkArray']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['moduleName'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['links']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['linkArray']->key => $_smarty_tpl->tpl_vars['linkArray']->value){
|
||||
$_smarty_tpl->tpl_vars['linkArray']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['moduleName']->value = $_smarty_tpl->tpl_vars['linkArray']->key;
|
||||
?>
|
||||
<div class="block" data-target="<?php echo $_smarty_tpl->tpl_vars['linkArray']->value[0]['module_name'];?>
|
||||
">
|
||||
<h5 class="modHead">
|
||||
<img src="modules/Workflow2/icons/toggle_minus.png" class="toggleImageCollapse toggleImage" style="display: none;" />
|
||||
<img src="modules/Workflow2/icons/toggle_plus.png" class="toggleImageExpand toggleImage"/>
|
||||
|
||||
<strong><?php echo $_smarty_tpl->tpl_vars['moduleName']->value;?>
|
||||
(<?php echo count($_smarty_tpl->tpl_vars['linkArray']->value);?>
|
||||
)</strong>
|
||||
</h5>
|
||||
</div>
|
||||
|
||||
<table class="table frontendManagerTable" cellspacing="0" cellpadding="4" style="border-collapse:collapse;display:none;" data-module="<?php echo $_smarty_tpl->tpl_vars['linkArray']->value[0]['module_name'];?>
|
||||
" id="workflowList<?php echo $_smarty_tpl->tpl_vars['linkArray']->value[0]['module_name'];?>
|
||||
" >
|
||||
<thead>
|
||||
<tr style="background-color: #eee;">
|
||||
<th align="left"></th>
|
||||
<th align="left" style="width:250px;"><?php echo vtranslate('Workflow','Settings:Workflow2');?>
|
||||
</th>
|
||||
<th align="left" style="width:250px;"><?php echo vtranslate('Label','Settings:Workflow2');?>
|
||||
</th>
|
||||
<th align="left" style="width:250px;"><?php echo vtranslate('Include Type','Settings:Workflow2');?>
|
||||
</th>
|
||||
<th align="left">Configuration</th>
|
||||
<!--<th align="left"><?php echo vtranslate('visible in Listview','Settings:Workflow2');?>
|
||||
</th>
|
||||
<th align="left"><?php echo vtranslate('Button Color','Settings:Workflow2');?>
|
||||
</th>-->
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_smarty_tpl->tpl_vars['link'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['link']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['linkArray']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['link']->key => $_smarty_tpl->tpl_vars['link']->value){
|
||||
$_smarty_tpl->tpl_vars['link']->_loop = true;
|
||||
?>
|
||||
<tr class="hoverTR" data-index="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
">
|
||||
<td>
|
||||
<img src="modules/Workflow2/icons/delete.png" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
" class="removeFrontendManagerOnClick" width="16" />
|
||||
</td>
|
||||
<td>
|
||||
<?php if ($_smarty_tpl->tpl_vars['link']->value['color']!='separator'){?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['link']->value['title'];?>
|
||||
|
||||
<?php }else{ ?>
|
||||
-- <?php echo vtranslate('Separator','Settings:Workflow2');?>
|
||||
--
|
||||
<?php }?>
|
||||
</td>
|
||||
<td><input type="text" class="defaultTextfield saveOnBlur" data-field="label" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
" value="<?php echo $_smarty_tpl->tpl_vars['link']->value['label'];?>
|
||||
" style="margin-bottom:0;width:100%;" /></td>
|
||||
<td>
|
||||
<select data-field="position" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
" class="saveOnBlur select2 FrontendType" style="width:100%;">
|
||||
<option value="none" <?php if ($_smarty_tpl->tpl_vars['link']->value['position']=='none'){?>selected="selected"<?php }?>>hidden</option>
|
||||
<optgroup label="<?php echo vtranslate('Workflow Designer',"Settings:Workflow2");?>
|
||||
">
|
||||
<option value="sidebar" <?php if ($_smarty_tpl->tpl_vars['link']->value['position']=='sidebar'){?>selected="selected"<?php }?>><?php echo vtranslate('Dedicated Button in popup','Settings:Workflow2');?>
|
||||
</option>
|
||||
<option value="headerbtn" <?php if ($_smarty_tpl->tpl_vars['link']->value['position']=='headerbtn'){?>selected="selected"<?php }?>><?php echo vtranslate('Button in Headerrow','Settings:Workflow2');?>
|
||||
</option>
|
||||
<option value="listviewbtn" <?php if ($_smarty_tpl->tpl_vars['link']->value['position']=='listviewbtn'){?>selected="selected"<?php }?>><?php echo vtranslate('Listview Top Button','Settings:Workflow2');?>
|
||||
</option>
|
||||
<option value="detailbtn" <?php if ($_smarty_tpl->tpl_vars['link']->value['position']=='detailbtn'){?>selected="selected"<?php }?>><?php echo vtranslate('Detailview Top Button','Settings:Workflow2');?>
|
||||
</option>
|
||||
<option value="relatedbtn" <?php if ($_smarty_tpl->tpl_vars['link']->value['position']=='relatedbtn'){?>selected="selected"<?php }?>><?php echo vtranslate('Campaign Relations Button','Settings:Workflow2');?>
|
||||
</option>
|
||||
<option value="morebtn" <?php if ($_smarty_tpl->tpl_vars['link']->value['position']=='morebtn'){?>selected="selected"<?php }?>><?php echo vtranslate('More Action Button','Settings:Workflow2');?>
|
||||
</option>
|
||||
<option value="fieldbtn" <?php if ($_smarty_tpl->tpl_vars['link']->value['position']=='fieldbtn'){?>selected="selected"<?php }?>><?php echo vtranslate('Button in Field','Settings:Workflow2');?>
|
||||
</option>
|
||||
|
||||
</optgroup>
|
||||
<optgroup label="<?php echo vtranslate('Custom Types','Settings:Workfow2');?>
|
||||
">
|
||||
<?php $_smarty_tpl->tpl_vars['Type'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['Type']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['FrontendTypes']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['Type']->key => $_smarty_tpl->tpl_vars['Type']->value){
|
||||
$_smarty_tpl->tpl_vars['Type']->_loop = true;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['Type']->value['key'];?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['link']->value['position']==$_smarty_tpl->tpl_vars['Type']->value['key']){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['Type']->value['title'];?>
|
||||
</option>
|
||||
<?php } ?>
|
||||
</optgroup>
|
||||
</select>
|
||||
</td>
|
||||
<td style="text-align: left;"">
|
||||
<div class="ConfigContainer" data-types="sidebar">
|
||||
<label>
|
||||
<span style="display:inline-block;width:140px;">Show in ListView:</span>
|
||||
<input type="checkbox" id="config_<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
_listview" name="listview" data-field="listview" value="1" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
" class="saveOnBlur" <?php if ($_smarty_tpl->tpl_vars['link']->value['listview']=='1'){?>checked="checked"<?php }?> />
|
||||
</label>
|
||||
</div>
|
||||
<div class="ConfigContainer" data-types="sidebar,listviewbtn,morebtn,detailbtn,relatedbtn,fieldbtn,headerbtn">
|
||||
<span style="display:inline-block;width:140px;">Button Color:</span>
|
||||
<input type="text" style="margin-bottom:0;" id="config_<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
_color" class="defaultTextfield saveOnBlur color {hash:true}" data-field="color" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
" value="<?php if ($_smarty_tpl->tpl_vars['link']->value['color']==''){?>#3D57FF<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['link']->value['color'];?>
|
||||
<?php }?>" />
|
||||
<label>
|
||||
<input type="checkbox" value="1" class="saveOnBlur" data-field="config-defaultlayout" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
" <?php if (!empty($_smarty_tpl->tpl_vars['link']->value['config']['defaultlayout'])){?>checked="checked"<?php }?> />
|
||||
No Backgroundcolor, but default Button Layout
|
||||
</label>
|
||||
</div>
|
||||
<div class="ConfigContainer" data-types="fieldbtn" data-content="fieldlist">
|
||||
<span style="display:inline-block;width:140px;">Select Fields:</span>
|
||||
<div style="display:inline;" class="FieldListing" data-value="{}"></div>
|
||||
</div>
|
||||
<div class="ConfigContainer" data-types="fieldbtn">
|
||||
<label>
|
||||
<span style="display:inline-block;width:140px;">Use Dropdown:</span>
|
||||
<input type="checkbox" id="config_<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
_dropdown" name="config-dropdown" data-field="config-dropdown" value="1" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
" class="saveOnBlur" <?php if ($_smarty_tpl->tpl_vars['link']->value['config']['dropdown']=='1'){?>checked="checked"<?php }?> />
|
||||
</label>
|
||||
</div>
|
||||
<?php $_smarty_tpl->tpl_vars['Type'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['Type']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['FrontendTypes']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['Type']->key => $_smarty_tpl->tpl_vars['Type']->value){
|
||||
$_smarty_tpl->tpl_vars['Type']->_loop = true;
|
||||
?>
|
||||
<div class="ConfigContainer" data-types="<?php echo $_smarty_tpl->tpl_vars['Type']->value['key'];?>
|
||||
">
|
||||
<?php $_smarty_tpl->tpl_vars['FieldData'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['FieldData']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['Field'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['Type']->value['options']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['FieldData']->key => $_smarty_tpl->tpl_vars['FieldData']->value){
|
||||
$_smarty_tpl->tpl_vars['FieldData']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['Field']->value = $_smarty_tpl->tpl_vars['FieldData']->key;
|
||||
?>
|
||||
<div>
|
||||
<label>
|
||||
<span style="display:inline-block;width:140px;"><?php echo vtranslate($_smarty_tpl->tpl_vars['FieldData']->value['label'],$_smarty_tpl->tpl_vars['Type']->value['langmodule']);?>
|
||||
:</span>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['FieldData']->value['type']==Workflow2_FrontendType_Model::TYPE_COLORPICKER){?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['Field']->value!='color'){?>
|
||||
<input type="text" style="margin-bottom:0;" id="config_<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
_<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
|
||||
" class="defaultTextfield saveOnBlur color {hash:true}" data-field="config-<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
|
||||
" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
" value="<?php if (empty($_smarty_tpl->tpl_vars['link']->value['config'][$_smarty_tpl->tpl_vars['Field']->value])){?><?php echo $_smarty_tpl->tpl_vars['FieldData']->value['default'];?>
|
||||
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['link']->value['config'][$_smarty_tpl->tpl_vars['Field']->value];?>
|
||||
<?php }?>" />
|
||||
<?php }else{ ?>
|
||||
<input type="text" style="margin-bottom:0;" id="config_<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
_<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
|
||||
" class="defaultTextfield saveOnBlur color {hash:true}" data-field="<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
|
||||
" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
" value="<?php if (empty($_smarty_tpl->tpl_vars['link']->value[$_smarty_tpl->tpl_vars['Field']->value])){?><?php echo $_smarty_tpl->tpl_vars['FieldData']->value['default'];?>
|
||||
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['link']->value[$_smarty_tpl->tpl_vars['Field']->value];?>
|
||||
<?php }?>" />
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['FieldData']->value['type']==Workflow2_FrontendType_Model::TYPE_CHECKBOX){?>
|
||||
<input type="checkbox" id="config_<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
_<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
|
||||
" name="config-<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
|
||||
" data-field="config-<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
|
||||
" value="1" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
" class="saveOnBlur" <?php if ((isset($_smarty_tpl->tpl_vars['link']->value['config'][$_smarty_tpl->tpl_vars['Field']->value])&&$_smarty_tpl->tpl_vars['link']->value['config'][$_smarty_tpl->tpl_vars['Field']->value]=='1')||(!isset($_smarty_tpl->tpl_vars['link']->value['config'][$_smarty_tpl->tpl_vars['Field']->value])&&!empty($_smarty_tpl->tpl_vars['FieldData']->value['default']))){?>checked="checked"<?php }?> />
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['FieldData']->value['type']==Workflow2_FrontendType_Model::TYPE_FIELDDSELECT){?>
|
||||
<div style="display:inline;" data-field="<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
|
||||
" class="FieldListing" data-value="{}"></div>
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['FieldData']->value['type']==Workflow2_FrontendType_Model::TYPE_ICON){?>
|
||||
<select class="select2 saveOnBlur" data-id="<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
" id="config_<?php echo $_smarty_tpl->tpl_vars['link']->value['id'];?>
|
||||
_<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
|
||||
" style="width:300px;" data-field="config-<?php echo $_smarty_tpl->tpl_vars['Field']->value;?>
|
||||
">
|
||||
<?php $_smarty_tpl->tpl_vars['ICON'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ICON']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['FA_ICONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['ICON']->key => $_smarty_tpl->tpl_vars['ICON']->value){
|
||||
$_smarty_tpl->tpl_vars['ICON']->_loop = true;
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['ICON']->value;?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['link']->value['config'][$_smarty_tpl->tpl_vars['Field']->value]==$_smarty_tpl->tpl_vars['ICON']->value){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['ICON']->value;?>
|
||||
</option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
<?php }?>
|
||||
</label>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php if ($_smarty_tpl->tpl_vars['link']->value['color']!='separator'){?>
|
||||
|
||||
<?php }?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr style="background-color: #eee;">
|
||||
<td></td>
|
||||
<td colspan="5"">
|
||||
<?php echo vtranslate('disable complete Workflow List in Sidebar','Settings:Workflow2');?>
|
||||
: <input type="checkbox" class="SaveConfigOnBlur" data-field="hide_listview" data-module="<?php echo $_smarty_tpl->tpl_vars['linkArray']->value[0]['module_name'];?>
|
||||
" <?php if (isset($_smarty_tpl->tpl_vars['frontendConfig']->value[$_smarty_tpl->tpl_vars['linkArray']->value[0]['module_name']])&&$_smarty_tpl->tpl_vars['frontendConfig']->value[$_smarty_tpl->tpl_vars['linkArray']->value[0]['module_name']]['hide_listview']=='1'){?>checked="checked"<?php }?> />
|
||||
| <?php echo vtranslate('add other Object','Settings:Workflow2');?>
|
||||
: <select class="separatorChooser"><option value="separator">Separator</option></select><button class="btn btn-primary addSpecialObjectButton" type="button" name=""><?php echo vtranslate('add','Settings:Workflow2');?>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var configurations = <?php echo json_encode($_smarty_tpl->tpl_vars['configurations']->value);?>
|
||||
;
|
||||
|
||||
var frontendTypes = <?php echo json_encode($_smarty_tpl->tpl_vars['FrontendTypes']->value);?>
|
||||
;
|
||||
</script>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,56 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-15 14:43:36
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Picklist/CreateView.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:139857291669186768b31762-26948836%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'6773c6011ed360121cc1bf1b9477fb6f379867eb' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Picklist/CreateView.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '139857291669186768b31762-26948836',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'SELECTED_MODULE_NAME' => 0,
|
||||
'SELECTED_PICKLIST_FIELDMODEL' => 0,
|
||||
'SELECTED_PICKLISTFIELD_ALL_VALUES' => 0,
|
||||
'QUALIFIED_MODULE' => 0,
|
||||
'HEADER_TITLE' => 0,
|
||||
'ROLES_LIST' => 0,
|
||||
'ROLE' => 0,
|
||||
'qualifiedName' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69186768b3fde',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69186768b3fde')) {function content_69186768b3fde($_smarty_tpl) {?>
|
||||
<div class="modalContents"><div class="modal-dialog basicCreateView"><div class='modal-content'><form name="addItemForm" class="form-horizontal" method="post" action="index.php"><input type="hidden" name="module" value="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
" /><input type="hidden" name="parent" value="Settings" /><input type="hidden" name="source_module" value="<?php echo $_smarty_tpl->tpl_vars['SELECTED_MODULE_NAME']->value;?>
|
||||
" /><input type="hidden" name="action" value="SaveAjax" /><input type="hidden" name="mode" value="add" /><input type="hidden" name="picklistName" value="<?php echo $_smarty_tpl->tpl_vars['SELECTED_PICKLIST_FIELDMODEL']->value->get('name');?>
|
||||
" /><input type="hidden" name="pickListValues" value='<?php echo Vtiger_Util_Helper::toSafeHTML(ZEND_JSON::encode($_smarty_tpl->tpl_vars['SELECTED_PICKLISTFIELD_ALL_VALUES']->value));?>
|
||||
' /><?php ob_start();?><?php echo vtranslate('LBL_ADD_ITEM_TO',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo vtranslate($_smarty_tpl->tpl_vars['SELECTED_PICKLIST_FIELDMODEL']->value->get('label'),$_smarty_tpl->tpl_vars['SELECTED_MODULE_NAME']->value);?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['HEADER_TITLE'] = new Smarty_variable((($_tmp1).(" ")).($_tmp2), null, 0);?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModalHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('TITLE'=>$_smarty_tpl->tpl_vars['HEADER_TITLE']->value), 0);?>
|
||||
<div class="modal-body"><div class="form-group"><div class="control-label col-sm-4 col-xs-4"><?php echo vtranslate('LBL_ITEM_VALUE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<span class="redColor">*</span></div><div class="controls col-sm-3 col-xs-3"><input style="min-width: 220px;" name="newValue" class="form-control select2" data-rule-required="true"/></div></div><?php if ($_smarty_tpl->tpl_vars['SELECTED_PICKLIST_FIELDMODEL']->value->isRoleBased()){?><div class="form-group"><div class="control-label col-sm-4 col-xs-4"><?php echo vtranslate('LBL_ASSIGN_TO_ROLE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<span class="input-info-addon cursorPointer"><i class="fa fa-info-circle" data-toggle="tooltip" data-placement="bottom" title="<?php echo vtranslate('LBL_ASSIGN_TO_ROLE_INFO',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
"></i></span></div><div class="controls col-sm-3 col-xs-3"><select class="rolesList form-control" name="rolesSelected[]" multiple style="min-width: 220px" data-placeholder="<?php echo vtranslate('LBL_CHOOSE_ROLES',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
"><option value="all" selected><?php echo vtranslate('LBL_ALL_ROLES',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</option><?php $_smarty_tpl->tpl_vars['ROLE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ROLE']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['ROLES_LIST']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['ROLE']->key => $_smarty_tpl->tpl_vars['ROLE']->value){
|
||||
$_smarty_tpl->tpl_vars['ROLE']->_loop = true;
|
||||
?><option value="<?php echo $_smarty_tpl->tpl_vars['ROLE']->value->get('roleid');?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['ROLE']->value->get('rolename');?>
|
||||
</option><?php } ?></select></div><div class="input-info-addon cursorPointer" style='line-height: 2;'><i class="fa fa-info-circle" data-toggle="tooltip" data-placement="bottom" title="<?php echo vtranslate('LBL_ASSIGN_TO_ROLE_INFO',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
"></i></div></div><?php }?><div class="form-group"><div class="control-label col-sm-4 col-xs-4"><?php echo vtranslate('LBL_SELECT_COLOR',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</div><div class="controls col-sm-3 col-xs-3"><input type="hidden" name="selectedColor" /><div class="colorPicker"></div></div></div></div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('ModalFooter.tpl',$_smarty_tpl->tpl_vars['qualifiedName']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</form></div></div></div><?php }} ?>
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-15 14:43:36
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Picklist/ModulePickListDetail.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:184920485469186768aeff35-76267774%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'693c616eea7958dcfb981210bd3b2894c9e248b8' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Picklist/ModulePickListDetail.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '184920485469186768aeff35-76267774',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'NO_PICKLIST_FIELDS' => 0,
|
||||
'SELECTED_MODULE_NAME' => 0,
|
||||
'QUALIFIED_NAME' => 0,
|
||||
'CREATE_PICKLIST_URL' => 0,
|
||||
'QUALIFIED_MODULE' => 0,
|
||||
'PICKLIST_FIELDS' => 0,
|
||||
'FIELD_MODEL' => 0,
|
||||
'DEFAULT_FIELD' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69186768afb3f',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69186768afb3f')) {function content_69186768afb3f($_smarty_tpl) {?>
|
||||
|
||||
|
||||
|
||||
<?php if (!empty($_smarty_tpl->tpl_vars['NO_PICKLIST_FIELDS']->value)){?><label style="padding-top: 40px;"> <b><?php echo vtranslate($_smarty_tpl->tpl_vars['SELECTED_MODULE_NAME']->value,$_smarty_tpl->tpl_vars['SELECTED_MODULE_NAME']->value);?>
|
||||
<?php echo vtranslate('NO_PICKLIST_FIELDS',$_smarty_tpl->tpl_vars['QUALIFIED_NAME']->value);?>
|
||||
. <?php if (!empty($_smarty_tpl->tpl_vars['CREATE_PICKLIST_URL']->value)){?><a href="<?php echo $_smarty_tpl->tpl_vars['CREATE_PICKLIST_URL']->value;?>
|
||||
"><?php echo vtranslate('LBL_CREATE_NEW',$_smarty_tpl->tpl_vars['QUALIFIED_NAME']->value);?>
|
||||
</a><?php }?></b></label><?php }else{ ?><div class="row form-group"><div class="col-lg-3 col-md-3 col-sm-3 control-label fieldLabel"><label class="fieldLabel"><strong><?php echo vtranslate('LBL_SELECT_PICKLIST_IN',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
<?php echo vtranslate($_smarty_tpl->tpl_vars['SELECTED_MODULE_NAME']->value,$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</strong></label></div><div class="col-sm-3 col-xs-3 fieldValue"><select class="select2 inputElement" id="modulePickList" name="modulePickList"><?php $_smarty_tpl->tpl_vars['FIELD_MODEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['FIELD_MODEL']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_FIELD'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['PICKLIST_FIELDS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
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['PICKLIST_FIELD']->value = $_smarty_tpl->tpl_vars['FIELD_MODEL']->key;
|
||||
?><option value="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getId();?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['DEFAULT_FIELD']->value==$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getName()){?> selected <?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['SELECTED_MODULE_NAME']->value);?>
|
||||
</option><?php } ?></select></div></div><br><?php }?>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,77 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-21 15:30:37
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/ListEMAILActions.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:93516975469205b6d2bea65-97160279%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'72d64b5fd5375a0dedd4e7c6906ae0732f093604' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/ListEMAILActions.tpl',
|
||||
1 => 1715769019,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '93516975469205b6d2bea65-97160279',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'LISTVIEW_MASSACTIONS' => 0,
|
||||
'LISTVIEW_LINKS' => 0,
|
||||
'MODULE' => 0,
|
||||
'LISTVIEW_MASSACTION' => 0,
|
||||
'LISTVIEW_ADVANCEDACTIONS' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69205b6d2cb57',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69205b6d2cb57')) {function content_69205b6d2cb57($_smarty_tpl) {?>
|
||||
<div id="listview-actions" class="listview-actions-container">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<div class="btn-group listViewMassActions" role="group">
|
||||
<?php if (count($_smarty_tpl->tpl_vars['LISTVIEW_MASSACTIONS']->value)>0||count($_smarty_tpl->tpl_vars['LISTVIEW_LINKS']->value['LISTVIEW'])>0){?>
|
||||
<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><?php echo vtranslate('LBL_ACTIONS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<i class="caret"></i></button>
|
||||
<ul class="dropdown-menu">
|
||||
<?php if (count($_smarty_tpl->tpl_vars['LISTVIEW_MASSACTIONS']->value)>0){?>
|
||||
<?php $_smarty_tpl->tpl_vars["LISTVIEW_MASSACTION"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["LISTVIEW_MASSACTION"]->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_MASSACTIONS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars["LISTVIEW_MASSACTION"]->key => $_smarty_tpl->tpl_vars["LISTVIEW_MASSACTION"]->value){
|
||||
$_smarty_tpl->tpl_vars["LISTVIEW_MASSACTION"]->_loop = true;
|
||||
?>
|
||||
<li id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_listView_massAction_<?php echo Vtiger_Util_Helper::replaceSpaceWithUnderScores($_smarty_tpl->tpl_vars['LISTVIEW_MASSACTION']->value->getLabel());?>
|
||||
"><a href="javascript:void(0);" <?php if (stripos($_smarty_tpl->tpl_vars['LISTVIEW_MASSACTION']->value->getUrl(),'javascript:')===0){?>onclick='<?php echo substr($_smarty_tpl->tpl_vars['LISTVIEW_MASSACTION']->value->getUrl(),strlen("javascript:"));?>
|
||||
'<?php }else{ ?> onclick="Vtiger_List_Js.triggerMassAction('<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_MASSACTION']->value->getUrl();?>
|
||||
')"<?php }?> ><?php echo vtranslate($_smarty_tpl->tpl_vars['LISTVIEW_MASSACTION']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (count($_smarty_tpl->tpl_vars['LISTVIEW_LINKS']->value['LISTVIEW'])>0){?>
|
||||
<li class="divider"></li>
|
||||
<?php }?>
|
||||
<?php }?>
|
||||
|
||||
<?php if (count($_smarty_tpl->tpl_vars['LISTVIEW_LINKS']->value['LISTVIEW'])>0){?>
|
||||
<?php $_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['LISTVIEW_LINKS']->value['LISTVIEW']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS']->key => $_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS']->value){
|
||||
$_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS']->_loop = true;
|
||||
?>
|
||||
<li id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_listView_advancedAction_<?php echo Vtiger_Util_Helper::replaceSpaceWithUnderScores($_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS']->value->getLabel());?>
|
||||
"><a <?php if (stripos($_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS']->value->getUrl(),'javascript:')===0){?> href="javascript:void(0);" onclick='<?php echo substr($_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS']->value->getUrl(),strlen("javascript:"));?>
|
||||
'<?php }else{ ?> href='<?php echo $_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS']->value->getUrl();?>
|
||||
' <?php }?>><?php echo vtranslate($_smarty_tpl->tpl_vars['LISTVIEW_ADVANCEDACTIONS']->value->getLabel(),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></li>
|
||||
<?php } ?>
|
||||
<?php }?>
|
||||
</ul>
|
||||
<?php }?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><?php }} ?>
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-21 15:33:16
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouEmails/Footer.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:3456308969205c0cf02b84-77555983%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'767b6af5a403e1d50e6ae29955696471d2cd98cf' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouEmails/Footer.tpl',
|
||||
1 => 1738401449,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '3456308969205c0cf02b84-77555983',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69205c0cf05a0',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69205c0cf05a0')) {function content_69205c0cf05a0($_smarty_tpl) {?>
|
||||
|
||||
<br><div class="small" style="color: rgb(153, 153, 153);text-align: center;"><?php echo vtranslate('ITS4YouEmails','ITS4YouEmails');?>
|
||||
<?php echo ITS4YouEmails_Version_Helper::$version;?>
|
||||
<?php echo vtranslate('COPYRIGHT','ITS4YouEmails');?>
|
||||
</div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("Footer.tpl",'Vtiger'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-21 15:30:37
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/Footer.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:92464730069205b6d2d20e9-70504566%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'7d2cd3fde5d24253e543897bb4fdfc32360ea20e' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/Footer.tpl',
|
||||
1 => 1715769019,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '92464730069205b6d2d20e9-70504566',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69205b6d2d47d',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69205b6d2d47d')) {function content_69205b6d2d47d($_smarty_tpl) {?>
|
||||
|
||||
<br><div class="small" style="color: rgb(153, 153, 153);text-align: center;"><?php echo vtranslate('EMAILMaker','EMAILMaker');?>
|
||||
<?php echo EMAILMaker_Version_Helper::$version;?>
|
||||
<?php echo vtranslate('COPYRIGHT','EMAILMaker');?>
|
||||
</div><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("Footer.tpl",'Vtiger'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,44 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-14 09:13:12
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Time.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:10200538466916c878007b80-97605365%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'8113b2af2cabcaa817b0e72786caa327c9f020ae' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Time.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '10200538466916c878007b80-97605365',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'FIELD_MODEL' => 0,
|
||||
'BLOCK_FIELDS' => 0,
|
||||
'USER_MODEL' => 0,
|
||||
'FIELD_NAME' => 0,
|
||||
'MODULE' => 0,
|
||||
'TIME_FORMAT' => 0,
|
||||
'FIELD_VALUE' => 0,
|
||||
'SPECIAL_VALIDATOR' => 0,
|
||||
'FIELD_INFO' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6916c8780466c',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6916c8780466c')) {function content_6916c8780466c($_smarty_tpl) {?>
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo(), null, 0);?><?php $_smarty_tpl->tpl_vars["SPECIAL_VALIDATOR"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getValidator(), null, 0);?><?php $_smarty_tpl->tpl_vars['FIELD_VALUE'] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getEditViewDisplayValue($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'),$_smarty_tpl->tpl_vars['BLOCK_FIELDS']->value), null, 0);?><?php $_smarty_tpl->tpl_vars["TIME_FORMAT"] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->get('hour_format'), null, 0);?><?php if ((!$_smarty_tpl->tpl_vars['FIELD_NAME']->value)){?><?php $_smarty_tpl->tpl_vars["FIELD_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName(), null, 0);?><?php }?><div class="input-group inputElement time"><input id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_editView_fieldName_<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" type="text" data-format="<?php echo $_smarty_tpl->tpl_vars['TIME_FORMAT']->value;?>
|
||||
" class="timepicker-default form-control" value="<?php echo $_smarty_tpl->tpl_vars['FIELD_VALUE']->value;?>
|
||||
" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
"<?php if (!empty($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value)){?>data-validator='<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value);?>
|
||||
'<?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_INFO']->value["mandatory"]==true){?> data-rule-required="true" <?php }?><?php if (count($_smarty_tpl->tpl_vars['FIELD_INFO']->value['validator'])){?>data-specific-rules='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['FIELD_INFO']->value["validator"]);?>
|
||||
'<?php }?> data-rule-time="true"/><span class="input-group-addon" style="width: 30px;"><i class="fa fa-clock-o"></i></span></div>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,54 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-19 16:09:18
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/StatistikPopup.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:2064062838691dc17e01a058-46524535%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'8485da01fcdebbbe9ed530f8d3c662b6bec0a514' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/StatistikPopup.tpl',
|
||||
1 => 1711810493,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '2064062838691dc17e01a058-46524535',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'HEADER_TITLE' => 0,
|
||||
'durations' => 0,
|
||||
'maxValue' => 0,
|
||||
'LogInformation' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_691dc17e04dc6',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_691dc17e04dc6')) {function content_691dc17e04dc6($_smarty_tpl) {?><div class="modal-dialog modelContainer" style="width:600px;">
|
||||
<?php ob_start();?><?php echo vtranslate("Reporting for this block","Settings:Workflow2");?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['HEADER_TITLE'] = new Smarty_variable($_tmp1, null, 0);?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModalHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('TITLE'=>$_smarty_tpl->tpl_vars['HEADER_TITLE']->value), 0);?>
|
||||
|
||||
|
||||
<div class="modal-content">
|
||||
|
||||
<div style='height:160px;margin:auto;' id="durationBlock"></div>
|
||||
<script type="text/javascript">
|
||||
var durations = <?php echo json_encode($_smarty_tpl->tpl_vars['durations']->value);?>
|
||||
;
|
||||
var maxValue = <?php echo $_smarty_tpl->tpl_vars['maxValue']->value;?>
|
||||
;
|
||||
</script>
|
||||
<div style='height:160px;margin:auto;' id="extraLogInformation">
|
||||
<?php echo $_smarty_tpl->tpl_vars['LogInformation']->value;?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,103 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-21 15:31:08
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Settings.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:143985009069205b8cea86e0-82237131%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'89488679bbd6194c6c75426b7806d5f57720f70d' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Settings.tpl',
|
||||
1 => 1715769019,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '143985009069205b8cea86e0-82237131',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'EMAIL_TEMPLATE_RESULT' => 0,
|
||||
'THEME_MODE' => 0,
|
||||
'EMAIL_CATEGORY' => 0,
|
||||
'DEFAULT_FROM_OPTIONS' => 0,
|
||||
'SELECTED_DEFAULT_FROM' => 0,
|
||||
'IGNORE_PICKLIST_VALUES' => 0,
|
||||
'STATUS' => 0,
|
||||
'IS_ACTIVE' => 0,
|
||||
'DECIMALS' => 0,
|
||||
'margin_input_width' => 0,
|
||||
'IS_DEFAULT_DV_CHECKED' => 0,
|
||||
'IS_DEFAULT_LV_CHECKED' => 0,
|
||||
'ORDER' => 0,
|
||||
'LOAD_RELATED_DOCUMENTS' => 0,
|
||||
'DOCUMENTS_FOLDERS' => 0,
|
||||
'DOCUMENT_FOLDER' => 0,
|
||||
'RELATED_DOCUMENTS_FOLDERS' => 0,
|
||||
'DOCUMENTS_FIELDS' => 0,
|
||||
'DOCUMENT_FIELD_NAME' => 0,
|
||||
'RELATED_DOCUMENTS_FIELDS' => 0,
|
||||
'DOCUMENT_FIELD_LABEL' => 0,
|
||||
'RELATED_MODULES' => 0,
|
||||
'RelMod' => 0,
|
||||
'RELATED_DOCUMENTS_FIELD' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69205b8cebd2a',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69205b8cebd2a')) {function content_69205b8cebd2a($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_options')) include '/var/www/fastuser/data/www/crm.clientright.ru/libraries/Smarty/libs/plugins/function.html_options.php';
|
||||
?>
|
||||
<div class="tab-pane" id="editTabSettings"><br><div id="settings_div"><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_DESCRIPTION',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><input name="description" type="text" value="<?php echo $_smarty_tpl->tpl_vars['EMAIL_TEMPLATE_RESULT']->value['description'];?>
|
||||
" class="inputElement" tabindex="2"></div></div><?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value!="true"){?><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('Category');?>
|
||||
:</label><div class="controls col-sm-9"><input type="text" name="email_category" value="<?php echo $_smarty_tpl->tpl_vars['EMAIL_CATEGORY']->value;?>
|
||||
" class="inputElement"/></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_DEFAULT_FROM','EMAILMaker');?>
|
||||
:</label><div class="controls col-sm-9"><select name="default_from_email" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['DEFAULT_FROM_OPTIONS']->value,'selected'=>$_smarty_tpl->tpl_vars['SELECTED_DEFAULT_FROM']->value),$_smarty_tpl);?>
|
||||
</select></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_IGNORE_PICKLIST_VALUES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><input type="text" name="ignore_picklist_values" value="<?php echo $_smarty_tpl->tpl_vars['IGNORE_PICKLIST_VALUES']->value;?>
|
||||
" class="inputElement"/></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_STATUS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><select name="is_active" id="is_active" class="select2 form-control" onchange="EMAILMaker_EditJs.templateActiveChanged(this);"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['STATUS']->value,'selected'=>$_smarty_tpl->tpl_vars['IS_ACTIVE']->value),$_smarty_tpl);?>
|
||||
</select></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_DECIMALS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><table class="table table-bordered"><tr><td align="right" nowrap><?php echo vtranslate('LBL_DEC_POINT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</td><td><input type="text" maxlength="2" name="dec_point" class="inputElement" value="<?php echo $_smarty_tpl->tpl_vars['DECIMALS']->value['point'];?>
|
||||
" style="width:<?php echo $_smarty_tpl->tpl_vars['margin_input_width']->value;?>
|
||||
"/></td></tr><tr><td align="right" nowrap><?php echo vtranslate('LBL_DEC_DECIMALS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</td><td><input type="text" maxlength="2" name="dec_decimals" class="inputElement" value="<?php echo $_smarty_tpl->tpl_vars['DECIMALS']->value['decimals'];?>
|
||||
" style="width:<?php echo $_smarty_tpl->tpl_vars['margin_input_width']->value;?>
|
||||
"/></td></tr><tr><td align="right" nowrap><?php echo vtranslate('LBL_DEC_THOUSANDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</td><td><input type="text" maxlength="2" name="dec_thousands" class="inputElement" value="<?php echo $_smarty_tpl->tpl_vars['DECIMALS']->value['thousands'];?>
|
||||
" style="width:<?php echo $_smarty_tpl->tpl_vars['margin_input_width']->value;?>
|
||||
"/></td></tr></table></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_SETASDEFAULT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><?php echo vtranslate('LBL_FOR_DV',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<input type="checkbox" id="is_default_dv" name="is_default_dv" <?php echo $_smarty_tpl->tpl_vars['IS_DEFAULT_DV_CHECKED']->value;?>
|
||||
/> <?php echo vtranslate('LBL_FOR_LV',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<input type="checkbox" id="is_default_lv" name="is_default_lv" <?php echo $_smarty_tpl->tpl_vars['IS_DEFAULT_LV_CHECKED']->value;?>
|
||||
/><input type="hidden" name="tmpl_order" value="<?php echo $_smarty_tpl->tpl_vars['ORDER']->value;?>
|
||||
"/></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_LOAD_RELATED_DOCUMENTS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><input type="hidden" name="load_related_documents" value="0"/><input type="checkbox" id="load_related_documents" name="load_related_documents" <?php if ($_smarty_tpl->tpl_vars['LOAD_RELATED_DOCUMENTS']->value){?>checked="checked"<?php }?>/></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_RELATED_DOCUMENTS_BY_FOLDER',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><select name="folders_related_documents[]" id="folders_related_documents" class="select2 form-control inputElement" multiple="multiple"><?php $_smarty_tpl->tpl_vars['DOCUMENT_FOLDER'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['DOCUMENT_FOLDER']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['DOCUMENTS_FOLDERS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['DOCUMENT_FOLDER']->key => $_smarty_tpl->tpl_vars['DOCUMENT_FOLDER']->value){
|
||||
$_smarty_tpl->tpl_vars['DOCUMENT_FOLDER']->_loop = true;
|
||||
?><option value="<?php echo $_smarty_tpl->tpl_vars['DOCUMENT_FOLDER']->value->getId();?>
|
||||
" <?php if (in_array($_smarty_tpl->tpl_vars['DOCUMENT_FOLDER']->value->getId(),$_smarty_tpl->tpl_vars['RELATED_DOCUMENTS_FOLDERS']->value)){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['DOCUMENT_FOLDER']->value->getName();?>
|
||||
</option><?php } ?></select></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_RELATED_DOCUMENTS_BY_FIELD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><select name="fields_related_documents[]" id="fields_related_documents" class="select2 form-control inputElement" multiple="multiple"><?php $_smarty_tpl->tpl_vars['DOCUMENT_FIELD_LABEL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['DOCUMENT_FIELD_LABEL']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['DOCUMENT_FIELD_NAME'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['DOCUMENTS_FIELDS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['DOCUMENT_FIELD_LABEL']->key => $_smarty_tpl->tpl_vars['DOCUMENT_FIELD_LABEL']->value){
|
||||
$_smarty_tpl->tpl_vars['DOCUMENT_FIELD_LABEL']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['DOCUMENT_FIELD_NAME']->value = $_smarty_tpl->tpl_vars['DOCUMENT_FIELD_LABEL']->key;
|
||||
?><option value="<?php echo $_smarty_tpl->tpl_vars['DOCUMENT_FIELD_NAME']->value;?>
|
||||
" <?php if (in_array($_smarty_tpl->tpl_vars['DOCUMENT_FIELD_NAME']->value,$_smarty_tpl->tpl_vars['RELATED_DOCUMENTS_FIELDS']->value)){?>selected="selected"<?php }?>><?php echo $_smarty_tpl->tpl_vars['DOCUMENT_FIELD_LABEL']->value;?>
|
||||
</option><?php } ?><?php $_smarty_tpl->tpl_vars['RelMod'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['RelMod']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['RELATED_MODULES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['RelMod']->key => $_smarty_tpl->tpl_vars['RelMod']->value){
|
||||
$_smarty_tpl->tpl_vars['RelMod']->_loop = true;
|
||||
?><?php $_smarty_tpl->tpl_vars['RELATED_DOCUMENTS_FIELD'] = new Smarty_variable(implode('|',array($_smarty_tpl->tpl_vars['RelMod']->value[3],$_smarty_tpl->tpl_vars['RelMod']->value[0])), null, 0);?><option value="<?php echo $_smarty_tpl->tpl_vars['RELATED_DOCUMENTS_FIELD']->value;?>
|
||||
" <?php if (in_array($_smarty_tpl->tpl_vars['RELATED_DOCUMENTS_FIELD']->value,$_smarty_tpl->tpl_vars['RELATED_DOCUMENTS_FIELDS']->value)){?>selected="selected"<?php }?> data-module="<?php echo $_smarty_tpl->tpl_vars['RelMod']->value[3];?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['RelMod']->value[1];?>
|
||||
(<?php echo $_smarty_tpl->tpl_vars['RelMod']->value[2];?>
|
||||
)</option><?php } ?></select></div></div><?php }?></div></div><?php }} ?>
|
||||
@@ -0,0 +1,92 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-14 09:16:04
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/QuickCreate.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:21388253036916c92424caa5-28737338%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'92765593760037e20b881518f641f3ff487e5c3e' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/QuickCreate.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '21388253036916c92424caa5-28737338',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'SCRIPTS' => 0,
|
||||
'jsModel' => 0,
|
||||
'MODULE' => 0,
|
||||
'SINGLE_MODULE' => 0,
|
||||
'HEADER_TITLE' => 0,
|
||||
'PICKIST_DEPENDENCY_DATASOURCE' => 0,
|
||||
'PICKIST_DEPENDENCY_DATASOURCE_EVENT' => 0,
|
||||
'RECORD_STRUCTURE' => 0,
|
||||
'FIELD_MODEL' => 0,
|
||||
'referenceList' => 0,
|
||||
'COUNTER' => 0,
|
||||
'isReferenceField' => 0,
|
||||
'referenceListCount' => 0,
|
||||
'DISPLAYID' => 0,
|
||||
'REFERENCED_MODULE_STRUCT' => 0,
|
||||
'value' => 0,
|
||||
'REFERENCED_MODULE_NAME' => 0,
|
||||
'TAXCLASS_DETAILS' => 0,
|
||||
'taxCount' => 0,
|
||||
'BUTTON_NAME' => 0,
|
||||
'MODULE_MODEL' => 0,
|
||||
'EDIT_VIEW_URL' => 0,
|
||||
'BUTTON_ID' => 0,
|
||||
'BUTTON_LABEL' => 0,
|
||||
'FIELDS_INFO' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6916c9242d596',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6916c9242d596')) {function content_6916c9242d596($_smarty_tpl) {?>
|
||||
|
||||
|
||||
<?php $_smarty_tpl->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;
|
||||
?><script type="<?php echo $_smarty_tpl->tpl_vars['jsModel']->value->getType();?>
|
||||
" src="<?php echo $_smarty_tpl->tpl_vars['jsModel']->value->getSrc();?>
|
||||
"></script><?php } ?><div class="modal-dialog modal-lg"><div class="modal-content"><form class="form-horizontal recordEditView" id="QuickCreate" name="QuickCreate" method="post" action="index.php"><?php ob_start();?><?php echo vtranslate('LBL_QUICK_CREATE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo vtranslate($_smarty_tpl->tpl_vars['SINGLE_MODULE']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['HEADER_TITLE'] = new Smarty_variable((($_tmp1).(" ")).($_tmp2), null, 0);?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModalHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('TITLE'=>$_smarty_tpl->tpl_vars['HEADER_TITLE']->value), 0);?>
|
||||
<div class="modal-body"><?php if (!empty($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE']->value)){?><input type="hidden" name="picklistDependency" value='<?php echo Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE']->value);?>
|
||||
' /><?php }?><?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Events'){?><input type="hidden" name="calendarModule" value="Events"><?php if (!empty($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE_EVENT']->value)){?><input type="hidden" name="picklistDependency" value='<?php echo Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKIST_DEPENDENCY_DATASOURCE_EVENT']->value);?>
|
||||
' /><?php }?><?php }?><?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Events'){?><input type="hidden" name="module" value="Calendar"><?php }else{ ?><input type="hidden" name="module" value="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
"><?php }?><input type="hidden" name="action" value="SaveAjax"><div class="quickCreateContent"><table class="massEditTable table no-border"><tr><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(0, null, 0);?><?php $_smarty_tpl->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['RECORD_STRUCTURE']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
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;
|
||||
?><?php $_smarty_tpl->tpl_vars["isReferenceField"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType(), null, 0);?><?php $_smarty_tpl->tpl_vars["referenceList"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getReferenceList(), null, 0);?><?php $_smarty_tpl->tpl_vars["referenceListCount"] = new Smarty_variable(count($_smarty_tpl->tpl_vars['referenceList']->value), null, 0);?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=="19"){?><?php if ($_smarty_tpl->tpl_vars['COUNTER']->value=='1'){?><td></td><td></td></tr><tr><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(0, null, 0);?><?php }?><?php }?><?php if ($_smarty_tpl->tpl_vars['COUNTER']->value==2){?></tr><tr><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(1, null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable($_smarty_tpl->tpl_vars['COUNTER']->value+1, null, 0);?><?php }?><td class='fieldLabel col-lg-2'><?php if ($_smarty_tpl->tpl_vars['isReferenceField']->value!="reference"){?><label class="muted pull-right"><?php }?><?php if ($_smarty_tpl->tpl_vars['isReferenceField']->value=="reference"){?><?php if ($_smarty_tpl->tpl_vars['referenceListCount']->value>1){?><?php $_smarty_tpl->tpl_vars["DISPLAYID"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'), null, 0);?><?php $_smarty_tpl->tpl_vars["REFERENCED_MODULE_STRUCT"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getReferenceModule($_smarty_tpl->tpl_vars['DISPLAYID']->value), null, 0);?><?php if (!empty($_smarty_tpl->tpl_vars['REFERENCED_MODULE_STRUCT']->value)){?><?php $_smarty_tpl->tpl_vars["REFERENCED_MODULE_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['REFERENCED_MODULE_STRUCT']->value->get('name'), null, 0);?><?php }?><span class="pull-right"><select style="width:150px;" class="select2 referenceModulesList <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?>reference-mandatory<?php }?>"><?php $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['value']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['index'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['referenceList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value){
|
||||
$_smarty_tpl->tpl_vars['value']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['index']->value = $_smarty_tpl->tpl_vars['value']->key;
|
||||
?><option value="<?php echo $_smarty_tpl->tpl_vars['value']->value;?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['value']->value==$_smarty_tpl->tpl_vars['REFERENCED_MODULE_NAME']->value){?> selected <?php }?> ><?php echo vtranslate($_smarty_tpl->tpl_vars['value']->value,$_smarty_tpl->tpl_vars['value']->value);?>
|
||||
</option><?php } ?></select></span><?php }else{ ?><label class="muted pull-right"><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?> <span class="redColor">*</span> <?php }?></label><?php }?><?php }elseif($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='83'){?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getTemplateName(),$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('COUNTER'=>$_smarty_tpl->tpl_vars['COUNTER']->value,'MODULE'=>$_smarty_tpl->tpl_vars['MODULE']->value,'PULL_RIGHT'=>true), 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['TAXCLASS_DETAILS']->value){?><?php $_smarty_tpl->tpl_vars['taxCount'] = new Smarty_variable(count($_smarty_tpl->tpl_vars['TAXCLASS_DETAILS']->value)%2, null, 0);?><?php if ($_smarty_tpl->tpl_vars['taxCount']->value==0){?><?php if ($_smarty_tpl->tpl_vars['COUNTER']->value==2){?><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(1, null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable(2, null, 0);?><?php }?><?php }?><?php }?><?php }else{ ?><?php echo vtranslate($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('label'),$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?> <span class="redColor">*</span> <?php }?><?php }?><?php if ($_smarty_tpl->tpl_vars['isReferenceField']->value!="reference"){?></label><?php }?></td><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')!='83'){?><td class="fieldValue col-lg-4" <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='19'){?> colspan="3" <?php $_smarty_tpl->tpl_vars['COUNTER'] = new Smarty_variable($_smarty_tpl->tpl_vars['COUNTER']->value+1, null, 0);?> <?php }?>><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getUITypeModel()->getTemplateName(),$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</td><?php }?><?php } ?></tr></table></div></div><div class="modal-footer"><center><?php if ($_smarty_tpl->tpl_vars['BUTTON_NAME']->value!=null){?><?php $_smarty_tpl->tpl_vars['BUTTON_LABEL'] = new Smarty_variable($_smarty_tpl->tpl_vars['BUTTON_NAME']->value, null, 0);?><?php }else{ ?><?php ob_start();?><?php echo vtranslate('LBL_SAVE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php $_tmp3=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['BUTTON_LABEL'] = new Smarty_variable($_tmp3, null, 0);?><?php }?><?php $_smarty_tpl->tpl_vars["EDIT_VIEW_URL"] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_MODEL']->value->getCreateRecordUrl(), null, 0);?><button class="btn btn-default" id="goToFullForm" data-edit-view-url="<?php echo $_smarty_tpl->tpl_vars['EDIT_VIEW_URL']->value;?>
|
||||
" type="button"><strong><?php echo vtranslate('LBL_GO_TO_FULL_FORM',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</strong></button><button <?php if ($_smarty_tpl->tpl_vars['BUTTON_ID']->value!=null){?> id="<?php echo $_smarty_tpl->tpl_vars['BUTTON_ID']->value;?>
|
||||
" <?php }?> class="btn btn-success" type="submit" name="saveButton"><strong><?php echo $_smarty_tpl->tpl_vars['BUTTON_LABEL']->value;?>
|
||||
</strong></button><a href="#" class="cancelLink" type="reset" data-dismiss="modal"><?php echo vtranslate('LBL_CANCEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></center></div></form></div><?php if ($_smarty_tpl->tpl_vars['FIELDS_INFO']->value!=null){?><script type="text/javascript">var quickcreate_uimeta = (function() {var fieldInfo = <?php echo $_smarty_tpl->tpl_vars['FIELDS_INFO']->value;?>
|
||||
;return {field: {get: function(name, property) {if(name && property === undefined) {return fieldInfo[name];}if(name && property) {return fieldInfo[name][property]}},isMandatory : function(name){if(fieldInfo[name]) {return fieldInfo[name].mandatory;}return false;},getType : function(name){if(fieldInfo[name]) {return fieldInfo[name].type}return false;}},};})();</script><?php }?></div><?php }} ?>
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-18 10:07:07
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Inventory/PopupContents.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1811944279691c1b1bd23e27-91901741%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'9293aee196086aa6314e69d438fe2986969d87e4' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Inventory/PopupContents.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1811944279691c1b1bd23e27-91901741',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_691c1b1bd557a',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_691c1b1bd557a')) {function content_691c1b1bd557a($_smarty_tpl) {?>
|
||||
|
||||
|
||||
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("PicklistColorMap.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<div class="row"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('PopupNavigation.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</div><div id='popupContentsDiv'><div class="row"><div class="col-md-12"><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("PopupEntries.tpl",$_smarty_tpl->tpl_vars['MODULE_NAME']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
</div></div></div>
|
||||
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,105 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-19 16:08:38
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/Statistic.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:1403167118691dc1561a6875-53832723%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'92cfed4d6eba8d6e75ed60a227ea5e4073e4b2af' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/Statistic.tpl',
|
||||
1 => 1761208151,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '1403167118691dc1561a6875-53832723',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'workflowData' => 0,
|
||||
'WorkflowObjectHTML' => 0,
|
||||
'html' => 0,
|
||||
'workflowID' => 0,
|
||||
'maxConnections' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_691dc1561b74c',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_691dc1561b74c')) {function content_691dc1561b74c($_smarty_tpl) {?><link rel="stylesheet" href="<?php echo @PATH_CONTEXTMENU;?>
|
||||
/src/jquery.contextMenu.css" type="text/css" media="all" />
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo @PATH_JQPLOT;?>
|
||||
/jquery.jqplot.min.css" />
|
||||
|
||||
<script type="text/javascript" src="<?php echo @PATH_CONTEXTMENU;?>
|
||||
/src/jquery.contextMenu.js"></script>
|
||||
|
||||
<script type="text/javascript" src="<?php echo @FILE_JSPLUMB;?>
|
||||
"></script>
|
||||
|
||||
<script src="<?php echo @PATH_CKEDITOR;?>
|
||||
/ckeditor.js"></script>
|
||||
<script type="text/javascript">
|
||||
CKEDITOR.disableAutoInline = true;
|
||||
</script>
|
||||
|
||||
<div style="height:1024px;width:100%;position:relative;" id="mainWfContainer" class="noselect">
|
||||
|
||||
<div style="position:absolute;width:100%;" id="WFTaskContainer" class="statisticContainer">
|
||||
<div id='rangeDisplayContainer' style=""></div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['workflowData']->value['module_name']==''){?>
|
||||
<div style="position:absolute;left: 50%;margin-left:-200px;top:200px;font-size:20px; color:#bbb;font-weight:bold;width:400px;"><?php echo vtranslate("Please choose a Main module!","Settings:Workflow2");?>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<div id="workflowDesignContainer" class="workflowDesignContainer noselect contentsDiv" style="<?php if ($_smarty_tpl->tpl_vars['workflowData']->value['module_name']==''){?>display:none;<?php }?>">
|
||||
<div id='mainModelWindow' style='position:absolute;top:0;left:0;width:100%;height:100%;background-image:url(modules/Workflow2/icons/modal_white.png);z-index:270;'>
|
||||
<div style="margin:150px auto;text-align:center;font-weight:bold;color:#aaa;font-size:18px;"><<?php ?>?php echo getTranslatedString("LOADING_INDICATOR", "Workflow2"); ?<?php ?>></div>
|
||||
</div>
|
||||
|
||||
<div style="position:absolute;width:100%;z-index:1000;" id='workflowObjectsContainer' class="noselect">
|
||||
<?php echo $_smarty_tpl->tpl_vars['WorkflowObjectHTML']->value;?>
|
||||
|
||||
<?php echo $_smarty_tpl->tpl_vars['html']->value;?>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var workflow_data = <?php if (isset($_smarty_tpl->tpl_vars['workflowData']->value)&&$_smarty_tpl->tpl_vars['workflowData']->value){?><?php echo json_encode($_smarty_tpl->tpl_vars['workflowData']->value);?>
|
||||
<?php }else{ ?>{}<?php }?>;
|
||||
var workflow_id = <?php echo $_smarty_tpl->tpl_vars['workflowID']->value;?>
|
||||
;
|
||||
var maxConnections = <?php echo $_smarty_tpl->tpl_vars['maxConnections']->value;?>
|
||||
;
|
||||
</script>
|
||||
|
||||
<div id='modalWindow' style='display:none;'></div>
|
||||
|
||||
<script type="text/javascript" src="<?php echo @PATH_JQPLOT;?>
|
||||
/jquery.jqplot.min.js"></script>
|
||||
<script type="text/javascript" src="<?php echo @PATH_JQPLOT;?>
|
||||
/plugins/jqplot.highlighter.min.js"></script>
|
||||
<script type="text/javascript" src="<?php echo @PATH_JQPLOT;?>
|
||||
/plugins/jqplot.cursor.min.js"></script>
|
||||
<script type="text/javascript" src="<?php echo @PATH_JQPLOT;?>
|
||||
/plugins/jqplot.dateAxisRenderer.min.js"></script>
|
||||
|
||||
<script type="text/javascript" src="<?php echo @PATH_JQPLOT;?>
|
||||
/plugins/jqplot.logAxisRenderer.min.js"></script>
|
||||
|
||||
<script type="text/javascript" src="<?php echo @PATH_JQPLOT;?>
|
||||
/plugins/jqplot.canvasTextRenderer.min.js"></script>
|
||||
<script type="text/javascript" src="<?php echo @PATH_JQPLOT;?>
|
||||
/plugins/jqplot.canvasAxisTickRenderer.min.js"></script>
|
||||
<script type="text/javascript" src="<?php echo @PATH_JQPLOT;?>
|
||||
/plugins/jqplot.canvasAxisLabelRenderer.min.js"></script>
|
||||
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,66 @@
|
||||
<?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/DetailViewPreProcess.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:12814943269205b77c5a418-77027753%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'957e12852d3bbc6dc4563418a3ef771824b671b4' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/DetailViewPreProcess.tpl',
|
||||
1 => 1715769019,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '12814943269205b77c5a418-77027753',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'RECORD' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69205b77c8e66',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69205b77c8e66')) {function content_69205b77c8e66($_smarty_tpl) {?>
|
||||
|
||||
<?php echo $_smarty_tpl->getSubTemplate ("modules/Vtiger/partials/Topbar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
|
||||
<div class="container-fluid app-nav">
|
||||
<div class="row">
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("partials/SidebarHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModuleHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<div id='overlayPageContent' class='fade modal overlayPageContent content-area overlay-container-60' tabindex='-1' role='dialog' aria-hidden='true'>
|
||||
<div class="data">
|
||||
</div>
|
||||
<div class="modal-dialog">
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-fluid main-container">
|
||||
<div class="row">
|
||||
<div id="modnavigator" class="module-nav detailViewModNavigator clearfix">
|
||||
<div class="hidden-xs hidden-sm mod-switcher-container">
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("partials/Menubar.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="detailViewContainer viewContent clearfix">
|
||||
<div class="col-sm-12 col-xs-12 content-area">
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("DetailViewHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
<div class="detailview-content container-fluid">
|
||||
<input id="recordId" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getId();?>
|
||||
"/>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModuleRelatedTabs.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
<div class="details row" style="margin-top:10px;">
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-13 11:00:09
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/EmailPreviewPrint.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:118477408269159009966866-95577495%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'a27ee8c301c5ffa8a533aba4a6366faa5c239707' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/EmailPreviewPrint.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '118477408269159009966866-95577495',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'RECORD' => 0,
|
||||
'TO_EMAILS' => 0,
|
||||
'TO_EMAIL' => 0,
|
||||
'USER_MODEL' => 0,
|
||||
'MODULE' => 0,
|
||||
'FROM' => 0,
|
||||
'TO' => 0,
|
||||
'CC' => 0,
|
||||
'BCC' => 0,
|
||||
'ATTACHMENT_DETAILS' => 0,
|
||||
'ATTACHMENT_DETAIL' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_691590099af8d',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_691590099af8d')) {function content_691590099af8d($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_replace')) include '/var/www/fastuser/data/www/crm.clientright.ru/libraries/Smarty/libs/plugins/modifier.replace.php';
|
||||
?>
|
||||
<!DOCTYPE><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body onLoad="javascript:window.print()" style="padding:3% 5%;"><?php $_smarty_tpl->tpl_vars["TO_EMAILS"] = new Smarty_variable(smarty_modifier_replace($_smarty_tpl->tpl_vars['RECORD']->value->get('saved_toid'),']',''), null, 0);?><?php $_smarty_tpl->tpl_vars["TO_EMAIL"] = new Smarty_variable(smarty_modifier_replace($_smarty_tpl->tpl_vars['TO_EMAILS']->value,'[',''), null, 0);?><?php $_smarty_tpl->tpl_vars["TO_EMAIL_VALUE"] = new Smarty_variable(smarty_modifier_replace($_smarty_tpl->tpl_vars['TO_EMAIL']->value,'"',''), null, 0);?><span style="position:absolute;right:6%;top:3%;font-family:'Lucida Grande';font-size:15px"><?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('first_name');?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('last_name');?>
|
||||
<<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('email1');?>
|
||||
></span><hr/><span style="font-family:'Lucida Grande';font-size:15px"><?php echo $_smarty_tpl->tpl_vars['RECORD']->value->get('subject');?>
|
||||
</span><hr/><div><div style="width:100%;text-align: right;font-family:'Lucida Grande';font-size:15px"><span><?php echo Vtiger_Util_Helper::formatDateTimeIntoDayString($_smarty_tpl->tpl_vars['RECORD']->value->get('createdtime'));?>
|
||||
</span></div></div><div><div style="float:left;width:10%;text-align: right;font-family:'Lucida Grande';font-size:15px"><?php echo vtranslate('LBL_FROM',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</div><div style="width:90%;text-align: left;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;"><?php echo $_smarty_tpl->tpl_vars['FROM']->value;?>
|
||||
</span></div><div class="clear-both"></div></div><div><div style="float:left;width:10%;text-align: right;font-family:'Lucida Grande';font-size:15px"><?php echo vtranslate('LBL_TO',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</div><div style="width:90%;text-align: left;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;font-family:'Lucida Grande';font-size:15px"><?php $_smarty_tpl->tpl_vars['TO_EMAILS'] = new Smarty_variable(implode(",",$_smarty_tpl->tpl_vars['TO']->value), null, 0);?><?php echo $_smarty_tpl->tpl_vars['TO_EMAILS']->value;?>
|
||||
</span></div><div class="clear-both"></div></div><?php if (!empty($_smarty_tpl->tpl_vars['CC']->value)){?><div><div style="float:left;width:10%;text-align: right;font-family:'Lucida Grande';font-size:15px"><?php echo vtranslate('LBL_CC',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</div><div style="width:90%;text-align: left;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;"><?php if (!empty($_smarty_tpl->tpl_vars['CC']->value)){?><?php echo $_smarty_tpl->tpl_vars['CC']->value;?>
|
||||
<?php }?></span></div><div class="clear-both"></div></div><?php }?><?php if (!empty($_smarty_tpl->tpl_vars['BCC']->value)){?><div><div style="float:left;width:10%;text-align: right;font-family:'Lucida Grande';font-size:15px"><?php echo vtranslate('LBL_BCC',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</div><div style="width:90%;text-align: left;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;"><?php if (!empty($_smarty_tpl->tpl_vars['BCC']->value)){?><?php echo $_smarty_tpl->tpl_vars['BCC']->value;?>
|
||||
<?php }?></span></div><div class="clear-both"></div></div><?php }?><div><div style="float:left;width:10%;text-align: right;font-family:'Lucida Grande';font-size:15px"><?php echo vtranslate('LBL_SUBJECT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</div><div style="width:90%;text-align: left;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;"><?php echo $_smarty_tpl->tpl_vars['RECORD']->value->get('subject');?>
|
||||
</span></div><div class="clear-both"></div></div><?php $_smarty_tpl->tpl_vars["ATTACHMENT_DETAILS"] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD']->value->getAttachmentDetails(), null, 0);?><?php if (!empty($_smarty_tpl->tpl_vars['ATTACHMENT_DETAILS']->value)){?><div><div style="float:left;width:10%;text-align: right;font-family:'Lucida Grande';font-size:15px"><?php echo vtranslate('LBL_ATTACHMENT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</div><div style="width:90%;text-align: left;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;"><?php $_smarty_tpl->tpl_vars['ATTACHMENT_DETAIL'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['ATTACHMENT_DETAIL']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['ATTACHMENT_DETAILS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['ATTACHMENT_DETAIL']->key => $_smarty_tpl->tpl_vars['ATTACHMENT_DETAIL']->value){
|
||||
$_smarty_tpl->tpl_vars['ATTACHMENT_DETAIL']->_loop = true;
|
||||
?><a href="javascript:void(0)"><?php echo $_smarty_tpl->tpl_vars['ATTACHMENT_DETAIL']->value['attachment'];?>
|
||||
</a> <?php } ?></span></div><div class="clear-both"></div></div><?php }?><div><div style="width:90%;text-align: left;margin-left:7%;font-family:'Lucida Grande';font-size:15px"><span style="margin-left:7%;"><?php echo decode_html($_smarty_tpl->tpl_vars['RECORD']->value->get('description'));?>
|
||||
</span></div><div class="clear-both"></div></div></body></html>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,74 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-21 15:30:37
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/ListViewPreProcess.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:51356927569205b6d148bc5-99338894%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'b5424c75c4eb874c1712879257537b04f8917700' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/ListViewPreProcess.tpl',
|
||||
1 => 1715769019,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '51356927569205b6d148bc5-99338894',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'LEFTPANELHIDE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69205b6d156cc',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69205b6d156cc')) {function content_69205b6d156cc($_smarty_tpl) {?>
|
||||
|
||||
<?php echo $_smarty_tpl->getSubTemplate ("modules/Vtiger/partials/Topbar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
|
||||
<div class="container-fluid app-nav">
|
||||
<div class="row">
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("partials/SidebarHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModuleHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<div id='overlayPageContent' class='fade modal overlayPageContent content-area overlay-container-60' tabindex='-1' role='dialog' aria-hidden='true'>
|
||||
<div class="data">
|
||||
</div>
|
||||
<div class="modal-dialog">
|
||||
</div>
|
||||
</div>
|
||||
<div class="main-container main-container-<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
">
|
||||
<?php $_smarty_tpl->tpl_vars['LEFTPANELHIDE'] = new Smarty_variable("1", null, 0);?>
|
||||
<div id="modnavigator" class="module-nav">
|
||||
<div class="hidden-xs hidden-sm mod-switcher-container">
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("partials/Menubar.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div id="sidebar-essentials" class="sidebar-essentials <?php if ($_smarty_tpl->tpl_vars['LEFTPANELHIDE']->value=='1'){?> hide <?php }?>">
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("partials/SidebarEssentials.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
<div class="listViewPageDiv content-area <?php if ($_smarty_tpl->tpl_vars['LEFTPANELHIDE']->value=='1'){?> full-width <?php }?>" id="listViewContent">
|
||||
<div class="clearfix padding15px">
|
||||
<?php if (!vtlib_isModuleActive('ITS4YouEmails')){?>
|
||||
<br>
|
||||
<div class="displayInlineBlock alert alert-danger"><?php echo vtranslate('LBL_INSTALL_ITS4YOUEMAIL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php if (!is_file('modules/ITS4YouLibrary/PHPMailer/src/PHPMailer.php')){?>
|
||||
<br>
|
||||
<div class="displayInlineBlock alert alert-danger"><?php echo vtranslate('LBL_INSTALL_PHPMAILER',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</div>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,57 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-21 15:31:08
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Other.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:69391552869205b8ce868e1-95078768%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'b995dfc499572adb0b76afa55277aa2ea0ca7ded' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Other.tpl',
|
||||
1 => 1715769019,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '69391552869205b8ce868e1-95078768',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'THEME_MODE' => 0,
|
||||
'IS_LISTVIEW_CHECKED' => 0,
|
||||
'MODULE' => 0,
|
||||
'LISTVIEW_BLOCK_TPL' => 0,
|
||||
'INVENTORYTERMSANDCONDITIONS' => 0,
|
||||
'DATE_VARS' => 0,
|
||||
'GENERAL_FIELDS' => 0,
|
||||
'CUSTOM_FUNCTIONS' => 0,
|
||||
'SIGNATURE_VARIABLES' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69205b8ce917f',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69205b8ce917f')) {function content_69205b8ce917f($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_options')) include '/var/www/fastuser/data/www/crm.clientright.ru/libraries/Smarty/libs/plugins/function.html_options.php';
|
||||
?>
|
||||
<div class="tab-pane" id="pdfContentOther"><div class="edit-template-content col-lg-4" style="position:fixed;z-index:1000;"><br/><div class="form-group" id="listview_block_tpl_row"><?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value!="true"){?><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><input type="checkbox" name="is_listview" id="isListViewTmpl" <?php if ($_smarty_tpl->tpl_vars['IS_LISTVIEW_CHECKED']->value=="yes"){?>checked="checked"<?php }?> onclick="EMAILMaker_EditJs.isLvTmplClicked();" title="<?php echo vtranslate('LBL_LISTVIEW_TEMPLATE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"/> <?php echo vtranslate('LBL_LISTVIEWBLOCK',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><div class="input-group"><select name="listviewblocktpl" id="listviewblocktpl" class="select2 form-control" <?php if ($_smarty_tpl->tpl_vars['IS_LISTVIEW_CHECKED']->value!="yes"){?>disabled<?php }?>><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['LISTVIEW_BLOCK_TPL']->value),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" id="listviewblocktpl_butt" class="btn btn-success InsertIntoTemplate" data-type="listviewblocktpl" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['IS_LISTVIEW_CHECKED']->value!="yes"){?>disabled<?php }?>><i class="fa fa-usd"></i></button></div></div></div></div><?php }?><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('TERMS_AND_CONDITIONS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><div class="input-group"><select name="invterandcon" id="invterandcon" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['INVENTORYTERMSANDCONDITIONS']->value),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="invterandcon" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_CURRENT_DATE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><div class="input-group"><select name="dateval" id="dateval" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['DATE_VARS']->value),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="dateval" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_GENERAL_FIELDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><div class="input-group"><select name="general_fields" id="general_fields" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['GENERAL_FIELDS']->value),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="general_fields" title="<?php echo vtranslate('LBL_INSERT_VARIABLE_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button></div></div></div></div><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('CUSTOM_FUNCTIONS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
: <select name="custom_function_type" id="custom_function_type" class="select2"><option value="before"><?php echo vtranslate('LBL_BEFORE','EMAILMaker');?>
|
||||
</option><option value="after"><?php echo vtranslate('LBL_AFTER','EMAILMaker');?>
|
||||
</option></select></label><div class="controls col-sm-9"><div class="input-group"><select name="customfunction" id="customfunction" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['CUSTOM_FUNCTIONS']->value),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="customfunction" title="<?php echo vtranslate('LBL_INSERT_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button></div></div></div></div><?php if (!empty($_smarty_tpl->tpl_vars['SIGNATURE_VARIABLES']->value)){?><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('SIGNATURE_VARIABLES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><div class="input-group"><select name="customfunction" id="signature_variables" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SIGNATURE_VARIABLES']->value),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-success InsertIntoTemplate" data-type="signature_variables" title="<?php echo vtranslate('LBL_INSERT_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-usd"></i></button></div></div></div></div><?php }?></div></div></div><?php }} ?>
|
||||
@@ -0,0 +1,54 @@
|
||||
<?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 }} ?>
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-21 15:33:16
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouEmails/ListViewPreProcess.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:28514747169205c0ccff0e5-88697911%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'c0860fc607b83f1e8d09b6a5ad91b6858a15a9d2' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/ITS4YouEmails/ListViewPreProcess.tpl',
|
||||
1 => 1738401449,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '28514747169205c0ccff0e5-88697911',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69205c0cd036d',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69205c0cd036d')) {function content_69205c0cd036d($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('ListViewPreProcess.tpl','Vtiger'), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
<?php if (!ITS4YouEmails_Module_Model::isPHPMailerInstalled()){?>
|
||||
<div class="padding15px">
|
||||
<div class="displayInlineBlock alert alert-danger"><?php echo vtranslate('LBL_INSTALL_PHPMAILER',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
<?php if (!ITS4YouEmails_Module_Model::isSendMailConfigured()){?>
|
||||
<div class="padding15px">
|
||||
<div class="displayInlineBlock alert alert-danger">
|
||||
<?php echo vtranslate('LBL_REQUIRED_SENDMAIL_FIX',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
|
||||
<br>
|
||||
<br>
|
||||
<pre>$ITS4YouEmails_Mailer = '<?php echo vglobal('Emails_Mailer');?>
|
||||
';</pre>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?><?php }} ?>
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-14 09:13:12
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Salutation.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:15780852966916c878079d92-46114304%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'cbc72f17f486f0ab5f1a43be1d5d2c1ce8029eb3' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Salutation.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '15780852966916c878079d92-46114304',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'SALUTATION_FIELD_MODEL' => 0,
|
||||
'MODULE' => 0,
|
||||
'PICKLIST_VALUES' => 0,
|
||||
'PICKLIST_NAME' => 0,
|
||||
'PICKLIST_VALUE' => 0,
|
||||
'FIELD_MODEL' => 0,
|
||||
'FIELD_NAME' => 0,
|
||||
'SPECIAL_VALIDATOR' => 0,
|
||||
'FIELD_INFO' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6916c87808c0b',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6916c87808c0b')) {function content_6916c87808c0b($_smarty_tpl) {?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['SALUTATION_FIELD_MODEL']->value){?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUES'] = new Smarty_variable($_smarty_tpl->tpl_vars['SALUTATION_FIELD_MODEL']->value->getEditablePicklistValues(), null, 0);?><?php $_smarty_tpl->tpl_vars["SALUTATION_VALIDATOR"] = new Smarty_variable($_smarty_tpl->tpl_vars['SALUTATION_FIELD_MODEL']->value->getValidator(), null, 0);?><select class="inputElement select2" style="width:78px;" name="<?php echo $_smarty_tpl->tpl_vars['SALUTATION_FIELD_MODEL']->value->get('name');?>
|
||||
" ><?php if ($_smarty_tpl->tpl_vars['SALUTATION_FIELD_MODEL']->value->isEmptyPicklistOptionAllowed()){?><option value=""><?php echo vtranslate('LBL_NONE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</option><?php }?><?php $_smarty_tpl->tpl_vars['PICKLIST_VALUE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_NAME'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['PICKLIST_VALUES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key => $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value){
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_VALUE']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_NAME']->value = $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->key;
|
||||
?><option value="<?php echo Vtiger_Util_Helper::toSafeHTML($_smarty_tpl->tpl_vars['PICKLIST_NAME']->value);?>
|
||||
" <?php if (trim(decode_html($_smarty_tpl->tpl_vars['SALUTATION_FIELD_MODEL']->value->get('fieldvalue')))==trim($_smarty_tpl->tpl_vars['PICKLIST_NAME']->value)){?> selected <?php }?>><?php echo $_smarty_tpl->tpl_vars['PICKLIST_VALUE']->value;?>
|
||||
</option><?php } ?></select> <?php }?><?php $_smarty_tpl->tpl_vars["SPECIAL_VALIDATOR"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getValidator(), null, 0);?><?php $_smarty_tpl->tpl_vars["FIELD_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('name'), null, 0);?><?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo(), null, 0);?><input id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_editView_fieldName_<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" type="text" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName();?>
|
||||
" value="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue');?>
|
||||
"class="inputElement <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isNameField()){?>nameField<?php }?>"<?php if ($_smarty_tpl->tpl_vars['SALUTATION_FIELD_MODEL']->value){?> style="width:120px;" <?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='3'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='4'){?> readonly <?php }?> <?php if (!empty($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value)){?>data-validator='<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value);?>
|
||||
'<?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_INFO']->value["mandatory"]==true){?> data-rule-required="true" <?php }?><?php if (count($_smarty_tpl->tpl_vars['FIELD_INFO']->value['validator'])){?>data-specific-rules='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['FIELD_INFO']->value["validator"]);?>
|
||||
'<?php }?>/><?php }} ?>
|
||||
@@ -0,0 +1,58 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-14 09:13:12
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Image.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:15458187486916c87818d252-04569761%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'cc64123b49b8a199dacedc602f24ca80c4eccdb9' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Image.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '15458187486916c87818d252-04569761',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'IMAGE_DETAILS' => 0,
|
||||
'RECORD_STRUCTURE_MODEL' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
'FIELD_MODEL' => 0,
|
||||
'MODULE' => 0,
|
||||
'FIELD_INFO' => 0,
|
||||
'SPECIAL_VALIDATOR' => 0,
|
||||
'IS_EXTERNAL_LOCATION_TYPE' => 0,
|
||||
'FIELD_VALUE' => 0,
|
||||
'IMAGE_INFO' => 0,
|
||||
'ITER' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6916c87819dbc',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6916c87819dbc')) {function content_6916c87819dbc($_smarty_tpl) {?>
|
||||
|
||||
<?php if (!is_array($_smarty_tpl->tpl_vars['IMAGE_DETAILS']->value)){?><?php $_smarty_tpl->tpl_vars['IMAGE_DETAILS'] = new Smarty_variable($_smarty_tpl->tpl_vars['RECORD_STRUCTURE_MODEL']->value->getRecord()->getImageDetails(), null, 0);?><?php }?><?php if ($_smarty_tpl->tpl_vars['MODULE_NAME']->value=='Webforms'){?><input type="text" readonly="" /><?php }else{ ?><?php $_smarty_tpl->tpl_vars["SPECIAL_VALIDATOR"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getValidator(), null, 0);?><?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo(), null, 0);?><div class="fileUploadContainer text-left"><div class="fileUploadBtn btn btn-primary"><span><i class="fa fa-laptop"></i> <?php echo vtranslate('LBL_UPLOAD',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</span><input type="file" class="inputElement <?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Products'){?>multi max-6<?php }?> <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue')&&$_smarty_tpl->tpl_vars['FIELD_INFO']->value["mandatory"]==true){?> ignore-validation <?php }?>" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName();?>
|
||||
[]" value="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue');?>
|
||||
"<?php if (!empty($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value)){?>data-validator="<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value);?>
|
||||
"<?php }?><?php if ($_smarty_tpl->tpl_vars['FIELD_INFO']->value["mandatory"]==true){?> data-rule-required="true" <?php }?><?php if (count($_smarty_tpl->tpl_vars['FIELD_INFO']->value['validator'])){?>data-specific-rules='<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['FIELD_INFO']->value["validator"]);?>
|
||||
'<?php }?> /></div><div class="uploadedFileDetails <?php if ($_smarty_tpl->tpl_vars['IS_EXTERNAL_LOCATION_TYPE']->value){?>hide<?php }?>"><div class="uploadedFileSize"></div><div class="uploadedFileName"><?php if (!empty($_smarty_tpl->tpl_vars['FIELD_VALUE']->value)&&!$_REQUEST['isDuplicate']){?>[<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getDisplayValue($_smarty_tpl->tpl_vars['FIELD_VALUE']->value);?>
|
||||
]<?php }?></div></div></div><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType()=='image'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldDataType()=='file'){?><?php if ($_smarty_tpl->tpl_vars['MODULE']->value!='Products'){?><div class='redColor'><?php echo vtranslate('LBL_NOTE_EXISTING_ATTACHMENTS_WILL_BE_REPLACED',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</div><?php }?><?php }?><?php if ($_smarty_tpl->tpl_vars['MODULE']->value=='Products'){?><div id="MultiFile1_wrap_list" class="MultiFile-list"></div><?php }?><?php $_smarty_tpl->tpl_vars['IMAGE_INFO'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['IMAGE_INFO']->_loop = false;
|
||||
$_smarty_tpl->tpl_vars['ITER'] = new Smarty_Variable;
|
||||
$_from = $_smarty_tpl->tpl_vars['IMAGE_DETAILS']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['IMAGE_INFO']->key => $_smarty_tpl->tpl_vars['IMAGE_INFO']->value){
|
||||
$_smarty_tpl->tpl_vars['IMAGE_INFO']->_loop = true;
|
||||
$_smarty_tpl->tpl_vars['ITER']->value = $_smarty_tpl->tpl_vars['IMAGE_INFO']->key;
|
||||
?><div class="row" style="margin-top:5px;"><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['IMAGE_INFO']->value['orgname'];?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php if (!empty($_smarty_tpl->tpl_vars['IMAGE_INFO']->value['path'])&&!empty($_tmp1)){?><span class="col-lg-6" name="existingImages"><img src="<?php echo $_smarty_tpl->tpl_vars['IMAGE_INFO']->value['path'];?>
|
||||
_<?php echo $_smarty_tpl->tpl_vars['IMAGE_INFO']->value['orgname'];?>
|
||||
" data-image-id="<?php echo $_smarty_tpl->tpl_vars['IMAGE_INFO']->value['id'];?>
|
||||
" width="400" height="250" ></span><span class="col-lg-3"><span class="row"><span class="col-lg-11">[<?php echo $_smarty_tpl->tpl_vars['IMAGE_INFO']->value['name'];?>
|
||||
]</span><span class="col-lg-1"><input type="button" id="file_<?php echo $_smarty_tpl->tpl_vars['ITER']->value;?>
|
||||
" value="<?php echo vtranslate('LBL_DELETE','Vtiger');?>
|
||||
" class="imageDelete"></span></span></span><?php }?></div><?php } ?><?php }?><?php }} ?>
|
||||
@@ -0,0 +1,73 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-15 14:43:36
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Picklist/Index.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:60668964569186768a9b1c2-04042385%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'cf158c9bf8cdd0d297d03fae1ba728dbca33d353' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Picklist/Index.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '60668964569186768a9b1c2-04042385',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'QUALIFIED_MODULE' => 0,
|
||||
'PICKLIST_MODULES' => 0,
|
||||
'SELECTED_MODULE_NAME' => 0,
|
||||
'PICKLIST_MODULE' => 0,
|
||||
'NO_PICKLIST_FIELDS' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69186768ae984',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69186768ae984')) {function content_69186768ae984($_smarty_tpl) {?>
|
||||
|
||||
|
||||
|
||||
<div class="listViewPageDiv detailViewContainer " id="listViewContent">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 form-horizontal" >
|
||||
<br>
|
||||
<div class="detailViewInfo">
|
||||
<div class="row form-group"><div class="col-lg-3 col-md-3 col-sm-3 control-label fieldLabel">
|
||||
<label class="fieldLabel "><?php echo vtranslate('LBL_SELECT_MODULE',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</label>
|
||||
</div>
|
||||
<div class="fieldValue col-sm-3 col-xs-3">
|
||||
<select class="select2 inputElement" id="pickListModules" name="pickListModules">
|
||||
<option value=""><?php echo vtranslate('LBL_SELECT_OPTION',$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value);?>
|
||||
</option>
|
||||
<?php $_smarty_tpl->tpl_vars['PICKLIST_MODULE'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['PICKLIST_MODULE']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['PICKLIST_MODULES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['PICKLIST_MODULE']->key => $_smarty_tpl->tpl_vars['PICKLIST_MODULE']->value){
|
||||
$_smarty_tpl->tpl_vars['PICKLIST_MODULE']->_loop = true;
|
||||
?>
|
||||
<option <?php if ($_smarty_tpl->tpl_vars['SELECTED_MODULE_NAME']->value==$_smarty_tpl->tpl_vars['PICKLIST_MODULE']->value->get('name')){?> selected="" <?php }?> value="<?php echo $_smarty_tpl->tpl_vars['PICKLIST_MODULE']->value->get('name');?>
|
||||
"><?php echo vtranslate($_smarty_tpl->tpl_vars['PICKLIST_MODULE']->value->get('name'),$_smarty_tpl->tpl_vars['PICKLIST_MODULE']->value->get('name'));?>
|
||||
</option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="modulePickListContainer">
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModulePickListDetail.tpl",$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
<br>
|
||||
<div id="modulePickListValuesContainer">
|
||||
<?php if (empty($_smarty_tpl->tpl_vars['NO_PICKLIST_FIELDS']->value)){?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("PickListValueDetail.tpl",$_smarty_tpl->tpl_vars['QUALIFIED_MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div><?php }} ?>
|
||||
@@ -0,0 +1,46 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-14 09:13:12
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Contacts/uitypes/Text.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:16625367156916c8780aa4c1-38910540%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'd7de7c851b7851dcbc28a57af474cf00abe6c9f1' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Contacts/uitypes/Text.tpl',
|
||||
1 => 1711810495,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '16625367156916c8780aa4c1-38910540',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'FIELD_MODEL' => 0,
|
||||
'MODULE' => 0,
|
||||
'FIELD_NAME' => 0,
|
||||
'FIELD_INFO' => 0,
|
||||
'SPECIAL_VALIDATOR' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6916c8780bbc9',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6916c8780bbc9')) {function content_6916c8780bbc9($_smarty_tpl) {?>
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable(Zend_Json::encode($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo()), null, 0);?><?php $_smarty_tpl->tpl_vars["SPECIAL_VALIDATOR"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getValidator(), null, 0);?><?php $_smarty_tpl->tpl_vars["FIELD_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName(), null, 0);?><?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='19'||$_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('uitype')=='20'){?><textarea rows="3" id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_editView_fieldName_<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" class="inputElement textAreaElement col-lg-12 <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isNameField()){?>nameField<?php }?> <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isCKEEnabled()){?>sp_cke_field<?php }?>" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['FIELD_NAME']->value=="notecontent"){?>id="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
"<?php }?> data-validation-engine="validate[<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?>required,<?php }?>funcCall[Vtiger_Base_Validator_Js.invokeValidation]]" data-fieldinfo='<?php echo $_smarty_tpl->tpl_vars['FIELD_INFO']->value;?>
|
||||
' <?php if (!empty($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value)){?>data-validator=<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value);?>
|
||||
<?php }?>><?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue');?>
|
||||
</textarea><?php }else{ ?><textarea rows="5" class="inputElement <?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isNameField()){?>nameField<?php }?>" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" data-validation-engine="validate[<?php if ($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->isMandatory()==true){?>required,<?php }?>funcCall[Vtiger_Base_Validator_Js.invokeValidation]]" data-fieldinfo='<?php echo $_smarty_tpl->tpl_vars['FIELD_INFO']->value;?>
|
||||
' <?php if (!empty($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value)){?>data-validator=<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value);?>
|
||||
<?php }?>><?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue');?>
|
||||
</textarea><?php if ($_smarty_tpl->tpl_vars['MODULE_NAME']->value!='Webforms'&&$_REQUEST['view']!='Detail'){?><?php if ($_smarty_tpl->tpl_vars['FIELD_NAME']->value=="mailingstreet"){?><div><a class="cursorPointer" name="copyAddress" data-target="other"><?php echo vtranslate('LBL_COPY_OTHER_ADDRESS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></div><?php }elseif($_smarty_tpl->tpl_vars['FIELD_NAME']->value=="otherstreet"){?><div><a class="cursorPointer" name="copyAddress" data-target="mailing"><?php echo vtranslate('LBL_COPY_MAILING_ADDRESS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></div><?php }?><?php }?><?php }?><?php }} ?>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-21 15:31:08
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Labels.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:75162652369205b8ce947a1-37573614%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'e0e6777a93492afe3960f16fd39f3d19b3516493' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/tabs/Labels.tpl',
|
||||
1 => 1715769019,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '75162652369205b8ce947a1-37573614',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'GLOBAL_LANG_LABELS' => 0,
|
||||
'THEME_MODE' => 0,
|
||||
'MODULE_LANG_LABELS' => 0,
|
||||
'CUSTOM_LANG_LABELS' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69205b8ce990a',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69205b8ce990a')) {function content_69205b8ce990a($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_options')) include '/var/www/fastuser/data/www/crm.clientright.ru/libraries/Smarty/libs/plugins/function.html_options.php';
|
||||
?>
|
||||
<div class="tab-pane" id="pdfContentLabels"><div class="edit-template-content col-lg-4" style="position:fixed;z-index:1000;"><br><div id="labels_div"><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_GLOBAL_LANG',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><div class="input-group"><select name="global_lang" id="global_lang" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['GLOBAL_LANG_LABELS']->value),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-warning InsertIntoTemplate" data-type="global_lang" title="<?php echo vtranslate('LBL_INSERT_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-text-width"></i></button></div></div></div></div><?php if ($_smarty_tpl->tpl_vars['THEME_MODE']->value!="true"){?><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_MODULE_LANG',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><div class="input-group"><select name="module_lang" id="module_lang" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['MODULE_LANG_LABELS']->value),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-warning InsertIntoTemplate" data-type="module_lang" title="<?php echo vtranslate('LBL_INSERT_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-text-width"></i></button></div></div></div></div><?php }?><div class="form-group"><label class="control-label fieldLabel col-sm-3" style="font-weight: normal"><?php echo vtranslate('LBL_CUSTOM_LABELS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</label><div class="controls col-sm-9"><div class="input-group"><select name="custom_lang" id="custom_lang" class="select2 form-control"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['CUSTOM_LANG_LABELS']->value),$_smarty_tpl);?>
|
||||
</select><div class="input-group-btn"><button type="button" class="btn btn-warning InsertIntoTemplate" data-type="custom_lang" title="<?php echo vtranslate('LBL_INSERT_TO_TEXT',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><i class="fa fa-text-width"></i></button></div></div></div></div></div></div></div><?php }} ?>
|
||||
@@ -0,0 +1,126 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-21 15:30:37
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/ListEMAILTemplatesContents.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:213467361769205b6d2846a5-80048720%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'e90f1cd143bd54a42c3a07743aeb6e453d415cd4' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/ListEMAILTemplatesContents.tpl',
|
||||
1 => 1715769019,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '213467361769205b6d2846a5-80048720',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'DIR' => 0,
|
||||
'ORDERBY' => 0,
|
||||
'MODULE' => 0,
|
||||
'SEARCH_DETAILS' => 0,
|
||||
'LISTVIEW_ENTRIES_COUNT' => 0,
|
||||
'name_dir' => 0,
|
||||
'dir_img' => 0,
|
||||
'customsort_img' => 0,
|
||||
'module_dir' => 0,
|
||||
'category_dir' => 0,
|
||||
'description_dir' => 0,
|
||||
'sharingtype_dir' => 0,
|
||||
'SEARCH_TEMPLATENAMEVAL' => 0,
|
||||
'SEARCHSELECTBOXDATA' => 0,
|
||||
'SEARCH_FORMODULEVAL' => 0,
|
||||
'SEARCH_CATEGORYVAL' => 0,
|
||||
'SEARCH_DESCRIPTIONVAL' => 0,
|
||||
'SHARINGTYPES' => 0,
|
||||
'SEARCH_SHARINGTYPEVAL' => 0,
|
||||
'SEARCH_OWNERVAL' => 0,
|
||||
'STATUSOPTIONS' => 0,
|
||||
'SEARCH_STATUSVAL' => 0,
|
||||
'EMAILTEMPLATES' => 0,
|
||||
'template' => 0,
|
||||
'SELECTED_MENU_CATEGORY' => 0,
|
||||
'VERSION_TYPE' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69205b6d2bad5',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69205b6d2bad5')) {function content_69205b6d2bad5($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_options')) include '/var/www/fastuser/data/www/crm.clientright.ru/libraries/Smarty/libs/plugins/function.html_options.php';
|
||||
?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['DIR']->value=='ASC'){?><?php $_smarty_tpl->tpl_vars['dir_img'] = new Smarty_variable('<i class="fa fa-sort fa-sort-asc"></i>', null, 0);?><?php }else{ ?><?php $_smarty_tpl->tpl_vars['dir_img'] = new Smarty_variable('<i class="fa fa-sort fa-sort-desc"></i>', null, 0);?><?php }?><?php $_smarty_tpl->tpl_vars['customsort_img'] = new Smarty_variable('<i class="fa fa-sort customsort"></i>', null, 0);?><?php $_smarty_tpl->tpl_vars['name_dir'] = new Smarty_variable('ASC', null, 0);?><?php $_smarty_tpl->tpl_vars['module_dir'] = new Smarty_variable('ASC', null, 0);?><?php $_smarty_tpl->tpl_vars['description_dir'] = new Smarty_variable('ASC', null, 0);?><?php $_smarty_tpl->tpl_vars['order_dir'] = new Smarty_variable('ASC', null, 0);?><?php $_smarty_tpl->tpl_vars['sharingtype_dir'] = new Smarty_variable('ASC', null, 0);?><?php $_smarty_tpl->tpl_vars['category_dir'] = new Smarty_variable('ASC', null, 0);?><?php if ($_smarty_tpl->tpl_vars['ORDERBY']->value=='templatename'&&$_smarty_tpl->tpl_vars['DIR']->value=='ASC'){?><?php $_smarty_tpl->tpl_vars['name_dir'] = new Smarty_variable('DESC', null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['ORDERBY']->value=='module'&&$_smarty_tpl->tpl_vars['DIR']->value=='ASC'){?><?php $_smarty_tpl->tpl_vars['module_dir'] = new Smarty_variable('DESC', null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['ORDERBY']->value=='description'&&$_smarty_tpl->tpl_vars['DIR']->value=='ASC'){?><?php $_smarty_tpl->tpl_vars['description_dir'] = new Smarty_variable('DESC', null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['ORDERBY']->value=='order'&&$_smarty_tpl->tpl_vars['DIR']->value=='ASC'){?><?php $_smarty_tpl->tpl_vars['order_dir'] = new Smarty_variable('DESC', null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['ORDERBY']->value=='sharingtype'&&$_smarty_tpl->tpl_vars['DIR']->value=='ASC'){?><?php $_smarty_tpl->tpl_vars['sharingtype_dir'] = new Smarty_variable('DESC', null, 0);?><?php }elseif($_smarty_tpl->tpl_vars['ORDERBY']->value=='category'&&$_smarty_tpl->tpl_vars['DIR']->value=='ASC'){?><?php $_smarty_tpl->tpl_vars['category_dir'] = new Smarty_variable('DESC', null, 0);?><?php }?><div class="col-sm-12 col-xs-12 "><input type="hidden" name="idlist"><input type="hidden" name="module" value="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
"><input type="hidden" name="parenttab" value="Tools"><input type="hidden" name="view" value="List"><input type="hidden" name="cvid" value="1"/><input type="hidden" name="action" value=""><input type="hidden" name="orderBy" id="orderBy" value="<?php echo $_smarty_tpl->tpl_vars['ORDERBY']->value;?>
|
||||
"><input type="hidden" name="sortOrder" id="sortOrder" value="<?php echo $_smarty_tpl->tpl_vars['DIR']->value;?>
|
||||
"><input type="hidden" name="currentSearchParams" value="<?php echo Vtiger_Util_Helper::toSafeHTML(Zend_JSON::encode($_smarty_tpl->tpl_vars['SEARCH_DETAILS']->value));?>
|
||||
" id="currentSearchParams"/><?php echo $_smarty_tpl->getSubTemplate (vtemplate_path('ListEMAILActions.tpl',$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
<div id="table-content" class="table-container" style="overflow: auto;"><form name='list' id='listedit' action='' onsubmit="return false;"><table id="listview-table" class="table <?php if ($_smarty_tpl->tpl_vars['LISTVIEW_ENTRIES_COUNT']->value=='0'){?>listview-table-norecords <?php }?> listview-table"><thead><tr class="listViewContentHeader"><th><div class="table-actions"><div class="dropdown" style="float:left;"><span class="input dropdown-toggle" data-toggle="dropdown" title="<?php echo vtranslate('LBL_CLICK_HERE_TO_SELECT_ALL_RECORDS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"><input class="listViewEntriesMainCheckBox" type="checkbox"></span></div></div></th><th nowrap="nowrap"><a href="#" data-columnname="name" data-nextsortorderval="<?php echo $_smarty_tpl->tpl_vars['name_dir']->value;?>
|
||||
" class="listViewContentHeaderValues"><?php if ($_smarty_tpl->tpl_vars['ORDERBY']->value=='templatename'){?><?php echo $_smarty_tpl->tpl_vars['dir_img']->value;?>
|
||||
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['customsort_img']->value;?>
|
||||
<?php }?> <?php echo vtranslate('LBL_EMAIL_NAME',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></th><th nowrap="nowrap"><a href="#" data-columnname="module" data-nextsortorderval="<?php echo $_smarty_tpl->tpl_vars['module_dir']->value;?>
|
||||
" class="listViewContentHeaderValues"><?php if ($_smarty_tpl->tpl_vars['ORDERBY']->value=='module'){?><?php echo $_smarty_tpl->tpl_vars['dir_img']->value;?>
|
||||
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['customsort_img']->value;?>
|
||||
<?php }?> <?php echo vtranslate('LBL_MODULENAMES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></th><th nowrap="nowrap"><a href="#" data-columnname="category" data-nextsortorderval="<?php echo $_smarty_tpl->tpl_vars['category_dir']->value;?>
|
||||
" class="listViewContentHeaderValues"><?php if ($_smarty_tpl->tpl_vars['ORDERBY']->value=='category'){?><?php echo $_smarty_tpl->tpl_vars['dir_img']->value;?>
|
||||
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['customsort_img']->value;?>
|
||||
<?php }?> <?php echo vtranslate('LBL_CATEGORY',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></th><th nowrap="nowrap"><a href="#" data-columnname="description" data-nextsortorderval="<?php echo $_smarty_tpl->tpl_vars['description_dir']->value;?>
|
||||
" class="listViewContentHeaderValues"><?php if ($_smarty_tpl->tpl_vars['ORDERBY']->value=='description'){?><?php echo $_smarty_tpl->tpl_vars['dir_img']->value;?>
|
||||
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['customsort_img']->value;?>
|
||||
<?php }?> <?php echo vtranslate('LBL_DESCRIPTION',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></th><th nowrap="nowrap"><a href="#" data-columnname="sharingtype" data-nextsortorderval="<?php echo $_smarty_tpl->tpl_vars['sharingtype_dir']->value;?>
|
||||
" class="listViewContentHeaderValues"><?php if ($_smarty_tpl->tpl_vars['ORDERBY']->value=='sharingtype'){?><?php echo $_smarty_tpl->tpl_vars['dir_img']->value;?>
|
||||
<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['customsort_img']->value;?>
|
||||
<?php }?> <?php echo vtranslate('LBL_SHARING_TAB',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></th><th nowrap="nowrap"><?php echo vtranslate("LBL_TEMPLATE_OWNER",$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</th><th><?php echo vtranslate("Status");?>
|
||||
</th></tr><tr class="searchRow"><th class="inline-search-btn"><div class="table-actions"><button class="btn btn-sm btn-success <?php if (count($_smarty_tpl->tpl_vars['SEARCH_DETAILS']->value)>0){?>hide<?php }?>" data-trigger="listSearch"><i class="fa fa-search"></i> <span class="s2-btn-text"><?php echo vtranslate("LBL_SEARCH",$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</span></button><button class="searchAndClearButton btn btn-sm btn-danger <?php if (count($_smarty_tpl->tpl_vars['SEARCH_DETAILS']->value)==0){?>hide<?php }?>" data-trigger="clearListSearch"><i class="fa fa-close"></i> <?php echo vtranslate("LBL_CLEAR",$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</button></div></th><th><input type="text" class="listSearchContributor inputElement" data-field-type="string" name="templatename" data-fieldinfo='{"column":"templatename","type":"string","name":"templatename","label":"<?php echo vtranslate("LBL_EMAIL_NAME",$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"}' value="<?php echo $_smarty_tpl->tpl_vars['SEARCH_TEMPLATENAMEVAL']->value;?>
|
||||
"></th><th><div class="select2_search_div"><input type="text" class="listSearchContributor inputElement select2_input_element"/><select class="select2 listSearchContributor" name="formodule" data-fieldinfo='{"column":"formodule","type":"picklist","name":"formodule","label":"<?php echo vtranslate("LBL_MODULENAMES",$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"}' style="display: none"><option value=""></option><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SEARCHSELECTBOXDATA']->value['modules'],'selected'=>$_smarty_tpl->tpl_vars['SEARCH_FORMODULEVAL']->value),$_smarty_tpl);?>
|
||||
</select></div></th><th><div><input type="text" class="listSearchContributor inputElement" name="category" data-fieldinfo='' value="<?php echo $_smarty_tpl->tpl_vars['SEARCH_CATEGORYVAL']->value;?>
|
||||
"></div></th><th><div><input type="text" class="listSearchContributor inputElement" name="description" data-fieldinfo='' value="<?php echo $_smarty_tpl->tpl_vars['SEARCH_DESCRIPTIONVAL']->value;?>
|
||||
"></div></th><th><div class="select2_search_div"><input type="text" class="listSearchContributor inputElement select2_input_element"/><select class="select2 listSearchContributor" name="sharingtype" data-fieldinfo='{"column":"sharingtype","type":"picklist","name":"sharingtype","label":"<?php echo vtranslate("LBL_SHARING_TAB",$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"}' style="display: none"><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SHARINGTYPES']->value,'selected'=>$_smarty_tpl->tpl_vars['SEARCH_SHARINGTYPEVAL']->value),$_smarty_tpl);?>
|
||||
</select></div></th><th><div class="select2_search_div"><input type="text" class="listSearchContributor inputElement select2_input_element"/><select class="select2 listSearchContributor" name="owner" data-fieldinfo='{"column":"owner","type":"owner","name":"owner","label":"<?php echo vtranslate("LBL_TEMPLATE_OWNER",$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"}' style="display: none"><option value=""></option><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['SEARCHSELECTBOXDATA']->value['owners'],'selected'=>$_smarty_tpl->tpl_vars['SEARCH_OWNERVAL']->value),$_smarty_tpl);?>
|
||||
</select></div></th><th><div class="select2_search_div"><input type="text" class="listSearchContributor inputElement select2_input_element"/><select class="select2 listSearchContributor" name="status" data-fieldinfo='{"column":"status","type":"picklist","name":"status","label":"<?php echo vtranslate("Status",$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"}' style="display: none"><option value=""></option><?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['STATUSOPTIONS']->value,'selected'=>$_smarty_tpl->tpl_vars['SEARCH_STATUSVAL']->value),$_smarty_tpl);?>
|
||||
</select></div></th></tr></thead><tbody><?php $_smarty_tpl->tpl_vars['template'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['template']->_loop = false;
|
||||
$_from = $_smarty_tpl->tpl_vars['EMAILTEMPLATES']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['template']->key => $_smarty_tpl->tpl_vars['template']->value){
|
||||
$_smarty_tpl->tpl_vars['template']->_loop = true;
|
||||
?><tr class="listViewEntries" <?php if ($_smarty_tpl->tpl_vars['template']->value['status']==0){?> style="font-style:italic;" <?php }?> data-id="<?php echo $_smarty_tpl->tpl_vars['template']->value['templateid'];?>
|
||||
" data-recordurl="index.php?module=<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
&view=Detail&templateid=<?php echo $_smarty_tpl->tpl_vars['template']->value['templateid'];?>
|
||||
" id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_listView_row_<?php echo $_smarty_tpl->tpl_vars['template']->value['templateid'];?>
|
||||
"><td class="listViewRecordActions"><div class="table-actions"><span class="input"><input type="checkbox" class="listViewEntriesCheckBox" value="<?php echo $_smarty_tpl->tpl_vars['template']->value['templateid'];?>
|
||||
"></span><span class="more dropdown action"><span href="javascript:;" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-ellipsis-v icon"></i></span><ul class="dropdown-menu"><li><a data-id="<?php echo $_smarty_tpl->tpl_vars['template']->value['templateid'];?>
|
||||
" href="index.php?module=<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
&view=Detail&record=<?php echo $_smarty_tpl->tpl_vars['template']->value['templateid'];?>
|
||||
&app=<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
"><?php echo vtranslate('LBL_DETAILS',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></li><?php if ($_smarty_tpl->tpl_vars['VERSION_TYPE']->value!='deactivate'){?><?php echo $_smarty_tpl->tpl_vars['template']->value['edit'];?>
|
||||
<?php }?></ul></span></div></td><td class="listViewEntryValue"><?php echo $_smarty_tpl->tpl_vars['template']->value['templatename'];?>
|
||||
</td><td class="listViewEntryValue" <?php if ($_smarty_tpl->tpl_vars['template']->value['status']==0){?> style="color:#888;" <?php }?>><?php echo $_smarty_tpl->tpl_vars['template']->value['module'];?>
|
||||
</a></td><td class="listViewEntryValue" <?php if ($_smarty_tpl->tpl_vars['template']->value['status']==0){?> style="color:#888;" <?php }?>><?php echo $_smarty_tpl->tpl_vars['template']->value['category'];?>
|
||||
</td><td class="listViewEntryValue" <?php if ($_smarty_tpl->tpl_vars['template']->value['status']==0){?> style="color:#888;" <?php }?>><?php echo $_smarty_tpl->tpl_vars['template']->value['description'];?>
|
||||
</td><td class="listViewEntryValue" <?php if ($_smarty_tpl->tpl_vars['template']->value['status']==0){?> style="color:#888;" <?php }?>><?php echo $_smarty_tpl->tpl_vars['template']->value['sharingtype'];?>
|
||||
</td><td class="listViewEntryValue" <?php if ($_smarty_tpl->tpl_vars['template']->value['status']==0){?> style="color:#888;" <?php }?> nowrap><?php echo $_smarty_tpl->tpl_vars['template']->value['owner'];?>
|
||||
</td><td class="listViewEntryValue" <?php if ($_smarty_tpl->tpl_vars['template']->value['status']==0){?> style="color:#888;" <?php }?>><?php echo $_smarty_tpl->tpl_vars['template']->value['status_lbl'];?>
|
||||
</td></tr><?php }
|
||||
if (!$_smarty_tpl->tpl_vars['template']->_loop) {
|
||||
?><tr><td style="background-color:#efefef;" align="center" colspan="9"><table class="emptyRecordsDiv"><tbody><tr><td><?php echo vtranslate("LBL_NO");?>
|
||||
<?php echo vtranslate("LBL_TEMPLATE",$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php echo vtranslate("LBL_FOUND",$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<br><br><a href="index.php?module=<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
&view=Edit"><?php echo vtranslate("LBL_CREATE_NEW");?>
|
||||
<?php echo vtranslate("LBL_TEMPLATE",$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a></td></tr></tbody></table></td></tr><?php } ?></tbody></table></form></div></div><?php }} ?>
|
||||
@@ -0,0 +1,157 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-13 10:59:39
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/OverlayEditView.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:116680127569158feb536a93-49549293%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'ec6f0d3f3048165e87f402ca87b764fd06568e3c' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/OverlayEditView.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '116680127569158feb536a93-49549293',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'SCRIPTS' => 0,
|
||||
'jsModel' => 0,
|
||||
'MODULE' => 0,
|
||||
'SINGLE_MODULE_NAME' => 0,
|
||||
'RECORD_STRUCTURE_MODEL' => 0,
|
||||
'USER_MODEL' => 0,
|
||||
'IS_PARENT_EXISTS' => 0,
|
||||
'SPLITTED_MODULE' => 0,
|
||||
'RECORD_ID' => 0,
|
||||
'IS_RELATION_OPERATION' => 0,
|
||||
'SOURCE_MODULE' => 0,
|
||||
'SOURCE_RECORD' => 0,
|
||||
'RETURN_VIEW' => 0,
|
||||
'RETURN_MODULE' => 0,
|
||||
'RETURN_RECORD' => 0,
|
||||
'RETURN_RELATED_TAB' => 0,
|
||||
'RETURN_RELATED_MODULE' => 0,
|
||||
'RETURN_PAGE' => 0,
|
||||
'RETURN_VIEW_NAME' => 0,
|
||||
'RETURN_SEARCH_PARAMS' => 0,
|
||||
'RETURN_SEARCH_KEY' => 0,
|
||||
'RETURN_SEARCH_VALUE' => 0,
|
||||
'RETURN_SEARCH_OPERATOR' => 0,
|
||||
'RETURN_SORTBY' => 0,
|
||||
'RETURN_ORDERBY' => 0,
|
||||
'RETURN_MODE' => 0,
|
||||
'RETURN_RELATION_ID' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69158feb57e5a',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69158feb57e5a')) {function content_69158feb57e5a($_smarty_tpl) {?>
|
||||
|
||||
<?php $_smarty_tpl->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;
|
||||
?>
|
||||
<script type="<?php echo $_smarty_tpl->tpl_vars['jsModel']->value->getType();?>
|
||||
" src="<?php echo $_smarty_tpl->tpl_vars['jsModel']->value->getSrc();?>
|
||||
"></script>
|
||||
<?php } ?>
|
||||
|
||||
<div class='fc-overlay-modal modal-content overlayEdit'>
|
||||
<div class="overlayHeader">
|
||||
<?php ob_start();?><?php echo vtranslate('LBL_EDITING',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo vtranslate($_smarty_tpl->tpl_vars['SINGLE_MODULE_NAME']->value,$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
<?php $_tmp2=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['TITLE'] = new Smarty_variable($_tmp1." ".$_tmp2." - ".($_smarty_tpl->tpl_vars['RECORD_STRUCTURE_MODEL']->value->getRecordName()), null, 0);?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("ModalHeader.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
<form class="form-horizontal recordEditView" id="EditView" name="edit" method="post" action="index.php" enctype="multipart/form-data">
|
||||
<div class='modal-body editViewBody'>
|
||||
<div class="editViewContents">
|
||||
<?php $_smarty_tpl->tpl_vars['WIDTHTYPE'] = new Smarty_variable($_smarty_tpl->tpl_vars['USER_MODEL']->value->get('rowheight'), null, 0);?>
|
||||
<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
<?php $_tmp3=ob_get_clean();?><?php $_smarty_tpl->tpl_vars['QUALIFIED_MODULE_NAME'] = new Smarty_variable($_tmp3, null, 0);?>
|
||||
<?php $_smarty_tpl->tpl_vars['IS_PARENT_EXISTS'] = new Smarty_variable(strpos($_smarty_tpl->tpl_vars['MODULE']->value,":"), null, 0);?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['IS_PARENT_EXISTS']->value){?>
|
||||
<?php $_smarty_tpl->tpl_vars['SPLITTED_MODULE'] = new Smarty_variable(explode(":",$_smarty_tpl->tpl_vars['MODULE']->value), null, 0);?>
|
||||
<input type="hidden" name="module" value="<?php echo $_smarty_tpl->tpl_vars['SPLITTED_MODULE']->value[1];?>
|
||||
" />
|
||||
<input type="hidden" name="parent" value="<?php echo $_smarty_tpl->tpl_vars['SPLITTED_MODULE']->value[0];?>
|
||||
" />
|
||||
<?php }else{ ?>
|
||||
<input type="hidden" name="module" value="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
" />
|
||||
<?php }?>
|
||||
<input type="hidden" name="action" value="Save" />
|
||||
<input type="hidden" name="record" value="<?php echo $_smarty_tpl->tpl_vars['RECORD_ID']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="defaultCallDuration" value="<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('callduration');?>
|
||||
" />
|
||||
<input type="hidden" name="defaultOtherEventDuration" value="<?php echo $_smarty_tpl->tpl_vars['USER_MODEL']->value->get('othereventduration');?>
|
||||
" />
|
||||
<?php if ($_smarty_tpl->tpl_vars['IS_RELATION_OPERATION']->value){?>
|
||||
<input type="hidden" name="sourceModule" value="<?php echo $_smarty_tpl->tpl_vars['SOURCE_MODULE']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="sourceRecord" value="<?php echo $_smarty_tpl->tpl_vars['SOURCE_RECORD']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="relationOperation" value="<?php echo $_smarty_tpl->tpl_vars['IS_RELATION_OPERATION']->value;?>
|
||||
" />
|
||||
<?php }?>
|
||||
<?php if ($_smarty_tpl->tpl_vars['RETURN_VIEW']->value){?>
|
||||
<input type="hidden" name="returnmodule" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_MODULE']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="returnview" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_VIEW']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="returnrecord" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_RECORD']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="returntab_label" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_RELATED_TAB']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="returnrelatedModule" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_RELATED_MODULE']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="returnpage" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_PAGE']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="returnviewname" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_VIEW_NAME']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="returnsearch_params" value='<?php echo Vtiger_Util_Helper::toSafeHTML(ZEND_JSON::encode($_smarty_tpl->tpl_vars['RETURN_SEARCH_PARAMS']->value));?>
|
||||
' />
|
||||
<input type="hidden" name="returnsearch_key" value=<?php echo $_smarty_tpl->tpl_vars['RETURN_SEARCH_KEY']->value;?>
|
||||
/>
|
||||
<input type="hidden" name="returnsearch_value" value=<?php echo $_smarty_tpl->tpl_vars['RETURN_SEARCH_VALUE']->value;?>
|
||||
/>
|
||||
<input type="hidden" name="returnoperator" value=<?php echo $_smarty_tpl->tpl_vars['RETURN_SEARCH_OPERATOR']->value;?>
|
||||
/>
|
||||
<input type="hidden" name="returnsortorder" value=<?php echo $_smarty_tpl->tpl_vars['RETURN_SORTBY']->value;?>
|
||||
/>
|
||||
<input type="hidden" name="returnorderby" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_ORDERBY']->value;?>
|
||||
" />
|
||||
<input type="hidden" name="returnmode" value=<?php echo $_smarty_tpl->tpl_vars['RETURN_MODE']->value;?>
|
||||
/>
|
||||
<input type="hidden" name="returnrelationId" value="<?php echo $_smarty_tpl->tpl_vars['RETURN_RELATION_ID']->value;?>
|
||||
" />
|
||||
<?php }?>
|
||||
<?php echo $_smarty_tpl->getSubTemplate (vtemplate_path("partials/EditViewContents.tpl",$_smarty_tpl->tpl_vars['MODULE']->value), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class='modal-footer overlayFooter'>
|
||||
<center>
|
||||
<footer>
|
||||
|
||||
<button class="btn btn-success saveButton" type="submit"><?php echo vtranslate('LBL_SAVE',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</button>
|
||||
<a class="cancelLink" data-dismiss="modal" type="reset"><?php echo vtranslate('LBL_CANCEL',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</footer>
|
||||
</center>
|
||||
</div>
|
||||
</form>
|
||||
</div><?php }} ?>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php /* Smarty version Smarty-3.1.7, created on 2025-11-14 09:13:12
|
||||
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Percentage.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:11682292476916c8780eb878-52795917%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'ec7972744345170d2fc228a316463eb0414e2baa' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Vtiger/uitypes/Percentage.tpl',
|
||||
1 => 1711810494,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '11682292476916c8780eb878-52795917',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'FIELD_MODEL' => 0,
|
||||
'FIELD_NAME' => 0,
|
||||
'MODULE' => 0,
|
||||
'FIELD_VALUE' => 0,
|
||||
'SPECIAL_VALIDATOR' => 0,
|
||||
'FIELD_INFO' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_6916c8780f571',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_6916c8780f571')) {function content_6916c8780f571($_smarty_tpl) {?>
|
||||
|
||||
<?php $_smarty_tpl->tpl_vars["FIELD_INFO"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldInfo(), null, 0);?><?php $_smarty_tpl->tpl_vars["SPECIAL_VALIDATOR"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getValidator(), null, 0);?><?php if ((!$_smarty_tpl->tpl_vars['FIELD_NAME']->value)){?><?php $_smarty_tpl->tpl_vars["FIELD_NAME"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getFieldName(), null, 0);?><?php }?><?php $_smarty_tpl->tpl_vars["FIELD_VALUE"] = new Smarty_variable($_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('fieldvalue'), null, 0);?><div class="input-group inputElement"><input id="<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
_editView_fieldName_<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
" type="text" class="form-control" data-field-id="<?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->get('id');?>
|
||||
" name="<?php echo $_smarty_tpl->tpl_vars['FIELD_NAME']->value;?>
|
||||
"value="<?php if (!empty($_smarty_tpl->tpl_vars['FIELD_VALUE']->value)||$_smarty_tpl->tpl_vars['FIELD_VALUE']->value!=null){?><?php echo $_smarty_tpl->tpl_vars['FIELD_MODEL']->value->getEditViewDisplayValue($_smarty_tpl->tpl_vars['FIELD_VALUE']->value);?>
|
||||
<?php }?>" <?php if (!empty($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value)){?>data-validator="<?php echo Zend_Json::encode($_smarty_tpl->tpl_vars['SPECIAL_VALIDATOR']->value);?>
|
||||
"<?php }?> step="any"<?php if ($_smarty_tpl->tpl_vars['FIELD_INFO']->value["mandatory"]==true){?> data-rule-required="true" <?php }?><?php if (count($_smarty_tpl->tpl_vars['FIELD_INFO']->value['validator'])){?>data-specific-rules="<?php echo ZEND_JSON::encode($_smarty_tpl->tpl_vars['FIELD_INFO']->value["validator"]);?>
|
||||
"<?php }?>/><span class="input-group-addon">%</span></div>
|
||||
<?php }} ?>
|
||||
@@ -0,0 +1,37 @@
|
||||
<?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/DetailViewHeaderTitle.tpl" */ ?>
|
||||
<?php /*%%SmartyHeaderCode:126961454669205b77cf9963-84938001%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'fa46ae62e3544499593ec002065be8aed4c1e941' =>
|
||||
array (
|
||||
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/EMAILMaker/DetailViewHeaderTitle.tpl',
|
||||
1 => 1715769019,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '126961454669205b77cf9963-84938001',
|
||||
'function' =>
|
||||
array (
|
||||
),
|
||||
'variables' =>
|
||||
array (
|
||||
'MODULE' => 0,
|
||||
'MODULE_NAME' => 0,
|
||||
'SELECTED_MENU_CATEGORY' => 0,
|
||||
'RECORD' => 0,
|
||||
),
|
||||
'has_nocache_code' => false,
|
||||
'version' => 'Smarty-3.1.7',
|
||||
'unifunc' => 'content_69205b77d0504',
|
||||
),false); /*/%%SmartyHeaderCode%%*/?>
|
||||
<?php if ($_valid && !is_callable('content_69205b77d0504')) {function content_69205b77d0504($_smarty_tpl) {?>
|
||||
<div class="col-lg-6 col-md-6 col-sm-6"><div class="record-header clearfix"><?php if (!$_smarty_tpl->tpl_vars['MODULE']->value){?><?php $_smarty_tpl->tpl_vars['MODULE'] = new Smarty_variable($_smarty_tpl->tpl_vars['MODULE_NAME']->value, null, 0);?><?php }?><div class="hidden-sm hidden-xs recordImage bg_<?php echo $_smarty_tpl->tpl_vars['MODULE']->value;?>
|
||||
app-<?php echo $_smarty_tpl->tpl_vars['SELECTED_MENU_CATEGORY']->value;?>
|
||||
"><div class="name"><span><strong><i class="vicon-<?php echo strtolower($_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
"></i></strong></span></div></div><div class="recordBasicInfo"><div class="info-row"><h4><span class="recordLabel pushDown" title="<?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getName();?>
|
||||
"><span><?php echo $_smarty_tpl->tpl_vars['RECORD']->value->getName();?>
|
||||
</span> </span></h4></div><div class="info-row"><span class="modulename_label"><?php echo vtranslate('LBL_MODULENAMES',$_smarty_tpl->tpl_vars['MODULE']->value);?>
|
||||
:</span> <?php echo vtranslate($_smarty_tpl->tpl_vars['RECORD']->value->get('module'),$_smarty_tpl->tpl_vars['RECORD']->value->get('module'));?>
|
||||
</div></div></div></div><?php }} ?>
|
||||
Reference in New Issue
Block a user