chiark / gitweb /
Forbid undo of new-game if it would change the params.
[sgt-puzzles.git] / webpage.pl
index 3a0779ef0ad83798e4d7662700fa771897d2d7cb..c6144bb4670f4b98382c46dd2bfa1c3bdb30b07c 100755 (executable)
@@ -27,7 +27,7 @@ while (<$desc>) {
         '<span class="puzzle"><table>'.
         '<tr><th align="center">%s</th></tr>'.
         '<tr><td align="center">'.
-        '<img style="margin: 0.5em" alt="" title="%s" width=150 height=150 border=0 src="%s-web.png" />'.
+        '<a href="js/%s.html"><img style="margin: 0.5em" alt="" title="%s" width=150 height=150 border=0 src="%s-web.png" /></a>'.
         '</td></tr>'.
         '<tr><td align="center" style="font-size: 70%%"><code>[</code>'.
         ' <a href="java/%s.html">java</a> '.
@@ -41,6 +41,7 @@ while (<$desc>) {
         '<tr><td align="center">%s</td></tr></table></span>'.
         "\n",
         encode_entities($displayname),
+        encode_entities($id),
         encode_entities($description),
         encode_entities($id),
         encode_entities($id),