]> git.mxchange.org Git - friendica.git/blob - view/theme/frost-mobile/smarty3/comment_item.tpl
template engine rework
[friendica.git] / view / theme / frost-mobile / smarty3 / 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 {{$indent}}" 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="source" value="{{$sourceapp}}" />
24                                 <input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
25                                 <input type="hidden" name="parent" value="{{$parent}}" />
26                                 {{*<!--<input type="hidden" name="return" value="{{$return_path}}" />-->*}}
27                                 <input type="hidden" name="jsreload" value="{{$jsreload}}" />
28                                 <input type="hidden" name="preview" id="comment-preview-inp-{{$id}}" value="0" />
29                                 <input type="hidden" name="post_id_random" value="{{$rand_num}}" />
30
31                                 {{*<!--<div class="comment-edit-photo" id="comment-edit-photo-{{$id}}" >-->*}}
32                                         <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>
33                                 {{*<!--</div>-->*}}
34                                 {{*<!--<div class="comment-edit-photo-end"></div>-->*}}
35                                 <ul class="comment-edit-bb-{{$id}}">
36                                         <li><a class="editicon boldbb shadow"
37                                                 style="cursor: pointer;" title="{{$edbold}}"
38                                                 onclick="insertFormatting('{{$comment}}','b', {{$id}});"></a></li>
39                                         <li><a class="editicon italicbb shadow"
40                                                 style="cursor: pointer;" title="{{$editalic}}"
41                                                 onclick="insertFormatting('{{$comment}}','i', {{$id}});"></a></li>
42                                         <li><a class="editicon underlinebb shadow"
43                                                 style="cursor: pointer;" title="{{$eduline}}"
44                                                 onclick="insertFormatting('{{$comment}}','u', {{$id}});"></a></li>
45                                         <li><a class="editicon quotebb shadow"
46                                                 style="cursor: pointer;" title="{{$edquote}}"
47                                                 onclick="insertFormatting('{{$comment}}','quote', {{$id}});"></a></li>
48                                         <li><a class="editicon codebb shadow"
49                                                 style="cursor: pointer;" title="{{$edcode}}"
50                                                 onclick="insertFormatting('{{$comment}}','code', {{$id}});"></a></li>
51 {{*<!--                                 <li><a class="editicon imagebb shadow"
52                                                 style="cursor: pointer;" title="{{$edimg}}"
53                                                 onclick="insertFormatting('{{$comment}}','img', {{$id}});"></a></li>
54                                         <li><a class="editicon urlbb shadow"
55                                                 style="cursor: pointer;" title="{{$edurl}}"
56                                                 onclick="insertFormatting('{{$comment}}','url', {{$id}});"></a></li>
57                                         <li><a class="editicon videobb shadow"
58                                                 style="cursor: pointer;" title="{{$edvideo}}"
59                                                 onclick="insertFormatting('{{$comment}}','video', {{$id}});"></a></li>-->*}}
60                                 </ul>   
61                                 {{*<!--<div class="comment-edit-bb-end"></div>-->*}}
62 {{*<!--                         <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>-->*}}
63                                 <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,{{$id}});cmtBbOpen({{$id}});" >{{$comment}}</textarea>
64                                 {{if $qcomment}}
65                                         <select id="qcomment-select-{{$id}}" name="qcomment-{{$id}}" class="qcomment" onchange="qCommentInsert(this,{{$id}});" >
66                                         <option value=""></option>
67                                 {{foreach $qcomment as $qc}}
68                                         <option value="{{$qc}}">{{$qc}}</option>                                
69                                 {{/foreach}}
70                                         </select>
71                                 {{/if}}
72
73                                 <div class="comment-edit-text-end"></div>
74                                 <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-{{$id}}" style="display: none;" >
75                                         <input type="submit" onclick="post_comment({{$id}}); return false;" id="comment-edit-submit-{{$id}}" class="comment-edit-submit" name="submit" value="{{$submit}}" />
76                                         {{*<!--<span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="preview-link fakelink">{{$preview}}</span>
77                                         <div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div>-->*}}
78                                 </div>
79
80                                 {{*<!--<div class="comment-edit-end"></div>-->*}}
81                         </form>
82
83                 </div>