[Zope-CVS] CVS: Products/ZCTextIndex/dtml - addLexicon.dtml:1.2 addZCTextIndex.dtml:1.2 manageZCTextIndex.dtml:1.2
Guido van Rossum
guido@python.org
Tue, 14 May 2002 11:12:35 -0400
Update of /cvs-repository/Products/ZCTextIndex/dtml
In directory cvs.zope.org:/tmp/cvs-serv10099/dtml
Added Files:
addLexicon.dtml addZCTextIndex.dtml manageZCTextIndex.dtml
Log Message:
Merged TextIndexDS9-branch into trunk.
=== Products/ZCTextIndex/dtml/addLexicon.dtml 1.1 => 1.2 ===
+
+<dtml-var "manage_form_title(this(), _,
+ form_title='Add Lexicon',
+ )">
+
+<FORM ACTION="manage_addLexicon" METHOD="POST">
+<table cellspacing="0" cellpadding="2" border="0">
+ <tr>
+ <td align="left" valign="top">
+ <div class="form-label">
+ Id
+ </div>
+ </td>
+ <td align="left" valign="top">
+ <input type="text" name="id" size="40" />
+ </td>
+ </tr>
+ <tr>
+ <td align="left" valign="top">
+ <div class="form-optional">
+ Title
+ </div>
+ </td>
+ <td align="left" valign="top">
+ <input type="text" name="title" size="40" />
+ </td>
+ </tr>
+
+ <tr>
+ <td align="left" valign="top">
+ <div class="form-label">
+ splitter?
+ </td>
+ <td align="left" valign="top">
+ <input type="checkbox" name="splitter" />
+ </td>
+ </tr>
+
+ <tr>
+ <td align="left" valign="top">
+ <div class="form-label">
+ case normalizer?
+ </td>
+ <td align="left" valign="top">
+ <input type="checkbox" name="normalizer" />
+ </td>
+ </tr>
+
+ <tr>
+ <td align="left" valign="top">
+ <div class="form-label">
+ remove stop words?
+ </td>
+ <td align="left" valign="top">
+ <input type="checkbox" name="stopword" />
+ </td>
+ </tr>
+
+ <tr>
+ <td align="left" valign="top">
+ </td>
+ <td align="left" valign="top">
+ <div class="form-element">
+ <input class="form-element" type="submit" name="submit"
+ value=" Add " />
+ </div>
+ </td>
+ </tr>
+</table>
+</form>
+
+
+<dtml-var manage_page_footer>
=== Products/ZCTextIndex/dtml/addZCTextIndex.dtml 1.1 => 1.2 ===
+
+<dtml-var "manage_form_title(this(), _,
+ form_title='Add ZCTextIndex',
+ )">
+
+
+<p class="form-help">
+<strong>Text Indexes</strong> break text up into individual words, and
+are often referred to as full-text indexes. Text indexes
+sort results by score, meaning they return hits in order
+from the most relevant to the least relevant.
+</p>
+
+
+<form action="manage_addZCTextIndex" method="post"
+ enctype="multipart/form-data">
+<table cellspacing="0" cellpadding="2" border="0">
+ <tr>
+ <td align="left" valign="top">
+ <div class="form-label">
+ Id
+ </div>
+ </td>
+ <td align="left" valign="top">
+ <input type="text" name="id" size="40" />
+ </td>
+ </tr>
+
+ <tr>
+ <td align="left" valign="top">
+ <div class="form-label">
+ Vocabulary
+ </div>
+ </td>
+ <td>
+
+ <select name="extra.vocabulary:record">
+ <dtml-in "this().aq_parent.objectItems('Vocabulary')">
+ <option value="&dtml-sequence-key;">&dtml-sequence-key; (<dtml-var "_['sequence-item'].title">)
+ </dtml-in>
+ </select>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td align="left" valign="top">
+ <div class="form-label">
+ Field name
+ </div></td>
+ <td align="left" valign="top">
+ <input type="text" name="extra.doc_attr:record" size="40" />
+ </td>
+ </tr>
+
+ <tr>
+ <td align="left" valign"top">
+ <div class="form-label">
+ Lexicon
+ </div></td>
+ <td>
+ <select name="extra.lexicon_id:record">
+ <dtml-in "this().aq_parent.objectItems('Lexicon')">
+ <option value="&dtml-sequence-key;">&dtml-sequence-key; (<dtml-var "_['sequence-item'].title">)
+ </dtml-in>
+ </select>
+
+ </td>
+ </tr>
+
+ <tr>
+ <td align="left" valign="top">
+ <div class="form-optional">
+ Type
+ </div>
+ </td>
+ <td align="left" valign="top">
+ ZCTextIndex
+ </td>
+ </tr>
+
+
+ <tr>
+ <td align="left" valign="top">
+ </td>
+ <td align="left" valign="top">
+ <div class="form-element">
+ <input class="form-element" type="submit" name="submit"
+ value=" Add " />
+ </div>
+ </td>
+ </tr>
+</table>
+</form>
+
+<dtml-var manage_page_footer>
=== Products/ZCTextIndex/dtml/manageZCTextIndex.dtml 1.1 => 1.2 ===
+<dtml-var manage_tabs>
+
+<p class="form-help">
+
+ There is nothing to manage here. Move along.
+
+</p>
+<dtml-var manage_page_footer>