чистка кода от лишнего Id

This commit is contained in:
2026-01-16 22:36:45 +05:00
parent e90cace307
commit 8d4b593beb

View File

@@ -1,10 +1,9 @@
{foreach from=$subcomments item=c name=sub_loop}
<div class="card mb-3 mod_comment_comment {if $c.parent_id} ms-2 ms-md-4{/if}"
id="comment_wrapper_{$c.Id}" {if $c.parent_id} ms-2 ms-md-4{/if}"
id="comment_wrapper_{$c.Id}"
data-parent="{$c.parent_id|default:0}"
data-user-rating="{$c.user_rating|default:0}"
data-is-own="{if isset($c.is_my_own) && $c.is_my_own}1{else}0{/if}">
<div class="card mb-3 mod_comment_comment {if $c.parent_id} ms-2 ms-md-4{/if}"
id="comment_wrapper_{$c.Id}"
data-parent="{$c.parent_id|default:0}"
data-user-rating="{$c.user_rating|default:0}"
data-is-own="{if isset($c.is_my_own) && $c.is_my_own}1{else}0{/if}">
{if isset($smarty.request.subaction) && $smarty.request.subaction=='showonly' && isset($smarty.request.comment_id) && $smarty.request.comment_id==$c.Id}
<div class="border border-warning border-3 rounded p-0">