]> git.mxchange.org Git - friendica.git/commitdiff
restore qcomment selector
authorfriendica <info@friendica.com>
Wed, 25 Apr 2012 01:23:48 +0000 (18:23 -0700)
committerfriendica <info@friendica.com>
Wed, 25 Apr 2012 01:23:48 +0000 (18:23 -0700)
view/theme/darkzero-NS/comment_item.tpl
view/theme/darkzero/comment_item.tpl
view/theme/duepuntozero/comment_item.tpl
view/theme/greenzero/comment_item.tpl
view/theme/purplezero/comment_item.tpl
view/theme/slack-NS/comment_item.tpl
view/theme/slackr/comment_item.tpl

index 375aff8fa48b766495e3af098533554b5b5045d4..84b9597e853a24309463f17ea11613e818348dfd 100755 (executable)
                                <div class="comment-edit-bb-end"></div>
                                <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($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>
index 375aff8fa48b766495e3af098533554b5b5045d4..84b9597e853a24309463f17ea11613e818348dfd 100755 (executable)
                                <div class="comment-edit-bb-end"></div>
                                <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($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>
index 375aff8fa48b766495e3af098533554b5b5045d4..84b9597e853a24309463f17ea11613e818348dfd 100755 (executable)
                                <div class="comment-edit-bb-end"></div>
                                <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($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>
index 375aff8fa48b766495e3af098533554b5b5045d4..84b9597e853a24309463f17ea11613e818348dfd 100755 (executable)
                                <div class="comment-edit-bb-end"></div>
                                <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($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>
index 375aff8fa48b766495e3af098533554b5b5045d4..84b9597e853a24309463f17ea11613e818348dfd 100755 (executable)
                                <div class="comment-edit-bb-end"></div>
                                <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($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>
index 375aff8fa48b766495e3af098533554b5b5045d4..84b9597e853a24309463f17ea11613e818348dfd 100755 (executable)
                                <div class="comment-edit-bb-end"></div>
                                <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($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>
index 375aff8fa48b766495e3af098533554b5b5045d4..84b9597e853a24309463f17ea11613e818348dfd 100755 (executable)
                                <div class="comment-edit-bb-end"></div>
                                <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($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>