mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-27 05:08:11 +03:00
fix comment
This commit is contained in:
parent
000c39b614
commit
a7d7be188a
|
@ -36,7 +36,14 @@
|
|||
|
||||
|
||||
<div id="comment_content_id_{$oComment->getId()}" class="content">
|
||||
{$oComment->getText()}
|
||||
{if $oComment->isBad()}
|
||||
<div style="display: none;" id="comment_text_{$oComment->getId()}">
|
||||
{$oComment->getText()}
|
||||
</div>
|
||||
<a href="#" onclick="jQuery('#comment_text_{$oComment->getId()}').show();jQuery(this).hide();return false;">{$aLang.comment_bad_open}</a>
|
||||
{else}
|
||||
{$oComment->getText()}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -9,8 +9,15 @@
|
|||
<div class="folding"></div>
|
||||
|
||||
|
||||
<div id="comment_content_id_{$oComment->getId()}" class="content">
|
||||
{$oComment->getText()}
|
||||
<div id="comment_content_id_{$oComment->getId()}" class="content">
|
||||
{if $oComment->isBad()}
|
||||
<div style="display: none;" id="comment_text_{$oComment->getId()}">
|
||||
{$oComment->getText()}
|
||||
</div>
|
||||
<a href="#" onclick="jQuery('#comment_text_{$oComment->getId()}').show();jQuery(this).hide();return false;">{$aLang.comment_bad_open}</a>
|
||||
{else}
|
||||
{$oComment->getText()}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue