Rev 1244 | Rev 1252 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1244 | Rev 1246 | ||
---|---|---|---|
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 | 4 | ||
5 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> |
5 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> |
6 | <html> |
6 | <html> |
7 | 7 | ||
8 | <head> |
8 | <head> |
9 | <link href="res/styles.css" rel="stylesheet"> |
9 | <link href="res/styles.css" rel="stylesheet"> |
10 | <meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
10 | <meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
11 | <logic:empty name="current" property="title"> |
11 | <logic:empty name="current" property="title"> |
12 | <title>Index</title> |
12 | <title>Index</title> |
13 | </logic:empty> |
13 | </logic:empty> |
14 | <logic:notEmpty name="current" property="title"> |
14 | <logic:notEmpty name="current" property="title"> |
15 | <title><bean:write name="current" property="title" /></title> |
15 | <title><bean:write name="current" property="title" /></title> |
16 | </logic:notEmpty> |
16 | </logic:notEmpty> |
17 | </head> |
17 | </head> |
18 | 18 | ||
19 | <body bgcolor="white" id="index"> |
19 | <body bgcolor="white" id="index"> |
20 | 20 | ||
21 | <script language="javascript"> |
- | |
22 | if (navigator.userAgent.indexOf('Gecko')!=-1) |
- | |
23 | document.write('<style>\ndiv.Photo {\n display: table-cell;\n}\n</style>'); |
- | |
24 | </script> |
- | |
25 | - | ||
26 | <div id="divMainHeader"> |
21 | <div id="divMainHeader"> |
27 | <logic:empty name="current" property="title">Index</logic:empty> |
22 | <logic:empty name="current" property="title">Index</logic:empty> |
28 | <logic:notEmpty name="current" property="title"><bean:write name="current" property="title" /></logic:notEmpty> |
23 | <logic:notEmpty name="current" property="title"><bean:write name="current" property="title" /></logic:notEmpty> |
29 | <logic:notEmpty name="current" property="subtitle"> |
24 | <logic:notEmpty name="current" property="subtitle"> |
30 | <div id="divMainSubtitle"><bean:write name="current" property="subtitle" filter="false" /></div> |
25 | <div id="divMainSubtitle"><bean:write name="current" property="subtitle" filter="false" /></div> |
31 | </logic:notEmpty> |
26 | </logic:notEmpty> |
32 | </div> |
27 | </div> |
33 | 28 | ||
34 | <div id="divMain"> |
29 | <div id="divMain"> |
35 | 30 | ||
- | 31 | <script language="javascript"> |
|
- | 32 | if (navigator.userAgent.indexOf('Gecko')!=-1) |
|
- | 33 | document.write('<style>\ndiv.Photo {\n display: table-cell;\n}\n</style>'); |
|
- | 34 | </script> |
|
- | 35 | ||
- | 36 | <table cellpadding=0 cellspacing=0> |
|
36 | <logic:iterate name="index" id="row"> |
37 | <logic:iterate name="index" id="row"> |
- | 38 | ||
- | 39 | <tr> |
|
37 | <logic:iterate name="row" id="entry"> |
40 | <logic:iterate name="row" id="entry"> |
- | 41 | ||
- | 42 | <td valign=top> |
|
38 | <logic:present name="entry"> |
43 | <logic:present name="entry"> |
39 | <logic:equal name="entry" property="isDir" value="true"> |
44 | <logic:equal name="entry" property="isDir" value="true"> |
40 | 45 | ||
41 | <div class="Photo" align="center"> |
46 | <div class="Photo" align="center"> |
42 | <div class="imgBorder" align="center"><a href="index.do?path=<bean:write name="entry" property="path" />"><img src="dir.do?path=<bean:write name="entry" property="path" />" |
47 | <div class="dirImgBorder" align="center"><a href="index.do?path=<bean:write name="entry" property="path" />"><img src="dir.do?path=<bean:write name="entry" property="path" />" |
43 | alt="<bean:write name="entry" property="title" />" |
48 | alt="<bean:write name="entry" property="title" />" |
44 | width="<bean:write name="entry" property="width" />" |
49 | width="<bean:write name="entry" property="width" />" |
45 | height="<bean:write name="entry" property="height" />" |
50 | height="<bean:write name="entry" property="height" />" |
46 | border="0"/></a></div><a href="index.do?path=<bean:write name="entry" property="path" />" |
51 | border="0"/></a></div><a href="index.do?path=<bean:write name="entry" property="path" />" |
47 | class="Photo"> |
52 | class="Photo"> |
48 | <bean:write name="entry" property="title" /> |
53 | <bean:write name="entry" property="title" /> |
49 | <logic:notEmpty name="entry" property="subtitle"> |
54 | <logic:notEmpty name="entry" property="subtitle"> |
50 | <br><bean:write name="entry" property="subtitle" filter="false" /> |
55 | <br><bean:write name="entry" property="subtitle" filter="false" /> |
51 | </logic:notEmpty> |
56 | </logic:notEmpty> |
52 | </a> |
57 | </a> |
53 | </div> |
58 | </div> |
54 | 59 | ||
55 | </logic:equal> |
60 | </logic:equal> |
56 | <logic:equal name="entry" property="isDir" value="false"> |
61 | <logic:equal name="entry" property="isDir" value="false"> |
57 | 62 | ||
58 | <div class="Photo" align="center"> |
63 | <div class="Photo" align="center"> |
59 | <div class="imgBorder" align="center"><a href="page.do?path=<bean:write name="entry" property="path" />"><img src="small.do?path=<bean:write name="entry" property="path" />" |
64 | <div class="imgBorder" align="center"><a href="page.do?path=<bean:write name="entry" property="path" />"><img src="small.do?path=<bean:write name="entry" property="path" />" |
60 | alt="<bean:write name="entry" property="title" />" |
65 | alt="<bean:write name="entry" property="title" />" |
61 | width="<bean:write name="entry" property="width" />" |
66 | width="<bean:write name="entry" property="width" />" |
62 | height="<bean:write name="entry" property="height" />" |
67 | height="<bean:write name="entry" property="height" />" |
63 | border="0"/></a></div><a href="page.do?path=<bean:write name="entry" property="path" />" |
68 | border="0"/></a></div><a href="page.do?path=<bean:write name="entry" property="path" />" |
64 | class="Photo"> |
69 | class="Photo"> |
65 | <bean:write name="entry" property="title" /> |
70 | <bean:write name="entry" property="title" /> |
66 | <logic:notEmpty name="entry" property="subtitle"> |
71 | <logic:notEmpty name="entry" property="subtitle"> |
67 | <br><bean:write name="entry" property="subtitle" filter="false" /> |
72 | <br><bean:write name="entry" property="subtitle" filter="false" /> |
68 | </logic:notEmpty> |
73 | </logic:notEmpty> |
69 | </a> |
74 | </a> |
70 | </div> |
75 | </div> |
71 | 76 | ||
72 | </logic:equal> |
77 | </logic:equal> |
73 | </logic:present> |
78 | </logic:present> |
- | 79 | <logic:notPresent name="entry"> |
|
- | 80 | |
|
- | 81 | </logic:notPresent> |
|
- | 82 | </td> |
|
- | 83 | ||
74 | </logic:iterate> |
84 | </logic:iterate> |
- | 85 | </tr> |
|
75 | 86 | ||
76 | <script language="JavaScript"> |
- | |
77 | if (navigator.userAgent.indexOf('Gecko')!=-1) |
- | |
78 | document.writeln('<br/>'); |
- | |
79 | </script> |
- | |
80 | - | ||
81 | </logic:iterate> |
87 | </logic:iterate> |
- | 88 | </table> |
|
82 | 89 | ||
83 | <logic:equal name="severalPages" value="true"> |
90 | <logic:equal name="severalPages" value="true"> |
84 | <table style="width:610px" border=0> |
91 | <table style="width:610px" border=0> |
85 | <tr> |
92 | <tr> |
86 | 93 | ||
87 | <logic:notPresent name="prevPage"> |
94 | <logic:notPresent name="prevPage"> |
88 | <td align=left class="IndexPage" style="width:150px"> </td> |
95 | <td align=left class="IndexPage" style="width:150px"> </td> |
89 | </logic:notPresent> |
96 | </logic:notPresent> |
90 | <logic:present name="prevPage"> |
97 | <logic:present name="prevPage"> |
91 | <td align=left class="IndexPage" style="width:150px"><a href="index.do?path=<bean:write name="indexForm" property="path" />&page=<bean:write name="prevPage" property="number" />" class="ImagePaneRow"><img |
98 | <td align=left class="IndexPage" style="width:150px"><a href="index.do?path=<bean:write name="indexForm" property="path" />&page=<bean:write name="prevPage" property="number" />" class="ImagePaneRow"><img |
92 | src="res/Back.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Previous page</a></td> |
99 | src="res/Back.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Previous page</a></td> |
93 | </logic:present> |
100 | </logic:present> |
94 | 101 | ||
95 | <td align=center class="IndexPage"> |
102 | <td align=center class="IndexPage"> |
96 | ⋅ |
103 | • |
97 | <logic:iterate name="pages" id="p"> |
104 | <logic:iterate name="pages" id="p"> |
98 | <logic:equal name="p" property="isCurrent" value="true"> |
105 | <logic:equal name="p" property="isCurrent" value="true"> |
99 | <span style="color:black"><bean:write name="p" property="displayNumber" /></span> |
106 | <span style="color:black">[ <bean:write name="p" property="displayNumber" /> ]</span> |
100 | </logic:equal> |
107 | </logic:equal> |
101 | <logic:equal name="p" property="isCurrent" value="false"> |
108 | <logic:equal name="p" property="isCurrent" value="false"> |
102 | <a href="index.do?path=<bean:write name="indexForm" property="path" />&page=<bean:write name="p" property="number" />" class="ImagePaneRow"><bean:write name="p" property="displayNumber" /></a> |
109 | <a href="index.do?path=<bean:write name="indexForm" property="path" />&page=<bean:write name="p" property="number" />" class="ImagePaneRow"><bean:write name="p" property="displayNumber" /></a> |
103 | </logic:equal> |
110 | </logic:equal> |
104 | ⋅ |
111 | • |
105 | </logic:iterate> |
112 | </logic:iterate> |
106 | </td> |
113 | </td> |
107 | 114 | ||
108 | <logic:notPresent name="nextPage"> |
115 | <logic:notPresent name="nextPage"> |
109 | <td align=right class="IndexPage" style="width:150px"> </td> |
116 | <td align=right class="IndexPage" style="width:150px"> </td> |
110 | </logic:notPresent> |
117 | </logic:notPresent> |
111 | <logic:present name="nextPage"> |
118 | <logic:present name="nextPage"> |
112 | <td align=right class="IndexPage" style="width:150px"><a href="index.do?path=<bean:write name="indexForm" property="path" />&page=<bean:write name="nextPage" property="number" />" class="ImagePaneRow"><img |
119 | <td align=right class="IndexPage" style="width:150px"><a href="index.do?path=<bean:write name="indexForm" property="path" />&page=<bean:write name="nextPage" property="number" />" class="ImagePaneRow"><img |
113 | src="res/Forward.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Next page</a></td> |
120 | src="res/Forward.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Next page</a></td> |
114 | </logic:present> |
121 | </logic:present> |
115 | 122 | ||
116 | </tr> |
123 | </tr> |
117 | </table> |
124 | </table> |
118 | </logic:equal> |
125 | </logic:equal> |
119 | 126 | ||
120 | </div> |
127 | </div> |
121 | 128 | ||
122 | <div id="divActivity"> |
129 | <div id="divActivity"> |
123 | <div id="divImageActivity"> |
130 | <div id="divImageActivity"> |
124 | <table border="0" cellspacing="0" cellpadding="0" width="185"> |
131 | <table border="0" cellspacing="0" cellpadding="0" width="185"> |
125 | <tr> |
132 | <tr> |
126 | <td colspan="3" width="185" class="ImagePaneHeader">Image activities</td> |
133 | <td colspan="3" width="185" class="ImagePaneHeader">Image activities</td> |
127 | </tr> |
134 | </tr> |
128 | 135 | ||
129 | <logic:present name="top" property="path"> |
136 | <logic:present name="top" property="path"> |
130 | <tr> |
137 | <tr> |
131 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
138 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
132 | <td width="183" class="ImagePaneRow"><a href="index.do?path=<bean:write name="top" property="path" />" |
139 | <td width="183" class="ImagePaneRow"><a href="index.do?path=<bean:write name="top" property="path" />" |
133 | class="ImagePaneRow"><img |
140 | class="ImagePaneRow"><img |
134 | src="res/FolderUp.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Up one level</a></td> |
141 | src="res/FolderUp.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Up one level</a></td> |
135 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
142 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
136 | </tr> |
143 | </tr> |
137 | </logic:present> |
144 | </logic:present> |
138 | 145 | ||
139 | <logic:present name="nextPage"> |
146 | <logic:present name="nextPage"> |
140 | <tr> |
147 | <tr> |
141 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
148 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
142 | <td width="183" class="ImagePaneRow"><a href="index.do?path=<bean:write name="indexForm" property="path" />&page=<bean:write name="nextPage" property="number" />" class="ImagePaneRow"><img |
149 | <td width="183" class="ImagePaneRow"><a href="index.do?path=<bean:write name="indexForm" property="path" />&page=<bean:write name="nextPage" property="number" />" class="ImagePaneRow"><img |
143 | src="res/Forward.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Next page</a></td> |
150 | src="res/Forward.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Next page</a></td> |
144 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
151 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
145 | </tr> |
152 | </tr> |
146 | </logic:present> |
153 | </logic:present> |
147 | 154 | ||
148 | <logic:present name="prevPage"> |
155 | <logic:present name="prevPage"> |
149 | <tr> |
156 | <tr> |
150 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
157 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
151 | <td width="183" class="ImagePaneRow"><a href="index.do?path=<bean:write name="indexForm" property="path" />&page=<bean:write name="prevPage" property="number" />" class="ImagePaneRow"><img |
158 | <td width="183" class="ImagePaneRow"><a href="index.do?path=<bean:write name="indexForm" property="path" />&page=<bean:write name="prevPage" property="number" />" class="ImagePaneRow"><img |
152 | src="res/Back.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Previous page</a></td> |
159 | src="res/Back.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Previous page</a></td> |
153 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
160 | <td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
154 | </tr> |
161 | </tr> |
155 | </logic:present> |
162 | </logic:present> |
156 | 163 | ||
157 | <tr> |
164 | <tr> |
158 | <td width="185" colspan="3" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
165 | <td width="185" colspan="3" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
159 | </tr> |
166 | </tr> |
160 | </table> |
167 | </table> |
161 | </div> |
168 | </div> |
162 | 169 | ||
163 | <div id="divInfoActivity"> |
170 | <div id="divInfoActivity"> |
164 | <table border="0" cellspacing="0" cellpadding="0" width="185"> |
171 | <table border="0" cellspacing="0" cellpadding="0" width="185"> |
165 | <tr> |
172 | <tr> |
166 | <td colspan="3" width="185" class="InfoPaneHeader">Information</td> |
173 | <td colspan="3" width="185" class="InfoPaneHeader">Information</td> |
167 | </tr> |
174 | </tr> |
168 | <tr> |
175 | <tr> |
169 | <td width="1" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
176 | <td width="1" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
170 | <td width="183" class="InfoPaneRow"> |
177 | <td width="183" class="InfoPaneRow"> |
171 | <logic:notEmpty name="current" property="comment"> |
178 | <logic:notEmpty name="current" property="comment"> |
172 | <p><bean:write name="current" property="comment" filter="false" /></p> |
179 | <bean:write name="current" property="comment" filter="false" /> |
173 | </logic:notEmpty> |
180 | </logic:notEmpty> |
174 | <br> |
- | |
175 | </td> |
181 | </td> |
176 | <td width="1" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
182 | <td width="1" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
177 | </tr> |
183 | </tr> |
178 | <tr> |
184 | <tr> |
179 | <td width="185" colspan="3" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
185 | <td width="185" colspan="3" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
180 | </tr> |
186 | </tr> |
181 | </table> |
187 | </table> |
182 | </div> |
188 | </div> |
183 | </div> |
189 | </div> |
184 | 190 | ||
185 | </body> |
191 | </body> |
186 | 192 | ||
187 | </html> |
193 | </html> |
188 | 194 |