[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndex/dtml - addVocabulary.dtml:1.4.102.1 manage_vocab.dtml:1.3.18.1

Casey Duncan casey@zope.com
Wed, 27 Mar 2002 15:51:44 -0500


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndex/dtml
In directory cvs.zope.org:/tmp/cvs-serv22094/lib/python/Products/PluginIndexes/TextIndex/dtml

Modified Files:
      Tag: casey-death_to_index_html-branch
	addVocabulary.dtml manage_vocab.dtml 
Log Message:
Updating branch to head for testing


=== Zope/lib/python/Products/PluginIndexes/TextIndex/dtml/addVocabulary.dtml 1.4 => 1.4.102.1 ===
    </tr>
   </dtml-if>
-<tr>
-  <td align="left" valign="top">
-  <div class="form-label">
-  Globbing?
-  </td>
-  <td align="left" valign="top">
-  <input type="checkbox" name="globbing" />
-  </td>
-</tr>
+
+  <tr>
+    <td align="left" valign="top">
+    <div class="form-label">
+    Index numbers
+    </td>
+    <td align="left" valign="top">
+    <select name="extra.splitterIndexNumbers:record:int">
+     <option value="0" selected>no
+     <option value="1">yes
+    </select>
+    </td>
+  </tr>
+
+  <tr>
+    <td align="left" valign="top">
+    <div class="form-label">
+    Index single characters 
+    </td>
+    <td align="left" valign="top">
+    <select name="extra.splitterSingleChars:record:int" >
+     <option value="0" selected>no
+     <option value="1">yes
+    </select>
+    </td>
+  </tr>
+
+  <tr>
+    <td align="left" valign="top">
+    <div class="form-label">
+    Case-insensitive
+    </td>
+    <td align="left" valign="top">
+    <select name="extra.splitterCasefolding:record:int">
+     <option value="0" >no
+     <option value="1"selected>yes
+    </select>
+    </td>
+  </tr>
+
+  <tr>
+    <td align="left" valign="top">
+    <div class="form-label">
+    globbing?
+    </td>
+    <td align="left" valign="top">
+    <input type="checkbox" name="globbing" />
+    </td>
+  </tr>
+
   <tr>
     <td align="left" valign="top">
     </td>


=== Zope/lib/python/Products/PluginIndexes/TextIndex/dtml/manage_vocab.dtml 1.3 => 1.3.18.1 ===
 
 <p class="form-text">
-  <dtml-try> 
-    <dtml-let x="getLexicon().multi_wc"></dtml-let>
-    Globbing is <em>enabled</em>
+
+  <dtml-let lexicon="getLexicon()">
+
+    <dtml-try> 
+      <dtml-let x="lexicon().multi_wc"></dtml-let>
+      Globbing is <em>enabled</em>
+      <dtml-except>
+      Globbing is <em>disabled</em>
+    </dtml-try>
+
+    <dtml-if useSplitter>
+     , Splitter is <em><dtml-var useSplitter></em>   
+    </dtml-if>
+
+    <dtml-try>
+     , Index number=<dtml-var "lexicon.splitterParams.splitterIndexNumbers">
+     , Case-insensitve=<dtml-var "lexicon.splitterParams.splitterCasefolding">
+     , Index single characters=<dtml-var "lexicon.splitterParams.splitterSingleChars">
     <dtml-except>
-    Globbing is <em>disabled</em>
-  </dtml-try>
-  <dtml-if useSplitter>
-   , Splitter is <em><dtml-var useSplitter></em>   
-  </dtml-if>
+    </dtml-try>
+
+  </dtml-let>
 </p>