📄 admin-close.jsp
字号:
<%@ page import="
org.opencms.workplace.*,
org.opencms.util.CmsStringUtil,
org.opencms.jsp.CmsJspActionElement
"%><%
CmsJspActionElement jsp = new CmsJspActionElement(pageContext, request, response);
CmsDialog wp = new CmsDialog(jsp);
int buttonStyle = wp.getSettings().getUserSettings().getEditorButtonStyle();
%><html>
<head>
<meta http-equiv="content-type" content="text/html; charset=<%= wp.getEncoding() %>">
<title>External Administration View Tool Bar</title>
<link rel=stylesheet type="text/css" href="<%= CmsWorkplace.getStyleUri(wp.getJsp())%>workplace.css">
<script type="text/javascript">
<!--
// Ask user whether he really wants to leave
function confirmExit() {
if (confirm ("<%= wp.key("admin.message.exit") %>")) {
<% if (wp.isPopup() || CmsStringUtil.isEmpty(wp.getParamCloseLink()) || wp.getParamCloseLink().equals("null")) {
// this is a popup window, close it
%>
top.close();
<% } else {
// no popup, reload parent
%>
parent.location.href='<%= wp.getParamCloseLink() %>';
<% } %>
}
}
//-->
</script>
</head>
<body class="buttons-head" unselectable="on" >
<table cellspacing="0" cellpadding="0" border="0" width="100%" height="100%">
<tr>
<td>
<%= wp.buttonBar(CmsWorkplace.HTML_START) %>
<%= wp.buttonBarStartTab(0, 5) %>
<td class="maxwidth"> </td>
<%= wp.button("javascript:confirmExit();", null, "exit", "button.close", buttonStyle) %>
<%= wp.buttonBarSpacer(5) %>
<%= wp.buttonBar(CmsWorkplace.HTML_END) %>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -