42 lines
1.2 KiB
XML
42 lines
1.2 KiB
XML
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
|
|
xmlns:tal="http://xml.zope.org/namespaces/tal"
|
|
xmlns:metal="http://xml.zope.org/namespaces/metal"
|
|
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
|
|
lang="en"
|
|
metal:use-macro="context/main_template/macros/master"
|
|
i18n:domain="plone.app.dexterity">
|
|
<body>
|
|
|
|
<metal:main fill-slot="main">
|
|
|
|
<h1 class="documentFirstHeading" tal:content="context/Title" />
|
|
<div tal:replace="structure provider:plone.belowcontenttitle" />
|
|
|
|
<form id="thesaurus-search-form" tal:content="structure view/renderForm">
|
|
</form>
|
|
|
|
<div id="dmsthesaurus-entry-points-field"
|
|
class="field"
|
|
tal:define="widget python:view.widgets.get('entry_points')">
|
|
<label tal:content="widget/label" />
|
|
<br />
|
|
<div tal:content="structure widget/render" />
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
function autocomplete_ready(event, data, formatted) {
|
|
window.location=window.location+'/'+data[1];
|
|
}
|
|
|
|
$(document).ready(function() {
|
|
$('.keyword-search').autocomplete('listKeywords', {
|
|
'cacheLength': 0, 'matchContains': true, 'scroll': true, 'max': 30}).result(autocomplete_ready);
|
|
});
|
|
</script>
|
|
|
|
</metal:main>
|
|
|
|
</body>
|
|
</html>
|
|
|