Commit d47d70e2 authored by Florent Guillaume's avatar Florent Guillaume

Collector #478: Z Search Interfaces with no parameters are now

generating correct HTML.

Collector #448: Z Search Interfaces created as PageTemplates have a
correct title, not a fragment of dtml.
parent 3d8bc1dd
...@@ -6,10 +6,16 @@ Zope Changes ...@@ -6,10 +6,16 @@ Zope Changes
Bugs Fixed Bugs Fixed
- Collector #478: Z Search Interfaces with no parameters are now
generating correct HTML.
- Collector #448: Z Search Interfaces created as PageTemplates
have a correct title, not a fragment of dtml.
- Fixed brokenness of session data manager hasSessionData method. - Fixed brokenness of session data manager hasSessionData method.
The old method created a session data object as a result of the The old method created a session data object as a result of the
call; it does not now. call; it does not now.
- Collector #458: Fixed broken reindex_all in CatalogAwareness classes. - Collector #458: Fixed broken reindex_all in CatalogAwareness classes.
- The default "start" script now causes the event log to be sent to - The default "start" script now causes the event log to be sent to
......
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
############################################################################## ##############################################################################
__doc__='''Search Interface Wizard __doc__='''Search Interface Wizard
$Id: Search.py,v 1.18 2001/11/28 15:51:13 matt Exp $''' $Id: Search.py,v 1.19 2002/07/19 18:24:23 efge Exp $'''
__version__='$Revision: 1.18 $'[11:-2] __version__='$Revision: 1.19 $'[11:-2]
from Globals import DTMLFile from Globals import DTMLFile
from Aqueduct import custom_default_report, custom_default_zpt_report, nicify, Args from Aqueduct import custom_default_report, custom_default_zpt_report, nicify, Args
...@@ -198,7 +198,7 @@ def default_input_form(arguments,action='query', ...@@ -198,7 +198,7 @@ def default_input_form(arguments,action='query',
'<h2><dtml-var document_title></h2>\n' '<h2><dtml-var document_title></h2>\n'
'This query requires no input.<p>\n' 'This query requires no input.<p>\n'
'<input type="SUBMIT" name="SUBMIT" value="Submit Query">\n' '<input type="SUBMIT" name="SUBMIT" value="Submit Query">\n'
'</td></tr>\n</table>\n</form>\n' '</form>\n'
'<dtml-var standard_html_footer>\n' '<dtml-var standard_html_footer>\n'
% (tabs, action) % (tabs, action)
) )
...@@ -213,7 +213,7 @@ def default_input_zpt_form(arguments,action='query', ...@@ -213,7 +213,7 @@ def default_input_zpt_form(arguments,action='query',
"%s\n%s%s" % ( "%s\n%s%s" % (
'<html><body>\n%s\n' '<html><body>\n%s\n'
'<form action="%s" method="get">\n' '<form action="%s" method="get">\n'
'<h2><dtml-var document_title></h2>\n' '<h2 tal:content="template/title_or_id">Title</h2>\n'
'Enter query parameters:<br>' 'Enter query parameters:<br>'
'<table>\n' '<table>\n'
% (tabs,action), % (tabs,action),
...@@ -245,10 +245,10 @@ def default_input_zpt_form(arguments,action='query', ...@@ -245,10 +245,10 @@ def default_input_zpt_form(arguments,action='query',
return ( return (
'<html><body>\n%s\n' '<html><body>\n%s\n'
'<form action="%s" method="get">\n' '<form action="%s" method="get">\n'
'<h2><dtml-var document_title></h2>\n' '<h2 tal:content="template/title_or_id">Title</h2>\n'
'This query requires no input.<p>\n' '<p>This query requires no input.</p>\n'
'<input type="SUBMIT" name="SUBMIT" value="Submit Query">\n' '<input type="SUBMIT" name="SUBMIT" value="Submit Query">\n'
'</td></tr>\n</table>\n</form>\n' '</form>\n'
'</body></html>\n' '</body></html>\n'
% (tabs, action) % (tabs, action)
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment