source: WAeUP_SRP/base/skins/cps_custom/config_form.pt @ 2582

Last change on this file since 2582 was 2454, checked in by Henrik Bettermann, 17 years ago

rebuild getNextInfo.py completely
fetch session from portal properties.xml
change all scripts using getSessionId
remove StudentCourseResult? relevant code from event services
make pay_by_sc.py and interswitch_cb.py work (rebuild both)

File size: 3.1 KB
Line 
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>
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>
84          <label for="portal_description"
85                 i18n:translate="label_portal_description">
86            Portal description
87          </label>
88        </th>
89        <td>
90          <textarea name="description" id="portal_description"
91                cols="40" rows="4" style="width: 100%"
92                tal:content="pprops/description">
93          </textarea>
94        </td>
95      </tr>
96
97    </table>
98    <p>
99      <button type="submit" class="standalone"  i18n:translate="button_change">Change</button>
100      <button type="button" class="standalone" onclick="history.back()"
101              i18n:translate="button_cancel">Cancel</button>
102    </p>
103  </form>
104
105</metal:main>
106</metal:body>
107</metal:block>
108</metal:html>
Note: See TracBrowser for help on using the repository browser.