1 | <xsl:stylesheet |
---|
2 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
---|
3 | version="2.0" |
---|
4 | > |
---|
5 | |
---|
6 | <xsl:output method="html"/> |
---|
7 | |
---|
8 | <xsl:template match="/config"> |
---|
9 | <html> |
---|
10 | <head> |
---|
11 | <title>Configure ISOcat</title> |
---|
12 | </head> |
---|
13 | <body> |
---|
14 | <h1>Configure ISOcat</h1> |
---|
15 | <form action="/isocat/manage/config/set" method="post"> |
---|
16 | <table style="width:100%"> |
---|
17 | <tr> |
---|
18 | <th colspan="3" align="left">System administration</th> |
---|
19 | </tr> |
---|
20 | <tr> |
---|
21 | <td style="width:20%;">Site address</td> |
---|
22 | <td style="width:60%;"> |
---|
23 | <input name="admin_site" value="{admin/site}" style="width:95%;"/> |
---|
24 | </td> |
---|
25 | <td/> |
---|
26 | </tr> |
---|
27 | <tr> |
---|
28 | <td style="width:20%;">Static site address</td> |
---|
29 | <td style="width:60%;"> |
---|
30 | <input name="admin_static" value="{admin/static}" style="width:95%;"/> |
---|
31 | </td> |
---|
32 | <td/> |
---|
33 | </tr> |
---|
34 | <tr> |
---|
35 | <td>Email address</td> |
---|
36 | <td> |
---|
37 | <input name="admin_email" value="{admin/email}"/> |
---|
38 | </td> |
---|
39 | <td/> |
---|
40 | </tr> |
---|
41 | <tr> |
---|
42 | <td>PID address</td> |
---|
43 | <td> |
---|
44 | <input name="admin_pid" value="{admin/pid}" style="width:95%;"/> |
---|
45 | </td> |
---|
46 | <td/> |
---|
47 | </tr> |
---|
48 | <tr> |
---|
49 | <td colspan="3"> </td> |
---|
50 | </tr> |
---|
51 | <tr> |
---|
52 | <th colspan="3" align="left">Database settings</th> |
---|
53 | </tr> |
---|
54 | <tr> |
---|
55 | <td>database</td> |
---|
56 | <td> |
---|
57 | <input name="database_name" value="{database/name}"/> |
---|
58 | </td> |
---|
59 | <td/> |
---|
60 | </tr> |
---|
61 | <tr> |
---|
62 | <td>user</td> |
---|
63 | <td> |
---|
64 | <input name="database_user" value="{database/user}"/> |
---|
65 | </td> |
---|
66 | <td/> |
---|
67 | </tr> |
---|
68 | <tr> |
---|
69 | <td>password</td> |
---|
70 | <td> |
---|
71 | <input type="password" name="database_password" value="{database/password}"/> |
---|
72 | </td> |
---|
73 | <td/> |
---|
74 | </tr> |
---|
75 | <tr> |
---|
76 | <td>connection pool size</td> |
---|
77 | <td> |
---|
78 | <input name="database_pool" value="{database/pool}"/> |
---|
79 | </td> |
---|
80 | <td/> |
---|
81 | </tr> |
---|
82 | <tr> |
---|
83 | <td>concurrent thread count</td> |
---|
84 | <td> |
---|
85 | <input name="database_concurrency" value="{database/concurrency}"/> |
---|
86 | </td> |
---|
87 | <td/> |
---|
88 | </tr> |
---|
89 | <tr> |
---|
90 | <td colspan="3"> </td> |
---|
91 | </tr> |
---|
92 | <tr> |
---|
93 | <th colspan="3" align="left">SMTP settings</th> |
---|
94 | </tr> |
---|
95 | <tr> |
---|
96 | <td>SMTP server</td> |
---|
97 | <td> |
---|
98 | <input name="email_server" value="{email/server}"/> |
---|
99 | </td> |
---|
100 | <td/> |
---|
101 | </tr> |
---|
102 | <tr> |
---|
103 | <td>user</td> |
---|
104 | <td> |
---|
105 | <input name="email_user" value="{email/user}"/> |
---|
106 | </td> |
---|
107 | <td>(blank for anonymous SMTP server)</td> |
---|
108 | </tr> |
---|
109 | <tr> |
---|
110 | <td>password</td> |
---|
111 | <td> |
---|
112 | <input type="password" name="email_password" value="{email/password}"/> |
---|
113 | </td> |
---|
114 | <td>(blank for anonymous SMTP server)</td> |
---|
115 | </tr> |
---|
116 | <tr> |
---|
117 | <td colspan="3"> </td> |
---|
118 | </tr> |
---|
119 | <tr> |
---|
120 | <th colspan="3" align="left">Forum settings</th> |
---|
121 | </tr> |
---|
122 | <tr> |
---|
123 | <td>forum address</td> |
---|
124 | <td> |
---|
125 | <input name="forum_site" value="{forum/site}" style="width:95%;"/> |
---|
126 | </td> |
---|
127 | <td/> |
---|
128 | </tr> |
---|
129 | <tr> |
---|
130 | <td>forum directory</td> |
---|
131 | <td> |
---|
132 | <input name="forum_dir" value="{forum/dir}" style="width:95%;"/> |
---|
133 | </td> |
---|
134 | <td>(blank for non-local forum, i.e., to disable user account sync)</td> |
---|
135 | </tr> |
---|
136 | <tr> |
---|
137 | <td>user</td> |
---|
138 | <td> |
---|
139 | <input name="forum_user" value="{forum/user}"/> |
---|
140 | </td> |
---|
141 | <td>(leave blank for non-local forum)</td> |
---|
142 | </tr> |
---|
143 | <tr> |
---|
144 | <td>password</td> |
---|
145 | <td> |
---|
146 | <input type="password" name="forum_password" value="{forum/password}"/> |
---|
147 | </td> |
---|
148 | <td>(leave blank for non-local forum)</td> |
---|
149 | </tr> |
---|
150 | <tr> |
---|
151 | <td colspan="3"> </td> |
---|
152 | </tr> |
---|
153 | <tr> |
---|
154 | <th colspan="3" align="left">Authentication priority</th> |
---|
155 | </tr> |
---|
156 | <tr> |
---|
157 | <td>HTTP Basic authentication</td> |
---|
158 | <td> |
---|
159 | <input name="basic_priority" value="{authentication/basic/@priority}"/> |
---|
160 | </td> |
---|
161 | <td>(set to 1 to make this the primary authentication method)</td> |
---|
162 | </tr> |
---|
163 | <tr> |
---|
164 | <td>Shibboleth authentication</td> |
---|
165 | <td> |
---|
166 | <input name="shib_priority" value="{authentication/shibboleth/@priority}"/> |
---|
167 | </td> |
---|
168 | <td>(set to 2 to make this the secondary authentication method, or leave blank to disable Shibboleth authentication)</td> |
---|
169 | </tr> |
---|
170 | <tr> |
---|
171 | <td colspan="3"> </td> |
---|
172 | </tr> |
---|
173 | <tr> |
---|
174 | <th colspan="3" align="left">Shibboleth settings</th> |
---|
175 | </tr> |
---|
176 | <tr> |
---|
177 | <td>Login URL</td> |
---|
178 | <td> |
---|
179 | <input name="shib_sso" value="{authentication/shibboleth/sso}" style="width:95%;"/> |
---|
180 | </td> |
---|
181 | <td>(leave blank for disabled Shibboleth authentication)</td> |
---|
182 | </tr> |
---|
183 | <tr> |
---|
184 | <td>Logout URL</td> |
---|
185 | <td> |
---|
186 | <input name="shib_slo" value="{authentication/shibboleth/slo}" style="width:95%;"/> |
---|
187 | </td> |
---|
188 | <td>(leave blank for disabled Shibboleth authentication)</td> |
---|
189 | </tr> |
---|
190 | <tr> |
---|
191 | <td>Check token URL</td> |
---|
192 | <td> |
---|
193 | <input name="shib_token" value="{authentication/shibboleth/token}" style="width:95%;"/> |
---|
194 | </td> |
---|
195 | <td>(leave blank for disabled Shibboleth authentication)</td> |
---|
196 | </tr> |
---|
197 | <tr> |
---|
198 | <td>Shibboleth header fallback chain</td> |
---|
199 | <td> |
---|
200 | <input name="shib_header" value="{authentication/shibboleth/header}" style="width:95%;"/> |
---|
201 | </td> |
---|
202 | <td>(leave blank for disabled Shibboleth authentication)</td> |
---|
203 | </tr> |
---|
204 | <tr> |
---|
205 | <td colspan="2" align="right"> |
---|
206 | <input type="submit" value="save"/> |
---|
207 | </td> |
---|
208 | </tr> |
---|
209 | </table> |
---|
210 | </form> |
---|
211 | </body> |
---|
212 | </html> |
---|
213 | </xsl:template> |
---|
214 | </xsl:stylesheet> |
---|