[2288] | 1 | <metal:html> |
---|
[2275] | 2 | |
---|
[2288] | 3 | <span tal:condition="not: context/isSectionOfficer"> |
---|
| 4 | <span tal:content="here/illegal_view" /> |
---|
| 5 | </span> |
---|
[2275] | 6 | |
---|
[2288] | 7 | <metal:block tal:condition="context/isSectionOfficer"> |
---|
| 8 | <metal:body use-macro="here/main_template/macros/master"> |
---|
[2275] | 9 | <metal:header fill-slot="header" |
---|
| 10 | tal:define="mtool here/portal_membership; |
---|
| 11 | checkPerm nocall:mtool/checkPermission;"> |
---|
[2288] | 12 | <h3>Configure Portal</h3> |
---|
[2275] | 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> |
---|
[2454] | 73 | <label> |
---|
| 74 | Current Session |
---|
| 75 | </label> |
---|
| 76 | </th> |
---|
| 77 | <td> |
---|
| 78 | <input name="session" id="portal_session" value="" |
---|
| 79 | tal:attributes="value pprops/session" /> |
---|
| 80 | </td> |
---|
| 81 | </tr> |
---|
| 82 | <tr> |
---|
| 83 | <th> |
---|
[2628] | 84 | <label> |
---|
| 85 | Static Directory on Server |
---|
| 86 | </label> |
---|
| 87 | </th> |
---|
| 88 | <td> |
---|
| 89 | <input name="static_dir" id="portal_session" value="" |
---|
| 90 | tal:attributes="value pprops/static_dir" /> |
---|
| 91 | </td> |
---|
| 92 | </tr> |
---|
| 93 | <tr> |
---|
| 94 | <th> |
---|
[2275] | 95 | <label for="portal_description" |
---|
| 96 | i18n:translate="label_portal_description"> |
---|
| 97 | Portal description |
---|
| 98 | </label> |
---|
| 99 | </th> |
---|
| 100 | <td> |
---|
| 101 | <textarea name="description" id="portal_description" |
---|
| 102 | cols="40" rows="4" style="width: 100%" |
---|
| 103 | tal:content="pprops/description"> |
---|
| 104 | </textarea> |
---|
| 105 | </td> |
---|
| 106 | </tr> |
---|
| 107 | |
---|
| 108 | </table> |
---|
| 109 | <p> |
---|
| 110 | <button type="submit" class="standalone" i18n:translate="button_change">Change</button> |
---|
| 111 | <button type="button" class="standalone" onclick="history.back()" |
---|
| 112 | i18n:translate="button_cancel">Cancel</button> |
---|
| 113 | </p> |
---|
| 114 | </form> |
---|
| 115 | |
---|
| 116 | </metal:main> |
---|
[2288] | 117 | </metal:body> |
---|
| 118 | </metal:block> |
---|
| 119 | </metal:html> |
---|