1 | <metal:html> |
---|
2 | |
---|
3 | <span tal:condition="not: context/isSectionOfficer"> |
---|
4 | <span tal:content="here/illegal_view" /> |
---|
5 | </span> |
---|
6 | |
---|
7 | <metal:block tal:condition="context/isSectionOfficer"> |
---|
8 | <metal:body use-macro="here/main_template/macros/master"> |
---|
9 | <metal:header fill-slot="header" |
---|
10 | tal:define="mtool here/portal_membership; |
---|
11 | checkPerm nocall:mtool/checkPermission;"> |
---|
12 | <h3>Configure Portal</h3> |
---|
13 | </metal:header> |
---|
14 | <metal:main fill-slot="main"> |
---|
15 | <form action="" method="post" |
---|
16 | tal:attributes="action string:${base_url}reconfig" |
---|
17 | tal:define="pprops nocall:here/portal_properties; |
---|
18 | mtool nocall:here/portal_membership; |
---|
19 | rtool nocall:here/portal_registration"> |
---|
20 | <br /> |
---|
21 | |
---|
22 | <table id="portalConfiguration" summary="Portal properties form"> |
---|
23 | <tr> |
---|
24 | <th> |
---|
25 | <label for="email_from_name" |
---|
26 | i18n:translate="label_admin_name"> |
---|
27 | Administrator Name |
---|
28 | </label> |
---|
29 | </th> |
---|
30 | <td> |
---|
31 | <input name="email_from_name" id="email_from_name" value="" |
---|
32 | tal:attributes="value pprops/email_from_name" /> |
---|
33 | </td> |
---|
34 | </tr> |
---|
35 | <tr> |
---|
36 | <th> |
---|
37 | <label for="email_from_address" |
---|
38 | i18n:translate="label_admin_email"> |
---|
39 | Administrator Email |
---|
40 | </label> |
---|
41 | </th> |
---|
42 | <td> |
---|
43 | <input name="email_from_address" id="email_from_address" value="" |
---|
44 | tal:attributes="value pprops/email_from_address" /> |
---|
45 | </td> |
---|
46 | </tr> |
---|
47 | <tr> |
---|
48 | <th> |
---|
49 | <label for="smtp_server" |
---|
50 | i18n:translate="label_smtp_server"> |
---|
51 | SMTP Server |
---|
52 | </label> |
---|
53 | </th> |
---|
54 | <td> |
---|
55 | <input name="smtp_server" id="smtp_server" value="" |
---|
56 | tal:attributes="value pprops/smtp_server" /> |
---|
57 | </td> |
---|
58 | </tr> |
---|
59 | <tr> |
---|
60 | <th> |
---|
61 | <label for="portal_title" |
---|
62 | i18n:translate="label_portal_title"> |
---|
63 | Portal title |
---|
64 | </label> |
---|
65 | </th> |
---|
66 | <td> |
---|
67 | <input name="title" id="portal_title" value="" |
---|
68 | tal:attributes="value pprops/title" /> |
---|
69 | </td> |
---|
70 | </tr> |
---|
71 | <tr> |
---|
72 | <th> |
---|
73 | <label for="portal_description" |
---|
74 | i18n:translate="label_portal_description"> |
---|
75 | Portal description |
---|
76 | </label> |
---|
77 | </th> |
---|
78 | <td> |
---|
79 | <textarea name="description" id="portal_description" |
---|
80 | cols="40" rows="4" style="width: 100%" |
---|
81 | tal:content="pprops/description"> |
---|
82 | </textarea> |
---|
83 | </td> |
---|
84 | </tr> |
---|
85 | |
---|
86 | </table> |
---|
87 | <p> |
---|
88 | <button type="submit" class="standalone" i18n:translate="button_change">Change</button> |
---|
89 | <button type="button" class="standalone" onclick="history.back()" |
---|
90 | i18n:translate="button_cancel">Cancel</button> |
---|
91 | </p> |
---|
92 | </form> |
---|
93 | |
---|
94 | </metal:main> |
---|
95 | </metal:body> |
---|
96 | </metal:block> |
---|
97 | </metal:html> |
---|