]> git.mxchange.org Git - friendica.git/blob - view/theme/frost/templates/comment_item.tpl
Merge remote-tracking branch 'upstream/master'
[friendica.git] / view / theme / frost / templates / comment_item.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}
6 {{*<!--         <script>
7                 $(document).ready( function () {
8                         $(document).mouseup(function(e) {
9                                 var container = $("#comment-edit-wrapper-{{$id}}");
10                                 if( container.has(e.target).length === 0) {
11                                         commentClose(document.getElementById('comment-edit-text-{{$id}}'),{{$id}});
12                                         cmtBbClose({{$id}});
13                                 }
14                         });
15                 });
16                 </script>-->*}}
17
18                 <div class="comment-wwedit-wrapper {{$indent}}" id="comment-edit-wrapper-{{$id}}" style="display: block;">
19                         <form class="comment-edit-form" id="comment-edit-form-{{$id}}" action="item" method="post" onsubmit="post_comment({{$id}}); return false;">
20 {{*<!--                 <span id="hide-commentbox-{{$id}}" class="hide-commentbox fakelink" onclick="showHideCommentBox({{$id}});">{{$comment}}</span>
21                         <form class="comment-edit-form" style="display: none;" id="comment-edit-form-{{$id}}" action="item" method="post" onsubmit="post_comment({{$id}}); return false;">-->*}}
22                                 <input type="hidden" name="type" value="{{$type}}" />
23                                 <input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
24                                 <input type="hidden" name="parent" value="{{$parent}}" />
25                                 {{*<!--<input type="hidden" name="return" value="{{$return_path}}" />-->*}}
26                                 <input type="hidden" name="jsreload" value="{{$jsreload}}" />
27                                 <input type="hidden" name="preview" id="comment-preview-inp-{{$id}}" value="0" />
28                                 <input type="hidden" name="post_id_random" value="{{$rand_num}}" />
29
30 {{*<!--                         <div class="comment-edit-photo" id="comment-edit-photo-{{$id}}" >-->*}}
31                                         <a class="comment-edit-photo comment-edit-photo-link" id="comment-edit-photo-{{$id}}" href="{{$mylink}}" title="{{$mytitle}}"><img class="my-comment-photo" src="{{$myphoto}}" alt="{{$mytitle}}" title="{{$mytitle}}" /></a>
32 {{*<!--                         </div>-->*}}
33                                 {{*<!--<div class="comment-edit-photo-end"></div>-->*}}
34                                 <ul class="comment-edit-bb" id="comment-edit-bb-{{$id}}">
35                                         <li><a class="editicon boldbb shadow"
36                                                 style="cursor: pointer;" title="{{$edbold}}"
37                                                 onclick="insertFormatting('{{$comment}}','b', {{$id}});"></a></li>
38                                         <li><a class="editicon italicbb shadow"
39                                                 style="cursor: pointer;" title="{{$editalic}}"
40                                                 onclick="insertFormatting('{{$comment}}','i', {{$id}});"></a></li>
41                                         <li><a class="editicon underlinebb shadow"
42                                                 style="cursor: pointer;" title="{{$eduline}}"
43                                                 onclick="insertFormatting('{{$comment}}','u', {{$id}});"></a></li>
44                                         <li><a class="editicon quotebb shadow"
45                                                 style="cursor: pointer;" title="{{$edquote}}"
46                                                 onclick="insertFormatting('{{$comment}}','quote', {{$id}});"></a></li>
47                                         <li><a class="editicon codebb shadow"
48                                                 style="cursor: pointer;" title="{{$edcode}}"
49                                                 onclick="insertFormatting('{{$comment}}','code', {{$id}});"></a></li>
50                                         <li><a class="editicon imagebb shadow"
51                                                 style="cursor: pointer;" title="{{$edimg}}"
52                                                 onclick="insertFormatting('{{$comment}}','img', {{$id}});"></a></li>
53                                         <li><a class="editicon urlbb shadow"
54                                                 style="cursor: pointer;" title="{{$edurl}}"
55                                                 onclick="insertFormatting('{{$comment}}','url', {{$id}});"></a></li>
56                                         <li><a class="editicon videobb shadow"
57                                                 style="cursor: pointer;" title="{{$edvideo}}"
58                                                 onclick="insertFormatting('{{$comment}}','video', {{$id}});"></a></li>
59                                 </ul>   
60 {{*<!--                         <div class="comment-edit-bb-end"></div>-->*}}
61 {{*<!--                         <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,{{$id}});cmtBbOpen({{$id}});" onBlur="commentClose(this,{{$id}});cmtBbClose({{$id}});" >{{$comment}}</textarea>-->*}}
62                                 <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,{{$id}});cmtBbOpen({{$id}});" >{{$comment}}</textarea>
63                                 {{if $qcomment}}
64                                         <select id="qcomment-select-{{$id}}" name="qcomment-{{$id}}" class="qcomment" onchange="qCommentInsert(this,{{$id}});" >
65                                         <option value=""></option>
66                                 {{foreach $qcomment as $qc}}
67                                         <option value="{{$qc}}">{{$qc}}</option>                                
68                                 {{/foreach}}
69                                         </select>
70                                 {{/if}}
71
72                                 <div class="comment-edit-text-end"></div>
73                                 <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-{{$id}}" style="display: none;" >
74                                         <input type="submit" onclick="post_comment({{$id}}); return false;" id="comment-edit-submit-{{$id}}" class="comment-edit-submit" name="submit" value="{{$submit}}" />
75                                         <span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="fakelink">{{$preview}}</span>
76                                         <div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div>
77                                 </div>
78
79                                 {{*<!--<div class="comment-edit-end"></div>-->*}}
80                         </form>
81
82                 </div>