1 <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
2 pageEncoding="ISO-8859-1"
5 taglib prefix="s" uri="/struts-tags"
7 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
11 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
12 <title><s:text name="name.module"/></title>
13 <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css">
14 <script language="JavaScript">
16 function initialize () {
17 // ----------------------
18 version.description.focus();
22 <body onLoad="initialize()">
24 =============================================================================================================================
26 <jsp:include page="/jsp/menubar.jsp">
27 <jsp:param name="menu" value="study" />
31 =============================================================================================================================
33 <jsp:include page="/jsp/titlebar.jsp">
34 <jsp:param name="entity" value="study" />
35 <jsp:param name="disable" value="true" />
39 =============================================================================================================================
42 <s:if test="writeAccess">
43 <jsp:include page="/jsp/toolbar.jsp">
44 <jsp:param name="tools" value="study" />
48 <jsp:include page="/jsp/toolbar.jsp">
49 <jsp:param name="tools" value="none" />
52 <div id=top-spacer></div>
53 <jsp:include page="/jsp/menuitem.jsp">
54 <jsp:param name="menu" value="study" />
56 <jsp:include page="/jsp/studyProperties.jsp" />
60 =============================================================================================================================
64 <div id=section><s:text name="title.version"/></div>
65 <div id=article-body class=text>
66 <table width=100% cellpadding=0 cellspacing=0 border=0 class=text>
67 <tr height=25 valign=middle>
69 <s:text name="message.upload">
70 <s:param><s:property value="%{fileName}"/></s:param>
74 <tr height=1 bgcolor=#AAAAAA><td></td></tr>
77 <form name="version" action="valid-version" method="post">
78 <s:hidden name="fileName" value="%{fileName}" />
79 <s:hidden name="index" value="%{index}" />
80 <s:hidden name="version" value="%{version}" />
81 <s:hidden name="date" value="%{date}" />
82 <s:hidden name="defaultDescription" value="%{description}" />
83 <table cellpadding=0 cellspacing=0 border=0 class=text>
84 <tr height=15><td></td></tr>
86 <td align=right><s:text name="field.documentype"/> </td>
87 <td align=left> <s:text name="field.documentitle"/></td>
91 <select name="documentType" disabled="disabled">
92 <option selected value="<s:property value="defaultDocumentType.index"/>"> <s:text name="type.document.%{defaultDocumentType.name}"/></option>
96 <input type="text" name="documentName" disabled="disabled" size="60" value="<s:property value="documentName"/>" />
99 <s:if test="defaultDocumentUses.size > 0">
100 <tr><td align=right><s:text name="label.uses"/>:</td></tr>
101 <s:iterator value="defaultDocumentUses">
103 <td align=right><input type="checkbox" name="uses" value="<s:property value="index"/>" checked></td>
104 <td><s:property value="title"/></td>
108 <tr height=10><td></td></tr>
110 <td align=right><s:text name="label.modifications"/>:</td>
112 <s:set var="sethistory" value="%{''}"/>
113 <s:if test="%{description != null}">
114 <s:set var="sethistory" value="%{'disabled'}"/>
116 <input type="text" name="description" size="60" value="<s:property value="description"/>" <s:property value="%{#sethistory}"/> />
119 <s:if test="dependencies.size > 0">
120 <tr height=10><td></td></tr>
121 <tr height=10 class=warning>
122 <td colspan=2><b><s:text name="label.warning"/>:</b><br><s:text name="message.dependencies"/></td>
124 <tr height=5><td></td></tr>
125 <s:iterator value="dependencies">
127 <td align=right><input type="checkbox" name="usedBy" value="<s:property value="index"/>"></td>
128 <td><s:property value="value().title"/></td>
134 <tr height=10><td></td></tr>
137 <input type="submit" name="cancel" value="<s:text name="button.cancel"/>"/>
140 <s:set var="setstate" value="%{''}"/>
141 <s:if test="%{version != ''}">
142 <s:set var="setstate" value="%{'disabled'}"/>
144 <input type="submit" name="save" value="<s:text name="button.import"/>"/>
145 <select name="documentState" <s:property value="%{#setstate}"/>>
146 <s:if test="documentState == 'inDRAFT'">
147 <option value="inWORK"><s:text name="label.inWORK"/></option>
148 <option value="inDRAFT" selected><s:text name="label.inDRAFT"/></option>
150 <option value="inWORK" selected><s:text name="label.inWORK"/></option>
151 <option value="inDRAFT"><s:text name="label.inDRAFT"/></option>