[Zope-Checkins] CVS: Zope/lib/python/App/dtml - manage.dtml:1.9.54.1 manage_tabs.dtml:1.6.20.1 menu.dtml:1.11.4.1

Shane Hathaway shane@digicool.com
Fri, 12 Oct 2001 17:52:47 -0400


Update of /cvs-repository/Zope/lib/python/App/dtml
In directory cvs.zope.org:/tmp/cvs-serv30945/dtml

Modified Files:
      Tag: ComponentArchitecture-branch
	manage.dtml manage_tabs.dtml menu.dtml 
Log Message:
- Changed references to "manage_workspace" to "(p)workspace".

- Added a default workspace presentation component.

- Added SimpleAdderEntry and the function provideClass() to make
  it easy to register new Zope types.


=== Zope/lib/python/App/dtml/manage.dtml 1.9 => 1.9.54.1 ===
     <frame src="<dtml-var URL1>/manage_menu" name="manage_menu"
      marginwidth="2" marginheight="2" scrolling="auto"/>
-    <frame src="<dtml-var URL1>/manage_workspace" name="manage_main"
+    <frame src="<dtml-var URL1>/(p)workspace" name="manage_main"
      marginwidth="2" marginheight="2" scrolling="auto"/>
   </frameset>
 


=== Zope/lib/python/App/dtml/manage_tabs.dtml 1.6 => 1.6.20.1 ===
 <dtml-in manage_options mapping>
 <dtml-if expr="URL[-(_.len(action)):]==action or
-                URL[-17:]=='/manage_workspace' and _['sequence-start']">
+                URL[-13:]=='/(p)workspace' and _['sequence-start']">
 <dtml-call "REQUEST.set('a_', _['sequence-index'])">
 </dtml-if>
 <dtml-if "_.has_key('management_view') and management_view==label">


=== Zope/lib/python/App/dtml/menu.dtml 1.11 => 1.11.4.1 ===
   <td valign="top" nowrap>
   <dtml-if icon>
-  <a href="manage_workspace" target="manage_main"><img 
+  <a href="(p)workspace" target="manage_main"><img 
    src="&dtml-BASEPATH1;/&dtml-icon;" border="0"
    title="Click to open this item" alt="&dtml-meta_type;" /></a> 
   </dtml-if>
   <strong>
-  <a href="manage_workspace" target="manage_main">
+  <a href="(p)workspace" target="manage_main">
   <font color="#ffffff">
   <dtml-if expr="URLPATH1==BASEPATH1">
   Root Folder
@@ -36,11 +36,11 @@
 </table>
 <dtml-tree nowrap=1>
 <dtml-if icon>
-<a href="<dtml-var tree-item-url fmt=url-quote>/manage_workspace" 
+<a href="<dtml-var tree-item-url fmt=url-quote>/(p)workspace" 
  target="manage_main"><img src="&dtml-BASEPATH1;/&dtml-icon;" border="0"
  title="Click to open this item" alt="&dtml-meta_type;" /></a> 
 </dtml-if>
-<a href="<dtml-var tree-item-url fmt=url-quote>/manage_workspace" 
+<a href="<dtml-var tree-item-url fmt=url-quote>/(p)workspace" 
  target="manage_main">&dtml-id;</a>
 </dtml-tree>
 <table cellspacing="0">