<?php
/* Smarty version 4.3.2, created on 2024-10-30 15:41:25
  from '/var/www/html/public/legacy/include/SugarFields/Fields/File/ListView.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.2',
  'unifunc' => 'content_672253a50a5c30_47284660',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'df9514b189ab768e2f18a593f3d5353c79b60a3d' => 
    array (
      0 => '/var/www/html/public/legacy/include/SugarFields/Fields/File/ListView.tpl',
      1 => 1709743132,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_672253a50a5c30_47284660 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/html/public/legacy/include/Smarty/plugins/function.sugar_fetch.php','function'=>'smarty_function_sugar_fetch',),1=>array('file'=>'/var/www/html/public/legacy/include/Smarty/plugins/function.sugar_getimagepath.php','function'=>'smarty_function_sugar_getimagepath',),2=>array('file'=>'/var/www/html/public/legacy/include/Smarty/plugins/function.sugar_getimage.php','function'=>'smarty_function_sugar_getimage',),));
?>

<a href="index.php?entryPoint=download&id=<?php echo $_smarty_tpl->tpl_vars['parentFieldArray']->value['ID'];?>
&type=<?php if (empty($_smarty_tpl->tpl_vars['vardef']->value['displayParams']['module'])) {
echo $_smarty_tpl->tpl_vars['displayParams']->value['module'];
} else {
echo $_smarty_tpl->tpl_vars['vardef']->value['displayParams']['module'];
}?>" class="tabDetailViewDFLink" target='_blank'><?php echo smarty_function_sugar_fetch(array('object'=>$_smarty_tpl->tpl_vars['parentFieldArray']->value,'key'=>$_smarty_tpl->tpl_vars['col']->value),$_smarty_tpl);?>

<?php if ((isset($_smarty_tpl->tpl_vars['vardef']->value['allowEapm'])) && $_smarty_tpl->tpl_vars['vardef']->value['allowEapm'] && (isset($_smarty_tpl->tpl_vars['parentFieldArray']->value['DOC_TYPE']))) {
$_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'imageNameCapture', 'imageName', null);?>
	<?php echo smarty_function_sugar_fetch(array('object'=>$_smarty_tpl->tpl_vars['parentFieldArray']->value,'key'=>'DOC_TYPE'),$_smarty_tpl);?>
_image_inline.png
<?php $_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);
$_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'imageURLCapture', 'imageURL', null);?>
	<?php echo smarty_function_sugar_getimagepath(array('file'=>$_smarty_tpl->tpl_vars['imageName']->value),$_smarty_tpl);?>

<?php $_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);
if (strlen($_smarty_tpl->tpl_vars['imageURL']->value) > 1) {
echo smarty_function_sugar_getimage(array('name'=>$_smarty_tpl->tpl_vars['imageName']->value,'alt'=>$_smarty_tpl->tpl_vars['imageName']->value,'other_attributes'=>'border="0" '),$_smarty_tpl);
}
}?>
</a>&nbsp;

<?php if ((isset($_smarty_tpl->tpl_vars['parentFieldArray']->value['SHOW_PREVIEW'])) && $_smarty_tpl->tpl_vars['parentFieldArray']->value['SHOW_PREVIEW'] !== false) {?>
	<a href="index.php?preview=yes&entryPoint=download&id=<?php echo $_smarty_tpl->tpl_vars['parentFieldArray']->value['ID'];?>
&type=<?php if (empty($_smarty_tpl->tpl_vars['vardef']->value['displayParams']['module'])) {
echo $_smarty_tpl->tpl_vars['displayParams']->value['module'];
} else {
echo $_smarty_tpl->tpl_vars['vardef']->value['displayParams']['module'];
}?>" class="tabDetailViewDFLink" target='_blank' style="border-bottom: 0px;">
		<i class="glyphicon glyphicon-eye-open"></i>
	</a>
<?php }
}
}
