1 <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
2 pageEncoding="ISO-8859-1"
4 <%@ taglib prefix="s" uri="/struts-tags"
6 <s:url id="develop" namespace="/study" action="document-study">
7 <s:param name="action">develop</s:param>
9 <s:url id="reduce" namespace="/study" action="document-study">
10 <s:param name="action">reduce</s:param>
12 <s:url id="reduceall" namespace="/study" action="document-study">
13 <s:param name="action">reduceall</s:param>
15 <s:url id="addocument" namespace="/study" action="select-file">
16 <s:param name="nextAction">import</s:param>
18 <s:url id="undo" namespace="/study" action="step-study"></s:url>
20 <table width=100% cellpadding=0 cellspacing=0 border=0 class=attribute>
21 <tr height=20 valign=bottom>
25 <td><s:text name="label.title"/></td>
26 <td width=120 align=center> <s:text name="label.version"/> </td>
27 <td width=80 align="right"><s:text name="label.size"/> </td>
28 <td width=75 align=left> <s:text name="label.date"/><img src="<s:url value="/skin/icon.sortdown.png"/>" border="none"/></td>
30 <tr height=1 bgcolor=#AAAAAA><td colspan=7></td></tr>
31 <s:if test="documents.size > 0">
32 <s:set var="selectedDocIndex" value="%{index}"/>
33 <s:iterator value="documents">
34 <s:set var="docindex" value="%{index}"/>
37 <s:if test="%{curAction == 'renameDocument'}">
38 <s:if test="%{#selectedDocIndex == #docindex}">
39 <s:a href="%{undo}"><img src="<s:url value="/skin/icon.undo.png"/>" border="none" title="<s:text name="tooltip.cancel"/>" /></s:a>
41 <img src="<s:url value="/skin/image.box.png"/>" border="none" title=""/>
43 </s:if><s:elseif test="%{presentationState == 'open' || presentationState == 'deepopen'}">
44 <s:a href="%{reduceall}&index=%{#docindex}"><img src="<s:url value="/skin/icon.minus.png"/>" border="none" title=""/></s:a>
46 <s:a href="%{develop}&index=%{#docindex}"><img src="<s:url value="/skin/icon.plus.png"/>" border="none" title=""/></s:a>
50 <s:if test="%{curAction != 'renameDocument'}">
51 <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;">
52 <jsp:include page="/jsp/menupopup.jsp"/>
54 <s:a href="popdoc%{#docindex}">
55 <img src="<s:url value="/skin/%{editIcon}"/>" onMouseOver=this.src="<s:url value="/skin/icon.ed.png"/>" onMouseOut=this.src="<s:url value="/skin/%{editIcon}"/>" width=14 height=14 border="none" title="<s:text name="tooltip.edit.document"/>"/>
59 <img src="<s:url value="/skin/%{stateIcon}"/>" width=14 height=14 border="none" title=""/>
62 <td><img src="<s:url value="/skin/%{fileIcon}"/>" border="none" title=""/></td>
64 <s:if test="%{curAction == 'renameDocument'}">
65 <s:if test="%{#selectedDocIndex == #docindex}">
66 <input type="hidden" name="action" value="renameDocument" />
67 <input type="hidden" name="index" value="<s:property value="index"/>" />
68 <input type="text" name="documentTitle" size="60" value="<s:property value="title"/>" />
69 <button type="submit" value="" style="width:24px; height:16px; border:0; cursor:pointer; cursor:hand; background:transparent">
70 <img src="<s:url value="/skin/image.export.png"/>" title="<s:text name="button.save"/>"/>
73 <s:property value="title"/>
76 <s:a href="%{URL}" target="_blank" cssClass="link"><s:property value="title"/></s:a>
80 <s:if test="%{progressState == 'EXTERN'}"><s:property value="version"/></s:if>
84 <td><img src="<s:url value="/skin/%{sharingIcon}"/>" width=14 height=14 border="none" title="<s:text name="tooltip.shared"/>"/></td>
85 <td> <s:property value="version"/> </td>
86 <td><img src="<s:url value="/skin/%{versioningIcon}"/>" width=14 height=14 border="none" title=""/></td>
91 <td align="right"><s:property value="size"/> </td>
92 <td align="right"><s:property value="date"/></td>
94 <s:if test="%{presentationState == 'open' || presentationState == 'deepopen'}">
95 <s:iterator value="uses">
99 <td><img src="<s:url value="/skin/icon.relation.png"/>" border="none" title=""/></td>
100 <td><i><s:text name="label.uses"/>:</i> <s:property value="title"/></td>
101 <td align=center><s:property value="version"/></td>
102 <td align="right"><s:property value="size"/> </td>
103 <td align="right"><s:property value="date"/></td>
106 <s:iterator value="attachments">
110 <td><img src="<s:url value="/skin/image.attach.png"/>" border="none" title=""/></td>
112 <i><s:text name="label.converts"/>:</i>
113 <s:property value="format"/> <s:property value="description"/>
115 <td align=center></td>
116 <td align="right"><s:property value="size"/> </td>
117 <td align="right"><s:property value="date"/></td>
120 <s:if test="%{history != null}">
123 <s:if test="%{presentationState == 'deepopen'}">
125 <s:a href="%{reduce}&index=%{#docindex}"><img src="<s:url value="/skin/icon.minus.png"/>" border="none" title=""/></s:a>
127 <td><img src="<s:url value="/skin/image.diropen.png"/>" border="none" title=""/></td>
130 <s:a href="%{develop}&index=%{#docindex}"><img src="<s:url value="/skin/icon.plus.png"/>" border="none" title=""/></s:a>
132 <td><img src="<s:url value="/skin/image.dirclosed.png"/>" border="none" title=""/></td>
134 <td><i><s:text name="label.history"/></i></td>
136 <s:if test="%{presentationState == 'deepopen'}">
137 <s:iterator value="history">
141 <table cellpadding=0 cellspacing=0 border=0>
143 <td width=18><img src="<s:url value="/skin/%{fileIcon}"/>" border="none" title=""/></td>
144 <td><s:property value="description"/></td>
151 <td><img src="<s:url value="/skin/%{sharingIcon}"/>" width=14 height=14 border="none" title="<s:text name="tooltip.shared"/>"/></td>
152 <td><s:property value="version"/></td>
153 <td><img src="<s:url value="/skin/%{versioningIcon}"/>" width=14 height=14 border="none" title=""/></td>
157 <td align="right"><s:property value="size"/> </td>
158 <td align="right"><s:property value="date"/></td>
166 <s:if test="%{curAction != 'renameDocument' && userRights.canCreateDocument()}">
167 <tr height=22 valign=bottom>
169 <s:a href="%{addocument}">
170 <img src="<s:url value="/skin/icon.add.png"/>" onMouseOver=this.src="<s:url value="/skin/icon.addhot.png"/>" onMouseOut=this.src="<s:url value="/skin/icon.add.png"/>" border="none" title="<s:text name="tooltip.import"/>" />