mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-17 15:20:51 +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">
|
<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>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -9,8 +9,15 @@
|
||||||
<div class="folding"></div>
|
<div class="folding"></div>
|
||||||
|
|
||||||
|
|
||||||
<div id="comment_content_id_{$oComment->getId()}" class="content">
|
<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>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue