Subversion Repositories general

Rev

Rev 1243 | Rev 1246 | 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
 
1244 dev 5
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
936 dev 6
<html>
7
 
8
<head>
1244 dev 9
  <link href="res/styles.css" rel="stylesheet">
10
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
1243 dev 11
<logic:empty name="current" property="title">
936 dev 12
  <title>Index</title>
13
</logic:empty>
1243 dev 14
<logic:notEmpty name="current" property="title">
1244 dev 15
  <title><bean:write name="current" property="title" /></title>
936 dev 16
</logic:notEmpty>
17
</head>
18
 
1244 dev 19
<body bgcolor="white" id="index">
936 dev 20
 
1244 dev 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>
936 dev 25
 
1244 dev 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>
1243 dev 29
<logic:notEmpty name="current" property="subtitle">
1244 dev 30
  <div id="divMainSubtitle"><bean:write name="current" property="subtitle" filter="false" /></div>
1243 dev 31
</logic:notEmpty>
1244 dev 32
</div>
1243 dev 33
 
1244 dev 34
<div id="divMain">
1243 dev 35
 
1244 dev 36
<logic:iterate name="index" id="row">
37
  <logic:iterate name="row" id="entry">
38
    <logic:present name="entry">
39
      <logic:equal name="entry" property="isDir" value="true">
936 dev 40
 
1244 dev 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" />"
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" />"
47
              class="Photo">
48
              <bean:write name="entry" property="title" />
49
              <logic:notEmpty name="entry" property="subtitle">
50
                <br><bean:write name="entry" property="subtitle" filter="false" />
51
              </logic:notEmpty>
52
            </a>
53
        </div>
936 dev 54
 
1244 dev 55
      </logic:equal>
56
      <logic:equal name="entry" property="isDir" value="false">
936 dev 57
 
1244 dev 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" />"
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" />"
64
              class="Photo">
65
              <bean:write name="entry" property="title" />
66
              <logic:notEmpty name="entry" property="subtitle">
67
                <br><bean:write name="entry" property="subtitle" filter="false" />
68
              </logic:notEmpty>
69
            </a>
70
        </div>
71
 
72
      </logic:equal>
73
    </logic:present>
74
  </logic:iterate>
1243 dev 75
 
1244 dev 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
 
1243 dev 87
<logic:notPresent name="prevPage">
1244 dev 88
    <td align=left class="IndexPage" style="width:150px">&nbsp;</td>
1243 dev 89
</logic:notPresent>
90
<logic:present name="prevPage">
1244 dev 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>
1243 dev 93
</logic:present>
94
 
1244 dev 95
<td align=center class="IndexPage">
96
&sdot;
1243 dev 97
<logic:iterate name="pages" id="p">
98
  <logic:equal name="p" property="isCurrent" value="true">
1244 dev 99
    <span style="color:black"><bean:write name="p" property="displayNumber" /></span>
1243 dev 100
  </logic:equal>
101
  <logic:equal name="p" property="isCurrent" value="false">
1244 dev 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>
1243 dev 103
  </logic:equal>
1244 dev 104
  &sdot;
1243 dev 105
</logic:iterate>
1244 dev 106
</td>
1243 dev 107
 
108
<logic:notPresent name="nextPage">
1244 dev 109
    <td align=right class="IndexPage" style="width:150px">&nbsp;</td>
1243 dev 110
</logic:notPresent>
111
<logic:present name="nextPage">
1244 dev 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>
1243 dev 114
</logic:present>
115
 
1244 dev 116
  </tr>
117
</table>
1243 dev 118
</logic:equal>
119
 
1244 dev 120
</div>
121
 
122
<div id="divActivity">
123
  <div id="divImageActivity">
124
    <table border="0" cellspacing="0" cellpadding="0" width="185">
125
      <tr>
126
        <td colspan="3" width="185" class="ImagePaneHeader">Image activities</td>
127
      </tr>
128
 
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
 
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
 
148
      <logic:present name="prevPage">
149
      <tr>
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
152
          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>
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">
164
    <table border="0" cellspacing="0" cellpadding="0" width="185">
165
      <tr>
166
        <td colspan="3" width="185" class="InfoPaneHeader">Information</td>
167
      </tr>
168
      <tr>
169
        <td width="1" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
170
        <td width="183" class="InfoPaneRow">
171
          <logic:notEmpty name="current" property="comment">
172
            <p><bean:write name="current" property="comment" filter="false" /></p>
173
          </logic:notEmpty>
174
          <br>
936 dev 175
        </td>
1244 dev 176
        <td width="1" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
177
      </tr>
178
      <tr>
179
        <td width="185" colspan="3" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
180
      </tr>
181
    </table>
182
  </div>
183
</div>
936 dev 184
 
185
</body>
186
 
187
</html>
1244 dev 188