]> git.mxchange.org Git - friendica.git/blob - view/templates/comment_item.tpl
Merge remote-tracking branch 'upstream/master'
[friendica.git] / view / templates / comment_item.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}
6                 {{if $threaded}}
7                 <div class="comment-wwedit-wrapper threaded" id="comment-edit-wrapper-{{$id}}" style="display: block;">
8                 {{else}}
9                 <div class="comment-wwedit-wrapper" id="comment-edit-wrapper-{{$id}}" style="display: block;">
10                 {{/if}}
11                         <form class="comment-edit-form" style="display: block;" id="comment-edit-form-{{$id}}" action="item" method="post" onsubmit="post_comment({{$id}}); return false;">
12                                 <input type="hidden" name="type" value="{{$type}}" />
13                                 <input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
14                                 <input type="hidden" name="parent" value="{{$parent}}" />
15                                 {{*<!--<input type="hidden" name="return" value="{{$return_path}}" />-->*}}
16                                 <input type="hidden" name="jsreload" value="{{$jsreload}}" />
17                                 <input type="hidden" name="preview" id="comment-preview-inp-{{$id}}" value="0" />
18                                 <input type="hidden" name="post_id_random" value="{{$rand_num}}" />
19
20                                 <div class="comment-edit-photo" id="comment-edit-photo-{{$id}}" >
21                                         <a class="comment-edit-photo-link" href="{{$mylink}}" title="{{$mytitle}}"><img class="my-comment-photo" src="{{$myphoto}}" alt="{{$mytitle}}" title="{{$mytitle}}" /></a>
22                                 </div>
23                                 <div class="comment-edit-photo-end"></div>
24                                 <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,{{$id}});" onBlur="commentClose(this,{{$id}});" >{{$comment}}</textarea>
25                                 {{if $qcomment}}
26                                         <select id="qcomment-select-{{$id}}" name="qcomment-{{$id}}" class="qcomment" onchange="qCommentInsert(this,{{$id}});" >
27                                         <option value=""></option>
28                                 {{foreach $qcomment as $qc}}
29                                         <option value="{{$qc}}">{{$qc}}</option>                                
30                                 {{/foreach}}
31                                         </select>
32                                 {{/if}}
33
34                                 <div class="comment-edit-text-end"></div>
35                                 <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-{{$id}}" style="display: none;" >
36                                         <input type="submit" onclick="post_comment({{$id}}); return false;" id="comment-edit-submit-{{$id}}" class="comment-edit-submit" name="submit" value="{{$submit}}" />
37                                         <span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="fakelink">{{$preview}}</span>
38                                         <div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div>
39                                 </div>
40
41                                 <div class="comment-edit-end"></div>
42                         </form>
43
44                 </div>