Fichier site.zcml passé en paramètre ou par variable d'environnement.
[Plinn.git] / Products / Plinn / www / manage_solr.pt
1 <tal:header tal:replace="structure here/manage_page_header">header</tal:header>
2 <tal:tabs tal:replace="structure here/manage_tabs">tabs</tal:tabs>
3 <div i18n:domain="plinn">
4 <form action="." method="post" tal:attributes="action here/absolute_url">
5 <div>
6 <h3 i18n:translate="">Solr server url</h3>
7 <input type="text" name="url" size="60"
8 tal:attributes="value here/solr_url"/>
9 </div>
10 <div>
11 <h3 i18n:translate="">Solr delegated indexes</h3>
12 <p class="form-help" i18n:translate="">
13 Enter names of indexes to delegate to Solr.
14 One per line.
15 </p>
16 <textarea name="indexes:lines" cols="40" rows="24"
17 tal:content="python:'\n'.join(here.getDelegatedIndexes())">
18 </textarea><br/>
19 </div>
20 <input type="submit" name="setSolrProperties:method" value="Save" i18n:attributes="value" />
21 </form>
22 </div>
23 <tal:footer tal:replace="structure here/manage_page_footer">footer</tal:footer>