修改后台新闻列表
This commit is contained in:
parent
13bbd448cd
commit
e5103a5582
|
@ -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>
|
Loading…
Reference in New Issue