mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2025-12-08 14:54:28 +00:00
[svn r7413] Fix up redirects to use meta refresh. Add note that "toggle background"
requires a password.
This commit is contained in:
@@ -400,6 +400,7 @@ for maparea in mapcodes:
|
||||
if maparea != "all":
|
||||
htmlfile.write("<h3 id=\"idsubmap%s\">%s area detail</h3>\n" % (maparea, maps[maparea][DESC]))
|
||||
htmlfile.write("<button onclick=\"if (bg%s) img%s.src = '%s'; else img%s.src = '../noinfo/%s'; bg%s = !bg%s;\">Toggle Background</button>\n" % (maparea, maparea, filename, maparea, filename, maparea, maparea))
|
||||
htmlfile.write("<small>Note: this requires a login to work!</small>\n")
|
||||
htmlfile.write("<p><img src=\"%s\" usemap=\"#map%s\" ismap=\"ismap\" name=\"img%s\"" % (filename, maparea, maparea))
|
||||
htmlfile.write(" width=\"%d\" height=\"%d\" /></p>\n" % imgs[maparea].size)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user