Rev 979 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 979 | Rev 980 | ||
---|---|---|---|
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
- | |
2 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
3 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
4 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
5 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
6 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
7 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
- | 7 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
|
8 | <html> |
8 | <html> |
9 | 9 | ||
10 | <head> |
10 | <head> |
11 | <meta http-equiv="expires" content="0"> |
11 | <meta http-equiv="expires" content="0"> |
12 | <title>Пьянка XP - Администрирование - Мероприятия</title> |
12 | <title>Пьянка XP - Администрирование - Мероприятия</title> |
13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
14 | <script> |
14 | <script> |
15 | function confirmDelete() |
15 | function confirmDelete() |
16 | { |
16 | { |
17 | return confirm("Вы уверены, что хотите удалить это мероприятие?"); |
17 | return confirm("Вы уверены, что хотите удалить это мероприятие?"); |
18 | } |
18 | } |
19 | </script> |
19 | </script> |
20 | </head> |
20 | </head> |
21 | 21 | ||
22 | <body> |
22 | <body> |
23 | 23 | ||
24 | <h1>Пьянка XP - Администрирование - Мероприятия</h1> |
24 | <h1>Пьянка XP - Администрирование - Мероприятия</h1> |
25 | 25 | ||
26 | <strutsx:errorsIterator id="errors" /> |
26 | <strutsx:errorsIterator id="errors" /> |
27 | <strutsx:notEmpty name="errors"> |
27 | <strutsx:notEmpty name="errors"> |
28 | <div class="error">Ошибки: |
28 | <div class="error">Ошибки: |
29 | <ul> |
29 | <ul> |
30 | <logic:iterate name="errors" id="error"> |
30 | <logic:iterate name="errors" id="error"> |
31 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
31 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
32 | </logic:iterate> |
32 | </logic:iterate> |
33 | </ul> |
33 | </ul> |
34 | </div> |
34 | </div> |
35 | </strutsx:notEmpty> |
35 | </strutsx:notEmpty> |
36 | 36 | ||
37 | <table border=0 cellspacing=0 cellpadding=4> |
37 | <table border=0 cellspacing=0 cellpadding=4> |
38 | <tr> |
38 | <tr> |
39 | <th class="subHeader">Название</th> |
39 | <th class="subHeader">Название</th> |
40 | <th class="subHeader" width=50> </th> |
40 | <th class="subHeader" width=50> </th> |
41 | <th class="subHeader"> </th> |
41 | <th class="subHeader"> </th> |
42 | <th class="subHeader"> </th> |
42 | <th class="subHeader"> </th> |
43 | </tr> |
43 | </tr> |
44 | 44 | ||
45 | <logic:iterate name="acts" id="a"> |
45 | <logic:iterate name="acts" id="a"> |
46 | <tr> |
46 | <tr> |
47 | <td class="listCell"><bean:write name="a" property="name" /></td> |
47 | <td class="listCell"><bean:write name="a" property="name" /></td> |
48 | <td class="listCell"> </td> |
48 | <td class="listCell"> </td> |
49 | <td class="listCell"> |
49 | <td class="listCell"> |
50 | <backpath:link action="/admin/act/edit" paramId="id" paramName="a" paramProperty="id"><img src="<strutsx:root />/images/edit.gif" alt="Редактировать" border=0></backpath:link> |
50 | <backpath:link action="/admin/act/edit" paramId="id" paramName="a" paramProperty="id"><img src="<strutsx:root />/images/edit.gif" alt="Редактировать" border=0></backpath:link> |
51 | </td> |
51 | </td> |
52 | <td class="listCell"> |
52 | <td class="listCell"> |
53 | <backpath:link action="/admin/act/delete" paramId="id" paramName="a" paramProperty="id" onclick="return confirmDelete();"><img src="<strutsx:root />/images/delete.gif" alt="Удалить" border=0></backpath:link> |
53 | <backpath:link action="/admin/act/delete" paramId="id" paramName="a" paramProperty="id" onclick="return confirmDelete();"><img src="<strutsx:root />/images/delete.gif" alt="Удалить" border=0></backpath:link> |
54 | </td> |
54 | </td> |
55 | </tr> |
55 | </tr> |
56 | </logic:iterate> |
56 | </logic:iterate> |
57 | <tr> |
57 | <tr> |
58 | <td colspan=4> </td> |
58 | <td colspan=4> </td> |
59 | </tr> |
59 | </tr> |
60 | </table> |
60 | </table> |
61 | 61 | ||
62 | <div> |
62 | <div> |
63 | <backpath:link action="/admin/act/edit"><img src="<strutsx:root />/images/add.gif" alt="Добавить мероприятие" border=0></backpath:link> |
63 | <backpath:link action="/admin/act/edit"><img src="<strutsx:root />/images/add.gif" alt="Добавить мероприятие" border=0></backpath:link> |
64 | <backpath:notEmpty><backpath:backlink><img src="<strutsx:root />/images/back-small.gif" alt="Назад" border=0></backpath:backlink></backpath:notEmpty> |
64 | <backpath:notEmpty><backpath:backlink><img src="<strutsx:root />/images/back-small.gif" alt="Назад" border=0></backpath:backlink></backpath:notEmpty> |
65 | </div> |
65 | </div> |
66 | 66 | ||
67 | <%@ include file="/admin/footer.jsp" %> |
67 | <%@ include file="/admin/footer.jsp" %> |
68 | 68 | ||
69 | </body> |
69 | </body> |
70 | 70 | ||
71 | </html> |
71 | </html> |