?? action_auxiliary.ftl
字號:
<#--
留言列表
ctgId:留言類別。類別ID。(默認全部)
recommend:是否推薦。【0:全部;2:推薦留言】(默認0)
orderBy:排序方式。【0:留言時間從新到舊;1:留言時間從舊到新;】(默認0)
firstResult:第一條記錄。(默認0)
count:記錄數。(默認20)
isPage:是否分頁。【0:不分頁;1:分頁】(默認0)
pageNo:頁號。(默認當前頁)
cssClass:容器class
cssStyle:容器style
style:標簽內部樣式。如果指定sysContent或userContent,則該項無效。【1:普通列表;】(默認1)
inner:是否使用標簽中直接編寫html代碼。【0:否;1:是】(默認0)
isLoop:內容是否循環。【0:不循環;1:循環】(默認1)
sysTpl:使用系統模板。【0:不使用;1:使用】(默認1)
sysContent:系統內容樣式。(默認0)
userContent:自定義內容文件名。如果指定了系統內容樣式,則該項無效。(默認空)
sysPage:系統分頁樣式。【0:不分頁;1:樣式一;2:樣式二】(默認0)
userPage:自定義分頁樣式文件名。如果指定了系統分頁樣式,則該項無效。(默認空)
custom:字符串數組。用于個性化處理。(默認空數組)
-->
<#macro MsgList ctgId="" recommend="0" orderBy="0"
isPage="0" count="20" firstResult="0" pageNo=pageNo
style="1" inner="0" isLoop="1" sysTpl="1" cssClass="" cssStyle="" custom=[]
sysContent="0" userContent="" sysPage="0" userPage="">
<#if inner=="0">
<@s.action name="MsgList" namespace="/jeecms/tag/auxiliary" executeResult="true"
ctgId=ctgId recommend=recommend orderBy=orderBy
isPage=isPage count=count firstResult=firstResult pageNo=pageNo
style=style sysTpl=sysTpl cssClass=cssClass cssStyle=cssStyle custom=custom
sysContent=sysContent userContent=userContent sysPage=sysPage userPage=userPage
/>
<#else>
<@s.action name="MsgListInner" namespace="/jeecms/tag/auxiliary" executeResult="false"
ctgId=ctgId recommend=recommend orderBy=orderBy
isPage=isPage count=count firstResult=firstResult pageNo=pageNo
/>
<#if isLoop=="1">
<#list n_pagination.list as item>
<#nested item,item_index,item_has_next/>
</#list>
<#else>
<#nested n_pagination/>
</#if>
</#if>
</#macro>
<#--
留言類別列表(inner標簽)
isLoop:內容是否循環。【0:不循環;1:循環】(默認1)
-->
<#macro MsgCtgList isLoop="1">
<@s.action name="MsgCtgListInner" namespace="/jeecms/tag/auxiliary" executeResult="false"/>
<#if isLoop=="1">
<#list n_list as item>
<#nested item,item_index,item_has_next/>
</#list>
<#else>
<#nested n_list/>
</#if>
</#macro>
<#--
留言類別列表(inner標簽)
id:投票ID。(默認為最新投票)
#inner:是否使用標簽中直接編寫html代碼。【0:否;1:是】(默認0)
-->
<#macro VoteTopic id="-1"
style="1" inner="0" sysTpl="1" cssClass="" cssStyle="" custom=[]>
<#if inner=="0">
<#local customs = "">
<#list custom as s>
<#local customs = customs+s>
<#if s_has_next><#local customs = customs+"|"></#if>
</#list>
<@s.action name="VoteTopic" namespace="/jeecms/tag/auxiliary" executeResult="true"
topicId=id
style=style sysTpl=sysTpl cssClass=cssClass cssStyle=cssStyle customs=customs
>
</@s.action>
<#else>
inner=1尚未實現
<#--<#nested n_bean/>-->
</#if>
</#macro>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -