@_content id=id>
<#assign
a=object
parentId=a.parentId!''
categoryId=a.categoryId!''
modelId=a.modelId!''
attribute=getContentAttribute(a.id)!{}
/>
@_content>
<@_category id=categoryId!><#assign category=object/>@_category>
<@_model id=modelId!><#assign model=object/>@_model>
<#if model?has_content>
<#assign fieldList=model.fieldList![]/>
<@_content id=parentId>
- <@t.page 'content.parent'/>:
-
${(object.title)!}
@_content>
- <@t.page 'category'/>:
-
${(category.name)!}
- <@t.page 'model'/>:
-
${(model.name)!}
- ${(model.fieldTextMap['title'])!}:
-
${(a.copied?then('['+t.pageMessage('copied')+']',''))!}${(a.title)!}
- <@t.page 'status'/>:
-
<@t.page 'status.content.'+(a.status)!/>
<#if 1=a.status>
- <@t.page 'inspector'/>:
-
<@_sysUser id=a.checkUserId>${(object.nickName)!}@_sysUser>
#if>
- <#if model.onlyUrl>${(model.fieldTextMap['url'])!}<#else><@t.page 'url'/>#if>:
-
${(a.url)!}
<#if a?has_content&&a.copied>
- ${(model.fieldTextMap['source'])!}:
- ${(attribute.source)!}
- ${(attribute.source)!}:
-
${(attribute.sourceUrl)!}
#if>
<#if fieldList?seq_contains('author')>
- ${(model.fieldTextMap['author'])!}:
- ${(a.author)!}
#if>
<#if fieldList?seq_contains('editor')>
- ${(model.fieldTextMap['editor'])!}:
- ${(a.editor)!}
#if>
<#if category?has_content && (a.tagIds)?has_content>
<#if category.tagTypeIds?has_content>
<@_tagType ids=category.tagTypeIds>
<#list map as k,tagType>
- ${tagType.name}:
-
<@_tag ids=a.tagIds>
<#list map as j,tag>
<#if tag.typeId=k>
${tag.name},
#if>
#list>
@_tag>
#list>
@_tagType>
<#else>
- ${(model.fieldTextMap['tag'])!}:
-
<@_tag ids=a.tagIds>
<#list map as j,tag>
${tag.name}<#sep>,
#list>
@_tag>
#if>
#if>
<#if fieldList?seq_contains('description')>
- ${(model.fieldTextMap['description'])!}:
-
${(a.description)!}
#if>
- <@t.page 'publish_date'/>:
-
${(a.publishDate)!}
<#if fieldList?seq_contains('cover')&&a.cover?has_content>
- ${(model.fieldTextMap['cover'])!}:
-
#if>
<#include "../include_page/extendData.html"/>
<#if category?has_content&&category.extendId?has_content>
<@_sysExtendFieldList extendId=category.extendId>
<#assign
extendList=list![]
extendValue=attribute!{}
/>
<@extendData 'categoryExtendDataList' extendList extendValue 'view'/>
@_sysExtendFieldList>
#if>
<#if model?has_content>
<#assign
extendList=model.extendList![]
extendValue=attribute!{}
/>
<@extendData 'modelExtendDataList' extendList extendValue 'view'/>
#if>
<#if a?has_content&&(a.hasImages||a.hasFiles)>
<#if a.hasImages>
- <@t.page 'image_list'/>:
-
<@_contentFileList contentId=a.id fileTypes='image'>
<#list page.list as file>
#list>
@_contentFileList>
#if>
<#if a.hasFiles>
- <@t.page 'attach_list'/>:
-
<@_contentFileList contentId=a.id fileTypes='video,audio,other'>
<#list page.list as file>
${(file.filePath)!}
#list>
@_contentFileList>
#if>
#if>
<#if fieldList?seq_contains('content')>
- ${(model.fieldTextMap['content'])!}:
-
${(attribute.text?no_esc)!}
#if>
#if>
<#if a?has_content>
<@_contentRelatedList contentId=a.id>
<#if page.totalCount gt 0>
- <@t.page 'recommend_info'/>:
-
<#list page.list as a>
${(a.title)!}
#list>
#if>
@_contentRelatedList>
<@_commentList advanced=true contentId=a.id count=100>
<#if page.totalCount gt 0>