Rev 979 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
979 | 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"> |
972 | dev | 14 | <script> |
15 | function confirmDelete() |
||
16 | { |
||
17 | return confirm("Вы уверены, что хотите удалить это мероприятие?"); |
||
18 | } |
||
19 | </script> |
||
3 | dev | 20 | </head> |
21 | |||
22 | <body> |
||
23 | |||
10 | dev | 24 | <h1>Пьянка XP - Администрирование - Мероприятия</h1> |
3 | dev | 25 | |
26 | <strutsx:errorsIterator id="errors" /> |
||
27 | <strutsx:notEmpty name="errors"> |
||
10 | dev | 28 | <div class="error">Ошибки: |
3 | dev | 29 | <ul> |
30 | <logic:iterate name="errors" id="error"> |
||
31 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
||
32 | </logic:iterate> |
||
33 | </ul> |
||
34 | </div> |
||
35 | </strutsx:notEmpty> |
||
36 | |||
972 | dev | 37 | <table border=0 cellspacing=0 cellpadding=4> |
3 | dev | 38 | <tr> |
972 | dev | 39 | <th class="subHeader">Название</th> |
40 | <th class="subHeader" width=50> </th> |
||
41 | <th class="subHeader"> </th> |
||
42 | <th class="subHeader"> </th> |
||
3 | dev | 43 | </tr> |
44 | |||
45 | <logic:iterate name="acts" id="a"> |
||
46 | <tr> |
||
973 | dev | 47 | <td class="listCell"><bean:write name="a" property="name" /></td> |
48 | <td class="listCell"> </td> |
||
49 | <td class="listCell"> |
||
972 | dev | 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> |
3 | dev | 51 | </td> |
973 | dev | 52 | <td class="listCell"> |
972 | dev | 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> |
3 | dev | 54 | </td> |
55 | </tr> |
||
56 | </logic:iterate> |
||
972 | dev | 57 | <tr> |
58 | <td colspan=4> </td> |
||
59 | </tr> |
||
3 | dev | 60 | </table> |
61 | |||
972 | dev | 62 | <div> |
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> |
||
65 | </div> |
||
3 | dev | 66 | |
975 | dev | 67 | <%@ include file="/admin/footer.jsp" %> |
68 | |||
3 | dev | 69 | </body> |
70 | |||
71 | </html> |