chooseLayoutTypeBrowser.jsp
2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/systeminfo/init_wev8.jsp" %>
<%@ include file="/formmode/checkright4setting.jsp" %>
<%@ taglib uri="/WEB-INF/weaver.tld" prefix="wea"%>
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<style>
.sbSelector{
font-size: 12px;
}
</style>
<BODY>
<%@ include file="/systeminfo/RightClickMenuConent_wev8.jsp" %>
<div style="height: 20px;"></div>
<table align="center" >
<tr>
<td style="font-size: 12px;"><%=SystemEnv.getHtmlLabelName(82080,user.getLanguage())%></td><!-- 请选择预览样式: -->
<td style="width:95px;">
<select id="previewType" name="previewType">
<option value="1"><%=SystemEnv.getHtmlLabelName(28626,user.getLanguage())%></option><!-- 单选 -->
<option value="2"><%=SystemEnv.getHtmlLabelName(28627,user.getLanguage())%></option><!-- 多选 -->
</select>
</td>
</tr>
</table>
<div id="zDialog_div_bottom" class="zDialog_div_bottom">
<wea:layout type="2col" needImportDefaultJsAndCss="false">
<wea:group context="">
<wea:item type="toolbar">
<input type="button" class=zd_btn_submit id=btnok onclick="onSave();" value="<%=SystemEnv.getHtmlLabelName(826,user.getLanguage())%>"><!-- 确定 -->
<input type="button" class=zd_btn_submit id=btncancel onclick="btncancel_onclick();" value="<%=SystemEnv.getHtmlLabelName(201,user.getLanguage())%>"><!-- 取消 -->
</wea:item>
</wea:group>
</wea:layout>
</div>
</BODY>
<SCRIPT type="text/javascript">
var parentWin = window.parent.parent.getParentWindow(parent);
var dialog = window.parent.parent.getDialog(parent);
if(!dialog){
parentWin = window.parent.parent;
dialog = window.parent.parent.getDialog(window);
}
function onSave() {
var previewType = $("#previewType").val();
var returnjson = {id:previewType, name:previewType};
if(dialog){
try{
dialog.callback(returnjson);
}catch(e){}
try{
dialog.close(returnjson);
}catch(e){}
}
}
function btncancel_onclick(){
if(dialog){
dialog.close();
}else{
window.parent.parent.close();
}
}
</SCRIPT>
</HTML>