修改支持项目中的链接错误,添加无数据时页面上的提示文字

This commit is contained in:
Li Jianxuan 2013-05-24 02:34:47 +00:00
parent ebd82ccbe9
commit ec18b2737b
5 changed files with 22 additions and 9 deletions

View File

@ -16,6 +16,7 @@ $this->theme->AppendPlus($this,'colorbox');
<div class="span10"> <div class="span10">
<div> <div>
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<li><a href="/admin/data/fund/ac/datalist">数据相关</a></li>
<li><a href="/admin/data/fund/">所有项目</a></li> <li><a href="/admin/data/fund/">所有项目</a></li>
<li class="active"><a href="/admin/data/fund/ac/add">添加新项目</a></li> <li class="active"><a href="/admin/data/fund/ac/add">添加新项目</a></li>
</ul> </ul>

View File

@ -12,15 +12,15 @@ $this->theme->AppendPlus($this,'admin_plugin');
table thead tr th {background:#EBF2F6;} table thead tr th {background:#EBF2F6;}
</style> </style>
<div class="row-fluid"> <div class="row-fluid">
<div class="span3"> <div class="span2">
<?= $this->partial('data/left.phtml'); ?> <?= $this->partial('data/left.phtml'); ?>
</div> </div>
<div class="span9"> <div class="span10">
<div> <div>
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<li class="active"><a href="/author/fund/ac/data">数据相关</a></li> <li class="active"><a href="/admin/data/fund/ac/data">数据相关</a></li>
<li><a href="/author/fund/">所有项目</a></li> <li><a href="/admin/data/fund/">所有项目</a></li>
<li><a href="/author/fund/ac/add">添加新项目</a></li> <li><a href="/admin/data/fund/ac/add">添加新项目</a></li>
</ul> </ul>
</div> </div>
<?php if(!empty($this->md)) { ?> <?php if(!empty($this->md)) { ?>

View File

@ -20,9 +20,9 @@ table thead tr th {background:#EBF2F6;}
<div class="span9"> <div class="span9">
<div> <div>
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<li><a href="/author/fund/ac/data">数据相关</a></li> <li><a href="/admin/data/fund/ac/datalist">数据相关</a></li>
<li><a href="/author/fund/">所有项目</a></li> <li><a href="/admin/data/fund/">所有项目</a></li>
<li><a href="/author/fund/ac/add">添加新项目</a></li> <li><a href="/admin/data/fund/ac/add">添加新项目</a></li>
<li class="active"><a href="javascript:void(0);">按项目查看</a></li> <li class="active"><a href="javascript:void(0);">按项目查看</a></li>
</ul> </ul>
</div> </div>

View File

@ -23,7 +23,7 @@ table thead tr th {background:#EBF2F6;}
<li <?php if(empty($this->md)) { ?>class="active"<?php } ?>><a href="/admin/data/fund/">所有项目</a></li> <li <?php if(empty($this->md)) { ?>class="active"<?php } ?>><a href="/admin/data/fund/">所有项目</a></li>
<li><a href="/admin/data/fund/ac/add">添加新项目</a></li> <li><a href="/admin/data/fund/ac/add">添加新项目</a></li>
<?php if(!empty($this->md)) { ?> <?php if(!empty($this->md)) { ?>
<li class="active"><a href="/author/fund/">按数据查看</a></li> <li class="active"><a href="/admin/data/fund/">按数据查看</a></li>
<?php } ?> <?php } ?>
</ul> </ul>
</div> </div>
@ -128,6 +128,12 @@ table thead tr th {background:#EBF2F6;}
<?php endforeach; ?> <?php endforeach; ?>
</tbody> </tbody>
</table> </table>
<?php else: ?>
<?php if(!empty($this->md)) { ?>
暂无数据,点击标题右侧添加按钮为此数据添加项目
<?php }else{ ?>
暂无数据
<?php } ?>
<?php endif; ?> <?php endif; ?>
<div class="pagenavi"><?= $this->paginator; ?></div> <div class="pagenavi"><?= $this->paginator; ?></div>
</div> </div>

View File

@ -126,6 +126,12 @@ table thead tr th {background:#EBF2F6;}
<?php endforeach; ?> <?php endforeach; ?>
</tbody> </tbody>
</table> </table>
<?php else: ?>
<?php if(!empty($this->md)) { ?>
暂无数据,点击标题右侧添加按钮为此数据添加项目
<?php }else{ ?>
暂无数据
<?php } ?>
<?php endif; ?> <?php endif; ?>
<div class="pagenavi"><?= $this->paginator; ?></div> <div class="pagenavi"><?= $this->paginator; ?></div>
</div> </div>