%s
\n" % message)
if curpage != 1:
priorfile = os.path.join(GEOVIEW_SUBPATH,
"GeoV-%c-%05d.html" %
(ftype, curpage-1))
priorfile = urlparse.urlunsplit(
('file', '',
URL_SEP.join(priorfile.split(os.sep)),
'', ''))
self.mapview.write("
--" % priorfile)
else:
self.mapview.write(" --")
for page in range(1, maxpages+1, 1):
if page == curpage:
self.mapview.write(" %d" % page)
else:
if ( page < curpage + 11 ) and ( page > curpage - 11 ):
nextfile = os.path.join(GEOVIEW_SUBPATH,
"GeoV-%c-%05d.html" % \
(ftype, page))
nextfile = urlparse.urlunsplit(
('file', '',
URL_SEP.join(nextfile.split(os.sep)),
'', ''))
self.mapview.write("\n
%d" %
(nextfile, page))
if curpage != maxpages:
nextfile = os.path.join(GEOVIEW_SUBPATH,
"GeoV-%c-%05d.html" % (ftype, curpage+1))
nextfile = urlparse.urlunsplit(
('file', '',
URL_SEP.join(nextfile.split(os.sep)),
'', ''))
self.mapview.write("\n
++" % nextfile)
else:
self.mapview.write(" ++")
self.mapview.write("\n
\n")
if self.without != 0:
self.without_coord_file = os.path.join(GEOVIEW_SUBPATH,
"without_coord.html")
self.mapview.write("