[Zope-Checkins] CVS: Zope2 - manageIndex.dtml:1.1.2.4

andreas@digicool.com andreas@digicool.com
Wed, 9 May 2001 17:27:12 -0400 (EDT)


Update of /cvs-repository/Zope2/lib/python/Products/ZCatalog/dtml
In directory korak:/tmp/cvs-serv3142/dtml

Modified Files:
      Tag: ajung-dropin-registry
	manageIndex.dtml 
Log Message:
savepoint



--- Updated File manageIndex.dtml in package Zope2 --
--- manageIndex.dtml	2001/05/09 18:55:24	1.1.2.3
+++ manageIndex.dtml	2001/05/09 21:27:12	1.1.2.4
@@ -29,6 +29,8 @@
 <dtml-unless skey><dtml-call expr="REQUEST.set('skey', 'id')"></dtml-unless>
 <dtml-unless rkey><dtml-call expr="REQUEST.set('rkey', '')"></dtml-unless>
 
+<dtml-var filtered_meta_types>
+
 <!-- Add object widget -->
 <br />
 <dtml-if filtered_meta_types>
@@ -40,10 +42,10 @@
   <form action="addIndexForm" method="get">
   <dtml-if "_.len(filtered_meta_types) > 1">
     <select class="form-element" name="index_type" 
-     onChange="location.href='&dtml-URL1;/addIndexForm?index_type='+this.options[this.selectedIndex].value">
+     onChange="location.href='&dtml-URL1;/'+this.options[this.selectedIndex].value">
     <option value="manage_workspace" disabled>Select type to add...</option>
     <dtml-in filtered_meta_types mapping sort=name>
-    <option value="&dtml-name;">&dtml-name;</option>
+    <option value="&dtml.url_quote-action;">&dtml-name;</option>
     </dtml-in>
     </select>
     <input class="form-element" type="submit" name="submit" value=" Add " />