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