2016-03-28 10:29:05 -04:00
|
|
|
|
|
|
|
{{if $threaded}}
|
2019-02-14 22:28:38 -05:00
|
|
|
<div class="comment-wwedit-wrapper threaded" id="comment-edit-wrapper-{{$id}}">
|
2016-03-28 10:29:05 -04:00
|
|
|
{{else}}
|
2019-02-14 22:28:38 -05:00
|
|
|
<div class="comment-wwedit-wrapper" id="comment-edit-wrapper-{{$id}}">
|
2016-03-28 10:29:05 -04:00
|
|
|
{{/if}}
|
2020-02-11 23:45:47 -05:00
|
|
|
<form class="comment-edit-form" data-item-id="{{$id}}" id="comment-edit-form-{{$id}}" action="item" method="post">
|
2016-03-28 10:29:05 -04:00
|
|
|
<input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
|
|
|
|
<input type="hidden" name="parent" value="{{$parent}}" />
|
|
|
|
{{*<!--<input type="hidden" name="return" value="{{$return_path}}" />-->*}}
|
|
|
|
<input type="hidden" name="jsreload" value="{{$jsreload}}" />
|
|
|
|
<input type="hidden" name="post_id_random" value="{{$rand_num}}" />
|
|
|
|
|
2019-02-14 22:28:38 -05:00
|
|
|
<p class="comment-edit-bb-{{$id}} comment-icon-list">
|
|
|
|
<span>
|
|
|
|
<button type="button" class="btn btn-sm icon bb-img" style="cursor: pointer;" aria-label="{{$edimg}}" title="{{$edimg}}" data-role="insert-formatting" data-bbcode="img" data-id="{{$id}}">
|
|
|
|
<i class="fa fa-picture-o"></i>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-sm icon bb-attach" style="cursor: pointer;" aria-label="{{$edattach}}" title="{{$edattach}}" ondragenter="return commentLinkDrop(event, {{$id}});" ondragover="return commentLinkDrop(event, {{$id}});" ondrop="commentLinkDropper(event);" onclick="commentGetLink({{$id}}, '{{$prompttext}}');">
|
|
|
|
<i class="fa fa-paperclip"></i>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
<button type="button" class="btn btn-sm icon bb-url" style="cursor: pointer;" aria-label="{{$edurl}}" title="{{$edurl}}" onclick="insertFormatting('url',{{$id}});">
|
|
|
|
<i class="fa fa-link"></i>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-sm icon underline" style="cursor: pointer;" aria-label="{{$eduline}}" title="{{$eduline}}" onclick="insertFormatting('u',{{$id}});">
|
|
|
|
<i class="fa fa-underline"></i>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-sm icon italic" style="cursor: pointer;" aria-label="{{$editalic}}" title="{{$editalic}}" onclick="insertFormatting('i',{{$id}});">
|
|
|
|
<i class="fa fa-italic"></i>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-sm icon bold" style="cursor: pointer;" aria-label="{{$edbold}}" title="{{$edbold}}" onclick="insertFormatting('b',{{$id}});">
|
|
|
|
<i class="fa fa-bold"></i>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-sm icon quote" style="cursor: pointer;" aria-label="{{$edquote}}" title="{{$edquote}}" onclick="insertFormatting('quote',{{$id}});">
|
|
|
|
<i class="fa fa-quote-left"></i>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</p>
|
|
|
|
<p>
|
2021-05-20 08:37:45 -04:00
|
|
|
<textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty form-control text-autosize" name="body" placeholder="{{$comment}}" rows="3" data-default="{{$default}}" dir="auto">{{$default}}</textarea>
|
2019-02-14 22:28:38 -05:00
|
|
|
</p>
|
|
|
|
{{if $qcomment}}
|
|
|
|
<p>
|
2017-01-07 09:49:13 -05:00
|
|
|
<select id="qcomment-select-{{$id}}" name="qcomment-{{$id}}" class="qcomment" onchange="qCommentInsert(this,{{$id}});">
|
2019-02-14 22:28:38 -05:00
|
|
|
<option value=""></option>
|
|
|
|
{{foreach $qcomment as $qc}}
|
|
|
|
<option value="{{$qc}}">{{$qc}}</option>
|
|
|
|
{{/foreach}}
|
2016-03-28 10:29:05 -04:00
|
|
|
</select>
|
2019-02-14 22:28:38 -05:00
|
|
|
</p>
|
|
|
|
{{/if}}
|
2016-03-28 10:29:05 -04:00
|
|
|
|
2019-02-16 17:58:00 -05:00
|
|
|
<p class="comment-edit-submit-wrapper">
|
2019-02-14 22:28:38 -05:00
|
|
|
{{if $preview}}
|
2020-02-11 23:45:47 -05:00
|
|
|
<button type="button" class="btn btn-defaul btn-sm comment-edit-preview" onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}"><i class="fa fa-eye"></i> {{$preview}}</button>
|
2019-02-14 22:28:38 -05:00
|
|
|
{{/if}}
|
2020-02-11 23:45:47 -05:00
|
|
|
<button type="submit" class="btn btn-primary btn-sm comment-edit-submit" id="comment-edit-submit-{{$id}}" name="submit" data-loading-text="{{$loading}}"><i class="fa fa-envelope"></i> {{$submit}}</button>
|
2019-02-16 17:58:00 -05:00
|
|
|
</p>
|
2016-03-28 10:29:05 -04:00
|
|
|
|
2016-11-16 08:19:09 -05:00
|
|
|
<div class="comment-edit-end clear"></div>
|
2016-03-28 10:29:05 -04:00
|
|
|
</form>
|
2017-03-14 23:47:02 -04:00
|
|
|
<div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div>
|
2016-03-28 10:29:05 -04:00
|
|
|
</div>
|
2019-02-14 22:28:38 -05:00
|
|
|
|