Rev 980 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
987 | dev | 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
3 | dev | 2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
||
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
||
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
||
6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
||
980 | dev | 7 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
3 | dev | 8 | <html> |
9 | |||
10 | <head> |
||
11 | <meta http-equiv="expires" content="0"> |
||
10 | dev | 12 | <title>Пьянка XP - Администрирование - Редактирование пьянки</title> |
3 | dev | 13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
14 | </head> |
||
15 | |||
16 | <body> |
||
17 | |||
10 | dev | 18 | <h1>Пьянка XP - Администрирование - Редактирование пьянки</h1> |
3 | dev | 19 | |
20 | <strutsx:errorsIterator id="errors" /> |
||
21 | <strutsx:notEmpty name="errors"> |
||
10 | dev | 22 | <div class="error">Ошибки: |
3 | dev | 23 | <ul> |
24 | <logic:iterate name="errors" id="error"> |
||
25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
||
26 | </logic:iterate> |
||
27 | </ul> |
||
28 | </div> |
||
29 | </strutsx:notEmpty> |
||
30 | |||
31 | <html:form action="/admin/event/submit"> |
||
32 | <backpath:current /> |
||
33 | <html:hidden property="id" /> |
||
34 | |||
972 | dev | 35 | <table border=0 cellspacing=0 cellpadding=4> |
36 | <tr class="even"> |
||
10 | dev | 37 | <th>Название</th> |
975 | dev | 38 | <td colspan=3><html:text property="name" style="width:100%" maxlength="255" /></td> |
3 | dev | 39 | </tr> |
972 | dev | 40 | <tr class="odd"> |
19 | dev | 41 | <th>Контактный e-mail</th> |
975 | dev | 42 | <td colspan=3><html:text property="email" style="width:100%" maxlength="255" /></td> |
19 | dev | 43 | </tr> |
972 | dev | 44 | <tr class="even"> |
19 | dev | 45 | <th>Организаторы</th> |
975 | dev | 46 | <td colspan=3><html:text property="admins" style="width:100%" maxlength="255" /></td> |
19 | dev | 47 | </tr> |
972 | dev | 48 | <tr class="odd"> |
49 | <th>Контактные телефоны</th> |
||
975 | dev | 50 | <td colspan=3><html:text property="phones" style="width:100%" maxlength="255" /></td> |
972 | dev | 51 | </tr> |
52 | <tr class="even"> |
||
10 | dev | 53 | <th>Место/город</th> |
975 | dev | 54 | <td colspan=3><html:text property="place" style="width:100%" maxlength="255" /></td> |
3 | dev | 55 | </tr> |
972 | dev | 56 | <tr class="odd"> |
10 | dev | 57 | <th>Точный адрес</th> |
987 | dev | 58 | <td colspan=3><html:textarea property="address" cols="40" cols="40" rows="8" style="width:100%" /></td> |
3 | dev | 59 | </tr> |
972 | dev | 60 | <tr class="even"> |
10 | dev | 61 | <th>Описание проезда</th> |
987 | dev | 62 | <td colspan=3><html:textarea property="transport" cols="40" rows="8" style="width:100%" /></td> |
3 | dev | 63 | </tr> |
972 | dev | 64 | <tr class="odd"> |
10 | dev | 65 | <th>Начало</th> |
975 | dev | 66 | <td colspan=3><html:text property="start" style="width:100%" maxlength="100" /></td> |
3 | dev | 67 | </tr> |
972 | dev | 68 | <tr class="even"> |
10 | dev | 69 | <th>Окончание</th> |
975 | dev | 70 | <td colspan=3><html:text property="stop" style="width:100%" maxlength="100" /></td> |
3 | dev | 71 | </tr> |
972 | dev | 72 | <tr class="odd"> |
10 | dev | 73 | <th>Дата окончания регистрации</th> |
975 | dev | 74 | <td colspan=3><html:text property="lastreg" style="width:100%" maxlength="100" /></td> |
3 | dev | 75 | </tr> |
972 | dev | 76 | <tr class="even"> |
10 | dev | 77 | <th>Последний срок отказа</th> |
975 | dev | 78 | <td colspan=3><html:text property="lastunreg" style="width:100%" maxlength="100" /></td> |
3 | dev | 79 | </tr> |
972 | dev | 80 | <tr class="odd"> |
10 | dev | 81 | <th>Цена с человека</th> |
975 | dev | 82 | <td colspan=3><html:text property="price" style="width:100%" maxlength="10" /></td> |
3 | dev | 83 | </tr> |
972 | dev | 84 | <tr class="even"> |
10 | dev | 85 | <th>Счет для перевода денег</th> |
987 | dev | 86 | <td colspan=3><html:textarea property="account" cols="40" rows="8" style="width:100%" /></td> |
3 | dev | 87 | </tr> |
972 | dev | 88 | <tr class="odd"> |
19 | dev | 89 | <th>Открыть доступ</th> |
9 | dev | 90 | <td colspan=3><html:checkbox property="enabled" /></td> |
3 | dev | 91 | </tr> |
972 | dev | 92 | <tr class="even"> |
10 | dev | 93 | <th>Описание</th> |
987 | dev | 94 | <td colspan=3><html:textarea property="comment" cols="40" rows="8" style="width:100%" /></td> |
3 | dev | 95 | </tr> |
96 | |||
9 | dev | 97 | <tr> |
972 | dev | 98 | <th colspan=4><div class="smallHeader">Планируемые мероприятия</div></th> |
9 | dev | 99 | </tr> |
100 | <tr> |
||
972 | dev | 101 | <td class="subHeader">Название</td> |
102 | <td class="subHeader">Включить</td> |
||
103 | <td class="subHeader">Дополнительная информация</td> |
||
104 | <td class="subHeader"> </td> |
||
9 | dev | 105 | </tr> |
3 | dev | 106 | <logic:iterate name="EventEditForm" property="acts" id="acts" indexId="iid"> |
107 | <tr> |
||
972 | dev | 108 | <td> |
9 | dev | 109 | <bean:write name="actList" property='<%= "objects[" + iid + "].name" %>' /> |
3 | dev | 110 | <html:hidden name="acts" property="actId" indexed="true" /> |
972 | dev | 111 | </td> |
9 | dev | 112 | <td><html:checkbox name="acts" property="selected" indexed="true" /></td> |
972 | dev | 113 | <td><html:text name="acts" property="comment" indexed="true" style="width:100%" /></td> |
9 | dev | 114 | <td> </td> |
3 | dev | 115 | </tr> |
116 | </logic:iterate> |
||
117 | |||
9 | dev | 118 | <tr> |
972 | dev | 119 | <th colspan=4><div class="smallHeader">Ближайшие гостиницы</div></th> |
9 | dev | 120 | </tr> |
121 | <tr> |
||
972 | dev | 122 | <td class="subHeader">Название</td> |
123 | <td class="subHeader">Включить</td> |
||
124 | <td class="subHeader">Дополнительная информация</td> |
||
125 | <td class="subHeader">Расстояние до местa (км)</td> |
||
9 | dev | 126 | </tr> |
127 | <logic:iterate name="EventEditForm" property="apartments" id="apartments" indexId="iid2"> |
||
128 | <tr> |
||
972 | dev | 129 | <td> |
9 | dev | 130 | <bean:write name="apartmentList" property='<%= "objects[" + iid2 + "].name" %>' /> |
131 | <html:hidden name="apartments" property="apartmentId" indexed="true" /> |
||
972 | dev | 132 | </td> |
9 | dev | 133 | <td><html:checkbox name="apartments" property="selected" indexed="true" /></td> |
972 | dev | 134 | <td><html:text name="apartments" property="comment" indexed="true" style="width:100%" /></td> |
975 | dev | 135 | <td><html:text name="apartments" property="distance" indexed="true" style="width:100%" maxlength="10" /></td> |
9 | dev | 136 | </tr> |
137 | </logic:iterate> |
||
138 | |||
3 | dev | 139 | <tr> |
9 | dev | 140 | <td colspan=4> |
10 | dev | 141 | <html:submit>Сохранить</html:submit> |
16 | dev | 142 | <backpath:notEmpty><backpath:backlink>Отменить</backpath:backlink></backpath:notEmpty> |
3 | dev | 143 | </td> |
144 | </tr> |
||
145 | </table> |
||
146 | |||
147 | </html:form> |
||
148 | |||
975 | dev | 149 | <%@ include file="/admin/footer.jsp" %> |
150 | |||
3 | dev | 151 | </body> |
152 | |||
153 | </html> |