Rev 973 | Rev 979 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 973 | Rev 975 | ||
---|---|---|---|
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-backpath.tld" prefix="backpath" %> |
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
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 - Администрирование - Мероприятия</title> |
11 | <title>Пьянка XP - Администрирование - Мероприятия</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 | <script> |
13 | <script> |
14 | function confirmDelete() |
14 | function confirmDelete() |
15 | { |
15 | { |
16 | return confirm("Вы уверены, что хотите удалить это мероприятие?"); |
16 | return confirm("Вы уверены, что хотите удалить это мероприятие?"); |
17 | } |
17 | } |
18 | </script> |
18 | </script> |
19 | </head> |
19 | </head> |
20 | 20 | ||
21 | <body> |
21 | <body> |
22 | 22 | ||
23 | <h1>Пьянка XP - Администрирование - Мероприятия</h1> |
23 | <h1>Пьянка XP - Администрирование - Мероприятия</h1> |
24 | 24 | ||
25 | <strutsx:errorsIterator id="errors" /> |
25 | <strutsx:errorsIterator id="errors" /> |
26 | <strutsx:notEmpty name="errors"> |
26 | <strutsx:notEmpty name="errors"> |
27 | <div class="error">Ошибки: |
27 | <div class="error">Ошибки: |
28 | <ul> |
28 | <ul> |
29 | <logic:iterate name="errors" id="error"> |
29 | <logic:iterate name="errors" id="error"> |
30 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
30 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
31 | </logic:iterate> |
31 | </logic:iterate> |
32 | </ul> |
32 | </ul> |
33 | </div> |
33 | </div> |
34 | </strutsx:notEmpty> |
34 | </strutsx:notEmpty> |
35 | 35 | ||
36 | <table border=0 cellspacing=0 cellpadding=4> |
36 | <table border=0 cellspacing=0 cellpadding=4> |
37 | <tr> |
37 | <tr> |
38 | <th class="subHeader">Название</th> |
38 | <th class="subHeader">Название</th> |
39 | <th class="subHeader" width=50> </th> |
39 | <th class="subHeader" width=50> </th> |
40 | <th class="subHeader"> </th> |
40 | <th class="subHeader"> </th> |
41 | <th class="subHeader"> </th> |
41 | <th class="subHeader"> </th> |
42 | </tr> |
42 | </tr> |
43 | 43 | ||
44 | <logic:iterate name="acts" id="a"> |
44 | <logic:iterate name="acts" id="a"> |
45 | <tr> |
45 | <tr> |
46 | <td class="listCell"><bean:write name="a" property="name" /></td> |
46 | <td class="listCell"><bean:write name="a" property="name" /></td> |
47 | <td class="listCell"> </td> |
47 | <td class="listCell"> </td> |
48 | <td class="listCell"> |
48 | <td class="listCell"> |
49 | <backpath:link action="/admin/act/edit" paramId="id" paramName="a" paramProperty="id"><img src="<strutsx:root />/images/edit.gif" alt="Редактировать" border=0></backpath:link> |
49 | <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 | </td> |
50 | </td> |
51 | <td class="listCell"> |
51 | <td class="listCell"> |
52 | <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> |
52 | <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 | </td> |
53 | </td> |
54 | </tr> |
54 | </tr> |
55 | </logic:iterate> |
55 | </logic:iterate> |
56 | <tr> |
56 | <tr> |
57 | <td colspan=4> </td> |
57 | <td colspan=4> </td> |
58 | </tr> |
58 | </tr> |
59 | </table> |
59 | </table> |
60 | 60 | ||
61 | <div> |
61 | <div> |
62 | <backpath:link action="/admin/act/edit"><img src="<strutsx:root />/images/add.gif" alt="Добавить мероприятие" border=0></backpath:link> |
62 | <backpath:link action="/admin/act/edit"><img src="<strutsx:root />/images/add.gif" alt="Добавить мероприятие" border=0></backpath:link> |
63 | <backpath:notEmpty><backpath:backlink><img src="<strutsx:root />/images/back-small.gif" alt="Назад" border=0></backpath:backlink></backpath:notEmpty> |
63 | <backpath:notEmpty><backpath:backlink><img src="<strutsx:root />/images/back-small.gif" alt="Назад" border=0></backpath:backlink></backpath:notEmpty> |
64 | </div> |
64 | </div> |
65 | 65 | ||
- | 66 | <%@ include file="/admin/footer.jsp" %> |
|
- | 67 | ||
66 | </body> |
68 | </body> |
67 | 69 | ||
68 | </html> |
70 | </html> |