修改后台新闻列表

This commit is contained in:
Li Jianxuan 2014-06-23 04:07:36 +00:00
parent 13bbd448cd
commit e5103a5582
1 changed files with 12 additions and 2 deletions

View File

@ -28,7 +28,7 @@
<?php endif; ?>
<div>
<select id="navigation">
<option>按栏目查看</option>
<option value="/admin/news/newslist">按栏目查看</option>
<?php
if(count($this->types))
{
@ -111,4 +111,14 @@
</table>
<div class="pagenavi"><?= $this->paginator; ?></div>
</div>
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){
$('.title').bind('click', function() {
$.colorbox({'innerWidth':'50%','html':$(this).next('.listingDetails').children('.pad').html()});
});
$("#navigation").change(function(){
window.location.href = $(this).val();
});
});
</script>