index 8d73e486e872fe544bf42bb8e555b5a188497b19..0a78595a5784b5efe7eb4673e7c84b0c8fd7d339 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.31 2001-10-21 07:26:35 richard Exp $
+# $Id: htmltemplate.py,v 1.32 2001-10-22 03:25:01 richard Exp $
import os, re, StringIO, urllib, cgi, errno
columns = l
# display the filter section
- filter_section(w, cl, filter, columns, group, all_filters, all_columns,
- show_display_form, show_customization)
+ if hasattr(client, 'FILTER_POSITION') and client.FILTER_POSITION in ('top and bottom', 'top'):
+ filter_section(w, cl, filter, columns, group, all_filters, all_columns,
+ show_display_form, show_customization)
# now display the index section
w('<table width=100% border=0 cellspacing=0 cellpadding=2>\n')
w('</table>')
+ # display the filter section
+ if hasattr(client, 'FILTER_POSITION') and client.FILTER_POSITION in ('top and bottom', 'bottom'):
+ filter_section(w, cl, filter, columns, group, all_filters, all_columns,
+ show_display_form, show_customization)
+
def filter_section(w, cl, filter, columns, group, all_filters, all_columns,
show_display_form, show_customization):
#
# $Log: not supported by cvs2svn $
+# Revision 1.31 2001/10/21 07:26:35 richard
+# feature #473127: Filenames. I modified the file.index and htmltemplate
+# source so that the filename is used in the link and the creation
+# information is displayed.
+#
# Revision 1.30 2001/10/21 04:44:50 richard
# bug #473124: UI inconsistency with Link fields.
# This also prompted me to fix a fairly long-standing usability issue -