/[gzz]/gzz/metacode/umlrst.py
ViewVC logotype

Diff of /gzz/metacode/umlrst.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by humppake, Thu Feb 6 21:57:42 2003 UTC revision 1.24 by humppake, Thu Feb 6 23:01:18 2003 UTC
# Line 231  def embed_implicit(oldpath, name, path): Line 231  def embed_implicit(oldpath, name, path):
231              #Cut&Pastes imagemap into html              #Cut&Pastes imagemap into html
232              imgmap = open(mputils._slashify(settings['tmpdir'])\              imgmap = open(mputils._slashify(settings['tmpdir'])\
233                            +context_name+".gen.html").read()                            +context_name+".gen.html").read()
             out.write("<div class=\"embedded\">")  
234              out.write("<map id=\""+name+"_small\" name=\""+name+"_small\">\n")              out.write("<map id=\""+name+"_small\" name=\""+name+"_small\">\n")
235              out.write(imgmap[imgmap.find('>',imgmap.find('<map'))+1:\              out.write(imgmap[imgmap.find('>',imgmap.find('<map'))+1:\
236                               imgmap.find('</map>')])                               imgmap.find('</map>')])
# Line 240  def embed_implicit(oldpath, name, path): Line 239  def embed_implicit(oldpath, name, path):
239                        +"src=\""+mputils._slashify(settings['to_tmpdir'])\                        +"src=\""+mputils._slashify(settings['to_tmpdir'])\
240                        +context_name+".gen.png"\                        +context_name+".gen.png"\
241                        +"\" usemap=\"#"+name+"_small\" alt=\""+name+"_small\" />\n")                        +"\" usemap=\"#"+name+"_small\" alt=\""+name+"_small\" />\n")
             out.write("</div>")  
242              html = html[insert+5:len(html)]              html = html[insert+5:len(html)]
243              out.write(html)              out.write(html)
244              out.close()              out.close()

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26