summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 71f5c52)
raw | patch | inline | side by side (parent: 71f5c52)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 21 Feb 2002 07:19:08 +0000 (07:19 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Thu, 21 Feb 2002 07:19:08 +0000 (07:19 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@650 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/cgi_client.py | patch | blob | history | |
roundup/htmltemplate.py | patch | blob | history |
diff --git a/roundup/cgi_client.py b/roundup/cgi_client.py
index e57b2c4e4fa4dd13ff2c327f74e0fbcdf9f61a73..8c5650d0baddb50b36d8ab15b649bc4f6e226dcb 100644 (file)
--- a/roundup/cgi_client.py
+++ b/roundup/cgi_client.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: cgi_client.py,v 1.109 2002-02-21 07:08:19 richard Exp $
+# $Id: cgi_client.py,v 1.110 2002-02-21 07:19:08 richard Exp $
__doc__ = """
WWW request handler (also used in the stand-alone server).
}
function help_window(helpurl) {
- HelpWin = window.open('%(base)s%(instance_path_name)s/' + helpurl, 'HelpWindow', 'scrollbars=yes,resizable=yes,toolbar=no,height=400,width=400');
+ HelpWin = window.open('%(base)s%(instance_path_name)s/' + helpurl, 'HelpWindow', 'scrollbars=yes,resizable=yes,toolbar=no,height='+height+',width='+width);
}
</script>
#
# $Log: not supported by cvs2svn $
+# Revision 1.109 2002/02/21 07:08:19 richard
+# oops
+#
# Revision 1.108 2002/02/21 07:02:54 richard
# The correct var is "HTTP_HOST"
#
index fbb21f5e85accc0a75283202dc40cf9fc9930be8..cef2a6967bb23014480b4c58ba44bcf02010605f 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.79 2002-02-21 06:57:38 richard Exp $
+# $Id: htmltemplate.py,v 1.80 2002-02-21 07:19:08 richard Exp $
__doc__ = """
Template engine.
'''pop up a javascript window with class help
'''
return '<a href="javascript:help_window(\'classhelp?classname=%s&' \
- 'properties=%s\')"><b>(?)</b></a>'%(classname, properties)
+ 'properties=%s\', \'%s\', \'%s\')"><b>(%s)</b></a>'%(classname,
+ properties, width, height, label)
#
# INDEX TEMPLATES
#
#
# $Log: not supported by cvs2svn $
+# Revision 1.79 2002/02/21 06:57:38 richard
+# . Added popup help for classes using the classhelp html template function.
+# - add <display call="classhelp('priority', 'id,name,description')">
+# to an item page, and it generates a link to a popup window which displays
+# the id, name and description for the priority class. The description
+# field won't exist in most installations, but it will be added to the
+# default templates.
+#
# Revision 1.78 2002/02/21 06:23:00 richard
# *** empty log message ***
#