]> git.mxchange.org Git - friendica.git/blob - view/theme/vier/templates/comment_item.tpl
removed blank lines
[friendica.git] / view / theme / vier / templates / comment_item.tpl
1
2                 {{if $threaded}}
3                 <div class="comment-wwedit-wrapper threaded" id="comment-edit-wrapper-{{$id}}" style="display: block;">
4                 {{else}}
5                 <div class="comment-wwedit-wrapper" id="comment-edit-wrapper-{{$id}}" style="display: block;">
6                 {{/if}}
7                         <form class="comment-edit-form" style="display: block;" id="comment-edit-form-{{$id}}" action="item" method="post" onsubmit="post_comment({{$id}}); return false;">
8                                 <input type="hidden" name="type" value="{{$type}}" />
9                                 <input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
10                                 <input type="hidden" name="parent" value="{{$parent}}" />
11                                 {{*<!--<input type="hidden" name="return" value="{{$return_path}}" />-->*}}
12                                 <input type="hidden" name="jsreload" value="{{$jsreload}}" />
13                                 <input type="hidden" name="preview" id="comment-preview-inp-{{$id}}" value="0" />
14                                 <input type="hidden" name="post_id_random" value="{{$rand_num}}" />
15
16                                 <div class="comment-edit-photo" id="comment-edit-photo-{{$id}}">
17                                         <a class="comment-edit-photo-link" href="{{$mylink}}" title="{{$mytitle}}"><img class="my-comment-photo" src="{{$myphoto}}" alt="{{$mytitle}}" title="{{$mytitle}}" /></a>
18                                 </div>
19                                 <div class="comment-edit-photo-end"></div>
20                                 <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" placeholder="{{$comment}}" onFocus="commentOpen(this,{{$id}});"></textarea>
21                                 {{if $qcomment}}
22                                         <select id="qcomment-select-{{$id}}" name="qcomment-{{$id}}" class="qcomment" onchange="qCommentInsert(this,{{$id}});">
23                                         <option value=""></option>
24                                 {{foreach $qcomment as $qc}}
25                                         <option value="{{$qc}}">{{$qc}}</option>
26                                 {{/foreach}}
27                                         </select>
28                                 {{/if}}
29
30                                 <div class="comment-edit-text-end"></div>
31                                 <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-{{$id}}" style="display: none;">
32
33                                 <div class="comment-edit-bb">
34                                         <a title="{{$edimg}}" data-role="insert-formatting" data-bbcode="img" data-id="{{$id}}"><i class="icon-picture"></i></a>
35                                         <a title="{{$edurl}}" data-role="insert-formatting" data-bbcode="url" data-id="{{$id}}"><i class="icon-link"></i></a>
36                                         <a title="{{$edvideo}}" data-role="insert-formatting" data-bbcode="video" data-id="{{$id}}"><i class="icon-film"></i></a>
37
38                                         <a title="{{$eduline}}" data-role="insert-formatting" data-bbcode="u" data-id="{{$id}}"><i class="icon-underline"></i></a>
39                                         <a title="{{$editalic}}" data-role="insert-formatting" data-bbcode="i" data-id="{{$id}}"><i class="icon-italic"></i></a>
40                                         <a title="{{$edbold}}" data-role="insert-formatting" data-bbcode="b" data-id="{{$id}}"><i class="icon-bold"></i></a>
41                                         <a title="{{$edquote}}" data-role="insert-formatting" data-bbcode="quote" data-id="{{$id}}"><i class="icon-quote-left"></i></a>
42
43                                 </div>
44                                         <input type="submit" onclick="post_comment({{$id}}); return false;" id="comment-edit-submit-{{$id}}" class="comment-edit-submit" name="submit" value="{{$submit}}" />
45                                         {{if $preview}}<input type="submit" onclick="preview_comment({{$id}}); return false;" id="comment-edit-preview-link-{{$id}}" class="comment-edit-submit" value="{{$preview}}" />{{/if}}
46                                         <!-- {{if $preview}}<span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="fakelink">{{$preview}}</span>{{/if}} -->
47                                         <div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div>
48                                 </div>
49
50                                 <div class="comment-edit-end"></div>
51                         </form>
52
53                 </div>