m2u-upass-admin / WebContent / jsp / ss105_content / ibssCreateNotice.jsp @ 48:c1d443845395
History | View | Annotate | Download (5.76 KB)
1 |
<%@ taglib uri="/WEB-INF/tld/struts-html-el" prefix="htmlEL" %> |
---|---|
2 |
<%@ taglib uri="/WEB-INF/tld/struts-bean" prefix="bean" %> |
3 |
<%@ taglib uri="/WEB-INF/tld/c" prefix="c" %> |
4 |
<%@page import="java.util.HashMap"%> |
5 |
<script type="text/javascript" src="../js/tiny_mce/tiny_mce.js"></script> |
6 |
<script language="javascript" type="text/javascript"> |
7 |
tinyMCE.init({ |
8 |
mode : "textareas", |
9 |
theme : "advanced", |
10 |
editor_selector :"mceEditor", |
11 |
theme_advanced_buttons1 :"bold, italic, underline", |
12 |
theme_advanced_buttons2 :"", |
13 |
theme_advanced_buttons3 :"", |
14 |
theme_advanced_buttons4 :"", |
15 |
theme_advanced_toolbar_align : "left", |
16 |
theme_advanced_toolbar_location : "top" |
17 |
}); |
18 |
</script> |
19 |
|
20 |
<h3 class="title"><STRONG><bean:message key="title_sub_create_notice"/></STRONG></h3><br/> |
21 |
<table id="errorTable"> |
22 |
<tr> |
23 |
<td> |
24 |
<span id="serverSideError" class="error"><jsp:include flush="true" page="/jsp/errorHandler.jsp"></jsp:include></span> |
25 |
</td> |
26 |
</tr> |
27 |
</table> |
28 |
<htmlEL:form action="/ss105/createNotice.do"> |
29 |
<table class="stepTable"> |
30 |
<tr> |
31 |
<td> </td> |
32 |
<td><div id="steps"><span><bean:message key="general.title.steps" arg0="1" arg1="2"/></span></div></td> |
33 |
|
34 |
</tr> |
35 |
</table> |
36 |
<table class="tabularForm"> |
37 |
<tr><td colspan="3"> </td></tr> |
38 |
<tr> |
39 |
<td width="10%"> </td> |
40 |
<td><bean:message key="content_account_status_category"></bean:message>:</td> |
41 |
<td><strong><c:out value="${contentForm.map.categoryName}"/></strong></td> |
42 |
</tr> |
43 |
<tr> |
44 |
<td width="10%"> </td> |
45 |
<td style="vertical-align:top;"><bean:message key="content_notice_title"></bean:message>:</td> |
46 |
<td><htmlEL:textarea property="noticeTitle" name="contentForm"/></td> |
47 |
</tr> |
48 |
<tr> |
49 |
<td width="10%"> </td> |
50 |
<td style="vertical-align:top;"><bean:message key="content_notice_abstract"></bean:message>:</td> |
51 |
<td><htmlEL:textarea property="noticeAbstract" name="contentForm"/></td> |
52 |
</tr> |
53 |
<c:if test="${secondLanguageSupportViewBean.map.secondLanguageSupportView eq true}"> |
54 |
<tr> |
55 |
<td width="10%"> </td> |
56 |
<td style="vertical-align:top;"><bean:message key="content_notice_abstract_ML"></bean:message>:</td> |
57 |
<td><htmlEL:textarea property="noticeAbstractML" name="contentForm"/></td> |
58 |
</tr> |
59 |
</c:if> |
60 |
<tr> |
61 |
<td width="10%"> </td> |
62 |
<td><bean:message key="content_notice_description"/>:</td> |
63 |
<td><htmlEL:textarea property="noticeDescription" name="contentForm" styleClass="mceEditor"/></td> |
64 |
</tr> |
65 |
<c:if test="${secondLanguageSupportViewBean.map.secondLanguageSupportView eq true}"> |
66 |
<tr> |
67 |
<td width="10%"> </td> |
68 |
<td><bean:message key="content_notice_description_ML"/>:</td> |
69 |
<td><htmlEL:textarea property="noticeDescriptionML" name="contentForm" styleClass="mceEditor"/></td> |
70 |
</tr> |
71 |
</c:if> |
72 |
<tr> |
73 |
<td width="10%"> </td> |
74 |
<td><bean:message key="content_notice_external_url"/>:</td> |
75 |
<td><htmlEL:text property="noticeExtUrl" name="contentForm" autocomplete="off" maxlength="255" size="47"/></td> |
76 |
</tr> |
77 |
<tr> |
78 |
<td width="10%"> </td> |
79 |
<td><bean:message key="content_notice_start_date"/>:</td> |
80 |
<td><htmlEL:text property="noticeStartDate" name="contentForm" autocomplete="off" maxlength="10" styleId="datepicker1"/> <strong><bean:message key="general.format.date.sample" /></strong></td> |
81 |
</tr> |
82 |
<tr> |
83 |
<td width="10%"> </td> |
84 |
<td><bean:message key="content_notice_end_date"/>:</td> |
85 |
<td><htmlEL:text property="noticeEndDate" name="contentForm" autocomplete="off" maxlength="10" styleId="datepicker2"/> <strong><bean:message key="general.format.date.sample" /></strong></td> |
86 |
</tr> |
87 |
<tr> |
88 |
<td width="10%"> </td> |
89 |
<td><bean:message key="content_notice_type"/>:</td> |
90 |
<td> |
91 |
<htmlEL:select property="noticeType" name="contentForm"> |
92 |
<htmlEL:option value="A"><bean:message key="content_notice_announcement"/></htmlEL:option> |
93 |
<htmlEL:option value="P"><bean:message key="content_notice_promotion"/></htmlEL:option> |
94 |
</htmlEL:select> |
95 |
</td> |
96 |
</tr> |
97 |
<tr> |
98 |
<td width="10%"> </td> |
99 |
<td><bean:message key="content_status"/>:</td> |
100 |
<td> |
101 |
<htmlEL:select property="status" name="contentForm"> |
102 |
<htmlEL:option value="1"><bean:message key="content_offline_selection"/></htmlEL:option> |
103 |
<htmlEL:option value="0"><bean:message key="content_online_selection"/></htmlEL:option> |
104 |
</htmlEL:select> |
105 |
</td> |
106 |
</tr> |
107 |
<tr> |
108 |
<td width="10%"> </td> |
109 |
<td>Flag:</td> |
110 |
<td> |
111 |
<htmlEL:select property="announPromoFlag" name="contentForm"> |
112 |
<htmlEL:option value="E">-</htmlEL:option> |
113 |
<htmlEL:option value="H">HOT</htmlEL:option> |
114 |
<htmlEL:option value="N">NEW</htmlEL:option> |
115 |
</htmlEL:select> |
116 |
</td> |
117 |
</tr> |
118 |
<tr> |
119 |
<td width="10%"> </td> |
120 |
<td><bean:message key="content_notice_application"/>:</td> |
121 |
<td> |
122 |
<htmlEL:checkbox property="noticeApplicationRibId" value="2">RIB</htmlEL:checkbox> |
123 |
<htmlEL:checkbox property="noticeApplicationBibId" value="3">BIB</htmlEL:checkbox> |
124 |
</td> |
125 |
</tr> |
126 |
<tr><td colspan="3"> </td></tr> |
127 |
</table> |
128 |
<htmlEL:submit property="action" styleClass="button floatRight" onclick="overlay();"> |
129 |
<bean:message key="input_button_create_category_done"/> |
130 |
</htmlEL:submit> |
131 |
</htmlEL:form> |
132 |
<script type="text/javascript"> |
133 |
$(function() { |
134 |
$("#datepicker1").datepicker({ |
135 |
showOn: 'button', |
136 |
dateFormat: 'dd/mm/yy', |
137 |
buttonImage: '../images/calendar.gif', |
138 |
buttonImageOnly: true, |
139 |
minDate: '+0D', maxDate: '+2Y', |
140 |
onSelect : function(selectedDate) { |
141 |
$("#datepicker2").datepicker("option", "minDate", selectedDate); |
142 |
} |
143 |
}); |
144 |
$("#datepicker2").datepicker({ |
145 |
showOn: 'button', |
146 |
dateFormat: 'dd/mm/yy', |
147 |
buttonImage: '../images/calendar.gif', |
148 |
buttonImageOnly: true, |
149 |
minDate: '+0D', maxDate: '+2Y', |
150 |
onSelect : function(selectedDate) { |
151 |
$("#datepicker1").datepicker("option", "maxDate", selectedDate); |
152 |
} |
153 |
}); |
154 |
}); |
155 |
</script> |