]> source.dussan.org Git - archiva.git/blob
c1a58920a07b7af5b18f905709f0812807d3448b
[archiva.git] /
1 <%--
2   ~
3   ~ Licensed under the Apache License, Version 2.0 (the "License");
4   ~ you may not use this file except in compliance with the License.
5   ~ You may obtain a copy of the License at
6   ~
7   ~      http://www.apache.org/licenses/LICENSE-2.0
8   ~
9   ~ Unless required by applicable law or agreed to in writing, software
10   ~ distributed under the License is distributed on an "AS IS" BASIS,
11   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12   ~ See the License for the specific language governing permissions and
13   ~ limitations under the License.
14   --%>
15
16 <%@ taglib prefix="s" uri="/struts-tags"%>
17 <%@ taglib prefix="redback" uri="/redback/taglib-1.0"%>
18 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
19
20 <html>
21 <s:i18n name="org.apache.archiva.redback.struts2.default">
22 <head>
23   <title><s:text name="user.edit.confirm.page.title"/></title>
24 </head>
25
26 <body>
27
28 <%@ include file="/WEB-INF/jsp/redback/include/formValidationResults.jsp" %>
29
30 <h2><s:text name="user.edit.confirm.section.title"/></h2>
31
32 <redback:ifAuthorized permission="user-management-user-edit" resource="${user.username}">
33
34   <s:form action="useredit" namespace="/security" theme="xhtml"
35          id="userEditForm" method="post" cssClass="security userEdit">
36     <redback:isNotReadOnlyUserManager>
37       <p>
38         You must re-confirm your password to proceed with the request to
39         <strong>edit the account information</strong> for user: <strong>${user.username}</strong>
40       </p>
41
42       <s:password label="%{getText('user.admin.password')}" name="userAdminPassword" size="20" required="true"/>
43       <s:hidden label="Username"    name="username" />
44       <s:hidden name="user.username" value="%{user.username}"/>
45       <s:hidden name="user.fullName" value="%{user.fullName}"/>
46       <s:hidden name="user.email" value="%{user.email}"/>
47       <s:hidden name="user.password" value="%{user.password}"/>
48       <s:hidden name="user.confirmPassword" value="%{user.confirmPassword}"/>
49       <s:hidden name="user.timestampAccountCreation" value="%{user.timestampAccountCreation}"/>
50       <s:hidden name="user.timestampLastLogin" value="%{user.timestampLastLogin}"/>
51       <s:hidden name="user.timestampLastPasswordChange" value="%{user.timestampLastPasswordChange}"/>
52       <s:hidden name="user.locked" value="%{user.locked}"/>
53       <s:hidden name="user.passwordChangeRequired" value="%{user.passwordChangeRequired}"/>
54       <s:hidden name="method:confirmAdminPassword" value="Submit"/>
55       <s:submit id="confirmUserAdminSubmit" value="%{getText('submit')}" method="confirmAdminPassword" />
56       <s:submit id="cancelUserAdminSubmit" value="%{getText('cancel')}" method="cancel" />
57     </redback:isNotReadOnlyUserManager>
58   </s:form>
59 </redback:ifAuthorized>
60
61 </body>
62 </s:i18n>
63 </html>