diff roundup/templates/classic/interfaces.py @ 1270:c3424abf7f77

added ability to implement new templating utility methods
author Richard Jones <richard@users.sourceforge.net>
date Fri, 11 Oct 2002 01:26:43 +0000
parents 04a6b3bfbf23
children
line wrap: on
line diff
--- a/roundup/templates/classic/interfaces.py	Fri Oct 11 01:26:05 2002 +0000
+++ b/roundup/templates/classic/interfaces.py	Fri Oct 11 01:26:43 2002 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 # 
-# $Id: interfaces.py,v 1.15 2002-09-09 23:55:19 richard Exp $
+# $Id: interfaces.py,v 1.16 2002-10-11 01:26:43 richard Exp $
 
 from roundup import mailgw 
 from roundup.cgi import client
@@ -26,6 +26,12 @@
     ''' 
     pass
 
+class TemplatingUtils:
+    ''' Methods implemented on this class will be available to HTML templates
+        through the 'utils' variable.
+    '''
+    pass
+
 class MailGW(mailgw.MailGW): 
     ''' derives basic mail gateway implementation from the standard module, 
         with any specific extensions 

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