1 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" |
---|
2 | xmlns:metal="http://xml.zope.org/namespaces/metal" |
---|
3 | xmlns:tal="http://xml.zope.org/namespaces/tal" |
---|
4 | lang="en-US" |
---|
5 | metal:use-macro="here/prefs_main_template/macros/master" |
---|
6 | i18n:domain="niCommunityCategoriesImporter"> |
---|
7 | |
---|
8 | <!--<metal:block fill-slot="top_slot" |
---|
9 | tal:define="dummy python:request.set('disable_border',1)" />--> |
---|
10 | |
---|
11 | <body> |
---|
12 | <div metal:fill-slot="prefs_configlet_main" |
---|
13 | tal:define="errors options/state/getErrors;"> |
---|
14 | <div metal:use-macro="here/global_statusmessage/macros/portal_message"> |
---|
15 | Portal status message |
---|
16 | </div> |
---|
17 | <h1>Import edit BlackList</h1> |
---|
18 | <a href="" |
---|
19 | class="link-parent" |
---|
20 | tal:attributes="href string: $portal_url/plone_control_panel" |
---|
21 | i18n:translate="label_up_to_plone_setup"> |
---|
22 | Up to Portal Setup |
---|
23 | </a> |
---|
24 | |
---|
25 | <form name="edit_form" |
---|
26 | action="#" |
---|
27 | method="post" |
---|
28 | enctype="multipart/form-data" |
---|
29 | tal:attributes="action string:${here/absolute_url}/${template/getId}" > |
---|
30 | |
---|
31 | <div class="field" |
---|
32 | tal:define="error errors/body | nothing;" |
---|
33 | tal:attributes="class python:test(error, 'field error', 'field')"> |
---|
34 | <label for="rdf" i18n:translate="label_edit_rdf">Edit BlackList</label> |
---|
35 | <div class="formHelp" i18n:translate="help_rdf_edit"> |
---|
36 | Here you can edit existing BlackList. |
---|
37 | </div> |
---|
38 | <div tal:content="error">Validation error output</div> |
---|
39 | <textarea cols="80" |
---|
40 | rows="20" |
---|
41 | tabindex="" |
---|
42 | name="body" |
---|
43 | id="body" |
---|
44 | tal:attributes="tabindex tabindex/next;" |
---|
45 | tal:content="here/portal_trackspam/getBlackList"></textarea> |
---|
46 | </div> |
---|
47 | <div class="form-element" |
---|
48 | tal:define="error errors/file | nothing;" |
---|
49 | tal:attributes="class python:test(error, 'form_element error', 'form_element')"> |
---|
50 | <label for="file" i18n:translate="label_blacklist_file">File</label> |
---|
51 | <div class="formHelp" i18n:translate="help_blacklist_file"> |
---|
52 | Here you can upload your BlackList file, the contents of file will be added to existing list. |
---|
53 | </div> |
---|
54 | <div tal:content="error">Validation error output</div> |
---|
55 | <input type="file" |
---|
56 | id="file" |
---|
57 | name="file" |
---|
58 | size="30" |
---|
59 | tabindex="" |
---|
60 | tal:attributes="tabindex tabindex/next" /> |
---|
61 | </div> |
---|
62 | <div class="formControls" |
---|
63 | tal:define="process_creation request/process_creation|nothing;"> |
---|
64 | <input class="context" |
---|
65 | tabindex="" |
---|
66 | type="submit" |
---|
67 | value="Save" |
---|
68 | name="form.button.Save" |
---|
69 | i18n:attributes="value" |
---|
70 | tal:attributes="tabindex tabindex/next" /> |
---|
71 | </div> |
---|
72 | <input type="hidden" name="form.submitted" value="1" /> |
---|
73 | </form> |
---|
74 | </div> |
---|
75 | </body> |
---|
76 | </html> |
---|