[CMF-checkins] CVS: CMF - search_form.dtml:1.2.2.1
tseaver@digicool.com
tseaver@digicool.com
Thu, 5 Apr 2001 09:11:16 -0400 (EDT)
Update of /cvs-repository/CMF/CMFDefault/skins/generic
In directory korak:/tmp/cvs-serv25205/CMFDefault/skins/generic
Modified Files:
Tag: CMF-1_0-branch
search_form.dtml
Log Message:
- Fixed to search form to pass 'created' instead of 'date' (probably
need 'modified', too); also, added selection list for 'Subject',
and fixed the "Last Month" option value.
--- Updated File search_form.dtml in package CMF --
--- search_form.dtml 2001/03/23 16:43:22 1.2
+++ search_form.dtml 2001/04/05 13:11:14 1.2.2.1
@@ -54,10 +54,13 @@
<tr valign="top">
<th>Subject</th>
- <td><input name="Subject:tokens" size="20">
- <dl class="FieldHelp">
- <dd>A space seperated list of subject keywords</dd>
- </dl></td>
+ <td>
+ <select name="Subject:list" multiple size="4">
+ <dtml-in expr="portal_catalog.uniqueValuesFor( 'Subject' )">
+ <option value="&dtml-sequence-item;"> &dtml-sequence-item; </option>
+ </dtml-in>
+ </select>
+ </td>
</tr>
<tr>
@@ -78,7 +81,7 @@
<th> Find new items since...
</th>
<td>
- <select name="Date:date">
+ <select name="created:date">
<dtml-if "not portal_membership.isAnonymousUser()">
<dtml-let member="portal_membership.getAuthenticatedMember()"
lastLogin="member.last_login_time"
@@ -94,11 +97,11 @@
>
<option value="&dtml-yesterday;"> Yesterday </option>
<option value="&dtml-lastWeek;"> Last week </option>
- <option value="&dtml-lastMth;>"> Last month </option>
+ <option value="&dtml-lastMth;"> Last month </option>
<option value="&dtml-ever;" selected> Ever </option>
</dtml-let>
</select>
- <input type="hidden" name="Date_usage" value="range:min">
+ <input type="hidden" name="created_usage" value="range:min">
<dl class="FieldHelp">
<dd> You may find only recent items by selecting a time-frame.
</dd>