📄 bulletin.res
字号:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:moex="urn:moex-scripts" exclude-result-prefixes="msxsl moex">
<xsl:output method="xml" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
<xsl:preserve-space elements="*"/>
${res.moex.twinbbs.function}
<xsl:template match="root">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="cache-control" content="no-cache" />
<xsl:if test="vars/@redirect != ''">
<moex:meta http-equiv="Refresh" content="${env.redirect}; url=${vars.redirect}" />
</xsl:if>
<title>${page.name} - Powered by WAPmo</title>
<moex:link rel="stylesheet" href="skins/${vars.skin}/main.css" />
<script language="javascript" src="include/common.js"></script>
<script language="javascript" src="include/xmlrpc.js"></script>
</head>
<body>
<div class="limit">
<xsl:apply-templates select="bulletins/bulletin[@seqid = //vars/@id]" />
</div>
</body>
</html>
</xsl:template>
<xsl:template match="bulletin">
<div class="nav1">
<div class="nav2">${lang.bulletin}: ${$.title}</div>
<div class="nav3">
<table width="100%" border="1" cellpadding="2" cellspacing="0" bordercolor="#E1F0FF">
<tr>
<td colspan="2"><blockquote><xsl:value-of select="./@content" disable-output-escaping="yes" /></blockquote></td>
</tr>
<tr>
<td width="50%">${lang.post_username}: <moex:a href="user.asp?name=${$.postusername}" target="_blank">${$.postusername}</moex:a></td>
<td width="50%">${lang.post_time}: ${moex:format_time(./@posttime, 'Y-m-d')}</td>
</tr>
<tr>
<td colspan="2" align="center"><moex:input type="button" onclick="window.close()" value="${lang.close_window}" class="btn" /></td>
</tr>
</table>
</div>
</div>
</xsl:template>
</xsl:stylesheet>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -