📄 site_config.jsp
字号:
<!--aschen add for 站外图片是否自动下载-->
<tr>
<td width="32%" height="22" class="list_left_title"><STRONG>站外图片是否自动下载:</STRONG></td>
<td width="68%" height="22" class="list_cell_bg">
<input name="IS_AUTO_LOAD_NET_PIC" type="radio" value="false" checked>
不自动
<input type="radio" name="IS_AUTO_LOAD_NET_PIC" value="true">
自动</td>
</tr>
<!--aschen add for 站外图片是否自动下载-->
<!--aschen add for 图片水印-->
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="40%" class="title_bar"><STRONG>图片水印配置</STRONG></td>
<td width="15%" align="center" class="title_bar"> </td>
<td width="45%" align="right" class="title_bar"> </td>
</tr>
<tr height="4">
<td height="4" colspan="3"></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1" class="list_border_bg">
<tr>
<td width="32%" height="22" class="list_left_title"><STRONG>站内图片是否加水印:</STRONG></td>
<td width="68%" height="22" class="list_cell_bg">
<input name="IS_ADD_WARTERMARK" type="radio" value="false" checked onClick="changeIsAddWarterMark(this)">
不加水印
<input type="radio" name="IS_ADD_WARTERMARK" value="true" onClick="changeIsAddWarterMark(this)">
自动加水印</td>
</tr>
<tr id="WATERMARK_TYPE_TR" style="display:none">
<td width="32%" height="22" class="list_left_title"><STRONG>水印类型:</STRONG></td>
<td width="68%" height="22" class="list_cell_bg">
<input name="WARTERMARK_TYPE" type="radio" value="WORD" checked onClick="changeWarterMarkType(this)">
文字
<input type="radio" name="WARTERMARK_TYPE" value="PIC" onClick="changeWarterMarkType(this)">
图片</td>
</tr>
<tr id="PIC_POSTITION_TR" style="display:none">
<td width="32%" height="22" class="list_left_title"><STRONG>水印位置:</STRONG></td>
<td width="68%" height="22" class="list_cell_bg">
<select name="PIC_POSTITION">
<option value="LT">左上角</option>
<option value="RT">右上角</option>
<option value="LD">左下角</option>
<option value="RD">右下角</option>
<option value="MD">居中</option>
</select>
</td>
</tr>
<tr id="WORD_WATERMARK_TR" style="display:none">
<td width="32%" height="22" class="list_left_title"><STRONG>水印文字:</STRONG></td>
<td width="68%" height="22" class="list_cell_bg">
<input name="WARTERMARK_CONTENT" type="text" class="form_input" value="<%=(siteconfig_info.getWARTERMARK_CONTENT()==null?"":siteconfig_info.getWARTERMARK_CONTENT())%>" size="60"></td>
</tr>
<tr id="PIC_WATERMARK_TR" style="display:none">
<td width="32%" height="22" class="list_left_title"><STRONG>水印图片上传:</STRONG></td>
<td width="68%" height="22" class="list_cell_bg">
<table width="100%" border="0" cellpadding="0" cellspacing="1" class="list_border_bg">
<tr>
<td width="85%" height="22" class="list_cell_bg">
<iframe id="d_file" frameborder=0 src="../editor/upload.jsp?isUploadWarter=1" width="100%" height="22" scrolling=no></iframe>
</td>
<td width="15%" height="22" class="list_cell_bg">
<input type="button" name="Submit" value="上传" onClick="upload()">
</td>
</tr>
</table>
</td>
</tr>
<tr id="PICT_WATERMARK_TR" style="display:none">
<td width="32%" height="22" class="list_left_title"><STRONG>水印图片:</STRONG></td>
<td width="68%" height="22" class="list_cell_bg">
<img src="<%=(siteconfig_info.getWARTERMARK_CONTENT()==null?"":siteconfig_info.getWARTERMARK_CONTENT())%>" id="articleImage">
<input type="button" name="Submit" value="更换" onClick="reUpload()">
</td>
</tr>
<tr id="PIC_TRANS_TR" style="display:none">
<td width="32%" height="22" class="list_left_title"><STRONG>水印图片透明度:</STRONG></td>
<td width="68%" height="22" class="list_cell_bg">
<input type="text" name="PIC_TRANS" value="100" size="3" align="right">%<span class="test_must">*</span>
<span class="text_remark">
请在这里配置一个整数的透明度值,范围为1-100</span>
</td>
</tr>
<!--aschen add for 图片水印-->
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="40%" class="title_bar"><STRONG>网站缓存配置(性能配置)</STRONG></td>
<td width="15%" align="center" class="title_bar"> </td>
<td width="45%" align="right" class="title_bar"> </td>
</tr>
<tr height="4">
<td height="4" colspan="3"></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1" class="list_border_bg">
<tr>
<td width="32%" height="22" class="list_left_title"><STRONG>首页缓存周期:</STRONG></td>
<td width="68%" height="22" class="list_cell_bg"><input name="HOME_PAGE_CACHE_TIME" type="text" class="form_input" id="HOME_PAGE_CACHE_TIME" value="0" size="10">
分钟 <span class="text_remark">0分钟代表不缓存,如何利用缓存提高性能见www.cms4j.com</span></td>
</tr>
<tr>
<td height="22" class="list_left_title"><STRONG>.shtml保存路径:</STRONG></td>
<td height="22" class="list_cell_bg"><input name="SITE_TEMPLET_PATH2" type="text" class="form_input" id="SITE_TEMPLET_PATH2" value="/news" size="60">
<span class="text_remark"><br>
当栏目文章显示方式为动态.shtml时,此设置可配置保存目录</span></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="40%" class="title_bar"><STRONG>网站模板配置</STRONG></td>
<td width="15%" align="center" class="title_bar"> </td>
<td width="45%" align="right" class="title_bar"> </td>
</tr>
<tr height="4">
<td height="4" colspan="3"></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1" class="list_border_bg">
<tr>
<td width="32%" height="22" class="list_left_title"><STRONG>网站模板路径:</STRONG></td>
<td width="68%" height="22" class="list_cell_bg"><input name="SITE_TEMPLET_PATH" type="text" class="form_input" id="SITE_TEMPLET_PATH" value="<%=siteconfig_info.getSITE_TEMPLET_PATH()%>" size="60">
<span class="test_must">*</span></td>
</tr>
<tr id="ARTICLE_VIEW_TEMPLET_PATH_TR">
<td height="22" class="list_left_title"><STRONG>文章显示模板页(动态 JSP):</STRONG></td>
<td height="22" class="list_cell_bg"><input name="ARTICLE_VIEW_TEMPLET_PATH" type="text" class="form_input" id="ARTICLE_VIEW_TEMPLET_PATH" value="<%=siteconfig_info.getARTICLE_VIEW_TEMPLET_PATH()%>" size="60">
<span class="test_must">* </span></td>
</tr>
<tr id="ARTICLE_VIEW_TEMPLET_PATH_TR">
<td height="22" class="list_left_title"><STRONG>文章显示模板页(静态 SHTML):</STRONG></td>
<td height="22" class="list_cell_bg"><input name="ARTICLE_VIEW_TEMPLET_PATH2" type="text" class="form_input" id="ARTICLE_VIEW_TEMPLET_PATH2" value="<%=siteconfig_info.getARTICLE_VIEW_TEMPLET_PATH2()%>" size="60">
<span class="test_must">* </span></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none">
<tr>
<td width="40%" class="title_bar"><STRONG>会员选项</STRONG></td>
<td width="15%" align="center" class="title_bar"> </td>
<td width="45%" align="right" class="title_bar"> </td>
</tr>
<tr height="4">
<td height="4" colspan="3"></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1" class="list_border_bg" style="display:none">
<tr>
<td width="32%" height="22" class="list_left_title"><STRONG>是否允许新会员注册:</STRONG></td>
<td height="22" colspan="2" class="list_cell_bg"><input name="CAN_CREATE_NU" type="radio" value="true" checked>
允许
<input type="radio" name="CAN_CREATE_NU" value="false">
不允许</td>
</tr>
<tr>
<td height="22" class="list_left_title"><STRONG>新会员注册是否需要邮件验证:</STRONG></td>
<td height="22" colspan="2" class="list_cell_bg"><input type="radio" name="NU_NEED_CHECK_EMAIL" value="true">
需要
<input name="NU_NEED_CHECK_EMAIL" type="radio" value="false" checked>
不需要</td>
</tr>
<tr>
<td height="22" class="list_left_title"><STRONG>新会员注册是否需要管理员认证:</STRONG><BR></td>
<td height="22" colspan="2" class="list_cell_bg"><input type="radio" name="NU_NEED_ADMIN_CHECK" value="true">
需要
<input name="NU_NEED_ADMIN_CHECK" type="radio" value="false" checked>
不需要</td>
</tr>
<tr>
<td height="22" class="list_left_title"><STRONG>禁止注册的用户名:</STRONG><BR></td>
<td width="43%" height="22" class="list_cell_bg"><textarea name="TABOO_REGIST_UN" cols="50" rows="4" class="form_textarea" id="TABOO_REGIST_UN"><%=siteconfig_info.getTABOO_REGIST_UN()%></textarea></td>
<td width="25%" class="list_cell_bg"><span class="text_remark">每个用户名请用“|”符号分隔 </span></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none">
<tr>
<td width="40%" class="title_bar"><STRONG>邮件服务器选项</STRONG></td>
<td width="15%" align="center" class="title_bar"> </td>
<td width="45%" align="right" class="title_bar"> </td>
</tr>
<tr height="4">
<td height="4" colspan="3"></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1" class="list_border_bg" style="display:none">
<tr>
<td width="32%" height="22" class="list_left_title"><STRONG>SMTP服务器地址:</STRONG><BR></td>
<td width="68%" height="22" class="list_cell_bg"><input name="SMTP_HOSTURL" type="text" class="form_input" id="SMTP_HOSTURL" value="<%=siteconfig_info.getSMTP_HOSTURL()%>" size="50"></td>
</tr>
<tr>
<td height="22" class="list_left_title"><STRONG>SMTP登录用户名:</STRONG></td>
<td height="22" class="list_cell_bg"><input name="SMTP_USER_NAME" type="text" class="form_input" id="SMTP_USER_NAME" value="<%=siteconfig_info.getSMTP_USER_NAME()%>" size="50"></td>
</tr>
<tr>
<td height="22" class="list_left_title"><STRONG>SMTP登录密码:</STRONG><BR></td>
<td height="22" class="list_cell_bg"><input name="SMTP_PASSWORLD" type="text" class="form_input" id="SMTP_PASSWORLD" value="<%=siteconfig_info.getSMTP_PASSWORLD()%>" size="50"></td>
</tr>
<tr>
<td height="22" class="list_left_title"><STRONG>SMTP域名:</STRONG></td>
<td height="22" class="list_cell_bg"><input name="STMP_DOMAIN_NAME" type="text" class="form_input" id="STMP_DOMAIN_NAME" value="<%=siteconfig_info.getSTMP_DOMAIN_NAME()%>" size="50"></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_oper_tr">
<tr>
<td><input type="submit" name="Submit" value="保 存"></td>
</tr>
</table></td>
<td width="5" background="../../images/admin/oper_table_right_bg.gif"><img src="../../images/admin/oper_table_right_bg.gif" width="5" height="2"></td>
</tr>
</table></td>
</tr>
<tr height="13">
<td><img src="../../images/admin/oper_table_down_left.gif" width="26" height="13"></td>
<td width="100%" height="13" background="../../images/admin/oper_table_down_bg.gif"></td>
<td align="right"><img src="../../images/admin/oper_table_down_right.gif" width="26" height="13"></td>
</tr>
</table>
</form>
</cms4j:site_config>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -