Changeset 303
- Timestamp:
- 01/09/06 21:43:09 (3 years ago)
- Files:
-
- addcommentmacro/0.9/AddComment.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
addcommentmacro/0.9/AddComment.py
r112 r303 81 81 out.write("<form action='%s#commentpreview' method='get'>\n" % env.href.wiki(pagename)) 82 82 out.write("<fieldset>\n<legend>Add comment</legend>\n") 83 out.write("<div class='field'>\n<textarea id='addcomment' name='addcomment' cols='80' rows='5'%s>" % disabled)83 out.write("<div class='field'>\n<textarea class='wikitext' id='addcomment' name='addcomment' cols='80' rows='5'%s>" % disabled) 84 84 if wikipreview: 85 85 out.write("Page preview...") … … 93 93 out.write("<input type='submit' name='canceladdcomment' value='Cancel'%s/>\n</div>\n" % disabled) 94 94 out.write('<script type="text/javascript" src="%sjs/wikitoolbar.js"></script>' % hdf['htdocs_location']) 95 out.write("<script type='text/javascript'>\naddWikiFormattingToolbar(document.getElementById('addcomment'));\n</script>\n")96 95 out.write("</fieldset>\n</form>\n") 97 96
