Rev 980 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 980 | Rev 1003 | ||
---|---|---|---|
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
5 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
5 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
6 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
6 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
7 | <html> |
7 | <html> |
8 | 8 | ||
9 | <head> |
9 | <head> |
10 | <meta http-equiv="expires" content="0"> |
10 | <meta http-equiv="expires" content="0"> |
11 | <title>Пьянка XP - <bean:write name="event" property="name" /> - Редактирование</title> |
11 | <title>Пьянка XP - <bean:write name="event" property="name" /> - Редактирование</title> |
12 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
12 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
13 | </head> |
13 | </head> |
14 | 14 | ||
15 | <body> |
15 | <body> |
16 | 16 | ||
17 | <%@ include file="/header.jsp" %> |
17 | <%@ include file="/header.jsp" %> |
18 | 18 | ||
19 | <strutsx:errorsIterator id="errors" /> |
19 | <strutsx:errorsIterator id="errors" /> |
20 | <strutsx:notEmpty name="errors"> |
20 | <strutsx:notEmpty name="errors"> |
21 | <div class="error">Ошибки: |
21 | <div class="error">Ошибки: |
22 | <ul> |
22 | <ul> |
23 | <logic:iterate name="errors" id="error"> |
23 | <logic:iterate name="errors" id="error"> |
24 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
24 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
25 | </logic:iterate> |
25 | </logic:iterate> |
26 | </ul> |
26 | </ul> |
27 | </div> |
27 | </div> |
28 | </strutsx:notEmpty> |
28 | </strutsx:notEmpty> |
29 | 29 | ||
30 | <html:form action="/participant/update"> |
30 | <html:form action="/participant/update"> |
31 | <html:hidden property="event" /> |
31 | <html:hidden property="event" /> |
32 | <html:hidden property="ident" /> |
32 | <html:hidden property="ident" /> |
33 | 33 | ||
34 | <table border=0 cellspacing=0 cellpadding=4 width=860> |
34 | <table border=0 cellspacing=0 cellpadding=4 width=860> |
35 | <tr> |
35 | <tr> |
36 | <td colspan=3><div class="smallHeader">Идентификация</div></td> |
36 | <td colspan=3><div class="smallHeader">Идентификация</div></td> |
37 | </tr> |
37 | </tr> |
38 | <tr> |
38 | <tr> |
39 | <th>Ваш номер</th> |
39 | <th>Ваш номер</th> |
40 | <td colspan=2><bean:write name="participant" property="ident" /></td> |
40 | <td colspan=2><bean:write name="participant" property="ident" /></td> |
41 | </tr> |
41 | </tr> |
42 | <tr> |
42 | <tr> |
43 | <th>Ник на форуме</th> |
43 | <th>Ник на форуме</th> |
44 | <td colspan=2><bean:write name="participant" property="nick" /></td> |
44 | <td colspan=2><bean:write name="participant" property="nick" /></td> |
45 | </tr> |
45 | </tr> |
46 | <tr> |
46 | <tr> |
47 | <th>Ваш e-mail</th> |
47 | <th>Ваш e-mail</th> |
48 | <td colspan=2><bean:write name="participant" property="email" /></td> |
48 | <td colspan=2><bean:write name="participant" property="email" /></td> |
49 | </tr> |
49 | </tr> |
50 | <tr> |
50 | <tr> |
51 | <th>Разрешить показ e-mail'а</th> |
51 | <th>Разрешить показ e-mail'а</th> |
52 | <td colspan=2><html:checkbox property="emailPublic" /></td> |
52 | <td colspan=2><html:checkbox property="emailPublic" /></td> |
53 | </tr> |
53 | </tr> |
54 | <tr> |
54 | <tr> |
55 | <th>Сколько вас</th> |
55 | <th>Сколько вас</th> |
56 | <td colspan=2><html:text property="persons" style="width:240px" maxlength="10" /></td> |
56 | <td colspan=2><html:text property="persons" style="width:240px" maxlength="10" /></td> |
57 | </tr> |
57 | </tr> |
58 | 58 | ||
59 | <tr> |
59 | <tr> |
60 | <td colspan=3><div class="smallHeader">Если берете попутчиков</div></td> |
60 | <td colspan=3><div class="smallHeader">Если берете попутчиков</div></td> |
61 | </tr> |
61 | </tr> |
62 | <tr> |
62 | <tr> |
63 | <th>Выезд из PLZ</th> |
63 | <th>Выезд из PLZ</th> |
64 | <td colspan=2><html:text property="fromZip" style="width:240px" maxlength="10" /></td> |
64 | <td colspan=2><html:text property="fromZip" style="width:240px" maxlength="10" /></td> |
65 | </tr> |
65 | </tr> |
66 | <tr> |
66 | <tr> |
67 | <th>Выезд из города</th> |
67 | <th>Выезд из города</th> |
68 | <td colspan=2><html:text property="fromCity" style="width:240px" maxlength="100" /></td> |
68 | <td colspan=2><html:text property="fromCity" style="width:240px" maxlength="100" /></td> |
69 | </tr> |
69 | </tr> |
70 | <tr> |
70 | <tr> |
71 | <th>Время отправления</th> |
71 | <th>Время отправления</th> |
72 | <td colspan=2><html:text property="departure" style="width:240px" maxlength="100" /></td> |
72 | <td colspan=2><html:text property="departure" style="width:240px" maxlength="100" /></td> |
73 | </tr> |
73 | </tr> |
74 | <tr> |
74 | <tr> |
75 | <th>Свободных мест в машине</th> |
75 | <th>Свободных мест в машине</th> |
76 | <td colspan=2><html:text property="freeTransport" style="width:240px" maxlength="10" /></td> |
76 | <td colspan=2><html:text property="freeTransport" style="width:240px" maxlength="10" /></td> |
77 | </tr> |
77 | </tr> |
78 | <tr> |
78 | <tr> |
79 | <th>Условия транспортировки</th> |
79 | <th>Условия транспортировки</th> |
80 | <td colspan=2><html:textarea property="transportComment" cols="40" rows="5" style="width:240px;" /></td> |
80 | <td colspan=2><html:textarea property="transportComment" cols="40" rows="5" style="width:240px;" /></td> |
81 | </tr> |
81 | </tr> |
82 | 82 | ||
83 | <tr> |
83 | <tr> |
84 | <td colspan=3> |
84 | <td colspan=3> |
85 | <div class="smallHeader">Для живущих в месте проведения</div> |
85 | <div class="smallHeader">Для живущих в месте проведения</div> |
86 | Если вы можете приютить приезжих |
86 | Если вы можете приютить приезжих |
87 | </td> |
87 | </td> |
88 | </tr> |
88 | </tr> |
89 | <tr> |
89 | <tr> |
90 | <th>Свободных спальных мест</th> |
90 | <th>Свободных спальных мест</th> |
91 | <td colspan=2><html:text property="freeSleep" style="width:240px" maxlength="10" /></td> |
91 | <td colspan=2><html:text property="freeSleep" style="width:240px" maxlength="10" /></td> |
92 | </tr> |
92 | </tr> |
93 | <tr> |
93 | <tr> |
94 | <th>Условия ночевки</th> |
94 | <th>Условия ночевки</th> |
95 | <td colspan=2><html:textarea property="sleepComment" cols="40" rows="5" style="width:240px;" /></td> |
95 | <td colspan=2><html:textarea property="sleepComment" cols="40" rows="5" style="width:240px;" /></td> |
96 | </tr> |
96 | </tr> |
97 | 97 | ||
98 | <tr> |
98 | <tr> |
99 | <td colspan=3> |
99 | <td colspan=3> |
100 | <div class="smallHeader">Контактная информация</div> |
100 | <div class="smallHeader">Контактная информация</div> |
101 | Если вы согласны взять попутчиков или пустить переночевать, то |
101 | Если вы согласны взять попутчиков или пустить переночевать, то |
102 | укажите, как с вами связаться |
102 | укажите, как с вами связаться |
103 | </td> |
103 | </td> |
104 | </tr> |
104 | </tr> |
105 | <tr> |
105 | <tr> |
106 | <th>Ваше имя</th> |
106 | <th>Ваше имя</th> |
107 | <td colspan=2><html:text property="name" style="width:240px" maxlength="255" /></td> |
107 | <td colspan=2><html:text property="name" style="width:240px" maxlength="255" /></td> |
108 | </tr> |
108 | </tr> |
109 | <tr> |
109 | <tr> |
110 | <th>Телефон</th> |
110 | <th>Телефон</th> |
111 | <td colspan=2><html:text property="phone" style="width:240px" maxlength="255" /></td> |
111 | <td colspan=2><html:text property="phone" style="width:240px" maxlength="255" /></td> |
112 | </tr> |
112 | </tr> |
113 | <tr> |
113 | <tr> |
114 | <th>Переведено и получено, евро</th> |
114 | <th>Переведено и получено, евро</th> |
115 | <td colspan=2><bean:write name="participant" property="payed" format="0.00" /></td> |
115 | <td colspan=2><bean:write name="participant" property="payed" format="0.00" /></td> |
116 | </tr> |
116 | </tr> |
117 | <tr> |
117 | <tr> |
118 | <th>Дополнительная информация</th> |
118 | <th>Дополнительная информация</th> |
119 | <td colspan=2><html:textarea property="comment" cols="40" rows="5" style="width:240px;" /></td> |
119 | <td colspan=2><html:textarea property="comment" cols="40" rows="5" style="width:240px;" /></td> |
120 | </tr> |
120 | </tr> |
121 | 121 | ||
122 | <logic:notEmpty name="actList" property="objects"> |
122 | <logic:notEmpty name="actList" property="objects"> |
123 | <tr> |
123 | <tr> |
124 | <th colspan=3><div class="smallHeader">В чем желаете поучаствовать</div></th> |
124 | <th colspan=3><div class="smallHeader">В чем желаете поучаствовать</div></th> |
125 | </tr> |
125 | </tr> |
126 | <tr> |
126 | <tr> |
127 | <th>Название</th> |
127 | <th>Название</th> |
128 | <th>Включить</th> |
128 | <th>Включить</th> |
129 | <th>Дополнительно</th> |
129 | <th>Дополнительно</th> |
130 | </tr> |
130 | </tr> |
131 | <logic:iterate name="ParticipantRegisterEditForm" property="acts" id="acts" indexId="iid"> |
131 | <logic:iterate name="ParticipantRegisterEditForm" property="acts" id="acts" indexId="iid"> |
132 | <tr> |
132 | <tr> |
133 | <td> |
133 | <td> |
134 | <bean:write name="actList" property='<%= "objects[" + iid + "].act.name" %>' /> |
134 | <bean:write name="actList" property='<%= "objects[" + iid + "].act.name" %>' /> |
135 | <html:hidden name="acts" property="actId" indexed="true" /> |
135 | <html:hidden name="acts" property="actId" indexed="true" /> |
136 | </td> |
136 | </td> |
137 | <td><html:checkbox name="acts" property="selected" indexed="true" /></td> |
137 | <td><html:checkbox name="acts" property="selected" indexed="true" /></td> |
138 | <td><html:text name="acts" property="comment" indexed="true" style="width:240px" /></td> |
138 | <td><html:text name="acts" property="comment" indexed="true" style="width:240px" /></td> |
139 | </tr> |
139 | </tr> |
140 | </logic:iterate> |
140 | </logic:iterate> |
141 | </logic:notEmpty> |
141 | </logic:notEmpty> |
142 | 142 | ||
143 | <tr> |
143 | <tr> |
144 | <td colspan=3><html:image page="/images/save.gif" alt="Сохранить" /></td> |
144 | <td colspan=3><html:image page="/images/save.gif" alt="Сохранить" /></td> |
145 | </tr> |
145 | </tr> |
146 | </table> |
146 | </table> |
147 | 147 | ||
148 | </html:form> |
148 | </html:form> |
149 | 149 | ||
150 | <%@ include file="/footer.jsp" %> |
150 | <%@ include file="/footer.jsp" %> |
151 | 151 | ||
152 | </body> |
152 | </body> |
153 | 153 | ||
154 | </html> |
154 | </html> |