/[navidoc]/navidoc/navidoc/modules/imagemap.py
ViewVC logotype

Diff of /navidoc/navidoc/modules/imagemap.py

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

revision 1.12 by humppake, Mon Jun 30 13:56:10 2003 UTC revision 1.13 by humppake, Mon Jul 21 14:09:58 2003 UTC
# Line 3  Line 3 
3  #  #
4  # This file is part of Navidoc.  # This file is part of Navidoc.
5  #  #
6  # Navidoc is free software; you can redistribute it and/or modify it under  # Navidoc is free softSware; you can redistribute it and/or modify it under
7  # the terms of the GNU Lesser General Public License as published by  # the terms of the GNU Lesser General Public License as published by
8  # the Free Software Foundation; either version 2 of the License, or  # the Free Software Foundation; either version 2 of the License, or
9  # (at your option) any later version.  # (at your option) any later version.
# Line 107  def embed_imagemap(filepath): Line 107  def embed_imagemap(filepath):
107          out = open(filepath, "w")                      out = open(filepath, "w")            
108          out.write(html[0:insert]);          out.write(html[0:insert]);
109          if not is_linked(diagram):          if not is_linked(diagram):
110              out.write('<img ')              out.write('<img')
111              html = html[html.find('"', insert+1)+1:len(html)]              html = html[html.find('"', insert+11)+1:len(html)]
112          else:          else:
113              out.close()              out.close()
114              create_uml(diagram, context)              create_uml(diagram, context)

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

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