⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 showforumarticle.ftl

📁 Sequoia ERP是一个真正的企业级开源ERP解决方案。它提供的模块包括:电子商务应用(e-commerce), POS系统(point of sales),知识管理,存货与仓库管理
💻 FTL
字号:
<#import "bloglib.ftl" as blog/><div class="screenlet" ><div style="margin:10px;" ><@blog.renderAncestryPath trail=ancestorList?default([]) endIndexOffset=1 /><#-- Do this so that we don't have to find the content twice (again in renderSubContent) --><#assign lastNode = globalNodeTrail?if_exists?last/><#if lastNode?has_content>  <#assign subContent=lastNode.value/><#else><#assign subContent = delegator.findByPrimaryKeyCache("Content", Static["org.ofbiz.base.util.UtilMisc"].toMap("contentId", subContentId))/><#assign dummy = globalNodeTrail.add(lastNode)/></#if><br/><div class="head1">${uiLabelMap.EcommerceContentFor} [${subContentId}] ${subContent.contentName?if_exists} - ${subContent.description?if_exists}:</div><br/><table border="0" width="100%" class="blogtext">    <tr>    <td width="40">&nbsp;</td>    <td>    <@renderSubContentCache subContentId=requestParameters.contentId />    </td>    <td width="40" valign="bottom"><#--<@wrapSubContentCache subContentId=subContentId wrapTemplateId="WRAP_VIEW" ></@wrapSubContentCache >--><@checkPermission mode="equals" entityOperation="_CREATE" targetOperation="HAS_USER_ROLE" >    <a class="tabButton" href="<@ofbizUrl>createforumresponse?contentIdTo=${requestParameters.contentId}&amp;nodeTrailCsv=${nodeTrailCsv?if_exists}</@ofbizUrl>" >${uiLabelMap.EcommerceRespond}</a></@checkPermission><br/>    </td>    </tr></table><hr/><#--<@checkPermission mode="not-equals" subContentId=subContentId targetOperation="CONTENT_CREATE|CONTENT_RESPOND" contentPurposeList="RESPONSE" >            ${permissionErrorMsg?if_exists}</@checkPermission>-->        <div class="head1">${uiLabelMap.EcommerceResponses}</div><br/><table border="0" width="100%" class="tableheadtext"><@loopSubContentCache  contentAssocTypeId="RESPONSE" subContentId=subContentId mapKey=""                pickWhen="contentAssocTypeId != null && \"RESPONSE\".equals(contentAssocTypeId) && mapKey == null"                followWhen="contentAssocTypeId != null && \"_never_\".equals(contentAssocTypeId)">  <tr>    <#assign indentStr=indent?default("0")/>    <#assign indent=indentStr?number/>    <#if 1 < indent >  <td class="tabletext">        <#assign thisContentId = ""/>        <#if nodeTrailCsv?exists>            <#assign idList = nodeTrailCsv?split(",")/>            <#if 0 < idList?size >                <#assign thisContentId = idList?last>            </#if>        </#if>        <#if content?exists>        <a class="tabButton" href="<@ofbizUrl>showforumresponse?contentId=${thisContentId}&amp;nodeTrailCsv=${nodeTrailCsv?if_exists}</@ofbizUrl>" >${uiLabelMap.CommonView}</a>[${thisContentId}] ${content.contentName?if_exists}-${content.description?if_exists}        </#if>    </#if></@loopSubContentCache ><#--<@wrapSubContentCache subContentId=subContentId wrapTemplateId="WRAP_NEXT_PREV" ></@wrapSubContentCache >--></table></div></div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -