<?php foreach ($items as $file) : ?>
<li id="file-id-<?php echo $file->id?>"><a href="<?php echo erLhcoreClassDesign::baseurl('file/downloadfile')?>/<?php echo $file->id?>/<?php echo $file->security_hash?>" class="link" target="_blank"><?php if ($file->user_id == 0) : ?><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('files/files','Sent by Customer')?><?php else : ?><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('files/files','Sent by Operator')?><?php endif;?> - <?php echo htmlspecialchars($file->upload_name).' ['.$file->extension.']'?> </a></li>
<?php endforeach; ?>