]> git.mxchange.org Git - friendica.git/blob - view/theme/decaf-mobile/templates/moderated_comment.tpl
Merge pull request #2630 from dissolve/mf2updates
[friendica.git] / view / theme / decaf-mobile / templates / moderated_comment.tpl
1
2                 <div class="comment-wwedit-wrapper" id="comment-edit-wrapper-{{$id}}" style="display: block;">
3                         <form class="comment-edit-form" id="comment-edit-form-{{$id}}" action="item" method="post" onsubmit="post_comment({{$id}}); return false;">
4                                 <input type="hidden" name="type" value="{{$type}}" />
5                                 <input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
6                                 <input type="hidden" name="parent" value="{{$parent}}" />
7                                 <input type="hidden" name="return" value="{{$return_path}}" />
8                                 <input type="hidden" name="jsreload" value="{{$jsreload}}" />
9                                 <input type="hidden" name="preview" id="comment-preview-inp-{{$id}}" value="0" />
10
11                                 <div class="comment-edit-photo" id="comment-edit-photo-{{$id}}" >
12                                         <a class="comment-edit-photo-link" href="{{$mylink}}" title="{{$mytitle}}"><img class="my-comment-photo" src="{{$myphoto}}" alt="{{$mytitle}}" title="{{$mytitle}}" /></a>
13                                 </div>
14                                 <div class="comment-edit-photo-end"></div>
15                                 <div id="mod-cmnt-wrap-{{$id}}" class="mod-cmnt-wrap" style="display:none">
16                                         <div id="mod-cmnt-name-lbl-{{$id}}" class="mod-cmnt-name-lbl">{{$lbl_modname}}</div>
17                                         <input type="text" id="mod-cmnt-name-{{$id}}" class="mod-cmnt-name" name="mod-cmnt-name" value="{{$modname}}" />
18                                         <div id="mod-cmnt-email-lbl-{{$id}}" class="mod-cmnt-email-lbl">{{$lbl_modemail}}</div>
19                                         <input type="text" id="mod-cmnt-email-{{$id}}" class="mod-cmnt-email" name="mod-cmnt-email" value="{{$modemail}}" />
20                                         <div id="mod-cmnt-url-lbl-{{$id}}" class="mod-cmnt-url-lbl">{{$lbl_modurl}}</div>
21                                         <input type="text" id="mod-cmnt-url-{{$id}}" class="mod-cmnt-url" name="mod-cmnt-url" value="{{$modurl}}" />
22                                 </div>
23                                 <ul class="comment-edit-bb-{{$id}}">
24                                         <li><a class="editicon boldbb shadow"
25                                                 style="cursor: pointer;" title="{{$edbold}}"
26                                                 onclick="insertFormatting('{{$comment}}','b', {{$id}});"></a></li>
27                                         <li><a class="editicon italicbb shadow"
28                                                 style="cursor: pointer;" title="{{$editalic}}"
29                                                 onclick="insertFormatting('{{$comment}}','i', {{$id}});"></a></li>
30                                         <li><a class="editicon underlinebb shadow"
31                                                 style="cursor: pointer;" title="{{$eduline}}"
32                                                 onclick="insertFormatting('{{$comment}}','u', {{$id}});"></a></li>
33                                         <li><a class="editicon quotebb shadow"
34                                                 style="cursor: pointer;" title="{{$edquote}}"
35                                                 onclick="insertFormatting('{{$comment}}','quote', {{$id}});"></a></li>
36                                         <li><a class="editicon codebb shadow"
37                                                 style="cursor: pointer;" title="{{$edcode}}"
38                                                 onclick="insertFormatting('{{$comment}}','code', {{$id}});"></a></li>
39                                         <li><a class="editicon imagebb shadow"
40                                                 style="cursor: pointer;" title="{{$edimg}}"
41                                                 onclick="insertFormatting('{{$comment}}','img', {{$id}});"></a></li>
42                                         <li><a class="editicon urlbb shadow"
43                                                 style="cursor: pointer;" title="{{$edurl}}"
44                                                 onclick="insertFormatting('{{$comment}}','url', {{$id}});"></a></li>
45                                         <li><a class="editicon videobb shadow"
46                                                 style="cursor: pointer;" title="{{$edvideo}}"
47                                                 onclick="insertFormatting('{{$comment}}','video', {{$id}});"></a></li>
48                                 </ul>   
49                                 <div class="comment-edit-bb-end"></div>
50                                 <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,{{$id}});cmtBbOpen({{$id}});" onBlur="commentClose(this,{{$id}});" >{{$comment}}</textarea>                      
51
52                                 <div class="comment-edit-text-end"></div>
53                                 <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-{{$id}}" style="display: none;" >
54                                         <input type="submit" onclick="post_comment({{$id}}); return false;" id="comment-edit-submit-{{$id}}" class="comment-edit-submit" name="submit" value="{{$submit}}" />
55                                         <span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="fakelink">{{$preview}}</span>
56                                         <div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div>
57                                 </div>
58
59                                 <div class="comment-edit-end"></div>
60                         </form>
61
62                 </div>