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

📄 editconstants.jsp

📁 jGossip是一个简单而功能强大的Java论坛软件(消息板)
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<%--
/* ***** BEGIN LICENSE BLOCK *****
 * The contents of this file are subject to the Mozilla Public License
 * Version 1.1 (the "License"); you may not use this file except in 
 * compliance with the License. You may obtain a copy of the License 
 * at http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 * the License for the specific language governing rights and 
 * limitations under the License.
 *
 * The Original Code is JGossip forum code.
 *
 * The Initial Developer of the Original Code is the JResearch, Org. 
 * Portions created by the Initial Developer are Copyright (C) 2004 
 * the Initial Developer. All Rights Reserved. 
 * 
 * Contributor(s): 
 *              Dmitry Belov <bel@jresearch.org>
 *        
 * ***** END LICENSE BLOCK ***** */
--%>  
<%@ include file="../jspf/jsp_header.jspf"%>

<gossip:navBar id="<%=IConst.PAGE.TITLE_NAV_BAR%>" >
	<gossip:navElement>
		<gossip:title>
			<fmt:message key="global.CONSTANTS"/>
		</gossip:title>
	</gossip:navElement>
</gossip:navBar>
<%@ include file="../jspf/topbar.jspf"%>

   <html:form action="/EditConstants" onsubmit="hideErrors();return validateEditConstantsForm(this);">
   <%-- general configuration parameters--%>
         <table width="98%" cellspacing="0" cellpadding="0">
		<tr>
			<td width="180">	&nbsp;&nbsp;
			</td>
			<td class="top_tab" nowrap>	&nbsp;&nbsp;<span class="caption_l"><fmt:message key="global.CONSTANTS"/></span>&nbsp;&nbsp;
			</td>
			<td>&nbsp;
			</td>
			<td>
			</td>
		</tr>
		<tr>
			<td class="tb_o" height="4"><img src="<gossip:config key="<%=IConst.CONFIG.WEB_ROOT%>"/>images/blank.gif" alt="" width="1" height="1" border="0"></td>
			<td class="lr_g_tb_o"><img src="<gossip:config key="<%=IConst.CONFIG.WEB_ROOT%>"/>images/blank.gif" alt="" width="1" height="1" border="0"></td>
			<td class="tb_o" colspan="2"><img src="<gossip:config key="<%=IConst.CONFIG.WEB_ROOT%>"/>images/blank.gif" alt="" width="1" height="1" border="0"></td>
		</tr>
		<tr>
			<td height="8"><img src="<gossip:config key="<%=IConst.CONFIG.WEB_ROOT%>"/>images/blank.gif" alt="" width="1" height="1" border="0"></td>
			<td class="lr_g"><img src="<gossip:config key="<%=IConst.CONFIG.WEB_ROOT%>"/>images/blank.gif" alt="" width="1" height="1" border="0"></td>
			<td class="b_g" colspan="2"><img src="<gossip:config key="<%=IConst.CONFIG.WEB_ROOT%>"/>images/blank.gif" alt="" width="1" height="1" border="0"></td>
		</tr>
		<tr>
			<td  align="right">
				&nbsp;
			</td>
			<td class="l_g">&nbsp;
			</td>
			<td width="70%">&nbsp;
			</td>
			<td class="r_g" align="center">
				&nbsp;&nbsp;&nbsp;&nbsp;
			</td>
		</tr>
		<tr class="lght">
			<td class="lt_g_txt_b" align="left"><fmt:message key="constants.MAILHOST"/>
			</td>
			<td class="tl_g" colspan="2">&nbsp;&nbsp;
			<html:text property="mailhost" size="50"   maxlength="255" value="<%=Configurator.getInstance().get(IConst.CONFIG.MAILHOST)%>"/>
			</td>
			<td class="lr_g_w" >&nbsp;	
			</td>
		</tr>
		<tr class="drk">
			<td class="lt_g_txt_b" align="left"><fmt:message key="constants.SMTP_SERVER_PORT"/>
			</td>
			<td class="tl_g" colspan="2">&nbsp;&nbsp;
			<html:text property="smtpServerPort" size="5"   maxlength="4" value="<%=Configurator.getInstance().get(IConst.CONFIG.SMTP_SERVER_PORT)%>"/>
			</td>
			<td class="lr_g_w" >&nbsp;	
			</td>
		</tr>
		<tr class="lght">
			<td class="lt_g_txt_b" align="left"><fmt:message key="constants.MAILUSER"/>
			</td>
			<td class="tl_g" colspan="2">&nbsp;&nbsp;
				<html:text property="mailuser" size="50"  maxlength="255" value="<%=Configurator.getInstance().get(IConst.CONFIG.MAILUSER)%>"/>
				&nbsp;<html:link action="showSetMailPassword"><fmt:message key="constants.MAILPASSWORD"/></html:link>
			</td>
			<td class="lr_g_w" >&nbsp;	
			</td>
		</tr>
		<tr class="drk">
			<td class="lt_g_txt_b" align="left"><fmt:message key="constants.ADMINMAIL"/>
			</td>
			<td class="tl_g" colspan="2">&nbsp;&nbsp;
				<html:text property="adminmail" size="50"  maxlength="255" value="<%=Configurator.getInstance().get(IConst.CONFIG.ADMINMAIL)%>"/>
			</td>
			<td class="lr_g_w" >&nbsp;	
			</td>
		</tr>
		<tr class="lght">
			<td class="lt_g_txt_b" align="left"><fmt:message key="constants.SITE_NAME"/>
			</td>
			<td class="tl_g" colspan="2">&nbsp;&nbsp;
				<html:text property="sitename" size="50"  maxlength="255" value="<%=Configurator.getInstance().get(IConst.CONFIG.SITE_NAME)%>"/>
			</td>
			<td class="lr_g_w" >&nbsp;	
			</td>
		</tr>
		<tr class="drk">
			<td class="lt_g_txt_b" align="left"><fmt:message key="constants.DOMAIN_NAME"/>
			</td>
			<td class="tl_g" colspan="2">&nbsp;&nbsp;
				<html:text property="domainname" size="50"   maxlength="255" value="<%=Configurator.getInstance().get(IConst.CONFIG.DOMAIN_NAME)%>"/>
			</td>
			<td class="lr_g_w" >&nbsp;	
			</td>
		</tr>
		<tr class="lght">
			<td class="lt_g_txt_b" align="left"><fmt:message key="constants.DOMAIN_URL"/>
			</td>
			<td class="tl_g" colspan="2">&nbsp;&nbsp;
				<html:text property="domainurl" size="50"   maxlength="255" value="<%=Configurator.getInstance().get(IConst.CONFIG.DOMAIN_URL)%>"/>
			</td>
			<td class="lr_g_w" >&nbsp;	
			</td>
		</tr>
		<tr class="drk">
			<td class="lt_g_txt_b" align="left"><fmt:message key="constants.SESSION_LENGTH"/>
			</td>
			<td class="tl_g" colspan="2">&nbsp;&nbsp;
				<html:text property="sessionlength" size="11"   maxlength="10" value="<%=Configurator.getInstance().get(IConst.CONFIG.SESSION_LENGTH)%>"/>
			</td>
			<td class="lr_g_w" >&nbsp;	
			</td>
		</tr>
		<tr class="lght">
			<td class="lt_g_txt_b" align="left"><fmt:message key="constants.GZIP_COMPRESS"/>
			</td>
			<td class="tl_g" colspan="2">&nbsp;&nbsp;
				<html:select property="gzipCompress" value="<%=Configurator.getInstance().get(IConst.CONFIG.GZIP_COMPRESS)%>">
                    <html:option value="<%=IConst.VALUES.TRUE%>" key="global.YES"/>
                    <html:option value="<%=IConst.VALUES.FALSE%>" key="global.NO"/> 
                </html:select>
			</td>
			<td class="lr_g_w" >&nbsp;	
			</td>
		</tr>
		<tr class="drk">
			<td class="lt_g_txt_b" align="right"><fmt:message key="constants.MOTTO"/>
			</td>
			<td class="tl_g" colspan="2">&nbsp;&nbsp;
				<html:text property="motto" size="100"  maxlength="255" value="<%=Configurator.getInstance().get(IConst.CONFIG.MOTTO)%>"/>
			</td>
			<td class="lr_g_w" >&nbsp;	
			</td>
		</tr>
		<tr class="lght">
			<td class="t_g" >	&nbsp;
			</td>
			<td class="tl_g" align="middle">&nbsp;
			</td>
			<td class="t_g" >&nbsp;	
			</td>
			<td class="r_g" >&nbsp;	
			</td>
		</tr>
		<tr class="lght">
			<td >	&nbsp;
			</td>
			<td class="bot_tab" nowrap>
				<%@ include file="../jspf/defaultSubmit.jspf"%>
			</td>
			<td class="t_g" colspan="2">&nbsp;	
			</td>

		</tr>
	</table>
	<br>
	<%-- sign-on configuration parameters--%>
	
	<table width="98%" cellspacing="0" cellpadding="0">
		<tr>
			<td width="180">	&nbsp;&nbsp;
			</td>
			<td class="top_tab" nowrap>	&nbsp;&nbsp;<span class="caption_l"><fmt:message key="global.SIGNON_CONSTANTS"/></span>&nbsp;&nbsp;
			</td>
			<td>&nbsp;
			</td>
			<td>
			</td>
		</tr>
		<tr>
			<td class="tb_o" height="4"><img src="<gossip:config key="<%=IConst.CONFIG.WEB_ROOT%>"/>images/blank.gif" alt="" width="1" height="1" border="0"></td>
			<td class="lr_g_tb_o"><img src="<gossip:config key="<%=IConst.CONFIG.WEB_ROOT%>"/>images/blank.gif" alt="" width="1" height="1" border="0"></td>
			<td class="tb_o" colspan="2"><img src="<gossip:config key="<%=IConst.CONFIG.WEB_ROOT%>"/>images/blank.gif" alt="" width="1" height="1" border="0"></td>
		</tr>
		<tr>
			<td height="8"><img src="<gossip:config key="<%=IConst.CONFIG.WEB_ROOT%>"/>images/blank.gif" alt="" width="1" height="1" border="0"></td>
			<td class="lr_g"><img src="<gossip:config key="<%=IConst.CONFIG.WEB_ROOT%>"/>images/blank.gif" alt="" width="1" height="1" border="0"></td>
			<td class="b_g" colspan="2"><img src="<gossip:config key="<%=IConst.CONFIG.WEB_ROOT%>"/>images/blank.gif" alt="" width="1" height="1" border="0"></td>
		</tr>
		<tr>
			<td  align="right">
				&nbsp;
			</td>
			<td class="l_g">&nbsp;
			</td>
			<td width="70%">&nbsp;
			</td>
			<td class="r_g" align="center">
				&nbsp;&nbsp;&nbsp;&nbsp;
			</td>
		</tr>
		<tr class="lght">
			<td class="lt_g_txt_b" align="left"><fmt:message key="constants.INVADER1"/>
			</td>
			<td class="tl_g" colspan="2">&nbsp;&nbsp;
				<html:select property="invader" value="<%=Configurator.getInstance().get(IConst.CONFIG.INVADER1)%>">

⌨️ 快捷键说明

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