#include "../../liger.html"/>
<#include "attupload.html"/>
文档/添加
<#assign u = false/> <#assign u1 = false/> <#assign u2 = false/> <#assign count=0/> <#assign j=0/> <#list fieldList as field> <#assign cols=false> <#assign j=j+1/> <#assign first=true/> <#assign last=true/> <#if !field.single&&field_has_next&&!fieldList[j].single&&count%2==0><#assign last=false/>#if> <#if !field.single&&j gt 1&&!fieldList[j-2].single&&count%2==1><#assign first=false/>#if> <#if field.single||(!field.single&&field_has_next&&fieldList[j].single&&count%2==0)||(!field.single&&!field_has_next&&count%2==0)><#assign cols=true><#else><#assign count=count+1/>#if> <#if field.economy> <#if field.name=="channelId"> <#if first>
#if>
*
所属栏目:
colspan="3"#if>>
关联栏目
浏览权限
<#list groupIds as groupId>
#list>
<#if last>
#if> <#elseif field.name=="title"> <#if first>
#if>
*
${field.label!}:
colspan="3"#if>>
vld="{required:true,messages:{required:'${field.label!}不能为空!'}}"#if>/>
checked="checked"#if>/>外部链接
style="display:none"#if>>URL:
style="display:none"#if>>
<#if last>
#if> <#elseif field.name=="redTape"> <#if first>
#if>
<#if field.required>
*
#if>${field.label!}:
colspan="3"#if>>
vld="{required:true,messages:{required:'${field.label!}不能为空!'}}"#if>/>
<#if last>
#if> <#elseif field.name=="subTitle"> <#if first>
#if>
<#if field.required>
*
#if>${field.label!}:
colspan="3"#if>>
vld="{required:true,messages:{required:'${field.label!}不能为空!'}}"#if>/>
<#if last>
#if> <#elseif field.name=="shortTitle"> <#if first>
#if>
<#if field.required>
*
#if>${field.label!}:
colspan="3"#if>>
vld="{required:true,messages:{required:'${field.label!}不能为空!'}}"#if>/>
<#if last>
#if> <#elseif field.name=="titleColor"> <#if first>
#if>
${field.label!}:
colspan="3"#if>>
checked="checked"#if>/>加粗
value="${article.bold?string('true','false')}"<#else> value="false"#if>/>
<#if last>
#if> <#elseif field.name=="tagStr"> <#if first>
#if>
${field.label!}:
colspan="3"#if>>
用","分隔
<#if last>
#if> <#elseif field.name=="description"> <#if first>
#if>
<#if field.required>
*
#if>${field.label!}:
colspan="3"#if>>
${article.description!}
<#if last>
#if> <#elseif field.name=="author"> <#if first>
#if>
<#if field.required>
*
#if>${field.label!}:
colspan="3"#if>>
vld="{required:true,messages:{required:'${field.label!}不能为空!'}}"#if>/>
<#if last>
#if> <#elseif field.name=="origin"> <#if first>
#if>
<#if field.required>
*
#if>${field.label!}:
colspan="3"#if>>
vld="{required:true,messages:{required:'${field.label!}不能为空!'}}"#if>/>
来源链接:
<#if last>
#if> <#elseif field.name=="style"> <#if first>
#if>
${field.label!}:
colspan="3"#if>>
<#list typeList as type>
checked="checked"#if>/>${type.name!}
#list>
<#if last>
#if> <#elseif field.name=="recommend"> <#if first>
#if>
${field.label!}:
colspan="3"#if>>
checked="checked"#if>/>推荐
checked="checked"#if>/>置顶
<#assign c = false> <@Perm perm="admin:doc:check"> <#assign c = true>
checked="checked"#if>/>审核
@Perm>
<#if last>
#if> <#elseif field.name=="commentControl"> <#if first>
#if>
${field.label!}:
colspan="3"#if>>
checked="checked"#if>/>开启评论
checked="checked"#if>/>关闭评论
<#if last>
#if> <#elseif field.name=="tplContent"> <#if first>
#if>
${field.label!}:
colspan="3"#if>>
浏览
<@Perm perm="admin:tpl:edit">
编辑
@Perm>
<#if last>
#if> <#elseif field.name=="atts"> <#assign u1 = true/> <#if first>
#if>
${field.label!}:
colspan="3"#if>>
<#if article.atts??> <#list article.atts as attach>
${attach.name!}
#list> #if>
<#if last>
#if> <#elseif field.name=="txt"> <#if first>
#if>
${field.label!}:
colspan="3"#if>>
${article.txtValue!}
<#if last>
#if> <#elseif field.name=="picture"> <#assign u2 = true/> <#if first>
#if>
${field.label!}:
colspan="3"#if> id="aimgshow">
<#if article.pics??> <#assign s = -1> <#list article.pics as p> <#if p.thumb??&&p.thumb> <#assign s = s+1>
checked="checked"#if>/>标题图
<#list typeList as type> <#if type.hasImage>
<#else>style="display:none"#if> id="typeshow${type.id}${s}">
checked="checked"#if>/>${type.name!}
#if> #list>
#if> #list> #if>
<#if last>
#if> <#elseif field.name=="pics"> <#assign u = true/> <#if first>
#if>
${field.label!}:
colspan="3"#if> id="imgshow">
<#if article.pics??> <#assign i = -1> <#list article.pics as p> <#if !p.thumb??||!p.thumb> <#assign i = i+1>
checked="checked"#if>/>封面
${p.description!}
#if> #list> #if>
<#if last>
#if> <#elseif field.name=="releaseDate"> <#if first>
#if>
${field.label!}:
colspan="3"#if>>
留空则为当前时间
<#if last>
#if> #if> <#else> <#include "custom.html"/> #if> #list>
<@Perm perm="admin:doc:update">
@Perm>
<#include "divc.html"/>