Rev 936 | Rev 1244 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
936 | dev | 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
||
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
||
4 | |||
5 | <html> |
||
6 | |||
7 | <head> |
||
8 | <logic:empty name="dir"> |
||
9 | <title>Index</title> |
||
10 | </logic:empty> |
||
11 | <logic:notEmpty name="dir"> |
||
12 | <title>Index of <bean:write name="dir" /></title> |
||
13 | </logic:notEmpty> |
||
14 | </head> |
||
15 | |||
16 | <body bgcolor="white"> |
||
17 | |||
18 | <logic:empty name="dir"> |
||
19 | <h1>Index</h1> |
||
20 | </logic:empty> |
||
21 | <logic:notEmpty name="dir"> |
||
22 | <h1>Index of <bean:write name="dir" /></h1> |
||
23 | </logic:notEmpty> |
||
24 | |||
25 | <p> |
||
26 | <logic:empty name="prevEntry" property="path"> |
||
27 | << |
||
28 | </logic:empty> |
||
29 | <logic:notEmpty name="prevEntry" property="path"> |
||
30 | <logic:equal name="prevEntry" property="isDir" value="true"> |
||
31 | <a href="index.do?path=<bean:write name="prevEntry" property="path" />"><<</a> |
||
32 | </logic:equal> |
||
33 | <logic:equal name="prevEntry" property="isDir" value="false"> |
||
34 | <a href="page.do?path=<bean:write name="prevEntry" property="path" />"><<</a> |
||
35 | </logic:equal> |
||
36 | </logic:notEmpty> |
||
37 | |||
38 | <logic:notPresent name="top" property="path"> |
||
39 | |
||
40 | </logic:notPresent> |
||
41 | <logic:present name="top" property="path"> |
||
42 | <a href="index.do?path=<bean:write name="top" property="path" />">Index</a> |
||
43 | </logic:present> |
||
44 | |||
45 | <logic:empty name="nextEntry" property="path"> |
||
46 | >> |
||
47 | </logic:empty> |
||
48 | <logic:notEmpty name="nextEntry" property="path"> |
||
49 | <logic:equal name="nextEntry" property="isDir" value="true"> |
||
50 | <a href="index.do?path=<bean:write name="nextEntry" property="path" />">>></a> |
||
51 | </logic:equal> |
||
52 | <logic:equal name="nextEntry" property="isDir" value="false"> |
||
53 | <a href="page.do?path=<bean:write name="nextEntry" property="path" />">>></a> |
||
54 | </logic:equal> |
||
55 | </logic:notEmpty> |
||
56 | </p> |
||
57 | |||
58 | <table border=1 width=100%> |
||
59 | <logic:iterate name="index" id="row"> |
||
60 | <tr> |
||
61 | <logic:iterate name="row" id="entry"> |
||
62 | <logic:present name="entry"> |
||
63 | <logic:equal name="entry" property="isDir" value="true"> |
||
64 | <td width=20%> |
||
65 | <a href="index.do?path=<bean:write name="entry" property="path" />"> |
||
66 | <img src="dir.do?path=<bean:write name="entry" property="path" />" |
||
67 | alt="<bean:write name="entry" property="title" />" |
||
68 | width="<bean:write name="entry" property="width" />" |
||
69 | height="<bean:write name="entry" property="height" />" |
||
70 | border=0><br> |
||
71 | <bean:write name="entry" property="title" /> |
||
72 | </a> |
||
73 | </td> |
||
74 | </logic:equal> |
||
75 | <logic:equal name="entry" property="isDir" value="false"> |
||
76 | <td width=20%> |
||
77 | <a href="page.do?path=<bean:write name="entry" property="path" />"> |
||
78 | <img src="small.do?path=<bean:write name="entry" property="path" />" |
||
79 | alt="<bean:write name="entry" property="title" />" |
||
80 | width="<bean:write name="entry" property="width" />" |
||
81 | height="<bean:write name="entry" property="height" />" |
||
82 | border=0><br> |
||
83 | <bean:write name="entry" property="title" /> |
||
84 | </a> |
||
85 | </td> |
||
86 | </logic:equal> |
||
87 | </logic:present> |
||
88 | <logic:notPresent name="entry"> |
||
89 | <td width=20%> </td> |
||
90 | </logic:notPresent> |
||
91 | </logic:iterate> |
||
92 | </tr> |
||
93 | </logic:iterate> |
||
94 | </table> |
||
95 | |||
96 | </body> |
||
97 | |||
98 | </html> |