
# resolved conflicts: # admin/panels/config/admin.config.tpl # admin/panels/entry/admin.entry.commentlist.tpl # fp-plugins/commentcenter/tpls/deletecomm.tpl # fp-plugins/commentcenter/tpls/editpol.tpl
69 lines
1.6 KiB
Smarty
Executable File
69 lines
1.6 KiB
Smarty
Executable File
{include file="shared:admin_errorlist.tpl"}
|
|
{entry_block}
|
|
{entry}
|
|
{comment_block}
|
|
{html_form}
|
|
<script>
|
|
{literal}
|
|
|
|
function admin_entry_comment_delete() { return confirm({/literal}'{$plang.act_del_confirm}'{literal}); }
|
|
|
|
{/literal}
|
|
</script>
|
|
<div class="row">
|
|
<div class="col-xl-8 col-lg-7">
|
|
<div class="card shadow mb-4">
|
|
<div class="card-header">
|
|
<h6 class="m-0 font-weight-bold text-primary">{$panelstrings.head} {$subject}</h6>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="table-responsive">
|
|
<table class="entrylist table">
|
|
<thead><tr>
|
|
<th>{$panelstrings.date}</th>
|
|
<th>{$panelstrings.content}</th>
|
|
<th>{$panelstrings.author}</th>
|
|
<th>{$panelstrings.email}</th>
|
|
<th>{$panelstrings.ip}</th>
|
|
<th>{$panelstrings.actions}</th>
|
|
</tr></thead>
|
|
<tbody>
|
|
{comment}
|
|
<tr>
|
|
{*<td><input type="checkbox" /></td>*}
|
|
<td>{$date|date_format:"%D, %T"}</td>
|
|
<td class="main_cell">
|
|
{$content|strip_tags|truncate:70}
|
|
</td>
|
|
<td>{if $url}<a href="{$url}">{$name}</a>{else}{$name}{/if}</td>
|
|
<td><a href="mailto:{$email}">{$email}</a></td>
|
|
<td>{$ip_address}</td>
|
|
<td>
|
|
<a class="link-general"
|
|
href="{"`$panel_url`&entry=`$entryid`"|action_link:commedit|cmd_link:comment:$id}">
|
|
{$plang.act_edit}
|
|
</a>
|
|
<a class="link-delete" onclick="return admin_entry_comment_delete();" href="{"`$panel_url`&entry=`$entryid`"|action_link:commentlist|cmd_link:delete:$id}">
|
|
{$plang.act_del}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
{/comment}
|
|
</tbody></table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{/html_form}
|
|
|
|
{/comment_block}
|
|
|
|
{/entry}
|
|
{/entry_block}
|
|
|
|
|
|
|
|
|
|
|