[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndexNG/dtml - manageStopWords.dtml:1.1.2.2
Andreas Jung
andreas@digicool.com
Tue, 22 Jan 2002 12:37:36 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndexNG/dtml
In directory cvs.zope.org:/tmp/cvs-serv11843/dtml
Modified Files:
Tag: ajung-textindexng-branch
manageStopWords.dtml
Log Message:
added simple interface for stop words
=== Zope/lib/python/Products/PluginIndexes/TextIndexNG/dtml/manageStopWords.dtml 1.1.2.1 => 1.1.2.2 ===
<p class="form-help">
-<form method="post" action="manage_setStopWords">
-
-<em>Nothing to manage yet</em>
+<form method="post" action=".">
<table border="0" cellspacing="2" cellpadding="2">
+
+<dtml-in getStopWords>
+
+ <dtml-if "(_['sequence-number' ]-1) % 8 ==0">
+ <tr>
+ </dtml-if>
+
+ <td>
+ <input type=checkbox name="words:list" value="<dtml-var sequence-key url_quote>">
+ &dtml-sequence-key;
+ </td>
+</dtml-in>
+
+</tr>
+
+<tr>
+ <td>
+ <input type="submit" name="manage_delStopWord:method" value=" Delete selected words">
+ </td>
+</tr>
+
+<tr>
+ <th align="left">
+ New word
+ </th>
+ <td>
+ <input type="text" name="newword" value="">
+ </td>
+ <td>
+ <input type="submit" name="manage_addStopWord:method" value=" Add ">
+ </td>
+</tr>
</table>