42 lines
1.8 KiB
PHP
42 lines
1.8 KiB
PHP
<?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 }} ?>
|