[CMF-checkins] CVS: CMF/CMFTopic/skins/topic - listc_edit.dtml:1.3.12.1

Tres Seaver tseaver@zope.com
Tue, 8 Jan 2002 07:36:00 -0500


Update of /cvs-repository/CMF/CMFTopic/skins/topic
In directory cvs.zope.org:/tmp/cvs-serv17452/CMFTopic/skins/topic

Modified Files:
      Tag: CMF-1_2-branch
	listc_edit.dtml 
Log Message:
 - Merge fix for tracker #442 from branch.

=== CMF/CMFTopic/skins/topic/listc_edit.dtml 1.3 => 1.3.12.1 ===
  <tr valign="top">
   <td width="20">&nbsp;</td>
-  <td><strong>Value:</strong><br>
-  <textarea name="criteria.value:lines:records" rows="5" cols="40"
-   ><dtml-var expr="_.string.join(value, '\n')"></textarea></td>
+  <td>
+   <strong>Value:</strong><br>
+   <textarea name="criteria.value:lines:records" rows="5" cols="40"
+   ><dtml-var expr="_.string.join(value, '\n')"></textarea><br>
+   <strong>Operator:</strong><br>
+   <dtml-let noneSel="not operator and 'selected' or ''"
+             orSel="operator == 'or' and 'selected' or ''"
+             andSel="operator == 'and' and 'selected' or ''">
+   <select name="criteria.operator:records">
+    <option value="" &dtml-noneSel;>-- none --</option>
+    <option value="or" &dtml-orSel;>or</option>
+    <option value="and" &dtml-andSel;>and</option>
+   </select>
+   </dtml-let>
+  </td>
  </tr>
 </table>