summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 276e039)
raw | patch | inline | side by side (parent: 276e039)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 14 Jan 2002 04:03:32 +0000 (04:03 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 14 Jan 2002 04:03:32 +0000 (04:03 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@537 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/htmltemplate.py | patch | blob | history |
index d68381184f23eac260608d270559d6d389e00ca6..ed00a0e695c267a51a1223346b97b6f62c947083 100644 (file)
--- a/roundup/htmltemplate.py
+++ b/roundup/htmltemplate.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: htmltemplate.py,v 1.52 2002-01-14 02:20:14 richard Exp $
+# $Id: htmltemplate.py,v 1.53 2002-01-14 04:03:32 richard Exp $
__doc__ = """
Template engine.
if value is None:
value = ''
else:
- value = cgi.escape(value)
+ value = cgi.escape(str(value))
value = '"'.join(value.split('"'))
s = '<input name="%s" value="%s" size="%s">'%(property, value, size)
elif isinstance(propclass, hyperdb.Password):
#
# $Log: not supported by cvs2svn $
+# Revision 1.52 2002/01/14 02:20:14 richard
+# . changed all config accesses so they access either the instance or the
+# config attriubute on the db. This means that all config is obtained from
+# instance_config instead of the mish-mash of classes. This will make
+# switching to a ConfigParser setup easier too, I hope.
+#
+# At a minimum, this makes migration a _little_ easier (a lot easier in the
+# 0.5.0 switch, I hope!)
+#
# Revision 1.51 2002/01/10 10:02:15 grubert
# In do_history: replace "." in date by " " so html wraps more sensible.
# Should this be done in date's string converter ?