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

📄 recommend

📁 找了很久才找到到源代码
💻
字号:
<%@page buffer="none" session="false" import="org.opencms.jsp.*" %><%

// initialize action element to access the API
CmsJspActionElement cms = new CmsJspActionElement(pageContext, request, response);

String template = "/system/modules/org.opencms.frontend.templateone/templates/main";

if (cms.template("head")) {
	// include the template head part
	cms.include(template, "head");
}

if (cms.template("content")) {
%>
	<div class="element"><span style="font-weight:bold; font-size: 1.2em">Form Head</span><br>
		<% cms.includeSilent(null, "form_head", true); %>
	</div>
	<div class="element"><span style="font-weight:bold; font-size: 1.2em">Form Foot</span><br>
		<% cms.includeSilent(null, "form_foot", true); %>
	</div>
	<div class="element"><span style="font-weight:bold; font-size: 1.2em">Mail Head</span><br>
		<% cms.includeSilent(null, "mail_head", true); %>
	</div>
	<div class="element"><span style="font-weight:bold; font-size: 1.2em">Mail Foot</span><br>
		<% cms.includeSilent(null, "mail_foot", true); %>
	</div>
	<div class="element"><span style="font-weight:bold; font-size: 1.2em">Confirmation Head</span><br>
		<% cms.includeSilent(null, "confirm_head", true); %>
	</div>
	<div class="element"><span style="font-weight:bold; font-size: 1.2em">Confirmation Foot</span><br>
		<% cms.includeSilent(null, "confirm_foot", true); %>
	</div>
<%
}

if (cms.template("foot")) {
	// include the template foot part
	cms.include(template, "foot");
}
%>

⌨️ 快捷键说明

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