changeset 221:a44d442577ca

Fixes correct paths for Browser-output, added target for GROUP-output
author Stephan Holl <stephan.holl@intevation.de>
date Mon, 25 Jul 2011 12:33:24 +0200
parents fb1ffd385115
children 316a2b3d4126
files contrib/python/generateHTML.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/python/generateHTML.py	Mon Jul 25 11:09:52 2011 +0200
+++ b/contrib/python/generateHTML.py	Mon Jul 25 12:33:24 2011 +0200
@@ -46,7 +46,7 @@
     png = mapfile.replace(".map", "_arcpy.png")
     print '''<li>Layer:  <strong>%s</strong></li>
 <br>
-<a target="bild" href="%s"><img witdth="80" height="60" border="" src="%s"></a>
+<a target="bild" href="file://%s"><img witdth="80" height="60" border="" src="file://%s"></a>
 Anzahl der Layer: %s
 ''' % (basename, png, png, len(layers))
     i = 0
@@ -86,7 +86,7 @@
         while i < len(groups):
             urlmapfile  = url + '?map=' + mapfile
             urlmapfile += '&template=openlayers&mode=browse&layers=' + groups[i]
-            print "<li><a href='%s'>%s</a></li>" % (urlmapfile, groups[i]) 
+	    print "<li><a target='_group' href='%s'>%s</a></li>" % (urlmapfile, groups[i]) 
             i=i+1
         print "</ul>"
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)