開源 java CMS - FreeCMS商業版在信息列表中直接點擊下載附件

項目地址:http://www.freeteam.cn/

原文地址:http://www.freeteam.cn/site/FreeCMS/tips/info/2016/5605.htmlhtml

<@infoPage siteid="${site.id}"   channelparid="${currChannel.id}"  num="8" page="${page!1}"spa

         titleLen="70" dateFormat="yyyy-MM-dd" order="3" orm

action="${contextPathNo}/templetPro.do?siteid=${site.id}&templetPath=channel.html&currChannelid=${currChannel.id}"; infoList,pager>htm

 

 <#list infoList as info>ip

<!--經過uploadfile標籤提取此信息的附件-->get

<@uploadfile objid='${info.id!""}';uploadfileList>it

<#list uploadfileList as filebean>io

<!--連接到附件的下載地址-->form

<a href="${contextPath}download.do?fileid=${filebean.id}"  class="clearfix"><span class="bookIcon"></span>${info.title}</a>class

</#list>

</@uploadfile>

 </#list>

${pager.formPageStr}

</@infoPage>

相關文章
相關標籤/搜索