1 <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
2 pageEncoding="ISO-8859-1"
4 taglib prefix="s" uri="/struts-tags"
6 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
10 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
11 <title>Enregistrer sous</title>
12 <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css">
13 <script language="JavaScript">
15 function initForm () {
16 // --------------------
19 function updateMe () {
20 // --------------------
21 returnValue = "update";
24 function versionMe () {
25 // ---------------------
26 returnValue = "version=" + save.state.value + "&description=" + save.description.value;
37 <body bgcolor=#ECE9D8 onLoad="initForm()">
38 <form name="save" action="save" method="post">
39 <table width=100% cellpadding=0 cellspacing=0 border=0>
40 <tr height=10><td></td></tr>
43 <table cellpadding=0 cellspacing=0 border=0 class=text>
46 <td><s:text name="label.doyou"/>:</td>
50 <td><input type="button" name="update" style='width: 180px;' value="<s:text name="button.update"/>" onClick="updateMe()"></td>
52 <tr height=10><td></td></tr>
55 <td><s:text name="label.or"/> <s:text name="menu.version"/>:</td>
58 <td align=right><s:text name="label.modifications"/>:</td>
59 <td colspan=2><input type="text" name="description" size="60"></td>
61 <tr height=10><td></td></tr>
63 <td align=center><input type="button" name="ko" value="<s:text name="button.cancel"/>" onClick="cancel()"> </td>
64 <td width=190><input type="button" name="version" style='width: 180px;' value="<s:text name="button.version"/>" onClick="versionMe()"></td>
67 <option value="inWORK"><s:text name="label.inWORK"/></option>
68 <option value="inDRAFT"><s:text name="label.inDRAFT"/></option>