📄 post.jsp
字号:
else {
lycode("b","","<bean:message key="jsp.post.advpost.bold"/>",word);
}
}
function italicize() {
if (helpstat) {
alert("<bean:message key="jsp.post.advpost.italichelp"/>");
} else if (basic) {
lycode("i","","","");
} else {
lycode("i","","<bean:message key="jsp.post.advpost.italic"/>",word);
}
}
function underline() {
if (helpstat) {
alert("<bean:message key="jsp.post.advpost.underlinehelp"/>");
} else if (basic) {
lycode("u","","","");
} else {
lycode("u","","<bean:message key="jsp.post.advpost.underline"/>",word);
}
}
function quoteme() {
if (helpstat){
alert("<bean:message key="jsp.post.advpost.quotehelp"/>");
}
else if (basic) {
lycode("quote","","","");
} else {
lycode("quote","","<bean:message key="jsp.post.advpost.quote"/>",word);
}
}
function setsound() {
if (helpstat) {
alert("<bean:message key="jsp.post.advpost.soundhelp"/>");
} else if (basic) {
lycode("sound","","","");
} else {
lycode("sound","","<bean:message key="jsp.post.advpost.sound"/>","http://");
}
}
function showcolor() {
var buttonElement = document.getElementById('forecolor');
var wleft=getOffsetLeft(buttonElement);
var wtop=getOffsetTop(buttonElement) + buttonElement.offsetHeight;
window.open("bbs_commonForward.do?forward=selectcolor", "color", "statusbar=no,menubar=no,toolbar=no,scrollbars=no,resizable=no,width=285,height=248,left="+wleft+",top="+wtop);
}
function setColor(color){
if (color!=null) {
if (helpstat) {
alert("<bean:message key="jsp.post.advpost.colorhelp"/>");
}
else if (basic) {
lycode("color",color,"","");
} else {
lycode("color",color,"<bean:message key="jsp.post.advpost.color"/>"+color,word);
}
}
}
function setfly() {
if (helpstat){
alert("<bean:message key="jsp.post.advpost.flyhelp"/>");
} else if (basic) {
lycode("fly","","","");
} else {
lycode("fly","","<bean:message key="jsp.post.advpost.fly"/>",word);
}
}
function move() {
if (helpstat) {
alert("<bean:message key="jsp.post.advpost.movehelp"/>");
} else if (basic) {
lycode("move","","","");
} else {
lycode("move","","<bean:message key="jsp.post.advpost.move"/>",word);
}
}
function center() {
if (helpstat) {
alert("<bean:message key="jsp.post.advpost.alignhelp"/>");
} else if (basic) {
lycode("align","center","","");
} else {
lycode("align","center","<bean:message key="jsp.post.advpost.alignhelp"/>",word);
}
}
function hyperlink() {
if (helpstat) {
alert("<bean:message key="jsp.post.advpost.linkhelp"/>");
} else if (basic) {
lycode("url","","","");
} else {
lycode("url","","<bean:message key="jsp.post.advpost.linkhelp"/>",word);
}
}
function image() {
if (helpstat){
alert("<bean:message key="jsp.post.advpost.imagehelp"/>");
} else if (basic) {
lycode("img","","","");
} else {
lycode("img","","<bean:message key="jsp.post.advpost.image"/>","http://");
}
}
function showcode() {
if (helpstat) {
alert("<bean:message key="jsp.post.advpost.codehelp"/>");
} else if (basic) {
lycode("code","","","");
} else {
lycode("code","","<bean:message key="jsp.post.advpost.code"/>","");
}
}
function list() {
if (helpstat) {
alert("<bean:message key="jsp.post.advpost.listhelp"/>");
} else if (basic) {
lycode("list","","","\r[*]\r[*]\r[*]");
} else {
txt=prompt("<bean:message key="jsp.post.advpost.list"/>","");
while ((txt!="")) {txt=prompt("<bean:message key="jsp.post.advpost.listerror"/>",""); }
if (txt!=null) {if (txt=="") {AddTxt="\r[list]\r\n";} else {AddTxt="\r[list="+txt+"]\r";} txt="1";
while ((txt!="") && (txt!=null)) {txt=prompt("<bean:message key="jsp.post.advpost.listitem"/>","");
if (txt!="") {AddTxt+="[*]"+txt+"[/*]\r"; }} AddTxt+="[/list]\r\n";AddText(AddTxt); }
}
}
function showfont(font) {
if (helpstat){
alert("<bean:message key="jsp.post.advpost.fonthelp"/>");
} else if (basic) {
lycode("face",font,"","");
} else {
lycode("face",font,"<bean:message key="jsp.post.advpost.font"/>"+font,word);
}
}
function setswf() {
if (helpstat){
alert("<bean:message key="jsp.post.advpost.flashhelp"/>");
} else if (basic) {
lycode("swf","","","");
} else {
lycode("swf","","<bean:message key="jsp.post.advpost.flash"/>","http://");
}
}
function inputs(str){document.REPLIER.icon.value=str;}
function checklength(){alert("<bean:message key="jsp.post.content.length"/> "+theform.content.value.length+" <bean:message key="common.lybbs.byte"/>");}
function enable(btn){btn.filters.gray.enabled=0;}
function disable(btn){btn.filters.gray.enabled=1;}
function openHtmlEditor(){
newwin=window.open('bbs_commonForward.do?forward=postHtml','htmlEditor','width=696,height=420,left=150,top=100');
newwin.focus();
}
</SCRIPT>
</head>
<bean:define id="publicStyle" name="publicStyleBean" type="net.lybbs.publicstyle.bean.IPublicStyle"/>
<%
int postID=ParameterUtils.getInt(request,"postID");
String action=ParameterUtils.getString(request,"action");
%>
<body topmargin=0 leftmargin=0 onload="init()">
<TABLE class=tableCommonStyle cellSpacing=1 cellPadding=3 border=0 align=center>
<TR>
<TD class=noBgStyle id=blogTitleBg background="<bean:write name="blogBean" property="bgpic" scope="request"/>">
<TABLE width=100% cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD height=94>
<TABLE cellSpacing=0 cellPadding=0 width=100% border=0>
<TBODY>
<TR>
<TD align=right width=170> </TD>
<TD>
<table class="titletable" height=35 cellSpacing=1 cellPadding=5 bgColor=#000000 border=0>
<tr>
<td class="titletd"><bean:write name="blogBean" property="title" scope="request"/></td>
</tr>
</table>
</TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=100% border=0>
<TBODY>
<TR>
<TD vAlign=bottom align=right width=520 height=31>
<table class="titletable" height=18 cellSpacing=1 cellPadding=5 bgColor=#000000 border=0>
<tr>
<td>
<A href="<bean:write name="blogBean" property="url" scope="request"/>" target=_blank><bean:write name="blogBean" property="url" scope="request"/></A>
</td>
</tr>
</table>
</TD>
<TD vAlign=bottom width=20> </TD>
<TD vAlign=bottom class="blogtitle">
<table class="titletable" height=18 cellSpacing=1 cellPadding=5 bgColor=#000000 border=0>
<tr>
<td>
<LABEL style="CURSOR: hand" onclick=copy()>复制</LABEL>
</td>
</tr>
</table>
</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
<tr>
<td class=menuStyle height=22>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr>
<td align=left>
<lybbs:typeUserHeaderTag forumID="0"/>
</td>
<td align=right>
<lybbs:web key="returnHomeLink"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table class=tableCommonStyle cellpadding=3 cellspacing=1 border=0 align=center >
<tr>
<td class=catStyle valign=middle align=center colspan=2><b>博客管理中心</b></td>
</tr>
<tr>
<td valign=top align="center" class=forumColorOne width=150>
<lybbs:blog key="adminLeft"/>
</td>
<td class=forumColorTwo valign=top>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td height="30"><b>发表文章</b></td>
<td> </td>
</tr>
<tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -