XSLTools

Change of examples/Common/Configurator/__init__.py

183:4c793cf266d8
examples/Common/Configurator/__init__.py
     1.1 --- a/examples/Common/Configurator/__init__.py	Fri Jul 22 20:32:51 2005 +0000
     1.2 +++ b/examples/Common/Configurator/__init__.py	Fri Jul 22 20:39:10 2005 +0000
     1.3 @@ -95,15 +95,6 @@
     1.4              else:
     1.5                  trans_xsl = self.prepare_output("configuration")
     1.6  
     1.7 -            # Add information essential for in-page requests.
     1.8 -
     1.9 -            if trans.get_server_port() == "80":
    1.10 -                stylesheet_parameters["application-url"] = \
    1.11 -                    "http://%s%s" % (trans.get_server_name(), trans.get_path_without_query())
    1.12 -            else:
    1.13 -                stylesheet_parameters["application-url"] = \
    1.14 -                    "http://%s:%s%s" % (trans.get_server_name(), trans.get_server_port(), trans.get_path_without_query())
    1.15 -
    1.16              # Complete the response.
    1.17  
    1.18              self.send_output(trans, [trans_xsl], configuration, stylesheet_parameters)