<#include "../../liger.html"/>
<#include "attupload.html"/>

## 文档/添加

<#assign u = false/> <#assign u1 = false/> <#assign u2 = false/> <#assign count=0/> <#assign i=0/> <#list fieldList as field> <#assign cols=false> <#assign i=i+1/> <#assign first=true/> <#assign last=true/> <#if !field.single&&field_has_next&&!fieldList[i].single&&count%2==0><#assign last=false/> <#if !field.single&&i gt 1&&!fieldList[i-2].single&&count%2==1><#assign first=false/> <#if field.single||(!field.single&&field_has_next&&fieldList[i].single&&count%2==0)||(!field.single&&!field_has_next&&count%2==0)><#assign cols=true><#else><#assign count=count+1/> <#if field.economy> <#if field.name=="channelId"> <#if first>
*所属栏目: | colspan="3"> value="${channel.name!}" vld="{required:true,checkchannel:true,messages:{required:'${field.label!}不能为空!',checkchannel:'请选择末级栏目添加信息!'}}"/> value="${channel.id!}"/> value="${channel.child?size!}"/> 关联栏目 浏览权限 <#if last>
<#elseif field.name=="title"> <#if first>
*${field.label!}： | colspan="3"> size="${field.size!}"<#else>size="60" maxlength="${field.maxlength!127}" onchange="titleTag()" vld="{required:true,messages:{required:'${field.label!}不能为空!'}}"/> 外部链接 URL: <#if last>
<#elseif field.name=="redTape"> <#if first>
<#if field.required>*${field.label!}： | colspan="3"> size="${field.size!}"<#else>size="60" <#if field.maxlength??>maxlength="${field.maxlength!}"<#else>maxlength="50" <#if field.required>vld="{required:true,messages:{required:'${field.label!}不能为空!'}}"/> <#if last>
<#elseif field.name=="subTitle"> <#if first>
<#if field.required>*${field.label!}： | colspan="3"> size="${field.size!}"<#else>size="60" <#if field.maxlength??>maxlength="${field.maxlength!}"<#else>maxlength="50" <#if field.required>vld="{required:true,messages:{required:'${field.label!}不能为空!'}}"/> <#if last>
<#elseif field.name=="shortTitle"> <#if first>
<#if field.required>*${field.label!}： | colspan="3">size="${field.size!}"<#else>size="35" <#if field.maxlength??>maxlength="${field.maxlength!}"<#else>maxlength="30" <#if field.required>vld="{required:true,messages:{required:'${field.label!}不能为空!'}}"/> <#if last>
<#elseif field.name=="titleColor"> <#if first>
${field.label!}： | colspan="3"> 加粗 <#if last>
<#elseif field.name=="tagStr"> <#if first>
${field.label!}： | colspan="3"> size="${field.size!}"<#else>size="35" maxlength="25" vld="{maxlength:25,messages:{maxlength:'${field.label!}长度不能超过25!'}}"/> 用","分隔 <#if last>
<#elseif field.name=="description"> <#if first>
<#if field.required>*${field.label!}： | colspan="3"> <#if last>
<#elseif field.name=="author"> <#if first>
<#if field.required>*${field.label!}： | colspan="3">vld="{required:true,messages:{required:'${field.label!}不能为空!'}}"/> <#if last>
<#elseif field.name=="origin"> <#if first>
<#if field.required>*${field.label!}： | colspan="3"> vld="{required:true,messages:{required:'${field.label!}不能为空!'}}"/> 来源链接: <#if last>
<#elseif field.name=="style"> <#if first>
${field.label!}： | colspan="3"> <#list typeList as type> checked="checked"/>${type.name!} <#if last>
<#elseif field.name=="recommend"> <#if first>
${field.label!}： | colspan="3"> 推荐 置顶 <#if last>
<#elseif field.name=="commentControl"> <#if first>
${field.label!}： | colspan="3"> 开启评论 关闭评论 <#if last>
<#elseif field.name=="tplContent"> <#if first>
${field.label!}： | colspan="3"> 浏览 <@Perm perm="admin:tpl:edit"> 编辑 <#if last>
<#elseif field.name=="atts"> <#assign u1 = true/> <#if first>
${field.label!}： | colspan="3"> <#if last>
<#elseif field.name=="txt"> <#if first>
${field.label!}： | colspan="3"> <#if last>
<#elseif field.name=="picture"> <#assign u2 = true/> <#if first>
${field.label!}： | colspan="3" id="aimgshow"> <#if last>
<#elseif field.name=="pics"> <#assign u = true/> <#if first>
${field.label!}： | colspan="3" id="imgshow"> <#if last>
<#elseif field.name=="releaseDate"> <#if first>
${field.label!}： | colspan="3"> 留空则为当前时间 <#if last>
<#else> <#include "custom.html"/>
<@Perm perm="admin:doc:save">

<#include "divc.html"/>