<@cms.content id=id!copyId absoluteURL=false absoluteId=false> <#assign a=object parentId=a.parentId!'' categoryId=a.categoryId!'' modelId=a.modelId!'' attribute=getContentAttribute(a.id,false) /> <@cms.category id=categoryId!><#assign category=object/> <@cms.model id=modelId!><#assign model=object/> <@sys.dept id=admin.deptId!><#assign dept=object/>
<#if model?has_content>
<#assign fieldList=model.fieldList![]/> <#assign requiredFieldList=model.requiredFieldList![]/> <@cms.content id=parentId>
<@t.page 'content.parent'/>:
${(object.title)!}
<@t.page 'category'/>:
<#if !parentId?has_content>
<#if !parentId?has_content>
<@t.page 'model'/>:
${(model.name)!}
${(model.fieldTextMap['title'])!}:
<#if fieldList?seq_contains('copied')> <#if fieldList?seq_contains('sort')> <#else>
${(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 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 a?has_content><@t.page 'publish_date'/><#else><@t.page 'content.timming'/>:
<@t.page 'expiry_date'/>:
<#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)!}"/>
<#include "../include_page/extendData.html"/> <#if category?has_content&&category.extendId?has_content> <@sys.extendFieldList extendId=category.extendId> <@extendData extendList=list extendValues=attribute historyItemType='contentExtend' historyItemId=id/> <@extendData extendList=model.extendList extendValues=attribute historyItemType='contentExtend' historyItemId=id/> <#if fieldList?seq_contains('cover')>
${(model.fieldTextMap['cover'])!}:
class="required" value="${(a.cover)!}" maxlength="300" size="50" type="text"/> ${(model.fieldTextMap['cover'])!} <@t.page 'button.view'/> <#if (model.coverWidth)?has_content && (model.coverHeight)?has_content>${(model.coverWidth)!}*${(model.coverHeight)!} <#include "../include_page/preview.html"/> <@preview 'content' 'input[name=cover]'/>
<#if fieldList?seq_contains('description')>
${(model.fieldTextMap['description'])!}:
<#if fieldList?seq_contains('content')>
${(model.fieldTextMap['content'])!}:
<#assign copy=false/> <#if a?has_content && !id?has_content><#assign copy=true/> <#if model.hasImages||model.hasFiles> <#include "../include_page/contentFiles.html"/> <#if model.hasImages>
<@contentFiles true id!copyId copy/>
<#if model.hasFiles>
<@contentFiles false id!copyId copy/>
<#if model.hasProducts>
<#include "../include_page/contentProducts.html"/> <@contentProducts id!copyId copy/>
<#if (model.relatedList)?has_content> <#list model.relatedList as a>
<#if a.dictionaryId?has_content> <#if id?has_content> <@cms.contentRelatedList contentId=id relationType=a.dictionaryId> <#list page.list as related> <#if a.dictionaryId?has_content>
<@t.page 'content.select'/><@t.page 'relation'/> <@t.page 'address'/> <@t.page 'description'/> <@t.page 'sort'/> <@t.page 'operate'/>
<@t.page 'content.select'/> <@t.page 'button.delete'/>