📄 musicconfig.jsp
字号:
<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="../inc/common.jsp" %><%
com.yeqiangwei.club.module.music.controller.ConfigAction configAction = new com.yeqiangwei.club.module.music.controller.ConfigAction(request,response);
ForumJsp forumJsp = new ForumJsp(request,response);
com.yeqiangwei.club.module.music.domain.Config mconfig = configAction.getConfig();
%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>${basic.name}后台管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<club:html type="css" />
<script type="text/javascript" src="../scripts/common.js"></script>
</head>
<body>
<div id="wrap">
<div class="sitemap">
<ul>
<li>您的位置:</li><li>后台管理>></li><li><h3>音乐模块配置</h3></li>
</ul>
</div>
<%@ include file="../inc/msgHint.jsp" %>
<div class="sidebar gform">
<form id="gform" name="gform" action="admin.do?act=updateMusicConfig" method="post" onsubmit="c.p('qwSubmit',true)">
<table summary="过滤字符设置" class="tabform">
<tbody>
<tr>
<th scope="row">关联的版面:</th>
<td>
<select name="forumId" id="forumId"><option value="0">必选项</option><%
java.util.List flist = forumJsp.findAll();
for(int i=0; i<flist.size(); i++){
com.yeqiangwei.club.view.model.ForumView item = (com.yeqiangwei.club.view.model.ForumView)flist.get(i);
if(!item.getIsHidden()){
if(item.getType()==0){
out.print("<optgroup label=\"");
out.print(forumJsp.getIndentStr(item.getLayer()*4));
out.print(item.getForumName()+"\"></optgroup> ");
}else{
out.print("<option value=\"");
out.print(item.getForumId());
out.print("\"");
if(item.getForumId()==mconfig.getForumId()){
out.print(" selected");
}
out.print(">");
out.print(forumJsp.getIndentStr(item.getLayer()*4));
out.print(item.getForumName());
out.print("</option>");
}
}
}%></select>
</td>
</tr>
<tr>
<th scope="row">最大单个文件:</th>
<td><club:html type="input" htmlType="text" name="maxSize" value="<%=String.valueOf(mconfig.getMaxSize())%>" property=" class=\"input\""/></td>
</tr>
<tr>
<th scope="row">文件存放目录:</th>
<td><club:html type="input" htmlType="text" name="tempPath" value="<%=String.valueOf(mconfig.getTempPath())%>" property=" class=\"input\""/></td>
</tr>
<tr>
<th scope="row"></th>
<td class="t_end">
<input type="submit" name="qwSubmit" id="qwSubmit" value="确定提交">
</td>
</tr>
</tbody>
</table>
</form>
</div>
</body>
</html>
<!-- Powered by www.YeQiangWei.com -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -