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

📄 errorpage.properties

📁 cms是开源的框架
💻 PROPERTIES
字号:
ERRORPAGE=<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">\n\
<html>\n\
<head>\n\
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">\n\
<link rel="stylesheet" type="text/css" href="${styleuri}">\n\
<script type="text/javascript">\n\
function submitAction(actionValue, theForm, formName) {\n\
	if (theForm == null) {\n\
		theForm = document.forms[formName];\n\
	}\n\
	theForm.framename.value = window.name;\n\
	if (actionValue == "ok") {\n\
		return true;\n\
	}\n\
	theForm.action.value = actionValue;\n\
	theForm.submit();\n\
	return false;\n\
}\n\
var init = false;\n\
\n\
function toggleElement(id) {\n\
	var el = document.getElementById(id);\n\
	var cl = el.className;\n\
	if (cl == "hide") {\n\
		el.className = "show";\n\
		if (! init) {\n\
			init = true;\n\
			setTimeout("initTrace();", 0);\n\
		}\n\
	} else {\n\
		el.className = "hide";\n\
	}\n\
}\n\
\n\
function initTrace() {\n\
	trace.document.open();\n\
	trace.document.write("<html><body style='background-color: Window; overflow: scroll;'><pre>${errorstack}</pre></body></html>");\n\
	trace.document.close();\n\
}\n\
function closeDialog() { \n\
	if (history.length < 1) { \n\
		window.close(); \n\
	} else { \n\
		history.back(); \n\
	} \n\
}\n\
\n\
function closeErrorDialog(actionValue, theForm) {\n\
	submitAction(actionValue, theForm);\n\
}\n\
\n\
\n\
function confirmAction(actionValue, theForm) {\n\
    if (actionValue == "ok") {\n\
        return true;\n\
    } else {\n\
	theForm.target = "_top";\n\
        theForm.action.value = "exit";\n\
        theForm.submit();\n\
        return false;\n\
    }\n\
}\n\
</script>\n\
\n\
</head>\n\
<body unselectable="on" class="dialog">\n\
\n\
<table class="dialog" cellpadding="0" cellspacing="0"><tr><td>\n\
<table class="dialogbox" cellpadding="0" cellspacing="0">\n\
<tr><td>\n\
\n\
<div class="dialoghead" unselectable="on">${title}</div><div class="dialogcontent" unselectable="on">\n\
\n\
\n\
<table border="0" cellpadding="4" cellspacing="0">\n\
<tr>\n\
	<td style="vertical-align: middle;"><img src="${erroricon}" border="0"></td>\n\
	<td style="vertical-align: middle;">\n\
<!-- 3D block start -->\n\
<div class="dialogblockborder dialogblockborderheadline" unselectable="on">\n\
\n\
<div class="dialogblock" unselectable="on">\n\
<span class="dialogblockhead" unselectable="on">${label_error}</span>\n\
\n\
${message}\n\
\n\
</div>\n\
</div>\n\
<!-- 3D block end --></td>\n\
</tr>\n\
</table>\n\
\n\
\n\
<div class="dialogspacer" unselectable="on">&nbsp;</div>\n\
\n\
<div class="dialogspacer" unselectable="on">&nbsp;</div>\n\
\n\
<!-- dialogcontent end -->\n\
</div>\n\
\n\
<form name="close" action="${paramaction}" method="post" class="nomargin">\n\
\n\
${hiddenparams}\n\
\n\
${buttons}\n\
\n\
\n\
</form>\n\
\n\
<div name="errordetails" id="errordetails" class="hide">\n\
<div style="margin: 10px; ">\n\
<iframe name="trace" id="trace" src="about:blank" style="width:100%; height:400px; margin: 0; padding: 0;"></iframe>\n\
</div>\n\
</div>\n\
\n\
</td></tr></table>\n\
</td></tr></table>\n\
<p>&nbsp;</p>\n\
\n\
</body>\n\
</html>\n\

⌨️ 快捷键说明

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