作者 董瑞恩
1 个管道 的构建 通过 耗费 0 秒

cost

... ... @@ -77,64 +77,6 @@
value="">
</td>
</tr>
<!--
<tr>
<th>评论</th>
</tr>
<tr>
<td>
<label style="width: 88px"><a
href="javascript:openIframeDialog('{:url('comment/commentadmin/index',array('post_id'=>$post['id']))}','评论列表')">查看评论</a></label>
</td>
</tr>
-->
<tr>
<th>状态</th>
<php>
$status_yes=$post['post_status']==1?"checked":"";
$is_top_yes=$post['is_top']==1?"checked":"";
$recommended_yes=$post['recommended']==1?"checked":"";
</php>
</tr>
<tr>
<td>
<div class="checkbox">
<label>
<input type="checkbox" name="post[post_status]" value="1" {$status_yes}>发布
</label>
</div>
</td>
</tr>
<tr>
<td>
<div class="checkbox">
<label><input type="checkbox" name="post[is_top]" value="1" {$is_top_yes}>置顶</label>
</div>
</td>
</tr>
<tr>
<td>
<div class="checkbox">
<label>
<input type="checkbox" name="post[recommended]" value="1" {$recommended_yes}>推荐
</label>
</div>
</td>
</tr>
<tr>
<th>文章模板</th>
</tr>
<tr>
<td>
<select class="form-control" name="post[more][template]" id="more-template-select">
<option value="">请选择模板</option>
<foreach name="article_theme_files" item="vo">
<php>$value=preg_replace('/^portal\//','',$vo['file']);</php>
<option value="{$value}">{$vo.name} {$vo.file}.html</option>
</foreach>
</select>
</td>
</tr>
</table>
</div>
</div>
... ...