]> git.mxchange.org Git - friendica.git/blob - view/theme/vier/smarty3/comment_item.tpl
b683f12424ef4d346b721d4c03b37cfe2ee5d591
[friendica.git] / view / theme / vier / smarty3 / 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}});">{{$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
37                                 <div class="comment-edit-bb">
38                                         <a title="{{$edimg}}" onclick="insertFormatting('{{$comment}}','img',{{$id}});"><i class="icon-picture"></i></a>      
39                                         <a title="{{$edurl}}" onclick="insertFormatting('{{$comment}}','url',{{$id}});"><i class="icon-bookmark"></i></a>
40                                         <a title="{{$edvideo}}" onclick="insertFormatting('{{$comment}}','video',{{$id}});"><i class="icon-film"></i></a>
41                                                                                 
42                                         <a title="{{$eduline}}" onclick="insertFormatting('{{$comment}}','u',{{$id}});"><i class="icon-underline"></i></a>
43                                         <a title="{{$editalic}}" onclick="insertFormatting('{{$comment}}','i',{{$id}});"><i class="icon-italic"></i></a>
44                                         <a title="{{$edbold}}" onclick="insertFormatting('{{$comment}}','b',{{$id}});"><i class="icon-bold"></i></a>
45                                         <a title="{{$edquote}}" onclick="insertFormatting('{{$comment}}','quote',{{$id}});"><i class="icon-comments"></i></a>
46
47                                 </div>
48                                         <input type="submit" onclick="post_comment({{$id}}); return false;" id="comment-edit-submit-{{$id}}" class="comment-edit-submit" name="submit" value="{{$submit}}" />
49                                         <span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="fakelink">{{$preview}}</span>
50                                         <div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div>
51                                 </div>
52
53                                 <div class="comment-edit-end"></div>
54                         </form>
55
56                 </div>