comparison doc/customizing.txt @ 2526:dfe0bde4ff7f

"Information available to templates": 'true' and 'false' constants
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Sat, 03 Jul 2004 15:10:25 +0000
parents 38166eb3100f
children bad572863a85
comparison
equal deleted inserted replaced
2525:89be4c27f0f3 2526:dfe0bde4ff7f
1 =================== 1 ===================
2 Customising Roundup 2 Customising Roundup
3 =================== 3 ===================
4 4
5 :Version: $Revision: 1.139 $ 5 :Version: $Revision: 1.140 $
6 6
7 .. This document borrows from the ZopeBook section on ZPT. The original is at: 7 .. This document borrows from the ZopeBook section on ZPT. The original is at:
8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
9 9
10 .. contents:: 10 .. contents::
1593 1593
1594 would result in:: 1594 would result in::
1595 1595
1596 <span>Hello, World!</span> 1596 <span>Hello, World!</span>
1597 1597
1598 **true**, **false**
1599 Boolean constants that may be used in `templating expressions`_
1600 instead of ``python:1`` and ``python:0``.
1598 1601
1599 The context variable 1602 The context variable
1600 ~~~~~~~~~~~~~~~~~~~~ 1603 ~~~~~~~~~~~~~~~~~~~~
1601 1604
1602 The *context* variable is one of three things based on the current 1605 The *context* variable is one of three things based on the current

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