diff doc/templating.txt @ 991:79129f013153

*** empty log message ***
author Richard Jones <richard@users.sourceforge.net>
date Fri, 30 Aug 2002 08:36:40 +0000
parents 4f57a8f51da4
children 43ab730ee194
line wrap: on
line diff
--- a/doc/templating.txt	Fri Aug 30 08:35:45 2002 +0000
+++ b/doc/templating.txt	Fri Aug 30 08:36:40 2002 +0000
@@ -2,7 +2,7 @@
 HTML Templating Mechanisms
 ==========================
 
-:Version: $Revision: 1.12 $
+:Version: $Revision: 1.13 $
 
 Current Situation and Issues
 ============================
@@ -138,8 +138,9 @@
 "root level" (that is, directly accessible in the TALES namespace) variables
 defined:
 
-*class*
-  The current class of node being displayed as an HTMLClass instance
+*klass*
+  The current class of node being displayed as an HTMLClass instance. Name is
+  mangled so it can be used in Python expressions.
 
 *item*
   The current node from the database, if we're viewing a specific node, as an
@@ -183,7 +184,7 @@
 *modules*
   python modules made available (XXX: not sure what's actually in there tho)
 
-Accesses through a class (either through *class* or *db.<classname>*)::
+Accesses through a class (either through *klass* or *db.<classname>*)::
 
     class HTMLClass:
         def __getattr__(self, attr):

Roundup Issue Tracker: http://roundup-tracker.org/