📄 changesignature.jsp
字号:
<%--
- $Header: /cvsroot/mvnforum/mvnforum/srcweb/mvnplugin/mvnforum/user/changesignature.jsp,v 1.30 2005/01/18 11:01:42 minhnn Exp $
- $Author: minhnn $
- $Revision: 1.30 $
- $Date: 2005/01/18 11:01:42 $
-
- ====================================================================
-
- Copyright (C) 2002-2005 by MyVietnam.net
-
- This program is free software; you can redistribute it and/or
- modify it under the terms of the GNU General Public License
- as published by the Free Software Foundation; either version 2
- of the License, or any later version.
-
- All copyright notices regarding mvnForum MUST remain intact
- in the scripts and in the outputted HTML.
- The "powered by" text/logo with a link back to
- http://www.mvnForum.com and http://www.MyVietnam.net in the
- footer of the pages MUST remain visible when the pages
- are viewed on the internet or intranet.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
- Support can be obtained from support forums at:
- http://www.mvnForum.com/mvnforum/index
-
- Correspondence and Marketing Questions can be sent to:
- info@MyVietnam.net
-
- @author: Minh Nguyen minhnn@MyVietnam.net
- @author: Mai Nguyen mai.nh@MyVietnam.net
--%>
<%@ page contentType="text/html;charset=utf-8" %>
<%@ page errorPage="fatalerror.jsp"%>
<%@ page import="net.myvietnam.mvncore.util.ParamUtil" %>
<%@ page import="com.mvnforum.MyUtil" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ include file="inc_common.jsp"%>
<fmt:bundle basename="mvnForum_i18n">
<html <fmt:message key="mvnforum.common.i18n.html_dir"/>>
<head>
<title><fmt:message key="mvnforum.common.forum.title_name"/> - <fmt:message key="mvnforum.user.changesignature.title"/></title>
<%@ include file="/mvnplugin/mvnforum/meta.jsp"%>
<link href="<%=onlineUser.getCssPath()%>" rel="stylesheet" type="text/css">
</head>
<script language="JavaScript1.2" src="<%=contextPath%>/mvnplugin/mvnforum/js/vietuni.js" type="text/javascript"></script>
<body leftmargin="0" topmargin="0">
<%@ include file="header.jsp"%>
<br/>
<table width="95%" align="center">
<tr class="nav">
<td><img src="<%=contextPath%>/mvnplugin/mvnforum/images/nav.gif"></td>
<td width="100%" nowrap>
<a class="nav" href="index"><fmt:message key="mvnforum.common.nav.index"/></a> »
<a class="nav" href="myprofile"><fmt:message key="mvnforum.user.header.my_profile"/></a> »
<fmt:message key="mvnforum.user.changesignature.title"/>
</td>
</tr>
</table>
<br/>
<%
boolean isPreviewing = ParamUtil.getParameterBoolean(request, "preview");
String signature = ParamUtil.getAttribute(request, "MemberSignature");
if (isPreviewing) { %>
<table class="tborder" width="95%" cellspacing="1" cellpadding="3" align="center">
<tr class="theader">
<td colspan="2"><fmt:message key="mvnforum.common.button.preview"/></td>
</tr>
<tr class="trow1">
<td><%=MyUtil.filter(signature, false/*html*/, true/*emotion*/, true/*mvnCode*/, true/*newLine*/, true/*URL*/)%></td>
</tr>
</table>
<br/>
<% } %>
<form action="changesignatureprocess" method="post" name="submitform">
<table class="tborder" width="95%" cellspacing="1" cellpadding="3" align="center">
<tr class="theader">
<td colspan="2"><fmt:message key="mvnforum.user.changesignature.prompt"/></td>
</tr>
<tr class="trow1">
<td valign="top"><fmt:message key="mvnforum.user.changesignature.signature"/></td>
<td><textarea cols="60" rows="15" name="MemberSignature" onkeyup="initTyper(this);"><%=signature%></textarea></td>
</tr>
<%if (currentLocale.equals("vi")) {/*vietnamese here*/%>
<tr class="trow2">
<td valign="top" nowrap>Kiểu gõ tiếng Việt:</td>
<td>
<input type="radio" name="vnselector" id="TELEX" value="TELEX" onClick="setTypingMode(1);" class="noborder"> Telex
<input type="radio" name="vnselector" id="VNI" value="VNI" onClick="setTypingMode(2);" class="noborder"> VNI
<input type="radio" name="vnselector" id="VIQR" value="VIQR" onClick="setTypingMode(3);" class="noborder"> VIQR<br>
<input type="radio" name="vnselector" id="NOVN" value="NOVN" onClick="setTypingMode(0);" class="noborder"> Không sử dụng<br>
<script language="JavaScript">initVNTyperMode();</script>
</td>
</tr>
<%}// end if vietnamese%>
<tr>
<td class="trowfinal" colspan="2" align="center">
<input type="hidden" name="preview" value="">
<input type="button" name="previewbutton" value="<fmt:message key="mvnforum.common.button.preview"/>" onclick="preview.value='true'; submitbutton.disabled=true; previewbutton.disabled=true; submitform.action='changesignature'; submit();" class="liteoption">
<input type="button" name="submitbutton" value="<fmt:message key="mvnforum.user.changesignature.button.change_signature"/>" onclick="submitbutton.disabled=true; previewbutton.disabled=true; submit();" class="mainoption">
<input type="reset" value="<fmt:message key="mvnforum.common.button.reset"/>" class="liteoption">
</td>
</tr>
</table>
</form>
<br/>
</fmt:bundle>
<%@ include file="footer.jsp"%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -