[CMF-checkins] CVS: CMF/CMFDefault/skins/generic - TitleOrId.py:1.4 clearCookie.py:1.2 css_inline_or_link.py:1.3 filterCookie.py:1.2 iconHTML.py:1.3 index_html.dtml:1.5 truncID.py:1.2

Tres Seaver tseaver@zope.com
Tue, 11 Jun 2002 09:17:52 -0400


Update of /cvs-repository/CMF/CMFDefault/skins/generic
In directory cvs.zope.org:/tmp/cvs-serv29928/generic

Modified Files:
	TitleOrId.py clearCookie.py css_inline_or_link.py 
	filterCookie.py iconHTML.py index_html.dtml truncID.py 
Log Message:


  - generic/iconHTML.py, generic/css_inline_or_link.py:

    o Set *all* bindings, to avoid possibility of stomping defaults.

  - generic/index_html.dtml:

    o Use 'getId' instead of mythical 'Id'.

  - control/addtoFavorites.py, control/folder_localrole_edit.py,
    control/personalize.py, control/register.py, generic/TitleOrId.py,
    generic/clearCookie.py, generic/filterCookie.py, generic/truncID.py,
    zpt_control/reverseList.py, zpt_generic/breadcrumbs.py,
    zpt_generic/expanded_title.py, zpt_generic/setup_talkback_tree.py,
    zpt_generic/unauthRedirect.py:

    o Remove unneeded '##bind' headers (defaults are fine).


=== CMF/CMFDefault/skins/generic/TitleOrId.py 1.3 => 1.4 ===
 ##parameters=dontCall=0
-##bind namespace=_
 ##title=Return Title or getId
 if dontCall:
     title = context.Title


=== CMF/CMFDefault/skins/generic/clearCookie.py 1.1 => 1.2 ===
-##bind context=context
-##bind namespace=
-##bind script=script
-##bind subpath=traverse_subpath
 ##parameters=
 ##title=clear browser cookie
 ##


=== CMF/CMFDefault/skins/generic/css_inline_or_link.py 1.2 => 1.3 ===
 ##parameters=
+##bind container=container
+##bind context=context
 ##bind namespace=_
+##bind script=script
+##bind subpath=traverse_subpath
 ##title=Browser detection for stylesheet handling
 
 import string


=== CMF/CMFDefault/skins/generic/filterCookie.py 1.1 => 1.2 ===
-##bind context=context
-##bind namespace=
-##bind script=script
-##bind subpath=traverse_subpath
 ##parameters=
 ##title=Manage filter cookie
 ##


=== CMF/CMFDefault/skins/generic/iconHTML.py 1.2 => 1.3 ===
+##bind container=container
+##bind context=context
 ##bind namespace=_
+##bind script=script
+##bind subpath=traverse_subpath
 ##title=Returns the HTML for the current object's icon, if it is available
 ##parameters=
 


=== CMF/CMFDefault/skins/generic/index_html.dtml 1.4 => 1.5 ===
   ><img align="middle" src="&dtml-portal_url;/&dtml-getIcon;"
         alt="&dtml-Type;" title="&dtml-Type;" border="0"></a>
-  <a href="&dtml-absolute_url;/"> <dtml-if Title><dtml-var Title><dtml-else><dtml-var Id></dtml-if Title> </a>
+  <a href="&dtml-absolute_url;/"> <dtml-if Title><dtml-var Title><dtml-else><dtml-var getId></dtml-if Title> </a>
   <dtml-if name="Description">
    <blockquote><dtml-var Description fmt="structured-text"></blockquote>
   </dtml-if>


=== CMF/CMFDefault/skins/generic/truncID.py 1.1 => 1.2 ===
-##bind context=context
-##bind namespace=
-##bind script=script
-##bind subpath=traverse_subpath
 ##parameters=objID, size 
 ##title=return truncated objID
 ##