Remaniement du formulaire de configuration du portail.
[Plinn.git] / Products / Plinn / skins / custom_generic / reconfig_template.pt
1 <html xmlns:tal="http://xml.zope.org/namespaces/tal"
2 xmlns:metal="http://xml.zope.org/namespaces/metal"
3 xmlns:i18n="http://xml.zope.org/namespaces/i18n"
4 metal:use-macro="context/main_template/macros/master">
5 <head>
6 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
7 </head>
8 <body metal:fill-slot="main_no_tabs" i18n:domain="plinn" tal:omit-tag="" tal:define="form options/form">
9 <h1 i18n:translate="">Configure the Portal</h1>
10 <div class="config">
11 <p i18n:translate="">
12 This form is used to set the portal configuration options.
13 </p>
14 <form method="post" tal:attributes="action form/action">
15 <table class="TwoColumnForm">
16 <tr>
17 <th i18n:translate="">Portal 'From' name</th>
18 <td>
19 <input name="email_from_name" value=""
20 tal:attributes="value form/email_from_name"/>
21 <dl class="FieldHelp">
22 <dd i18n:translate="">
23 When the portal generates mail, it uses this name as its
24 (apparent) sender.
25 </dd>
26 </dl>
27 </td>
28 </tr>
29 <tr>
30 <th i18n:translate="">Portal 'From' address</th>
31 <td>
32 <input name="email_from_address" value=""
33 tal:attributes="value form/email_from_address"/>
34 <dl class="FieldHelp">
35 <dd i18n:translate="">
36 When the portal generates mail, it uses this address as its
37 (apparent) return address.
38 </dd>
39 </dl>
40 </td>
41 </tr>
42 <tr>
43 <th i18n:translate="">SMTP server</th>
44 <td>
45 <input name="smtp_server" value=""
46 tal:attributes="value form/smtp_server"/>
47 <dl class="FieldHelp">
48 <dd i18n:translate="">
49 This is the address of your local SMTP (out-going mail)
50 server.
51 </dd>
52 </dl>
53 </td>
54 </tr>
55 <tr>
56 <th i18n:translate="">Portal title</th>
57 <td>
58 <input name="title" value=""
59 tal:attributes="value form/title"/>
60 <dl class="FieldHelp">
61 <dd i18n:translate="">
62 This is the title which appears at the top of every portal
63 page.
64 </dd>
65 </dl>
66 </td>
67 </tr>
68 <tr>
69 <th i18n:translate="">Portal description</th>
70 <td class="TextField">
71 <textarea name="description" rows="3" cols="40" tal:content="form/description"/>
72 <dl class="FieldHelp">
73 <dd i18n:translate="">
74 This description is made available via syndicated content and
75 elsewhere. It should be fairly brief.
76 </dd>
77 </dl>
78 </td>
79 </tr>
80 <tr>
81 <th i18n:translate="">Keywords</th>
82 <td class="TextField">
83 <textarea name="keywords:lines" rows="6" cols="40" tal:content="form/keywords"/>
84 <dl class="FieldHelp">
85 <dd i18n:translate="">
86 Keywords describing the portal. Type one keyword (or
87 expression) per line.
88 </dd>
89 </dl>
90 </td>
91 </tr>
92 <tr>
93 <th i18n:translate="">Copyright notice</th>
94 <td class="TextField">
95 <input name="copyright_notice" value=""
96 tal:attributes="value form/copyright_notice"/>
97 <dl class="FieldHelp">
98 <dd i18n:translate="">
99 Copyright notice displayed on the portal footer.
100 </dd>
101 </dl>
102 </td>
103 </tr>
104 <tr>
105 <th i18n:translate="">Registration policy</th>
106 <td>
107 <label>
108 <input type="radio" name="validate_email:boolean" value="True"
109 tal:attributes="checked form/validate_email"/>
110 <span i18n:translate="" tal:omit-tag="">
111 Send email to new members to validate their registrations
112 </span>
113 </label>
114 <br/>
115 <label>
116 <input type="radio" name="validate_email:boolean" value="False"
117 tal:attributes="checked not:form/validate_email"/>
118 <span i18n:translate="" tal:omit-tag="">
119 Allow new members to select their initial passwords
120 </span>
121 </label>
122 </td>
123 </tr>
124 <tr>
125 <th i18n:translate="">Thumbnails size</th>
126 <td>
127 <input name="slide_size:int" value=""
128 tal:attributes="value form/slide_size" size="5"/>
129 <dl class="FieldHelp">
130 <dd i18n:translate="">
131 This is the size of the thumbnails in the photo album, in
132 pixels.
133 </dd>
134 </dl>
135 </td>
136 </tr>
137 <tr>
138 <th i18n:translate="">Default ajax options</th>
139 <td>
140 <label>
141 <input type="checkbox" name="ajax_rootClickHandler:boolean"
142 tal:attributes="checked form/ajax_rootClickHandler"/>
143 <span i18n:translate="" tal:omit-tag="">Enable handling of all clicks over links</span>
144 </label>
145 <br/>
146 <label>
147 <input type="checkbox" name="ajax_autoFormManager:boolean"
148 tal:attributes="checked form/ajax_autoFormManager"/>
149 <span i18n:translate="" tal:omit-tag="">Enable handling of all forms submissions</span>
150 </label>
151 </td>
152 </tr>
153 <tr>
154 <td>
155 <br/>
156 </td>
157 <td>
158 <metal:macro metal:use-macro="context/form_widgets/macros/buttons"/>
159 </td>
160 </tr>
161 </table>
162 </form>
163 </div>
164 </body>
165 </html>