aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/templates')
-rw-r--r--cgi/templates/board.html2
-rw-r--r--cgi/templates/paint.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/cgi/templates/board.html b/cgi/templates/board.html
index 6ded4c5..09ed67d 100644
--- a/cgi/templates/board.html
+++ b/cgi/templates/board.html
@@ -31,7 +31,7 @@
<?py if oek_finish == "no": ?>
<font size="+3">No hay dibujo</font>
<?py else: ?>
- <img src="#{boards_url}oek_temp/#{oek_finish}.png?ts=#{ts}" />
+ <img src="#{images_url}#{board}/temp/#{oek_finish}.png?ts=#{ts}" />
<?py #endif ?>
</td></tr></table></center>
<?py #endif ?>
diff --git a/cgi/templates/paint.html b/cgi/templates/paint.html
index 476babe..945a8d2 100644
--- a/cgi/templates/paint.html
+++ b/cgi/templates/paint.html
@@ -27,7 +27,7 @@
<param name="color_bk2" value="#D5D8EF">
<param name="color_icon" value="#A1B8D8">
<param name="color_iconselect" value="#000000">
-<param name="url_save" value="/oek_temp/save.php?applet=paintbbs">
+<param name="url_save" value="#{cgi_url}oekaki/save/#{board}/paintbbs?rawpost">
<param name="url_exit" value="#{cgi_url}oekaki/finish/#{board}/#{replythread}">
<param name="poo" value="false">
<param name="send_advance" value="true">
@@ -57,7 +57,7 @@
<script type="text/javascript" src="#{static_url}js/wpaint/plugins/text/wPaint.menu.text.min.js"></script>
<script type="text/javascript" src="#{static_url}js/wpaint/plugins/shapes/wPaint.menu.main.shapes.min.js"></script>
<script type="text/javascript" src="#{static_url}js/wpaint/plugins/file/wPaint.menu.main.file.min.js"></script>
-<div id="wPaint" style="position:relative; width:#{width}px; height:#{height}px; background-color:#7a7a7a; margin:70px auto 20px auto;"></div>
+<div id="wPaint" style="position:relative; width:#{width}px; height:#{height}px; background-color:#7a7a7a; margin:70px auto 20px auto;" data-save="#{cgi_url}oekaki/save/#{board}/b64"></div>
<script type="text/javascript" src="#{static_url}js/wpaint/bai.js"></script>
<?py elif applet == 'tegaki': ?>
<form id="imgform" data-w="#{width}" data-h="#{height}" action="#{cgi_url}oekaki/finish/#{board}/#{replythread}" method="post">