fixed a display bug

This commit is contained in:
Li Jianxuan 2013-04-24 15:13:03 +00:00
parent c1256ef453
commit 207b469eb7
1 changed files with 6 additions and 8 deletions

View File

@ -80,9 +80,6 @@ table thead tr th {background:#EBF2F6;}
<th>英文标题</th>
<th>英文类型</th>
<?php } ?>
<?php if($this->ct) { ?>
<th>添加</th>
<?php } ?>
<th width="70">操作</th>
</tr>
</thead>
@ -108,16 +105,17 @@ table thead tr th {background:#EBF2F6;}
<td><?= $item['title_en'] ?></td>
<td><?= $item['fund_type_en'] ?></td>
<?php } ?>
<?php if($this->ct) { ?>
<td><a href="javascript:void(0);" class="addtomd" rel="<?= $item['id']?>">添加此项目</a></td>
<?php } ?>
<td>
<?php if(empty($this->md)) { ?>
<a href="/author/fund/ac/edit/id/<?= $item['id']?>">编辑</a>
<a href="javascript:void(0);" onclick="onedel(<?= $item['id']?>)" id="delbtn_<?= $item['id']?>">删除</a>
<?php }else{ ?>
<?php if(empty($this->ct)) { ?><a href="javascript:void(0);" class="changeorder" rel="<?= $item['mfid']?>">排序</a> <?php } ?>
<a href="javascript:void(0);" onclick="onedel(<?= $item['mfid']?>)" id="delbtn_<?= $item['mfid']?>">移除</a>
<?php if(empty($this->ct)) { ?>
<a href="javascript:void(0);" class="changeorder" rel="<?= $item['mfid']?>">排序</a>
<a href="javascript:void(0);" onclick="onedel(<?= $item['mfid']?>)" id="delbtn_<?= $item['mfid']?>">移除</a>
<?php }else{ ?>
<a href="javascript:void(0);" class="addtomd" rel="<?= $item['id']?>">添加此项目</a>
<?php } ?>
<?php } ?>
</td>
</tr>