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