|
15 | 15 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
16 | 16 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
17 | 17 | # |
18 | | -# $Id: cgi_client.py,v 1.158 2002-08-15 00:40:10 richard Exp $ |
| 18 | +# $Id: cgi_client.py,v 1.159 2002-08-16 04:29:41 richard Exp $ |
19 | 19 |
|
20 | 20 | __doc__ = """ |
21 | 21 | WWW request handler (also used in the stand-alone server). |
@@ -567,11 +567,12 @@ def list(self, sort=None, group=None, filter=None, columns=None, |
567 | 567 |
|
568 | 568 | self.pagehead(_('%(instancename)s: Index of %(classname)s')%{ |
569 | 569 | 'classname': cn, 'instancename': self.instance.INSTANCE_NAME}) |
570 | | - |
| 570 | + |
571 | 571 | index = htmltemplate.IndexTemplate(self, self.instance.TEMPLATES, cn) |
572 | 572 | try: |
573 | | - index.render(filterspec, search_text, filter, columns, sort, |
574 | | - group, show_customization=show_customization, |
| 573 | + index.render(filterspec=filterspec, search_text=search_text, |
| 574 | + filter=filter, columns=columns, sort=sort, group=group, |
| 575 | + show_customization=show_customization, |
575 | 576 | show_nodes=show_nodes, pagesize=pagesize, startwith=startwith, |
576 | 577 | simple_search=simpleform) |
577 | 578 | except htmltemplate.MissingTemplateError: |
@@ -1745,6 +1746,9 @@ def parsePropsFromForm(db, cl, form, nodeid=0, num_re=re.compile('^\d+$')): |
1745 | 1746 |
|
1746 | 1747 | # |
1747 | 1748 | # $Log: not supported by cvs2svn $ |
| 1749 | +# Revision 1.158 2002/08/15 00:40:10 richard |
| 1750 | +# cleanup |
| 1751 | +# |
1748 | 1752 | # Revision 1.157 2002/08/13 20:16:09 gmcm |
1749 | 1753 | # Use a real parser for templates. |
1750 | 1754 | # Rewrite htmltemplate to use the parser (hack, hack). |
|
0 commit comments