Mercurial > p > roundup > code
comparison roundup/cgi_client.py @ 638:21b3cfa7d99a
... and label, width and height control for extra flavour!
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 21 Feb 2002 07:19:08 +0000 |
| parents | 57f4bf62a86e |
| children | c59bad997042 |
comparison
equal
deleted
inserted
replaced
| 637:57f4bf62a86e | 638:21b3cfa7d99a |
|---|---|
| 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" | 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
| 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 17 # | 17 # |
| 18 # $Id: cgi_client.py,v 1.109 2002-02-21 07:08:19 richard Exp $ | 18 # $Id: cgi_client.py,v 1.110 2002-02-21 07:19:08 richard Exp $ |
| 19 | 19 |
| 20 __doc__ = """ | 20 __doc__ = """ |
| 21 WWW request handler (also used in the stand-alone server). | 21 WWW request handler (also used in the stand-alone server). |
| 22 """ | 22 """ |
| 23 | 23 |
| 98 submitted = true; | 98 submitted = true; |
| 99 return 1; | 99 return 1; |
| 100 } | 100 } |
| 101 | 101 |
| 102 function help_window(helpurl) { | 102 function help_window(helpurl) { |
| 103 HelpWin = window.open('%(base)s%(instance_path_name)s/' + helpurl, 'HelpWindow', 'scrollbars=yes,resizable=yes,toolbar=no,height=400,width=400'); | 103 HelpWin = window.open('%(base)s%(instance_path_name)s/' + helpurl, 'HelpWindow', 'scrollbars=yes,resizable=yes,toolbar=no,height='+height+',width='+width); |
| 104 } | 104 } |
| 105 | 105 |
| 106 </script> | 106 </script> |
| 107 ''' | 107 ''' |
| 108 | 108 |
| 1323 props[key] = value | 1323 props[key] = value |
| 1324 return props | 1324 return props |
| 1325 | 1325 |
| 1326 # | 1326 # |
| 1327 # $Log: not supported by cvs2svn $ | 1327 # $Log: not supported by cvs2svn $ |
| 1328 # Revision 1.109 2002/02/21 07:08:19 richard | |
| 1329 # oops | |
| 1330 # | |
| 1328 # Revision 1.108 2002/02/21 07:02:54 richard | 1331 # Revision 1.108 2002/02/21 07:02:54 richard |
| 1329 # The correct var is "HTTP_HOST" | 1332 # The correct var is "HTTP_HOST" |
| 1330 # | 1333 # |
| 1331 # Revision 1.107 2002/02/21 06:57:38 richard | 1334 # Revision 1.107 2002/02/21 06:57:38 richard |
| 1332 # . Added popup help for classes using the classhelp html template function. | 1335 # . Added popup help for classes using the classhelp html template function. |
