chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Forbid undo of new-game if it would change the params.
[sgt-puzzles.git]
/
webpage.pl
diff --git
a/webpage.pl
b/webpage.pl
index 800b1833c11dc76ee3e835eafda8c4b1f2850e92..c6144bb4670f4b98382c46dd2bfa1c3bdb30b07c 100755
(executable)
--- a/
webpage.pl
+++ b/
webpage.pl
@@
-27,20
+27,21
@@
while (<$desc>) {
'<span class="puzzle"><table>'.
'<tr><th align="center">%s</th></tr>'.
'<tr><td align="center">'.
'<span class="puzzle"><table>'.
'<tr><th align="center">%s</th></tr>'.
'<tr><td align="center">'.
- '<
image 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>'.
'</td></tr>'.
'<tr><td align="center" style="font-size: 70%%"><code>[</code>'.
- '
<a href="java/%s.html">java</a>
'.
+ '
<a href="java/%s.html">java</a>
'.
'|'.
'|'.
- '
<a href="js/%s.html">js</a>
'.
+ '
<a href="js/%s.html">js</a>
'.
'|'.
'|'.
- '
<a href="doc/%s.html#%s">manual</a>
'.
+ '
<a href="doc/%s.html#%s">manual</a>
'.
'<code>]</code><br><code>[</code>'.
'<code>]</code><br><code>[</code>'.
- '
<a href="%s"><code>%s</code></a>
'.
+ '
<a href="%s"><code>%s</code></a>
'.
'<code>]</code></td></tr>'.
'<tr><td align="center">%s</td></tr></table></span>'.
"\n",
encode_entities($displayname),
'<code>]</code></td></tr>'.
'<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),
encode_entities($description),
encode_entities($id),
encode_entities($id),