✏️ 正在编辑: index.phtml
路径:
/srv/systems_dir/yuppiecred/application/views/scripts/roteiro-operacional/index.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<h1 class="tit_local">Links e Documentos</h1> <div id="filter"> <?php echo $this->form; ?> <div class="clear"></div> </div> <div id="view-content"> <?php if( $this->itens ): ?> <table summary="ArquivosAuxiliares"> <thead> <tr class="top_list"> <th>Grupo</th> <th>Banco</th> <th>Descrição</th> <th>Data Cadastro</th> <th>Data Atualização</th> <th style="text-align: center;">Link</th> <th style="text-align: center;">Arquivo</th> <th colspan="2"></th> </tr> </thead> <tfoot> <tr> <td colspan="7">Total: <?php echo count($this->itens); ?></td> </tr> </tfoot> <tbody> <?php if( count($this->itens) == 0 ): ?> <tr> <td colspan="7">Nenhum registro encontrado.</td> </tr> <?php else: foreach ( $this->itens as $item ): ?> <?php $banco = $item->findParentRow('Model_DbTable_Banco'); $grupo = $item->findParentRow('Model_DbTable_Tipos'); ?> <tr> <td><?php echo $grupo ? $grupo['descricao'] : null; ?></td> <td><?php echo $banco ? $banco['nome'] : null; ?></td> <td><?php echo $item['descricao']; ?></td> <td><?php echo $this->dateHourFormat($item['data_cadastro']); ?></td> <td><?php echo $this->dateHourFormat($item['data_atualizacao']); ?></td> <td width="80" style="text-align: center;"> <?php if( $item['link'] ): ?> <a style="text-decoration: initial;" href="http://<?php echo $item['link']; ?>" target="_blank" title="<?php echo $item['link']; ?>" class="glyphicon-reg glyphicon-reg-link"> </a> <?php endif; ?> </td> <td width="80" style="text-align: center;"> <?php if( $item['arquivo'] ): ?> <a style="text-decoration: initial;" href="<?php echo $this->url(array( 'action' => 'download', 'id' => $item['id'] )) ?>" class="glyphicon-reg glyphicon-reg-download" title="Baixar Arquivo"></a> <?php endif; ?> </td> <td align="center"><a href="<?php echo $this->url(array( 'action' => 'save', 'id' => $item['id'] )) ?>" class="link_edit"></a></td> <td align="center"><a href="<?php echo $this->url(array( 'action' => 'delete', 'id' => $item['id'] )) ?>" class="link_remove"></a></td> </tr> <?php endforeach; endif; ?> </tbody> </table> <?php endif; ?> </div>
💾 保存文件
← 返回文件管理器