[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndexNG/dtml - manageTextIndexNG.dtml:1.1.2.2
Andreas Jung
andreas@zope.com
Fri, 4 Jan 2002 14:39:09 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndexNG/dtml
In directory cvs.zope.org:/tmp/cvs-serv8581/dtml
Modified Files:
Tag: ajung-textindexng-branch
manageTextIndexNG.dtml
Log Message:
updated all preferences
=== Zope/lib/python/Products/PluginIndexes/TextIndexNG/dtml/manageTextIndexNG.dtml 1.1.2.1 => 1.1.2.2 ===
<select name="vocabulary">
<dtml-in "aq_parent.aq_parent.objectItems('Vocabulary')">
- <dtml-if "_['sequence-key']==vocabulary_id">
+ <dtml-if "_['sequence-key']==lexicon">
<option value="&dtml-sequence-key;" selected>&dtml-sequence-key; (<dtml-var "_['sequence-item'].title">)
<dtml-else>
<option value="&dtml-sequence-key;">&dtml-sequence-key; (<dtml-var "_['sequence-item'].title">)
</dtml-if>
</dtml-in>
</select>
-
</td>
<td>
@@ -30,11 +29,26 @@
</td>
</tr>
-<dtml-comment>
+<tr>
+ <th align="left">Stemmer</th>
+ <td>
+ <select name="extra.useStemmer:record:string">
+ <dtml-in availableStemmers>
+ <dtml-if "_.getitem('sequence-key')==useStemmer">
+ <option value="&dtml-sequence-key;" selected>&dtml-sequence-item;
+ <dtml-else>
+ <option value="&dtml-sequence-key;">&dtml-sequence-item;
+ </dtml-if>
+ </dtml-in>
+ </select>
+ </td>
+</tr>
+
+
<tr>
<th align="left">Splitter</th>
<td>
- <select name="splitter">
+ <select name="extra.useSplitter:record:string">
<dtml-in availableSplitters>
<dtml-if "_.getitem('sequence-key')==useSplitter">
<option value="&dtml-sequence-key;" selected>&dtml-sequence-item;
@@ -46,11 +60,64 @@
</td>
</tr>
+
+<tr>
+ <th align="left">Globbing</th>
+ <td>
+ <select name="extra.useGlobbing:record:int">
+ <dtml-in "((1,'enabled'),(2,'disabled'))">
+ <dtml-if "_.getitem('sequence-key')==useGlobbing">
+ <option value="&dtml-sequence-key;" selected>&dtml-sequence-item;
+ <dtml-else>
+ <option value="&dtml-sequence-key;">&dtml-sequence-item;
+ </dtml-if>
+ </dtml-in>
+ </select>
+ </td>
+</tr>
+
+
+<tr>
+ <th align="left">Near search</th>
+ <td>
+ <select name="extra.useNearSearch:record:int">
+ <dtml-in "((1,'enabled'),(2,'disabled'))">
+ <dtml-if "_.getitem('sequence-key')==useNearSearch">
+ <option value="&dtml-sequence-key;" selected>&dtml-sequence-item;
+ <dtml-else>
+ <option value="&dtml-sequence-key;">&dtml-sequence-item;
+ </dtml-if>
+ </dtml-in>
+ </select>
+ </td>
+</tr>
+
+
+<tr>
+ <th align="left">Near distance</th>
+ <td>
+ <select name="extra.useNearSearch:record:int">
+ <dtml-in "_.range(1,10)">
+ <dtml-if "_.getitem('sequence-item')==nearDistance">
+ <option value="&dtml-sequence-item;" selected>&dtml-sequence-item;
+ <dtml-else>
+ <option value="&dtml-sequence-item;">&dtml-sequence-item;
+ </dtml-if>
+ </dtml-in>
+ </select>
+ </td>
+</tr>
+
+
+
+
+
+
<tr>
<th align="left">Default text operator</th>
<td>
- <select name="text_operator">
- <dtml-in "operators.keys()">
+ <select name="extra.text_operator:record:string">
+ <dtml-in defaultOperators>
<dtml-if "_.getitem('sequence-item')==useOperator">
<option value="&dtml-sequence-item;" selected>&dtml-sequence-item;
<dtml-else>
@@ -59,8 +126,6 @@
</dtml-in>
</select>
</td>
-</tr>
-</dtml-comment>
<tr>
<td colspan="3">