Rev 1216 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1014 | dev | 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
920 | dev | 2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
||
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
||
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
||
958 | dev | 6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
924 | dev | 7 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
920 | dev | 8 | <html> |
9 | |||
10 | <head> |
||
11 | <meta http-equiv="expires" content="0"> |
||
924 | dev | 12 | <title><bean:message key="ak.hostadmiral.page.mail.box.edit.title" /></title> |
958 | dev | 13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
920 | dev | 14 | </head> |
15 | |||
16 | <body> |
||
17 | |||
924 | dev | 18 | <h1><bean:message key="ak.hostadmiral.page.mail.box.edit.title" /></h1> |
920 | dev | 19 | |
958 | dev | 20 | <strutsx:errorsIterator id="errors" /> |
21 | <strutsx:notEmpty name="errors"> |
||
22 | <div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />: |
||
23 | <ul> |
||
24 | <logic:iterate name="errors" id="error"> |
||
25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
||
26 | </logic:iterate> |
||
27 | </ul> |
||
28 | </div> |
||
29 | </strutsx:notEmpty> |
||
920 | dev | 30 | |
31 | <html:form action="/mail/box/submit"> |
||
32 | <backpath:current /> |
||
33 | <html:hidden property="id" /> |
||
34 | |||
35 | <table border=1> |
||
36 | <tr> |
||
924 | dev | 37 | <th><bean:message key="ak.hostadmiral.page.mail.box.edit.login" /></th> |
920 | dev | 38 | <td><html:text property="login" /></td> |
39 | </tr> |
||
40 | <tr> |
||
924 | dev | 41 | <th><bean:message key="ak.hostadmiral.page.mail.box.edit.password" /></th> |
920 | dev | 42 | <td><html:password property="password" redisplay="false" /></td> |
43 | </tr> |
||
44 | <tr> |
||
924 | dev | 45 | <th><bean:message key="ak.hostadmiral.page.mail.box.edit.password_again" /></th> |
920 | dev | 46 | <td><html:password property="password2" redisplay="false" /></td> |
47 | </tr> |
||
48 | <tr> |
||
924 | dev | 49 | <th><bean:message key="ak.hostadmiral.page.mail.box.edit.domain" /></th> |
920 | dev | 50 | <td> |
51 | <html:select property="domain"> |
||
924 | dev | 52 | <html:option value="" key="ak.hostadmiral.page.mail.box.edit.domain.empty"/> |
920 | dev | 53 | <html:options collection="domains" property="id" labelProperty="name" /> |
54 | </html:select> |
||
55 | </td> |
||
56 | </tr> |
||
57 | <tr> |
||
924 | dev | 58 | <th><bean:message key="ak.hostadmiral.page.mail.box.edit.owner" /></th> |
920 | dev | 59 | <td> |
60 | <html:select property="owner"> |
||
924 | dev | 61 | <html:option value="" key="ak.hostadmiral.page.mail.box.edit.owner.empty"/> |
920 | dev | 62 | <html:options collection="users" property="id" labelProperty="login" /> |
63 | </html:select> |
||
64 | </td> |
||
65 | </tr> |
||
66 | <tr> |
||
924 | dev | 67 | <th><bean:message key="ak.hostadmiral.page.mail.box.edit.systemuser" /></th> |
920 | dev | 68 | <td> |
69 | <html:select property="systemuser"> |
||
924 | dev | 70 | <html:option value="" key="ak.hostadmiral.page.mail.box.edit.systemuser.empty"/> |
920 | dev | 71 | <core:options collection="systemusers" property="id" /> |
72 | </html:select> |
||
73 | </td> |
||
74 | </tr> |
||
75 | <tr> |
||
924 | dev | 76 | <th><bean:message key="ak.hostadmiral.page.mail.box.edit.viruscheck" /></th> |
920 | dev | 77 | <td><html:checkbox property="viruscheck" /></td> |
78 | </tr> |
||
79 | <tr> |
||
924 | dev | 80 | <th><bean:message key="ak.hostadmiral.page.mail.box.edit.spamcheck" /></th> |
920 | dev | 81 | <td><html:checkbox property="spamcheck" /></td> |
82 | </tr> |
||
83 | <tr> |
||
924 | dev | 84 | <th><bean:message key="ak.hostadmiral.page.mail.box.edit.enabled" /></th> |
920 | dev | 85 | <td><html:checkbox property="enabled" /></td> |
86 | </tr> |
||
87 | <tr> |
||
924 | dev | 88 | <th><bean:message key="ak.hostadmiral.page.mail.box.edit.comment" /></th> |
920 | dev | 89 | <td><html:textarea property="comment" /></td> |
90 | </tr> |
||
91 | <tr> |
||
92 | <td colspan=2> |
||
924 | dev | 93 | <html:submit><bean:message key="ak.hostadmiral.page.mail.box.edit.submit" /></html:submit> |
94 | <backpath:backlink><bean:message key="ak.hostadmiral.page.mail.box.edit.back" /></backpath:backlink> |
||
920 | dev | 95 | </td> |
96 | </tr> |
||
97 | </table> |
||
98 | |||
1216 | dev | 99 | <p>FIXME: show system user id without comma</p> |
1010 | dev | 100 | <p>FIXME: checkbox to create a mail alias if new mailbox is created</p> |
101 | <p>FIXME: special case: by editing a mailbox which login is the same |
||
102 | as its user and/or mail alias allow to change all them at once. Do the for |
||
103 | user/mail alias edit pages too?</p> |
||
104 | <p>FIXME: checkbox to get password from owner</p> |
||
105 | |||
920 | dev | 106 | </html:form> |
107 | |||
1014 | dev | 108 | <p> |
109 | <bean:message key="ak.hostadmiral.page.general.version" />: |
||
110 | <bean:write name="projectVersion" /> |
||
111 | </p> |
||
112 | |||
920 | dev | 113 | </body> |
114 | |||
115 | </html> |