You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 lines
3.7 KiB
HTML

2 years ago
<extend name="Public/base"/>
<block name="body">
<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
<div class="cf main-place top_nav_list navtab_list">
{:W('Index/navigation',array('value'=>'Site/media','compare'=>'Kefu/index'))}
<h3 class="page_title">编辑客服问题</h3>
<p class="description_text"></p>
</div>
<div class="tab-content tabcon1711 tabcon17112">
<form action="{:U()}" method="post" class="form-horizontal form_info_ml">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="l noticeinfo"><i class="mustmark" style="margin-left:-7px">*</i>分类标题</td>
<td class="r table_radio">
<select id="title" name="tid">
<volist name=':get_kefu_data()' id='vo'>
<option value="{$vo.id}">{$vo.title}</option>
</volist>
</select>
<input type="hidden" name="istitle" value="2">
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo"><i class="mustmark" style="margin-left:-7px">*</i>子标题</td>
<td class="r table_radio">
<input type="text" class="" name="zititle" value="{$info.zititle}" placeholder="子标题">
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo">子标题URL</td>
<td class="r table_radio">
<input type="text" class="" name="zititleurl" value="{$info.zititleurl}" disabled="disabled" style="background:#cecece;" placeholder="子标题URL">
<span class="notice-text"></span>
</td>
</tr>
<tr>
<td class="l noticeinfo"><i class="mustmark" style="margin-left:-7px">*</i>内容</td>
<td class="r table_radio">
<textarea name="contend">{$info.contend}</textarea>
<span class="notice-text"></span>
</td>
</tr>
</tbody>
</table>
<input type="hidden" name="id" value="{:I('id')}">
<div class="form-item cf">
<button class="submit_btn ajax-post mlspacing" id="submit" type="submit" target-form="form-horizontal">
保存
</button>
<a class="submit_btn " alt="返回上一页" title="返回上一页" href="javascript:window.history.back();" >
返回
</a>
</div>
</form>
</div>
<div class="common_settings">
<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
<form class="addShortcutIcon">
<input type="hidden" name="title" value="{$m_title}">
<input type="hidden" name="url" value="Site/media">
</form>
<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
</div>
</block>
<block name="script">
<script type="text/javascript" charset="utf-8">
//导航高亮
Think.setValue("tid", {$idinfo.id|default = 0});
highlight_subnav('{:U('Site/media')}');
if($('.istitle').prop('checked')){
$('.zititle').attr('style','display:none');
}
$('.istitle').click(function(){
if($('.istitle').prop('checked')){
$('.zititle').attr('style','display:none');
}else{
$('.zititle').attr('style','');
}
});
</script>
</block>