2 * AUTOMATICALLY GENERATED TEMPLATE
3 * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
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}});
18 <div class="comment-wwedit-wrapper {{$indent}}" id="comment-edit-wrapper-{{$id}}" style="display: block;" >
19 <a name="comment-wwedit-wrapper-pos"></a>
20 <form class="comment-edit-form {{$indent}}" id="comment-edit-form-{{$id}}" action="item" method="post" >
21 {{*<!-- <span id="hide-commentbox-{{$id}}" class="hide-commentbox fakelink" onclick="showHideCommentBox({{$id}});">{{$comment}}</span>
22 <form class="comment-edit-form" style="display: none;" id="comment-edit-form-{{$id}}" action="item" method="post" onsubmit="post_comment({{$id}}); return false;">-->*}}
23 <input type="hidden" name="type" value="{{$type}}" />
24 <input type="hidden" name="source" value="{{$sourceapp}}" />
25 <input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
26 <input type="hidden" name="parent" value="{{$parent}}" />
27 <input type="hidden" name="return" value="{{$return_path}}#comment-wwedit-wrapper-pos" />
28 <input type="hidden" name="jsreload" value="{{$jsreload}}" />
29 <input type="hidden" name="preview" id="comment-preview-inp-{{$id}}" value="0" />
30 <input type="hidden" name="post_id_random" value="{{$rand_num}}" />
32 {{*<!--<div class="comment-edit-photo" id="comment-edit-photo-{{$id}}" >-->*}}
33 <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>
35 {{*<!--<div class="comment-edit-photo-end"></div>-->*}}
36 {{*<!--<ul class="comment-edit-bb-{{$id}}">
37 <li><a class="editicon boldbb shadow"
38 style="cursor: pointer;" title="{{$edbold}}"
39 onclick="insertFormatting('{{$comment}}','b', {{$id}});"></a></li>
40 <li><a class="editicon italicbb shadow"
41 style="cursor: pointer;" title="{{$editalic}}"
42 onclick="insertFormatting('{{$comment}}','i', {{$id}});"></a></li>
43 <li><a class="editicon underlinebb shadow"
44 style="cursor: pointer;" title="{{$eduline}}"
45 onclick="insertFormatting('{{$comment}}','u', {{$id}});"></a></li>
46 <li><a class="editicon quotebb shadow"
47 style="cursor: pointer;" title="{{$edquote}}"
48 onclick="insertFormatting('{{$comment}}','quote', {{$id}});"></a></li>
49 <li><a class="editicon codebb shadow"
50 style="cursor: pointer;" title="{{$edcode}}"
51 onclick="insertFormatting('{{$comment}}','code', {{$id}});"></a></li>-->*}}
52 {{*<!-- <li><a class="editicon imagebb shadow"
53 style="cursor: pointer;" title="{{$edimg}}"
54 onclick="insertFormatting('{{$comment}}','img', {{$id}});"></a></li>
55 <li><a class="editicon urlbb shadow"
56 style="cursor: pointer;" title="{{$edurl}}"
57 onclick="insertFormatting('{{$comment}}','url', {{$id}});"></a></li>
58 <li><a class="editicon videobb shadow"
59 style="cursor: pointer;" title="{{$edvideo}}"
60 onclick="insertFormatting('{{$comment}}','video', {{$id}});"></a></li>-->*}}
62 {{*<!--<div class="comment-edit-bb-end"></div>-->*}}
63 {{*<!-- <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>-->*}}
64 <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-full" name="body" ></textarea>
65 {{*<!--{{if $qcomment}}
66 <select id="qcomment-select-{{$id}}" name="qcomment-{{$id}}" class="qcomment" onchange="qCommentInsert(this,{{$id}});" >
67 <option value=""></option>
68 {{foreach $qcomment as $qc}}
69 <option value="{{$qc}}">{{$qc}}</option>
74 <div class="comment-edit-text-end"></div>
75 <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-{{$id}}" >
76 <input type="submit" id="comment-edit-submit-{{$id}}" class="comment-edit-submit" name="submit" value="{{$submit}}" />
77 {{*<!--<span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="preview-link fakelink">{{$preview}}</span>
78 <div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div>-->*}}
81 {{*<!--<div class="comment-edit-end"></div>-->*}}