✏️ 正在编辑: index.phtml
路径:
/srv/systems_dir/yuppiecred-bkp/application/views/scripts/convenio/index.phtml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<h1 class="tit_local">Convênios</h1> <div id="filter"> <?php echo $this->form; ?> <div class="clear"></div> </div> <div id="view-content"> <?php if( $this->paginator ): ?> <form action="<?php echo $this->url(array( 'action' => 'associar-convenio-pai' )); ?>" method="post" onsubmit="validarChecks(this);" > <table summary="Convenio" class="selecionar"> <thead> <tr class="top_list"> <th>Código</th> <th>Nome</th> <th>Convênio pai</th> <th class="check_control"><input type="checkbox" name="control" id="control" value="all" onclick="myOptions.check(this)" /></th> <th colspan="2"></th> </tr> </thead> <tbody> <?php if( $this->paginator->getTotalItemCount() == 0 ): ?> <tr> <td colspan="6">Nenhum convênio encontrado.</td> </tr> <?php else: foreach ( $this->paginator as $convenio ): $parent = $convenio->findParentRow('Model_DbTable_Convenio', 'Parent'); ?> <tr> <td><?php echo $this->escape($convenio->codigo); ?></td> <td><?php echo $this->escape($convenio->nome); ?></td> <td><?php echo $parent ? $this->escape($parent->nome) : ''; ?></td> <td align="center"><input type="checkbox" name="convenios[]" id="checks[]" value="<?php echo $convenio->id ?>" /></td> <td align="center"><a href="<?php echo $this->url(array( 'action' => 'save', 'id' => $convenio->id )); ?>" class="link_edit"></a></td> <td align="center"><a href="<?php echo $this->url(array( 'action' => 'delete', 'id' => $convenio->id )); ?>" class="link_remove"></a></td> </tr> <?php endforeach; ?> <tr> <td colspan="6"><input type="submit" value="Excluir Selecionados" alt="1" name="remove_all" class="bt_delete" style="float: right;" /></td> </tr> <?php endif; ?> </tbody> <tfoot> <tr> <td colspan="4">Quantidade: <?php echo $this->paginator->getTotalItemCount() ?></td> <td colspan="2"><?php echo $this->form->parent_id; ?><input type="submit" value="Alterar"></td> </tr> <tr> <!-- This sets up the pagination controls partial --> <td colspan="6"><?php echo $this->paginator ?></td> </tr> </tfoot> </table> </form> <?php endif; ?> </div>
💾 保存文件
← 返回文件管理器