Rev 962 | Rev 1244 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 962 | Rev 1243 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
4 | 4 | ||
5 | <html> |
5 | <html> |
6 | 6 | ||
7 | <head> |
7 | <head> |
8 | <logic:empty name="dir"> |
8 | <logic:empty name="current" property="title"> |
9 | <title>Index</title> |
9 | <title>Index</title> |
10 | </logic:empty> |
10 | </logic:empty> |
11 | <logic:notEmpty name="dir"> |
11 | <logic:notEmpty name="current" property="title"> |
12 | <title>Index of <bean:write name="dir" /></title> |
12 | <title>Index of <bean:write name="current" property="title" /></title> |
13 | </logic:notEmpty> |
13 | </logic:notEmpty> |
14 | </head> |
14 | </head> |
15 | 15 | ||
16 | <body bgcolor="white"> |
16 | <body bgcolor="white"> |
17 | 17 | ||
18 | <logic:empty name="dir"> |
18 | <logic:empty name="current" property="title"> |
19 | <h1>Index</h1> |
19 | <h1>Index</h1> |
20 | </logic:empty> |
20 | </logic:empty> |
21 | <logic:notEmpty name="dir"> |
21 | <logic:notEmpty name="current" property="title"> |
22 | <h1>Index of <bean:write name="dir" /></h1> |
22 | <h1>Index of <bean:write name="current" property="title" /></h1> |
23 | </logic:notEmpty> |
23 | </logic:notEmpty> |
24 | 24 | ||
- | 25 | <logic:notEmpty name="current" property="subtitle"> |
|
- | 26 | <p><bean:write name="current" property="subtitle" filter="false" /></p> |
|
- | 27 | </logic:notEmpty> |
|
- | 28 | ||
- | 29 | <logic:notEmpty name="current" property="comment"> |
|
- | 30 | <p><bean:write name="current" property="comment" filter="false" /></p> |
|
- | 31 | </logic:notEmpty> |
|
- | 32 | ||
25 | <p> |
33 | <p> |
- | 34 | Directory: |
|
26 | <logic:empty name="prevEntry" property="path"> |
35 | <logic:empty name="prevEntry" property="path"> |
27 | << |
36 | << |
28 | </logic:empty> |
37 | </logic:empty> |
29 | <logic:notEmpty name="prevEntry" property="path"> |
38 | <logic:notEmpty name="prevEntry" property="path"> |
30 | <logic:equal name="prevEntry" property="isDir" value="true"> |
39 | <logic:equal name="prevEntry" property="isDir" value="true"> |
Line 53... | Line 62... | ||
53 | <a href="page.do?path=<bean:write name="nextEntry" property="path" />">>></a> |
62 | <a href="page.do?path=<bean:write name="nextEntry" property="path" />">>></a> |
54 | </logic:equal> |
63 | </logic:equal> |
55 | </logic:notEmpty> |
64 | </logic:notEmpty> |
56 | </p> |
65 | </p> |
57 | 66 | ||
- | 67 | <p> |
|
- | 68 | Pages: |
|
- | 69 | <logic:equal name="firstPage" property="isCurrent" value="true"> |
|
- | 70 | << |
|
- | 71 | </logic:equal> |
|
- | 72 | <logic:equal name="firstPage" property="isCurrent" value="false"> |
|
- | 73 | <a href="index.do?path=<bean:write name="indexForm" property="path" />"><<</a> |
|
- | 74 | </logic:equal> |
|
- | 75 | ||
- | 76 | <logic:notPresent name="prevPage"> |
|
- | 77 | < |
|
- | 78 | </logic:notPresent> |
|
- | 79 | <logic:present name="prevPage"> |
|
- | 80 | <a href="index.do?path=<bean:write name="indexForm" property="path" />&page=<bean:write name="prevPage" property="number" />"><</a> |
|
- | 81 | </logic:present> |
|
- | 82 | ||
- | 83 | <logic:iterate name="pages" id="p"> |
|
- | 84 | <logic:equal name="p" property="isCurrent" value="true"> |
|
- | 85 | <bean:write name="p" property="displayNumber" /> |
|
- | 86 | </logic:equal> |
|
- | 87 | <logic:equal name="p" property="isCurrent" value="false"> |
|
- | 88 | <a href="index.do?path=<bean:write name="indexForm" property="path" />&page=<bean:write name="p" property="number" />"><bean:write name="p" property="displayNumber" /></a> |
|
- | 89 | </logic:equal> |
|
- | 90 | </logic:iterate> |
|
- | 91 | ||
- | 92 | <logic:notPresent name="nextPage"> |
|
- | 93 | > |
|
- | 94 | </logic:notPresent> |
|
- | 95 | <logic:present name="nextPage"> |
|
- | 96 | <a href="index.do?path=<bean:write name="indexForm" property="path" />&page=<bean:write name="nextPage" property="number" />">></a> |
|
- | 97 | </logic:present> |
|
- | 98 | ||
- | 99 | <logic:equal name="lastPage" property="isCurrent" value="true"> |
|
- | 100 | >> |
|
- | 101 | </logic:equal> |
|
- | 102 | <logic:equal name="lastPage" property="isCurrent" value="false"> |
|
- | 103 | <a href="index.do?path=<bean:write name="indexForm" property="path" />&page=<bean:write name="lastPage" property="number" />">>></a> |
|
- | 104 | </logic:equal> |
|
- | 105 | </p> |
|
- | 106 | ||
58 | <table border=1 width=100%> |
107 | <table border=1 width=100%> |
59 | <logic:iterate name="index" id="row"> |
108 | <logic:iterate name="index" id="row"> |
60 | <tr> |
109 | <tr> |
61 | <logic:iterate name="row" id="entry"> |
110 | <logic:iterate name="row" id="entry"> |
62 | <logic:present name="entry"> |
111 | <logic:present name="entry"> |
Line 67... | Line 116... | ||
67 | alt="<bean:write name="entry" property="title" />" |
116 | alt="<bean:write name="entry" property="title" />" |
68 | width="<bean:write name="entry" property="width" />" |
117 | width="<bean:write name="entry" property="width" />" |
69 | height="<bean:write name="entry" property="height" />" |
118 | height="<bean:write name="entry" property="height" />" |
70 | border=0><br> |
119 | border=0><br> |
71 | <bean:write name="entry" property="title" /> |
120 | <bean:write name="entry" property="title" /> |
- | 121 | <logic:notEmpty name="entry" property="subtitle"> |
|
- | 122 | <br><bean:write name="entry" property="subtitle" filter="false" /> |
|
- | 123 | </logic:notEmpty> |
|
72 | </a> |
124 | </a> |
73 | </td> |
125 | </td> |
74 | </logic:equal> |
126 | </logic:equal> |
75 | <logic:equal name="entry" property="isDir" value="false"> |
127 | <logic:equal name="entry" property="isDir" value="false"> |
76 | <td width=20%> |
128 | <td width=20%> |
Line 79... | Line 131... | ||
79 | alt="<bean:write name="entry" property="title" />" |
131 | alt="<bean:write name="entry" property="title" />" |
80 | width="<bean:write name="entry" property="width" />" |
132 | width="<bean:write name="entry" property="width" />" |
81 | height="<bean:write name="entry" property="height" />" |
133 | height="<bean:write name="entry" property="height" />" |
82 | border=0><br> |
134 | border=0><br> |
83 | <bean:write name="entry" property="title" /> |
135 | <bean:write name="entry" property="title" /> |
- | 136 | <logic:notEmpty name="entry" property="subtitle"> |
|
- | 137 | <br><bean:write name="entry" property="subtitle" filter="false" /> |
|
- | 138 | </logic:notEmpty> |
|
84 | </a> |
139 | </a> |
85 | </td> |
140 | </td> |
86 | </logic:equal> |
141 | </logic:equal> |
87 | </logic:present> |
142 | </logic:present> |
88 | <logic:notPresent name="entry"> |
143 | <logic:notPresent name="entry"> |