changeset 228:1cfb92731f48

Added link to the mapfile
author Stephan Holl <stephan.holl@intevation.de>
date Wed, 27 Jul 2011 13:58:15 +0200
parents 58d8ac962683
children 64cd6a115372 656da3f693b8
files contrib/python/generateHTML.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/python/generateHTML.py	Wed Jul 27 13:45:21 2011 +0200
+++ b/contrib/python/generateHTML.py	Wed Jul 27 13:58:15 2011 +0200
@@ -46,11 +46,11 @@
     basename = os.path.basename(mapfile)
     png = mapfile.replace(".map", "_arcpy.png")
     gc = getcaps + '&map=' + mapfile
-    print '''<li>Layer:  <strong>%s</strong> | <a target='_getcaps' href='%s'>GetCapabilities</a></li>
+    print '''<li>Layer:  <strong><a target='_mapfile' href='file://%s'>%s</a></strong> | <a target='_getcaps' href='%s'>GetCapabilities</a></li>
 <br>
 <a target="bild" href="file://%s"><img witdth="80" height="60" border="" src="file://%s"></a>
 Anzahl der Layer: %s
-''' % (basename, gc, png, png, len(layers))
+''' % (mapfile, basename, gc, png, png, len(layers))
     i = 0
     print "<ul>"
     while i < len(layers):
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)