Subversion Repositories general

Rev

Rev 1243 | Rev 1252 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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