pageEncoding="ISO-8859-1"
%>
<%@ taglib prefix="s" uri="/struts-tags"
-%><%
- String action = request.getParameter("action");
- String index = request.getParameter("index");
%>
-<s:set var="todo"><%=action%></s:set>
-<s:set var="edit"><%=index%></s:set>
-
<s:url id="develop" namespace="/study" action="document-study">
<s:param name="action">develop</s:param>
</s:url>
<td width=18></td>
<td><s:text name="label.title"/></td>
<td width=120 align=center> <s:text name="label.version"/> </td>
- <td width=80 align=right><s:text name="label.size"/> </td>
+ <td width=80 align="right"><s:text name="label.size"/> </td>
<td width=75 align=left> <s:text name="label.date"/><img src="<s:url value="/skin/icon.sortdown.png"/>" border="none"/></td>
</tr>
<tr height=1 bgcolor=#AAAAAA><td colspan=7></td></tr>
<s:set var="docindex" value="%{index}"/>
<tr height=18>
<td>
- <s:if test="%{#todo == 'renameDocument'}">
- <s:if test="%{#edit == #docindex}">
+ <s:if test="%{curAction == 'renameDocument'}">
+ <s:if test="%{index == #docindex}">
<s:a href="%{undo}"><img src="<s:url value="/skin/icon.undo.png"/>" border="none" title="<s:text name="tooltip.cancel"/>" /></s:a>
</s:if><s:else>
<img src="<s:url value="/skin/image.box.png"/>" border="none" title=""/>
</s:else>
</td>
<td>
- <s:if test="%{#todo != 'renameDocument'}">
+ <s:if test="%{curAction != 'renameDocument'}">
<div id="popdoc<s:property value="%{#docindex}"/>" style="position:absolute; display:none; top:0px; left:0px; z-index:10000;" onmouseover="javascript:_mouseOverContext=true;" onmouseout="javascript:_mouseOverContext=false;">
<jsp:include page="/jsp/menupopup.jsp"/>
</div>
</td>
<td><img src="<s:url value="/skin/%{fileIcon}"/>" border="none" title=""/></td>
<td>
- <s:if test="%{#todo == 'renameDocument'}">
- <s:if test="%{#edit == #docindex}">
+ <s:if test="%{curAction == 'renameDocument'}">
+ <s:if test="%{index == #docindex}">
<input type="hidden" name="action" value="renameDocument" />
- <input type="hidden" name="index" value="<%=index%>" />
+ <input type="hidden" name="index" value="<s:property value="index"/>" />
<input type="text" name="documentTitle" size="60" value="<s:property value="title"/>" />
</s:if><s:else>
<s:property value="title"/>
</table>
</s:else>
</td>
- <td align=right><s:property value="size"/> </td>
- <td align=right><s:property value="date"/></td>
+ <td align="right"><s:property value="size"/> </td>
+ <td align="right"><s:property value="date"/></td>
</tr>
<s:if test="%{presentationState == 'open' || presentationState == 'deepopen'}">
<s:iterator value="uses">
<td><img src="<s:url value="/skin/icon.relation.png"/>" border="none" title=""/></td>
<td><i><s:text name="label.uses"/>:</i> <s:property value="title"/></td>
<td align=center><s:property value="version"/></td>
- <td align=right><s:property value="size"/> </td>
- <td align=right><s:property value="date"/></td>
+ <td align="right"><s:property value="size"/> </td>
+ <td align="right"><s:property value="date"/></td>
</tr>
</s:iterator>
<s:iterator value="attachments">
<s:property value="format"/> <s:property value="description"/>
</td>
<td align=center></td>
- <td align=right><s:property value="size"/> </td>
- <td align=right><s:property value="date"/></td>
+ <td align="right"><s:property value="size"/> </td>
+ <td align="right"><s:property value="date"/></td>
</tr>
</s:iterator>
<s:if test="%{history != null}">
</tr>
</table>
</td>
- <td align=right><s:property value="size"/> </td>
- <td align=right><s:property value="date"/></td>
+ <td align="right"><s:property value="size"/> </td>
+ <td align="right"><s:property value="date"/></td>
</tr>
</s:iterator>
</s:if>
</s:if>
</s:iterator>
</s:if>
- <s:if test="%{#todo != 'renameDocument' && userRights.canCreateDocument()}">
+ <s:if test="%{curAction != 'renameDocument' && userRights.canCreateDocument()}">
<tr height=22 valign=bottom>
<td align=center>
<s:a href="%{addocument}">