?? fileupload_config.jsp
字號:
<%@ page contentType="text/html; charset=GBK"%>
<%@ taglib uri="/cms4j" prefix="cms4j" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>CMS4J </title>
<link href="../skin/blue/css/oper_area.css" rel="stylesheet" type="text/css">
</head>
<script src="../../js/common.js"></script>
<script src="../../js/page_init.js"></script>
<script src="../../admin/js/article.js"></script>
<body>
<cms4j:fileupload_config>
<form action="../../do?action=modifyFileUploadConfig" method="post" name="jcmsFrom" id="jcmsFrom">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="title-bar"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="26" class="title-bar-title-icon"> </td>
<td width="745" class="title-bar-text">文件上傳參數配置</td>
</tr>
</table></td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="title-bar2">
<tr>
<td><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr style="cursor:pointer" onClick="titleBarShowOrHide('p2')">
<td width="26" class="title-bar2-btn-col" id="p2_btn"> </td>
<td width="745" class="title-bar2-text">基本信息</td>
</tr>
</table></td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="table-frame" id="p2">
<tr>
<td width="29%" height="22" class="table-frame-input-title"><STRONG><STRONG><STRONG>可上傳的文件類型(擴展名)</STRONG></STRONG>:</STRONG> </td>
<td width="46%" height="22" class="table-cell-input"><textarea name="CAN_UPLOAD_TYPE" cols="50" rows="10" class="form-input" id="CAN_UPLOAD_TYPE"><%=fileuploadconfig_info.getCAN_UPLOAD_TYPE()%></textarea></td>
<td width="25%" class="table-cell-input"><span class="text_remark">每個擴展名請用“|”符號分隔 </span></td>
</tr>
<tr>
<td height="22" class="table-frame-input-title"><div align="right"></div></td>
<td height="22" colspan="2" class="table-cell-input"><span class="text_audition_no"><strong>警告:</strong> 可上傳文件類型控制的如果不嚴格,很有可能引起安全隱患</span></td>
</tr>
<tr>
<td height="22" class="table-frame-input-title">上傳文件保存目錄:</td>
<td height="22" colspan="2" class="table-cell-input"><input name="FILE_UPLOAD_DIR" type="text" class="form-input" id="FILE_UPLOAD_DIR" value="<%=fileuploadconfig_info.getFILE_UPLOAD_DIR()%>" size="30">
默認值為 /uploaded</td>
</tr>
<tr>
<td height="22" class="table-frame-input-title">上傳文件最大大小:</td>
<td height="22" colspan="2" class="table-cell-input"><input name="FILE_UPLOAD_MAX_SIZE" type="text" class="form-input" id="FILE_UPLOAD_MAX_SIZE" value="<%=fileuploadconfig_info.getFILE_UPLOAD_MAX_SIZE_KB()%>" size="16">
KB (1M = 1024KB)<span class="text_remark"> 當前值換算成M,值為: <b><%=fileuploadconfig_info.getFILE_UPLOAD_MAX_SIZE_M()%></b> 兆 </span></td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_bottom_line">
<tr>
<td></td>
</tr>
</table>
<table width="99%" border="0" cellpadding="0" cellspacing="0" class="buttun-bar">
<tr>
<td><input name="Submit" type="submit" class="form-buttun" value="保 存"></td>
</tr>
</table>
</form>
</cms4j:fileupload_config>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -