|
15 | 15 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
16 | 16 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
17 | 17 | # |
18 | | -# $Id: htmltemplate.py,v 1.57 2002-01-14 23:31:21 richard Exp $ |
| 18 | +# $Id: htmltemplate.py,v 1.58 2002-01-15 00:50:03 richard Exp $ |
19 | 19 |
|
20 | 20 | __doc__ = """ |
21 | 21 | Template engine. |
@@ -549,7 +549,7 @@ def render(self, filterspec={}, filter=[], columns=[], sort=[], group=[], |
549 | 549 | # display the filter section |
550 | 550 | if (show_display_form and |
551 | 551 | self.instance.FILTER_POSITION in ('top and bottom', 'top')): |
552 | | - w('<form action="index">\n') |
| 552 | + w('<form action="%s">\n'%self.classname) |
553 | 553 | self.filter_section(filter_template, filter, columns, group, |
554 | 554 | all_filters, all_columns, show_customization) |
555 | 555 | # make sure that the sorting doesn't get lost either |
@@ -631,7 +631,7 @@ def render(self, filterspec={}, filter=[], columns=[], sort=[], group=[], |
631 | 631 | # display the filter section |
632 | 632 | if (show_display_form and hasattr(self.instance, 'FILTER_POSITION') and |
633 | 633 | self.instance.FILTER_POSITION in ('top and bottom', 'bottom')): |
634 | | - w('<form action="index">\n') |
| 634 | + w('<form action="%s">\n'%self.classname) |
635 | 635 | self.filter_section(filter_template, filter, columns, group, |
636 | 636 | all_filters, all_columns, show_customization) |
637 | 637 | # make sure that the sorting doesn't get lost either |
@@ -884,6 +884,10 @@ def render(self, form): |
884 | 884 |
|
885 | 885 | # |
886 | 886 | # $Log: not supported by cvs2svn $ |
| 887 | +# Revision 1.57 2002/01/14 23:31:21 richard |
| 888 | +# reverted the change that had plain() hyperlinking the link displays - |
| 889 | +# that's what link() is for! |
| 890 | +# |
887 | 891 | # Revision 1.56 2002/01/14 07:04:36 richard |
888 | 892 | # . plain rendering of links in the htmltemplate now generate a hyperlink to |
889 | 893 | # the linked node's page. |
|
0 commit comments