Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 1243 → Rev 1244

/PhotoAlbum/trunk/webapp/page.jsp
2,64 → 2,111
<%@ 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>
<title><bean:write name="entry" property="title" /></title>
<link href="res/styles.css" rel="stylesheet">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
 
<body bgcolor="white">
<body bgcolor="white" id="slide">
 
<h1><bean:write name="entry" property="title" /></h1>
<div id="divActivity">
<div id="divImageActivity">
<table border="0" cellspacing="0" cellpadding="0" width="185">
<tr>
<td colspan="3" width="185" class="ImagePaneHeader">Image activities</td>
</tr>
 
<logic:notEmpty name="entry" property="subtitle">
<p><bean:write name="entry" property="subtitle" /></p>
</logic:notEmpty>
<logic:present name="index" 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="index" property="path" />" class="ImagePaneRow"><img
src="res/FolderUp.gif" border="0" align="absmiddle"
style="margin-right: 5px;"/>Back to index page</a></td>
<td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
</tr>
</logic:present>
 
<logic:notEmpty name="entry" property="comment">
<p><bean:write name="entry" property="comment" /></p>
</logic:notEmpty>
<logic:notEmpty name="nextEntry" property="path">
<tr>
<td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
<td width="183" class="ImagePaneRow"><a
<logic:equal name="nextEntry" property="isDir" value="true">
href="index.do?path=<bean:write name="nextEntry" property="path" />"
</logic:equal>
<logic:equal name="nextEntry" property="isDir" value="false">
href="page.do?path=<bean:write name="nextEntry" property="path" />"
</logic:equal>
class="ImagePaneRow"><img
src="res/Forward.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Next image</a></td>
<td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
</tr>
</logic:notEmpty>
 
<p>
<logic:empty name="prevEntry" property="path">
&lt;&lt;
</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" />">&lt;&lt;</a>
</logic:equal>
<logic:equal name="prevEntry" property="isDir" value="false">
<a href="page.do?path=<bean:write name="prevEntry" property="path" />">&lt;&lt;</a>
</logic:equal>
</logic:notEmpty>
<logic:notEmpty name="prevEntry" property="path">
<tr>
<td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
<td width="183" class="ImagePaneRow"><a
<logic:equal name="prevEntry" property="isDir" value="true">
href="index.do?path=<bean:write name="prevEntry" property="path" />"
</logic:equal>
<logic:equal name="prevEntry" property="isDir" value="false">
href="page.do?path=<bean:write name="prevEntry" property="path" />"
</logic:equal>
class="ImagePaneRow"><img
src="res/Back.gif" border="0" align="absmiddle" style="margin-right: 5px;"/>Previous image</a></td>
<td width="1" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
</tr>
</logic:notEmpty>
 
<logic:notPresent name="index" property="path">
&nbsp;
</logic:notPresent>
<logic:present name="index" property="path">
<a href="index.do?path=<bean:write name="index" property="path" />">Index</a>
</logic:present>
<tr>
<td width="185" colspan="3" class="ImagePaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
</tr>
</table>
</div>
 
<logic:empty name="nextEntry" property="path">
&gt;&gt;
</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" />">&gt;&gt;</a>
</logic:equal>
<logic:equal name="nextEntry" property="isDir" value="false">
<a href="page.do?path=<bean:write name="nextEntry" property="path" />">&gt;&gt;</a>
</logic:equal>
</logic:notEmpty>
</p>
<div id="divInfoActivity">
<table border="0" cellspacing="0" cellpadding="0" width="185" ID="Table1">
<tr>
<td colspan="3" width="185" class="InfoPaneHeader">Information</td>
</tr>
 
<p><a href="origin.do?path=<bean:write name="entry" property="path" />"
><img src="medium.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></p>
<tr>
<td width="1" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
<td width="183" class="InfoPaneRow">
<logic:notEmpty name="entry" property="comment">
<bean:write name="entry" property="comment" />
</logic:notEmpty>
</td>
<td width="1" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
</tr>
 
<tr>
<td width="185" colspan="3" class="InfoPaneFrame"><img src="res/1x1.gif" width="1" height="1"/></td>
</tr>
</table>
</div>
</div>
 
<div id="divMainSlideHeader"><bean:write name="entry" property="title" />
<logic:notEmpty name="entry" property="subtitle">
<div id="divMainSlideSubtitle"><bean:write name="entry" property="subtitle" /></div>
</logic:notEmpty>
</div>
<div id="divMain" align="center">
<a href="origin.do?path=<bean:write name="entry" property="path" />" target="_blank"><img
src="medium.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></p>
<br>
</div>
 
</body>
 
</html>