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