[wwwsearch-commits] r26882 - wwwsearch/DOMForm/trunk
jjlee at codespeak.net
jjlee at codespeak.net
Sat May 6 20:20:25 CEST 2006
Author: jjlee
Date: Sat May 6 20:20:24 2006
New Revision: 26882
Modified:
wwwsearch/DOMForm/trunk/README.html.in
Log:
Don't emit BASE tag unless required
Modified: wwwsearch/DOMForm/trunk/README.html.in
==============================================================================
--- wwwsearch/DOMForm/trunk/README.html.in (original)
+++ wwwsearch/DOMForm/trunk/README.html.in Sat May 6 20:20:24 2006
@@ -2,10 +2,16 @@
"http://www.w3.org/TR/html4/strict.dtd">
@# This file is processed by EmPy to colorize Python source code
@# http://wwwsearch.sf.net/bits/colorize.py
-@{from colorize import colorize}
-@{import time}
-@{import release}
-@{last_modified = release.svn_id_to_time("$Id$")}
+@{
+from colorize import colorize
+import time
+import release
+last_modified = release.svn_id_to_time("$Id$")
+try:
+ base
+except NameError:
+ base = False
+}
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -14,7 +20,7 @@
<meta name="keywords" content="HTML,form,DOM,JavaScript,HTTP,cookies,Python,web,client,client-side">
<title>DOMForm</title>
<style type="text/css" media="screen">@@import "../styles/style.css";</style>
- <base href="http://wwwsearch.sourceforge.net/DOMForm/">
+ @[if base]<base href="http://wwwsearch.sourceforge.net/DOMForm/">@[end if]
</head>
<body>
More information about the wwwsearch-commits
mailing list