96 lines
4.3 KiB
PHP
96 lines
4.3 KiB
PHP
|
|
<?php /* Smarty version Smarty-3.1.7, created on 2025-09-26 17:35:50
|
||
|
|
compiled from "/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/MailScanner.list.tpl" */ ?>
|
||
|
|
<?php /*%%SmartyHeaderCode:109095468468d6a4c63c8c89-86486806%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||
|
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
||
|
|
'file_dependency' =>
|
||
|
|
array (
|
||
|
|
'6022515261810ee77dba4b6b6317ab3176944e06' =>
|
||
|
|
array (
|
||
|
|
0 => '/var/www/fastuser/data/www/crm.clientright.ru/includes/runtime/../../layouts/v7/modules/Settings/Workflow2/VT7/MailScanner.list.tpl',
|
||
|
|
1 => 1711810493,
|
||
|
|
2 => 'file',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'nocache_hash' => '109095468468d6a4c63c8c89-86486806',
|
||
|
|
'function' =>
|
||
|
|
array (
|
||
|
|
),
|
||
|
|
'variables' =>
|
||
|
|
array (
|
||
|
|
'scanner' => 0,
|
||
|
|
'config' => 0,
|
||
|
|
'LogFiles' => 0,
|
||
|
|
'File' => 0,
|
||
|
|
'Filesize' => 0,
|
||
|
|
),
|
||
|
|
'has_nocache_code' => false,
|
||
|
|
'version' => 'Smarty-3.1.7',
|
||
|
|
'unifunc' => 'content_68d6a4c6411b9',
|
||
|
|
),false); /*/%%SmartyHeaderCode%%*/?>
|
||
|
|
<?php if ($_valid && !is_callable('content_68d6a4c6411b9')) {function content_68d6a4c6411b9($_smarty_tpl) {?><div class="container-fluid" id="moduleManagerContents">
|
||
|
|
<div class="editViewHeader">
|
||
|
|
<h4>
|
||
|
|
<input type="button" name="createConfig" class="btn btn-primary pull-right createMailscannerConfig" value="<?php echo vtranslate('Create configuration','Settnigs:Workflow2');?>
|
||
|
|
" />
|
||
|
|
<a href="index.php?module=Workflow2&view=Index&parent=Settings"><?php echo vtranslate('Workflow Designer','Workflow2');?>
|
||
|
|
</a> »
|
||
|
|
<?php echo vtranslate(' Mailscanner configuration','Settings:Workflow2');?>
|
||
|
|
|
||
|
|
</h4>
|
||
|
|
</div>
|
||
|
|
<hr/>
|
||
|
|
<br>
|
||
|
|
<div class="listViewActionsDiv">
|
||
|
|
|
||
|
|
<?php if (!empty($_smarty_tpl->tpl_vars['scanner']->value)){?>
|
||
|
|
<?php $_smarty_tpl->tpl_vars['config'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['config']->_loop = false;
|
||
|
|
$_from = $_smarty_tpl->tpl_vars['scanner']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['config']->key => $_smarty_tpl->tpl_vars['config']->value){
|
||
|
|
$_smarty_tpl->tpl_vars['config']->_loop = true;
|
||
|
|
?>
|
||
|
|
<div class="MailScannerConfiguration" onclick="window.location.href='index.php?module=Workflow2&view=MailscannerEditor&scanner=<?php echo $_smarty_tpl->tpl_vars['config']->value['id'];?>
|
||
|
|
&parent=Settings';" data-id="<?php echo $_smarty_tpl->tpl_vars['config']->value['id'];?>
|
||
|
|
">
|
||
|
|
<span class="MS_TITLE"><i class="icon-inbox" style="margin-top:3px;"></i> <?php echo $_smarty_tpl->tpl_vars['config']->value['title'];?>
|
||
|
|
</span>
|
||
|
|
<br/>
|
||
|
|
|
||
|
|
|
||
|
|
</div>
|
||
|
|
<?php } ?>
|
||
|
|
<?php }else{ ?>
|
||
|
|
<h5>
|
||
|
|
<em><?php echo vtranslate('No MailScanner configured','Settings:Workflow2');?>
|
||
|
|
</em>
|
||
|
|
</h5>
|
||
|
|
<?php }?>
|
||
|
|
|
||
|
|
<?php if (!empty($_smarty_tpl->tpl_vars['LogFiles']->value)){?>
|
||
|
|
<div>
|
||
|
|
<h3><?php echo vtranslate('Execution log','Settings:Workflow2');?>
|
||
|
|
</h3>
|
||
|
|
<table class="table table-condensed table-striped">
|
||
|
|
<tr>
|
||
|
|
<th>Execution Time / Filename within <i>test/Workflow2/Mailscanner-Log/</i></th>
|
||
|
|
</tr>
|
||
|
|
<?php $_smarty_tpl->tpl_vars['Filesize'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['Filesize']->_loop = false;
|
||
|
|
$_smarty_tpl->tpl_vars['File'] = new Smarty_Variable;
|
||
|
|
$_from = $_smarty_tpl->tpl_vars['LogFiles']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
||
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['Filesize']->key => $_smarty_tpl->tpl_vars['Filesize']->value){
|
||
|
|
$_smarty_tpl->tpl_vars['Filesize']->_loop = true;
|
||
|
|
$_smarty_tpl->tpl_vars['File']->value = $_smarty_tpl->tpl_vars['Filesize']->key;
|
||
|
|
?>
|
||
|
|
<tr>
|
||
|
|
<td><a href="<?php echo vglobal('site_URL');?>
|
||
|
|
/test/Workflow2/Mailscanner-Log/<?php echo $_smarty_tpl->tpl_vars['File']->value;?>
|
||
|
|
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['File']->value;?>
|
||
|
|
</a></td>
|
||
|
|
<td><?php echo $_smarty_tpl->tpl_vars['Filesize']->value;?>
|
||
|
|
Bytes</td>
|
||
|
|
</tr>
|
||
|
|
<?php } ?>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
<?php }?>
|
||
|
|
</div>
|
||
|
|
</div><?php }} ?>
|