<@_content id=id!copyId absoluteURL=false> <#assign a=object parentId=a.parentId!'' categoryId=a.categoryId!'' modelId=a.modelId!'' attribute=getContentAttribute(a.id)!{} /> <@_category id=categoryId!><#assign category=object/> <@_model id=modelId!><#assign model=object/>
<#if model?has_content> <#assign fieldList=model.fieldList![]/> <#assign requiredFieldList=model.requiredFieldList![]/> <@_content id=parentId>
<@t.page 'content.parent'/>:
${(object.title)!}
<@t.page 'category'/>:
<#if !parentId?has_content>
<@t.page 'category.select'/>
<#if !parentId?has_content>
<@t.page 'model'/>:
${(model.name)!}
${(model.fieldTextMap['title'])!t.pageMessage('title')}:
<#if fieldList?seq_contains('copied')>
${(model.fieldTextMap['source'])!}:
data-required="true" maxlength="50" size="20" value="${(attribute.source)!}"/>
${(model.fieldTextMap['sourceUrl'])!}:
data-required="true" maxlength="250" size="20" value="${(attribute.sourceUrl)!}"/>
<#if a?has_content&&a.copied&&fieldList?seq_contains('copied')> <#if model.onlyUrl>
${(model.fieldTextMap['url'])!}:
<#if fieldList?seq_contains('tag')> <#include "../include_page/tags.html"/> <#assign tagTypeIds=(category.tagTypeIds)!'' tagIds=(a.tagIds)!'' tagText=(model.fieldTextMap['tag'])!'' > <@tags tagText tagTypeIds tagIds/> <#if fieldList?seq_contains('author')>
${(model.fieldTextMap['author'])!}:
class="required" autocomplete="on" type="text" maxlength="50" size="20" value="${(a.author)!}"/>
<#if fieldList?seq_contains('editor')>
${(model.fieldTextMap['editor'])!}:
class="required" autocomplete="on" type="text" maxlength="50" size="20" value="${(a.editor)!}"/>
<#if fieldList?seq_contains('description')>
${(model.fieldTextMap['description'])!}:
<@t.page 'content.timming'/>:
<@t.page 'publish_date'/>:
<@t.page 'expiry_date'/>:
<#if a?has_content&&(a.publishDate gt .now || a.expiryDate?has_content)> <#if fieldList?seq_contains('cover')>
${(model.fieldTextMap['cover'])!}:
class="required" value="${(a.cover)!}" maxlength="300" size="50" type="text"/> ${(model.fieldTextMap['cover'])!} <#include "../include_page/preview.html"/> <@preview 'content' 'input[name=cover]'/>
<#include "../include_page/extendData.html"/> <#if category?has_content&&category.extendId?has_content> <@_sysExtendFieldList extendId=category.extendId> <#assign extendList=list![]/> <#assign extendValue=attribute!{}/> <@extendData 'categoryExtendDataList' extendList extendValue/> <#assign extendList=model.extendList![] extendValue=attribute!{} /> <@extendData 'modelExtendDataList' extendList extendValue/> <#if fieldList?seq_contains('content')>
${(model.fieldTextMap['content'])!}:
<#if model.hasImages||model.hasFiles> <#include "../include_page/contentFiles.html"/> <#if model.hasImages>
<@t.page 'image_list'/> <@contentFiles true id!copyId copy/>
<#if model.hasFiles>
<@t.page 'attach_list'/> <@contentFiles false id!copyId copy/>
<#if model.hasProducts> <#include "../include_page/contentProducts.html"/>
<@t.page 'product_list'/> <@contentProducts id!copyId copy/>
<#if id?has_content> <@_contentRelatedList contentId=id> <#list page.list as related>
<@t.page 'content.select'/> <@t.page 'address'/> <@t.page 'description'/> <@t.page 'sort'/> <@t.page 'operate'/>
<@t.page 'content.select'/> <@t.page 'button.delete'/>