]> git.mxchange.org Git - friendica.git/blobdiff - view/comment_item.tpl
Merge pull request #369 from rdc/master
[friendica.git] / view / comment_item.tpl
index a28fc411a549a33cf61938166356de95a9b39a16..a1d4e1043a3ba18e7cec9616d6ee5f8550cbf1c3 100644 (file)
@@ -1,4 +1,4 @@
-               <div class="comment-$wwedit-wrapper" id="comment-edit-wrapper-$id" style="display: block;">
+               <div class="comment-wwedit-wrapper" id="comment-edit-wrapper-$id" style="display: block;">
                        <form class="comment-edit-form" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">
                                <input type="hidden" name="type" value="$type" />
                                <input type="hidden" name="profile_uid" value="$profile_uid" />
                                </div>
                                <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 }}
+                                       <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>
                                <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" style="display: none;" >