Rev 920 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 920 | Rev 924 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
6 | <%@ taglib uri="/WEB-INF/hostcaptain-core.tld" prefix="core" %> |
6 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
7 | <html> |
7 | <html> |
8 | 8 | ||
9 | <head> |
9 | <head> |
10 | <meta http-equiv="expires" content="0"> |
10 | <meta http-equiv="expires" content="0"> |
11 | <title><bean:message key="ak.hostcaptain.page.mail.alias.edit.title" /></title> |
11 | <title><bean:message key="ak.hostadmiral.page.mail.alias.edit.title" /></title> |
12 | <script> |
12 | <script> |
13 | function submitForm() |
13 | function submitForm() |
14 | { |
14 | { |
15 | idx = 0; |
15 | idx = 0; |
16 | while(true) { |
16 | while(true) { |
Line 57... | Line 57... | ||
57 | </script> |
57 | </script> |
58 | </head> |
58 | </head> |
59 | 59 | ||
60 | <body> |
60 | <body> |
61 | 61 | ||
62 | <h1><bean:message key="ak.hostcaptain.page.mail.alias.edit.title" /></h1> |
62 | <h1><bean:message key="ak.hostadmiral.page.mail.alias.edit.title" /></h1> |
63 | 63 | ||
64 | <html:errors/> |
64 | <html:errors/> |
65 | 65 | ||
66 | <html:form action="/mail/alias/submit" onsubmit="submitForm()"> |
66 | <html:form action="/mail/alias/submit" onsubmit="submitForm()"> |
67 | <backpath:current/> |
67 | <backpath:current/> |
68 | <html:hidden property="id" /> |
68 | <html:hidden property="id" /> |
69 | 69 | ||
70 | <table border=1> |
70 | <table border=1> |
71 | <tr> |
71 | <tr> |
72 | <th><bean:message key="ak.hostcaptain.page.mail.alias.edit.address" /></th> |
72 | <th><bean:message key="ak.hostadmiral.page.mail.alias.edit.address" /></th> |
73 | <td><html:text property="address" /></td> |
73 | <td><html:text property="address" /></td> |
74 | <td> </td> |
74 | <td> </td> |
75 | <td> </td> |
75 | <td> </td> |
76 | <td> </td> |
76 | <td> </td> |
77 | </tr> |
77 | </tr> |
78 | <tr> |
78 | <tr> |
79 | <th><bean:message key="ak.hostcaptain.page.mail.alias.edit.domain" /></th> |
79 | <th><bean:message key="ak.hostadmiral.page.mail.alias.edit.domain" /></th> |
80 | <td> |
80 | <td> |
81 | <html:select property="domain"> |
81 | <html:select property="domain"> |
82 | <html:option value="" key="ak.hostcaptain.page.mail.alias.edit.domain.empty"/> |
82 | <html:option value="" key="ak.hostadmiral.page.mail.alias.edit.domain.empty"/> |
83 | <html:options collection="domains" property="id" labelProperty="name" /> |
83 | <html:options collection="domains" property="id" labelProperty="name" /> |
84 | </html:select> |
84 | </html:select> |
85 | </td> |
85 | </td> |
86 | <td> </td> |
86 | <td> </td> |
87 | <td> </td> |
87 | <td> </td> |
88 | <td> </td> |
88 | <td> </td> |
89 | </tr> |
89 | </tr> |
90 | <tr> |
90 | <tr> |
91 | <th><bean:message key="ak.hostcaptain.page.mail.alias.edit.owner" /></th> |
91 | <th><bean:message key="ak.hostadmiral.page.mail.alias.edit.owner" /></th> |
92 | <td> |
92 | <td> |
93 | <html:select property="owner"> |
93 | <html:select property="owner"> |
94 | <html:option value="" key="ak.hostcaptain.page.mail.alias.edit.owner.empty"/> |
94 | <html:option value="" key="ak.hostadmiral.page.mail.alias.edit.owner.empty"/> |
95 | <html:options collection="users" property="id" labelProperty="login" /> |
95 | <html:options collection="users" property="id" labelProperty="login" /> |
96 | </html:select> |
96 | </html:select> |
97 | </td> |
97 | </td> |
98 | <td> </td> |
98 | <td> </td> |
99 | <td> </td> |
99 | <td> </td> |
100 | <td> </td> |
100 | <td> </td> |
101 | </tr> |
101 | </tr> |
102 | <tr> |
102 | <tr> |
103 | <th><bean:message key="ak.hostcaptain.page.mail.alias.edit.enabled" /></th> |
103 | <th><bean:message key="ak.hostadmiral.page.mail.alias.edit.enabled" /></th> |
104 | <td><html:checkbox property="enabled" /></td> |
104 | <td><html:checkbox property="enabled" /></td> |
105 | <td> </td> |
105 | <td> </td> |
106 | <td> </td> |
106 | <td> </td> |
107 | <td> </td> |
107 | <td> </td> |
108 | </tr> |
108 | </tr> |
109 | <tr> |
109 | <tr> |
110 | <th><bean:message key="ak.hostcaptain.page.mail.alias.edit.comment" /></th> |
110 | <th><bean:message key="ak.hostadmiral.page.mail.alias.edit.comment" /></th> |
111 | <td><html:textarea property="comment" /></td> |
111 | <td><html:textarea property="comment" /></td> |
112 | <td> </td> |
112 | <td> </td> |
113 | <td> </td> |
113 | <td> </td> |
114 | <td> </td> |
114 | <td> </td> |
115 | </tr> |
115 | </tr> |
116 | 116 | ||
117 | <tr> |
117 | <tr> |
118 | <th><bean:message key="ak.hostcaptain.page.mail.alias.edit.header.tomailbox" /></th> |
118 | <th><bean:message key="ak.hostadmiral.page.mail.alias.edit.header.tomailbox" /></th> |
119 | <th><bean:message key="ak.hostcaptain.page.mail.alias.edit.header.toexternal" /></th> |
119 | <th><bean:message key="ak.hostadmiral.page.mail.alias.edit.header.toexternal" /></th> |
120 | <th><bean:message key="ak.hostcaptain.page.mail.alias.edit.header.enabled" /></th> |
120 | <th><bean:message key="ak.hostadmiral.page.mail.alias.edit.header.enabled" /></th> |
121 | <th><bean:message key="ak.hostcaptain.page.mail.alias.edit.header.comment" /></th> |
121 | <th><bean:message key="ak.hostadmiral.page.mail.alias.edit.header.comment" /></th> |
122 | <th> </th> |
122 | <th> </th> |
123 | </tr> |
123 | </tr> |
124 | 124 | ||
125 | <logic:iterate name="ak.hostcaptain.core.form.MailAliasEditForm" property="dests" id="dests" indexId="iid"> |
125 | <logic:iterate name="ak.hostadmiral.core.form.MailAliasEditForm" property="dests" id="dests" indexId="iid"> |
126 | <tr> |
126 | <tr> |
127 | <td> |
127 | <td> |
128 | <html:hidden name="dests" property="id" indexed="true" /> |
128 | <html:hidden name="dests" property="id" indexed="true" /> |
129 | <html:select name="dests" property="mailbox" indexed="true" onchange="mailboxChanged(this)"> |
129 | <html:select name="dests" property="mailbox" indexed="true" onchange="mailboxChanged(this)"> |
130 | <html:option value="" key="ak.hostcaptain.page.mail.alias.edit.external"/> |
130 | <html:option value="" key="ak.hostadmiral.page.mail.alias.edit.external"/> |
131 | <html:options collection="mailboxes" property="id" labelProperty="login" /> |
131 | <html:options collection="mailboxes" property="id" labelProperty="login" /> |
132 | </html:select> |
132 | </html:select> |
133 | </td> |
133 | </td> |
134 | <td><html:text name="dests" property="email" indexed="true" /></td> |
134 | <td><html:text name="dests" property="email" indexed="true" /></td> |
135 | <td><html:checkbox name="dests" property="enabled" indexed="true" /></td> |
135 | <td><html:checkbox name="dests" property="enabled" indexed="true" /></td> |
136 | <td><html:text name="dests" property="comment" indexed="true" /></td> |
136 | <td><html:text name="dests" property="comment" indexed="true" /></td> |
137 | <td><html:submit property="delete.dests" indexed="true"><bean:message key="ak.hostcaptain.page.mail.alias.edit.delete" /></html:submit></td> |
137 | <td><html:submit property="delete.dests" indexed="true"><bean:message key="ak.hostadmiral.page.mail.alias.edit.delete" /></html:submit></td> |
138 | </tr> |
138 | </tr> |
139 | </logic:iterate> |
139 | </logic:iterate> |
140 | 140 | ||
141 | <tr> |
141 | <tr> |
142 | <td colspan=5><html:submit property="add"><bean:message key="ak.hostcaptain.page.mail.alias.edit.add" /></html:submit></td> |
142 | <td colspan=5><html:submit property="add"><bean:message key="ak.hostadmiral.page.mail.alias.edit.add" /></html:submit></td> |
143 | <tr> |
143 | <tr> |
144 | </tr> |
144 | </tr> |
145 | <td colspan=5> |
145 | <td colspan=5> |
146 | <html:submit property="submit"><bean:message key="ak.hostcaptain.page.mail.alias.edit.submit" /></html:submit> |
146 | <html:submit property="submit"><bean:message key="ak.hostadmiral.page.mail.alias.edit.submit" /></html:submit> |
147 | <backpath:backlink><bean:message key="ak.hostcaptain.page.mail.alias.edit.back" /></backpath:backlink> |
147 | <backpath:backlink><bean:message key="ak.hostadmiral.page.mail.alias.edit.back" /></backpath:backlink> |
148 | </td> |
148 | </td> |
149 | </tr> |
149 | </tr> |
150 | </table> |
150 | </table> |
151 | 151 | ||
152 | </html:form> |
152 | </html:form> |