]> git.mxchange.org Git - friendica.git/blob - view/theme/diabook/smarty3/comment_item.tpl
add warning message about automatically generated templates
[friendica.git] / view / theme / diabook / smarty3 / comment_item.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}            <div class="comment-wwedit-wrapper" id="comment-edit-wrapper-{{$id}}" style="display: block;">
6                         <form class="comment-edit-form" id="comment-edit-form-{{$id}}" action="item" method="post" onsubmit="post_comment({{$id}}); return false;">
7                                 <input type="hidden" name="type" value="{{$type}}" />
8                                 <input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
9                                 <input type="hidden" name="parent" value="{{$parent}}" />
10                                 <input type="hidden" name="return" value="{{$return_path}}" />
11                                 <input type="hidden" name="jsreload" value="{{$jsreload}}" />
12                                 <input type="hidden" name="preview" id="comment-preview-inp-{{$id}}" value="0" />
13
14                                 <div class="comment-edit-photo" id="comment-edit-photo-{{$id}}" >
15                                         <a class="comment-edit-photo-link" href="{{$mylink}}" title="{{$mytitle}}"><img class="my-comment-photo" src="{{$myphoto}}" alt="{{$mytitle}}" title="{{$mytitle}}" /></a>
16                                 </div>
17                                 <div class="comment-edit-photo-end"></div>
18                                 <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,{{$id}});tautogrow({{$id}});cmtBbOpen({{$id}});"  >{{$comment}}</textarea>
19                                 <div class="comment-edit-bb-{{$id}}" style="display:none;">                             
20                                 <a class="icon bb-image" style="cursor: pointer;" title="{{$edimg}}" onclick="insertFormatting('{{$comment}}','img',{{$id}});">img</a>  
21                                 <a class="icon bb-url" style="cursor: pointer;" title="{{$edurl}}" onclick="insertFormatting('{{$comment}}','url',{{$id}});">url</a>
22                                 <a class="icon bb-video" style="cursor: pointer;" title="{{$edvideo}}" onclick="insertFormatting('{{$comment}}','video',{{$id}});">video</a>                                                                                                            
23                                 <a class="icon underline" style="cursor: pointer;" title="{{$eduline}}" onclick="insertFormatting('{{$comment}}','u',{{$id}});">u</a>
24                                 <a class="icon italic" style="cursor: pointer;" title="{{$editalic}}" onclick="insertFormatting('{{$comment}}','i',{{$id}});">i</a>
25                                 <a class="icon bold" style="cursor: pointer;"  title="{{$edbold}}" onclick="insertFormatting('{{$comment}}','b',{{$id}});">b</a>
26                                 <a class="icon quote" style="cursor: pointer;" title="{{$edquote}}" onclick="insertFormatting('{{$comment}}','quote',{{$id}});">quote</a>                                                                                                                                                       
27                                 </div>                          
28                                 {{if $qcomment}}
29                                         <select id="qcomment-select-{{$id}}" name="qcomment-{{$id}}" class="qcomment" onchange="qCommentInsert(this,{{$id}});" >
30                                         <option value=""></option>
31                                 {{foreach $qcomment as $qc}}
32                                         <option value="{{$qc}}">{{$qc}}</option>                                
33                                 {{/foreach}}
34                                         </select>
35                                 {{/if}}
36
37                                 <div class="comment-edit-text-end"></div>
38                                 <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-{{$id}}" style="display: none;" >
39                                         <input type="submit" onclick="post_comment({{$id}}); return false;" id="comment-edit-submit-{{$id}}" class="comment-edit-submit" name="submit" value="{{$submit}}" />
40                                         <span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="fakelink">{{$preview}}</span>
41                                         <div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div>
42                                 </div>
43
44                                 <div class="comment-edit-end"></div>
45                         </form>
46
47                 </div>