summaryrefslogtreecommitdiff
path: root/src/pages/guestbook.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/guestbook.php')
-rw-r--r--src/pages/guestbook.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/pages/guestbook.php b/src/pages/guestbook.php
index e7c3e28..6a3393d 100644
--- a/src/pages/guestbook.php
+++ b/src/pages/guestbook.php
@@ -28,7 +28,8 @@ function replace_emoticons(html) {
html = html.split(":" + EMOTICONS[0][i][0] + ":")
.join(
'<img src="/static/emoticons/' + EMOTICONS[0][i][0] + '.gif" ' +
- EMOTICONS[0][i][1] +
+ ' width="' + EMOTICONS[0][i][1] + '"' +
+ ' height="' + EMOTICONS[0][i][2] + '"' +
' alt="' + EMOTICONS[0][i][0] + '"' +
' title=":' + EMOTICONS[0][i][0] + ':" />'
);
@@ -61,8 +62,9 @@ $(function() {
idx = EMOTICONS[1][i];
win.document.write(
"<tr><td>" +
- '<img src="/static/emoticons/' + EMOTICONS[0][idx][0] + '.gif" ' +
- EMOTICONS[0][idx][1] +
+ '<img src="/static/emoticons/' + EMOTICONS[0][idx][0] + '.gif"' +
+ ' width="' + EMOTICONS[0][idx][1] + '"' +
+ ' height="' + EMOTICONS[0][idx][2] + '"' +
' alt="' + EMOTICONS[0][idx][0] + '"' +
' title=":' + EMOTICONS[0][idx][0] + ':" />' +
"</td><td><font face=Verdana size=2>" +