✏️ 正在编辑: _anexos.phtml
路径:
/srv/systems_dir/yuppiecred-bkp/application/views/scripts/contrato-anexo/_anexos.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<div id="anexos-contratos" style="margin: 5px"> <table> <thead> <tr class="top_list"> <th width="120">Data Cadastro</th> <th>Tipo</th> <th width="30"></th> <th width="30"></th> </tr> </thead> <tbody> <?php if (count($this->anexos)): ?> <?php foreach ($this->anexos as $registro): ?> <?php $anexoUrl = $this->linkDocumentacao($registro['arquivo']); ?> <tr type="<?php echo $registro['tipo']?>"> <td><?php echo $this->dateHourFormat($registro['data_cadastro']) ?></td> <td><?php echo !empty($registro['tipo']) ? $registro['tipo'] : 'Documento' ?></td> <td align="center"> <a style="text-decoration: none;" href="#" class="glyphicon-reg glyphicon-reg-picture" onclick="window.open('<?php echo $anexoUrl; ?>');" title="Visualizar <?php echo $registro['tipo']?>"></a> </td> <td align="center"> <a href="#" id="anexo_<?php echo $registro['arquivo']?>" class="link_remove" onclick="removeAnexo(event,'<?php echo $registro['arquivo']?>');"></a> </td> </tr> <?php endforeach; ?> <?php else: ?> <tr> <td colspan="4">Nenhum resultado encontrato</td> </tr> <?php endif; ?> </tbody> </table> </div>
💾 保存文件
← 返回文件管理器