2,152 → 2,187 |
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> |
<html> |
|
<head> |
<link href="res/styles.css" rel="stylesheet"> |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
<logic:empty name="current" property="title"> |
<title>Index</title> |
</logic:empty> |
<logic:notEmpty name="current" property="title"> |
<title>Index of <bean:write name="current" property="title" /></title> |
<title><bean:write name="current" property="title" /></title> |
</logic:notEmpty> |
</head> |
|
<body bgcolor="white"> |
<body bgcolor="white" id="index"> |
|
<logic:empty name="current" property="title"> |
<h1>Index</h1> |
</logic:empty> |
<logic:notEmpty name="current" property="title"> |
<h1>Index of <bean:write name="current" property="title" /></h1> |
</logic:notEmpty> |
<script language="javascript"> |
if (navigator.userAgent.indexOf('Gecko')!=-1) |
document.write('<style>\ndiv.Photo {\n display: table-cell;\n}\n</style>'); |
</script> |
|
<div id="divMainHeader"> |
<logic:empty name="current" property="title">Index</logic:empty> |
<logic:notEmpty name="current" property="title"><bean:write name="current" property="title" /></logic:notEmpty> |
<logic:notEmpty name="current" property="subtitle"> |
<p><bean:write name="current" property="subtitle" filter="false" /></p> |
<div id="divMainSubtitle"><bean:write name="current" property="subtitle" filter="false" /></div> |
</logic:notEmpty> |
</div> |
|
<logic:notEmpty name="current" property="comment"> |
<p><bean:write name="current" property="comment" filter="false" /></p> |
<div id="divMain"> |
|
<logic:iterate name="index" id="row"> |
<logic:iterate name="row" id="entry"> |
<logic:present name="entry"> |
<logic:equal name="entry" property="isDir" value="true"> |
|
<div class="Photo" align="center"> |
<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" />" |
alt="<bean:write name="entry" property="title" />" |
width="<bean:write name="entry" property="width" />" |
height="<bean:write name="entry" property="height" />" |
border="0"/></a></div><a href="index.do?path=<bean:write name="entry" property="path" />" |
class="Photo"> |
<bean:write name="entry" property="title" /> |
<logic:notEmpty name="entry" property="subtitle"> |
<br><bean:write name="entry" property="subtitle" filter="false" /> |
</logic:notEmpty> |
</a> |
</div> |
|
<p> |
Directory: |
<logic:empty name="prevEntry" property="path"> |
<< |
</logic:empty> |
<logic:notEmpty name="prevEntry" property="path"> |
<logic:equal name="prevEntry" property="isDir" value="true"> |
<a href="index.do?path=<bean:write name="prevEntry" property="path" />"><<</a> |
</logic:equal> |
<logic:equal name="prevEntry" property="isDir" value="false"> |
<a href="page.do?path=<bean:write name="prevEntry" property="path" />"><<</a> |
</logic:equal> |
<logic:equal name="entry" property="isDir" value="false"> |
|
<div class="Photo" align="center"> |
<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" />" |
alt="<bean:write name="entry" property="title" />" |
width="<bean:write name="entry" property="width" />" |
height="<bean:write name="entry" property="height" />" |
border="0"/></a></div><a href="page.do?path=<bean:write name="entry" property="path" />" |
class="Photo"> |
<bean:write name="entry" property="title" /> |
<logic:notEmpty name="entry" property="subtitle"> |
<br><bean:write name="entry" property="subtitle" filter="false" /> |
</logic:notEmpty> |
</a> |
</div> |
|
<logic:notPresent name="top" property="path"> |
|
</logic:notPresent> |
<logic:present name="top" property="path"> |
<a href="index.do?path=<bean:write name="top" property="path" />">Index</a> |
</logic:equal> |
</logic:present> |
</logic:iterate> |
|
<logic:empty name="nextEntry" property="path"> |
>> |
</logic:empty> |
<logic:notEmpty name="nextEntry" property="path"> |
<logic:equal name="nextEntry" property="isDir" value="true"> |
<a href="index.do?path=<bean:write name="nextEntry" property="path" />">>></a> |
</logic:equal> |
<logic:equal name="nextEntry" property="isDir" value="false"> |
<a href="page.do?path=<bean:write name="nextEntry" property="path" />">>></a> |
</logic:equal> |
</logic:notEmpty> |
</p> |
<script language="JavaScript"> |
if (navigator.userAgent.indexOf('Gecko')!=-1) |
document.writeln('<br/>'); |
</script> |
|
<p> |
Pages: |
<logic:equal name="firstPage" property="isCurrent" value="true"> |
<< |
</logic:equal> |
<logic:equal name="firstPage" property="isCurrent" value="false"> |
<a href="index.do?path=<bean:write name="indexForm" property="path" />"><<</a> |
</logic:equal> |
</logic:iterate> |
|
<logic:equal name="severalPages" value="true"> |
<table style="width:610px" border=0> |
<tr> |
|
<logic:notPresent name="prevPage"> |
< |
<td align=left class="IndexPage" style="width:150px"> </td> |
</logic:notPresent> |
<logic:present name="prevPage"> |
<a href="index.do?path=<bean:write name="indexForm" property="path" />&page=<bean:write name="prevPage" property="number" />"><</a> |
<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 |
src="res/Back.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Previous page</a></td> |
</logic:present> |
|
<td align=center class="IndexPage"> |
⋅ |
<logic:iterate name="pages" id="p"> |
<logic:equal name="p" property="isCurrent" value="true"> |
<bean:write name="p" property="displayNumber" /> |
<span style="color:black"><bean:write name="p" property="displayNumber" /></span> |
</logic:equal> |
<logic:equal name="p" property="isCurrent" value="false"> |
<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> |
<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> |
</logic:equal> |
⋅ |
</logic:iterate> |
</td> |
|
<logic:notPresent name="nextPage"> |
> |
<td align=right class="IndexPage" style="width:150px"> </td> |
</logic:notPresent> |
<logic:present name="nextPage"> |
<a href="index.do?path=<bean:write name="indexForm" property="path" />&page=<bean:write name="nextPage" property="number" />">></a> |
<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 |
src="res/Forward.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Next page</a></td> |
</logic:present> |
|
<logic:equal name="lastPage" property="isCurrent" value="true"> |
>> |
</tr> |
</table> |
</logic:equal> |
<logic:equal name="lastPage" property="isCurrent" value="false"> |
<a href="index.do?path=<bean:write name="indexForm" property="path" />&page=<bean:write name="lastPage" property="number" />">>></a> |
</logic:equal> |
</p> |
|
<table border=1 width=100%> |
<logic:iterate name="index" id="row"> |
</div> |
|
<div id="divActivity"> |
<div id="divImageActivity"> |
<table border="0" cellspacing="0" cellpadding="0" width="185"> |
<tr> |
<logic:iterate name="row" id="entry"> |
<logic:present name="entry"> |
<logic:equal name="entry" property="isDir" value="true"> |
<td width=20%> |
<a href="index.do?path=<bean:write name="entry" property="path" />"> |
<img src="dir.do?path=<bean:write name="entry" property="path" />" |
alt="<bean:write name="entry" property="title" />" |
width="<bean:write name="entry" property="width" />" |
height="<bean:write name="entry" property="height" />" |
border=0><br> |
<bean:write name="entry" property="title" /> |
<logic:notEmpty name="entry" property="subtitle"> |
<br><bean:write name="entry" property="subtitle" filter="false" /> |
<td colspan="3" width="185" class="ImagePaneHeader">Image activities</td> |
</tr> |
|
<logic:present name="top" property="path"> |
<tr> |
<td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
<td width="183" class="ImagePaneRow"><a href="index.do?path=<bean:write name="top" property="path" />" |
class="ImagePaneRow"><img |
src="res/FolderUp.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Up one level</a></td> |
<td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
</tr> |
</logic:present> |
|
<logic:present name="nextPage"> |
<tr> |
<td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
<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 |
src="res/Forward.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Next page</a></td> |
<td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
</tr> |
</logic:present> |
|
<logic:present name="prevPage"> |
<tr> |
<td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
<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 |
src="res/Back.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Previous page</a></td> |
<td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
</tr> |
</logic:present> |
|
<tr> |
<td width="185" colspan="3" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
</tr> |
</table> |
</div> |
|
<div id="divInfoActivity"> |
<table border="0" cellspacing="0" cellpadding="0" width="185"> |
<tr> |
<td colspan="3" width="185" class="InfoPaneHeader">Information</td> |
</tr> |
<tr> |
<td width="1" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
<td width="183" class="InfoPaneRow"> |
<logic:notEmpty name="current" property="comment"> |
<p><bean:write name="current" property="comment" filter="false" /></p> |
</logic:notEmpty> |
</a> |
<br> |
</td> |
</logic:equal> |
<logic:equal name="entry" property="isDir" value="false"> |
<td width=20%> |
<a href="page.do?path=<bean:write name="entry" property="path" />"> |
<img src="small.do?path=<bean:write name="entry" property="path" />" |
alt="<bean:write name="entry" property="title" />" |
width="<bean:write name="entry" property="width" />" |
height="<bean:write name="entry" property="height" />" |
border=0><br> |
<bean:write name="entry" property="title" /> |
<logic:notEmpty name="entry" property="subtitle"> |
<br><bean:write name="entry" property="subtitle" filter="false" /> |
</logic:notEmpty> |
</a> |
</td> |
</logic:equal> |
</logic:present> |
<logic:notPresent name="entry"> |
<td width=20%> </td> |
</logic:notPresent> |
</logic:iterate> |
<td width="1" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
</tr> |
</logic:iterate> |
<tr> |
<td width="185" colspan="3" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td> |
</tr> |
</table> |
</div> |
</div> |
|
</body> |
|
</html> |
|