aboutsummaryrefslogtreecommitdiffstats
path: root/view/comment_item.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/comment_item.tpl')
-rwxr-xr-xview/comment_item.tpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/view/comment_item.tpl b/view/comment_item.tpl
index 3503c3843..a1d4e1043 100755
--- a/view/comment_item.tpl
+++ b/view/comment_item.tpl
@@ -13,10 +13,12 @@
<div class="comment-edit-photo-end"></div>
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);" onBlur="commentClose(this,$id);" >$comment</textarea>
{{ if $qcomment }}
- {{ for $qcomment as $qc }}
- <span class="fakelink qcomment" onclick="commentInsert(this,$id); return false;" >$qc</span>
- &nbsp;
+ <select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);" >
+ <option value=""></option>
+ {{ for $qcomment as $qc }}
+ <option value="$qc">$qc</option>
{{ endfor }}
+ </select>
{{ endif }}
<div class="comment-edit-text-end"></div>