...
|
...
|
@@ -26,41 +26,6 @@ |
|
|
<a class="btn btn-danger" href="{:url('AdminArticle/index')}">清空</a>
|
|
|
</form>
|
|
|
<form class="js-ajax-form" action="" method="post">
|
|
|
<div class="table-actions">
|
|
|
<notempty name="category">
|
|
|
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
|
|
|
data-action="{:url('AdminArticle/listOrder')}">{:lang('SORT')}
|
|
|
</button>
|
|
|
</notempty>
|
|
|
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
|
|
|
data-action="{:url('AdminArticle/publish',array('yes'=>1))}" data-subcheck="true">发布
|
|
|
</button>
|
|
|
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
|
|
|
data-action="{:url('AdminArticle/publish',array('no'=>1))}" data-subcheck="true">取消发布
|
|
|
</button>
|
|
|
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
|
|
|
data-action="{:url('AdminArticle/top',array('yes'=>1))}" data-subcheck="true">置顶
|
|
|
</button>
|
|
|
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
|
|
|
data-action="{:url('AdminArticle/top',array('no'=>1))}" data-subcheck="true">取消置顶
|
|
|
</button>
|
|
|
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
|
|
|
data-action="{:url('AdminArticle/recommend',array('yes'=>1))}" data-subcheck="true">推荐
|
|
|
</button>
|
|
|
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
|
|
|
data-action="{:url('AdminArticle/recommend',array('no'=>1))}" data-subcheck="true">取消推荐
|
|
|
</button>
|
|
|
<!--
|
|
|
<notempty name="category">
|
|
|
<button class="btn btn-primary btn-sm js-articles-move" type="button">批量移动</button>
|
|
|
</notempty>
|
|
|
<button class="btn btn-primary btn-sm js-articles-copy" type="button">批量复制</button>
|
|
|
-->
|
|
|
<button class="btn btn-danger btn-sm js-ajax-submit" type="submit"
|
|
|
data-action="{:url('AdminArticle/delete')}" data-subcheck="true" data-msg="您确定删除吗?">
|
|
|
{:lang('DELETE')}
|
|
|
</button>
|
|
|
</div>
|
|
|
<table class="table table-hover table-bordered table-list">
|
|
|
<thead>
|
|
|
<tr>
|
...
|
...
|
@@ -187,62 +152,9 @@ |
|
|
</td>
|
|
|
</tr>
|
|
|
</foreach>
|
|
|
<tfoot>
|
|
|
<tr>
|
|
|
<th width="15"><label><input type="checkbox" class="js-check-all" data-direction="x"
|
|
|
data-checklist="js-check-x"></label></th>
|
|
|
<notempty name="category">
|
|
|
<th width="50">{:lang('SORT')}</th>
|
|
|
</notempty>
|
|
|
<th width="50">ID</th>
|
|
|
<th>标题</th>
|
|
|
<th>分类</th>
|
|
|
<th width="50">作者</th>
|
|
|
<th width="65">点击量</th>
|
|
|
<th width="65">评论量</th>
|
|
|
<th width="160">关键字/来源<br>摘要/缩略图</th>
|
|
|
<th width="130">更新时间</th>
|
|
|
<th width="130">发布时间</th>
|
|
|
<th width="70">状态</th>
|
|
|
<th width="90">操作</th>
|
|
|
</tr>
|
|
|
</tfoot>
|
|
|
|
|
|
</table>
|
|
|
<div class="table-actions">
|
|
|
<notempty name="category">
|
|
|
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
|
|
|
data-action="{:url('AdminArticle/listOrder')}">{:lang('SORT')}
|
|
|
</button>
|
|
|
</notempty>
|
|
|
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
|
|
|
data-action="{:url('AdminArticle/publish',array('yes'=>1))}" data-subcheck="true">发布
|
|
|
</button>
|
|
|
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
|
|
|
data-action="{:url('AdminArticle/publish',array('no'=>1))}" data-subcheck="true">取消发布
|
|
|
</button>
|
|
|
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
|
|
|
data-action="{:url('AdminArticle/top',array('yes'=>1))}" data-subcheck="true">置顶
|
|
|
</button>
|
|
|
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
|
|
|
data-action="{:url('AdminArticle/top',array('no'=>1))}" data-subcheck="true">取消置顶
|
|
|
</button>
|
|
|
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
|
|
|
data-action="{:url('AdminArticle/recommend',array('yes'=>1))}" data-subcheck="true">推荐
|
|
|
</button>
|
|
|
<button class="btn btn-primary btn-sm js-ajax-submit" type="submit"
|
|
|
data-action="{:url('AdminArticle/recommend',array('no'=>1))}" data-subcheck="true">取消推荐
|
|
|
</button>
|
|
|
<!--
|
|
|
<notempty name="category">
|
|
|
<button class="btn btn-primary btn-sm js-articles-move" type="button">批量移动</button>
|
|
|
</notempty>
|
|
|
<button class="btn btn-primary btn-sm js-articles-copy" type="button">批量复制</button>
|
|
|
-->
|
|
|
<button class="btn btn-danger btn-sm js-ajax-submit" type="submit"
|
|
|
data-action="{:url('AdminArticle/delete')}" data-subcheck="true" data-msg="您确定删除吗?">
|
|
|
{:lang('DELETE')}
|
|
|
</button>
|
|
|
</div>
|
|
|
|
|
|
<ul class="pagination">{$page|default=''}</ul>
|
|
|
</form>
|
|
|
</div>
|
...
|
...
|
|