[Zope-Checkins] CVS: Zope2 - manageIndex.dtml:1.1.2.10
Andreas Jung
andreas@digicool.com
Tue, 29 May 2001 15:28:00 -0400
Update of /cvs-repository/Zope2/lib/python/Products/ZCatalog/dtml
In directory yetix:/work/sandboxes/ajung-dropin-registry/lib/python/Products/ZCatalog/dtml
Modified Files:
Tag: ajung-dropin-registry
manageIndex.dtml
Log Message:
--- Updated File manageIndex.dtml in package Zope2 --
--- manageIndex.dtml 2001/05/21 16:10:58 1.1.2.9
+++ manageIndex.dtml 2001/05/29 19:27:59 1.1.2.10
@@ -140,13 +140,18 @@
<td>
<div class="list-item">
<dtml-var meta_type>
+ <dtml-try>
+ <dtml-let xx=numObjects></dtml-let>
+ <dtml-except>
+ (old-style index)
+ </dtml-try>
</div>
</td>
<td>
<div class="list-item">
<dtml-try>
<dtml-var numObjects>
- <dtml-except>
+ <dtml-except>not available
</dtml-try>
</div>
</td>
@@ -191,6 +196,18 @@
There are currently no items in <em>&dtml-title_or_id;</em>
<br /><br />
</div>
+<dtml-unless dontAllowCopyAndPaste>
+<dtml-if cb_dataValid>
+<div class="form-element">
+<input class="form-element" type="submit" name="manage_pasteObjects:method"
+ value="Paste" />
+</div>
+</dtml-if>
+</dtml-unless>
+<dtml-if "_.SecurityCheckPermission('Import/Export objects', this())">
+<input class="form-element" type="submit"
+ name="manage_importExportForm:method" value="Import/Export" />
+</dtml-if>
</td>
</tr>
</table>