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