comparison data/plugin/action/SvgEditor.py @ 399:74b81223475a

SvgEditor: fixes empty content for not existing svg image
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 25 Aug 2009 07:36:23 +0200
parents 3bf5061ffc30
children a33628b071b2
comparison
equal deleted inserted replaced
398:3bf5061ffc30 399:74b81223475a
64 html = """ 64 html = """
65 <div id="svg_editor"> 65 <div id="svg_editor">
66 <div id="workarea"> 66 <div id="workarea">
67 <style id="styleoverrides" type="text/css"></style> 67 <style id="styleoverrides" type="text/css"></style>
68 <div id="svgcanvas"></div> 68 <div id="svgcanvas"></div>
69 <div id="svgdata"> 69 <div id="svgdata">%(filecontent)s</div>
70 %(filecontent)s
71 </div>
72 </div> 70 </div>
73 71
74 <div id="logo"> 72 <div id="logo">
75 <a href="http://svg-edit.googlecode.com/" target="_blank" title="SVG-edit Home Page"> 73 <a href="http://svg-edit.googlecode.com/" target="_blank" title="SVG-edit Home Page">
76 <img src="%(htdocs)s/images/logo.png" width="32" height="32"/> 74 <img src="%(htdocs)s/images/logo.png" width="32" height="32"/>