[Zope-CVS] CVS: Products/CompositePage/zmi - header.pt:1.3 zmi_edit.js:1.5

Shane Hathaway shane at zope.com
Thu Feb 26 16:38:14 EST 2004


Update of /cvs-repository/Products/CompositePage/zmi
In directory cvs.zope.org:/tmp/cvs-serv1031/zmi

Modified Files:
	header.pt zmi_edit.js 
Log Message:
Merged composite-flat-ui-branch.

This adds a manual slotting interface (non-WYSIWYG).  The manual
UI still supports drag and drop, but has many links and no
context menus.


=== Products/CompositePage/zmi/header.pt 1.2 => 1.3 ===
--- Products/CompositePage/zmi/header.pt:1.2	Thu Oct  9 17:29:16 2003
+++ Products/CompositePage/zmi/header.pt	Thu Feb 26 16:38:13 2004
@@ -1,5 +1,5 @@
 <!-- zmi/header.pt -->
-<tal:block tal:define="url options/transformer/absolute_url">
+<tal:block tal:define="url options/ui/absolute_url">
 <link rel="stylesheet" type="text/css"
   tal:attributes="href string:${root/absolute_url}/manage_page_style.css" />
 <script type="text/javascript" 


=== Products/CompositePage/zmi/zmi_edit.js 1.4 => 1.5 ===
--- Products/CompositePage/zmi/zmi_edit.js:1.4	Sat Dec 27 17:56:45 2003
+++ Products/CompositePage/zmi/zmi_edit.js	Thu Feb 26 16:38:13 2004
@@ -1,15 +1,15 @@
 
 // ZMI-specific editing scripts.  Referenced by zmi/bottom.pt.
-// The variable "transformer_url" is provided by common/header.pt.
+// The variable "ui_url" is provided by common/header.pt.
 
 function zmi_edit(element) {
   var path = escape(element.getAttribute("source_path"));
-  document.location = transformer_url + "/showElement?path=" + path;
+  document.location = ui_url + "/showElement?path=" + path;
 }
 
 function zmi_add(target) {
   // Note that target_index is also available, but the ZMI can't
   // make use of it easily.
   var path = escape(target.getAttribute("target_path"));
-  document.location = transformer_url + "/showSlot?path=" + path;
+  document.location = ui_url + "/showSlot?path=" + path;
 }




More information about the Zope-CVS mailing list