Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki

This commit is contained in:
Jacques Distler 2010-03-29 09:28:51 -05:00
commit 3f87912191
3 changed files with 86 additions and 2 deletions

View file

@ -71,7 +71,7 @@ function cleanAuthorName() {
document.forms["editForm"].elements["content"].focus();
<%- if [:markdownMML, :markdownPNG, :markdown].include?(@web.markup) and !@page.categories.include?('S5-slideshow') -%>
setupSVGedit('<%= compute_public_path("editor/svg-editor.html", "svg-edit").split(/\?/)[0] %>');
addS5button('<%= CGI.escapeHTML(@page.name) %>');
addS5button('<%= @page.name.escapeHTML %>');
<%- end -%>
//--><!]]>
</script>

View file

@ -33,6 +33,6 @@ function cleanAuthorName() {
document.forms["editForm"].elements["content"].focus();
<%- if [:markdownMML, :markdownPNG, :markdown].include?(@web.markup) -%>
setupSVGedit('<%= compute_public_path("editor/svg-editor.html", "svg-edit").split(/\?/)[0] %>');
addS5button('<%= CGI.escapeHTML(@page_name) %>');
addS5button('<%= @page_name.escapeHTML %>');
<%- end -%>
</script>

File diff suppressed because one or more lines are too long